:root {
  /*--main-color: #4C3D8F;*/
  --main-color: #0c4da1;
  --Second-Color: #75DFFF;
  --Colors-Grey-60: rgba(153, 153, 153, 1);
  --Colors-Grey-40: #666666;
  --Card-Background: #f6f8fa;
  --DeepBlack: #050505;
  --FontBold: 'Tajawal-BoldBold';
  --FontMedium: 'Tajawal-Medium';
  --FontRegular: 'Tajawal-Regular';
  --EmMessiriBold: 'ElMessiriBold';
  --AmiriBold: 'AmiriBold';

  /*--main: #4C3D8F;*/
  --main: #0c4da1;
  --dark: #1e1e2f;
  --text-dark: #f1f1f1;
  --bg-gradient-start: #eef2f7;
  --bg-gradient-mid: #e8ecf3;
  --bg-gradient-end: #fdfdfd;
}

/* Fonts */
@font-face {
  font-family: Tajawal-BoldBold;
  src: url('../fonts/tajawal/Tajawal-Bold.ttf');
}

@font-face {
  font-family: Tajawal-Medium;
  src: url('../fonts/tajawal/Tajawal-Medium.ttf');
}

@font-face {
  font-family: Tajawal-Regular;
  src: url('../fonts/tajawal/Tajawal-Regular.ttf');
}

@font-face {
  font-family: ElMessiriBold;
  src: url('../fonts/elmessiri/ttf/ElMessiri-Bold.ttf');
}

@font-face {
  font-family: AmiriBold;
  src: url('../fonts/Amiri-Bold.ttf');
}

body {
  width: 100%;
  margin: 0;
  direction: rtl;
  font-family: var(--FontRegular), 'Cairo', sans-serif;
  background: linear-gradient(to bottom right, var(--bg-gradient-start), var(--bg-gradient-mid), var(--bg-gradient-end));
  background-attachment: fixed;
  transition: background 0.3s;
  color: #333;
}

/* Navbar */
.navbar {
  background-color: var(--main);
}
.navbar-brand, .lang-btn {
  color: #fff !important;
}
.lang-btn {
  cursor: pointer;
  padding: 0 10px;
}
.lang-btn.active {
  font-weight: bold;
  text-decoration: underline;
}

/* Hero section */
.hero {
  padding: 80px 20px;
  color: #fff;
  text-align: center;
  background: var(--main);
}

.hero span {
    display: block;
    font-size: 40px;
    padding: 0px;
    margin-top: -35px;
}


.hero img{
    width: 300px;
    height: 120px;
    padding: 0px auto;
}

.carousel-item img {
    min-height: 85vh;
    max-height: 85vh;
    min-width:100%;
}

.carousel-img img {
    min-height: 85vh;
    max-height: 85vh;
    min-width:100%;
}



/* Start Clients Area  */
.clients-area {
    background-color: #f8f9fa;
    margin: 60px 0;
    padding: 20px;
}

.client-card {
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.client-logo {
    width: 250px; 
    height: 250px;
    /*border-radius: 50%;*/
    border-radius: 16px;
    transition: transform 0.3s ease-in-out;
}

.client-logo:hover {
    transform: scale(1.2); /* تكبير الشعار عند التمرير */
}

.client-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-transform: capitalize;
    transition: color 0.3s ease-in-out;
}

.client-name span:hover {
    color: #007bff; /* تغيير لون النص عند التمرير */
}

/* End Clients Aera */


/* Loader */
#loader {
  background: #fff;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--main);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Cards */
/*.school-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform .2s;
}
.school-card:hover {
  transform: scale(1.03);
}
.school-number {
  font-size: 2rem;
  color: var(--main);
  font-weight: bold;
  margin-top: 8px;
}*/



.our-serivce-title {
   color: var(--main);
  font-weight: bold;
  font-size: 30px;
}

.special-title {
  /*background-color: red;*/
  color: var(--main);
  font-weight: bold;
  font-size: 24px;
}


/* رسالة لا توجد نتائج */
#noResultsMsg {
  font-size: 1.3rem;
  color: #999;
  text-align: center;
  margin-top: 50px;
  user-select: none;
}

/* استجابة لأحجام الشاشات */
@media (max-width: 991px) {
  #schoolList .col {
    flex: 1 1 calc(50% - 20px);
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  #schoolList .col {
    flex: 1 1 100%;
  }
}





/* #######################################3 */

.vision-mission-values {
  background: #f9f9fb;
  padding-top: 60px;
  padding-bottom: 60px;
}

.vmv-card {
  /*background: linear-gradient(135deg, #4C3D8F, #6e60b4);*/
  background-color: var(--main);
  color: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vmv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.vmv-card .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #fff;
}

.vmv-card .title {
  font-family: var(--FontBold, 'Tajawal-BoldBold');
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.vmv-card .text {
  font-family: var(--FontRegular, 'Tajawal-Regular');
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* Responsive padding adjustments */
@media (max-width: 767px) {
  .vmv-card {
    padding: 20px;
  }
}



/* Stats */
/*.stats .counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main);
}*/
.stats-section {
  background: #f3f4f7;
  padding: 70px 0;
  border-radius: 16px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #4C3D8F;
  font-family: var(--FontBold, 'Tajawal-BoldBold');
}

.stat-block {
  transition: transform 0.3s ease-in-out;
}

.stat-block:hover {
  transform: translateY(-6px);
}

.stat-icon {
  font-size: 3.2rem;
  margin-bottom: 10px;
  opacity: 0.9;
}

.counter {
  font-size: 2.6rem;
  font-weight: bold;
  color: #333;
}

.stat-label {
  font-size: 1.2rem;
  color: #555;
  font-family: var(--FontMedium, 'Tajawal-Medium');
}




/* Feature Cards */

.features {
    margin-bottom: 300px;
    /*display: none;*/
}

.feature-card {
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
  transition: transform .2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-1  { background: #8e44ad; }
.feature-2  { background: #3498db; }
.feature-3  { background: #27ae60; }
.feature-4  { background: #e67e22; }
.feature-5  { background: #16a085; }
.feature-6  { background: #2c3e50; }
.feature-7  { background: #d35400; }
.feature-8  { background: #2980b9; }
.feature-9  { background: #c0392b; }
.feature-10 { background: #1abc9c; }
.feature-11 { background: #f39c12; }
.feature-12 { background: #7f8c8d; }
.feature-13 { background: #e91e63; }
.feature-14 { background: #00bcd4; }
.feature-15 { background: #009688; }
.feature-16 { background: #3f51b5; }
.feature-17 { background: #9c27b0; }
.feature-18 { background: #4caf50; }
.feature-19 { background: #ff9800; }
.feature-20 { background: #607d8b; }
.feature-21 { background: #795548; }
.feature-22 { background: #673ab7; }
.feature-23 { background: #03a9f4; }
.feature-24 { background: #8bc34a; }
.feature-25 { background: #f44336; }
.feature-26 { background: #2196f3; }
.feature-27 { background: #9e9e9e; }
.feature-28 { background: #00bfa5; }
.feature-29 { background: #ff5722; }

.feature-icon {
  font-size: 2rem;
  margin-left: 10px;
  opacity: .9;
}
.feature-title {
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 1rem;
  opacity: .95;
}

/* Read More Button */
.read-more-btn {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 8px 15px;
  border-radius: 30px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: .3s;
}
.read-more-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.collapse-content {
  background: rgba(255, 255, 255, 0.15);
  padding: 12px;
  margin-top: 10px;
  border-radius: 8px;
  display: none;
  font-size: .95rem;
  line-height: 1.4;
}

/* Device Buttons */
.device-btns {
  position: fixed;
  top: 70px;
  left: 10px;
  z-index: 1000;
}
.device-btns button {
  margin: 4px;
  padding: 6px 10px;
  font-size: .9rem;
  border: none;
  border-radius: 4px;
  background: var(--main);
  color: #fff;
  cursor: pointer;
  opacity: .8;
  transition: .3s;
}
.device-btns button:hover {
  opacity: 1;
}

/* Layout RTL/LTR */
.rtl .container {
  direction: rtl;
}
.ltr .container {
  direction: ltr;
}

/* Responsive Columns */
.features-row > .col {
  flex: 0 0 100%;
  max-width: 100%;
}
@media (min-width: 576px) {
  .features-row > .col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width: 768px) {
  .features-row > .col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}



/* Start Footer Style  */

.footer {
    /*position: fixed;*/
    /*bottom: 0;*/
    width: 100%;
    background-color: var(--main);
    color: #f0f0f0;
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    box-shadow: 0 -3px 10px rgb(0 0 0 / 0.2);
    z-index: 9999;
    margin-top: 30px;
  }

  .footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
    flex-wrap: wrap;
  }

  .footer-contact {
    flex: 1 1 220px;
    min-width: 180px;
  }

  .footer-contact h4 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #e0e0e0;
  }

  .footer-contact p {
    margin: 3px 0;
    font-size: 0.95rem;
    color: #d5d5d5;
    user-select: none;
  }

  .footer-center {
    flex: 1 1 300px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    user-select: none;
  }

  /* استجابة لتصغير الشاشات */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      gap: 15px;
      text-align: center;
    }
    .footer-contact {
      min-width: auto;
    }
    .footer-center {
      order: -1;
      margin-bottom: 10px;
    }
  }

/* End Footer Style  */

/* Start Dark Mode  */

.dark-mode {
  background-color: #121212 !important;
  color: #f1f1f1 !important;
}

/* لتغيير خلفية الحاويات */
.dark-mode .container,
.dark-mode section,
.dark-mode .school-card,
.dark-mode .feature-card,
.dark-mode .vmv-card,
.dark-mode .stats-section,
.dark-mode .footer
 {
  background-color: #1e1e1e !important;
  color: #f1f1f1 !important;
}

/* تغيير خلفية بطاقات المدارس */
.dark-mode .school-card {
  background-color: #222 !important;
  color: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

/* تغيير الأيقونات والنصوص */
.dark-mode .stat-icon,
.dark-mode .feature-icon,
.dark-mode .title,
.dark-mode .stat-label,
.dark-mode .counter,
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h5,
.dark-mode .footer,
.dark-mode p {
  color: #f1f1f1 !important;
}

/* خلفية النافبار */
.dark-mode .navbar {
  background-color: #1f1f1f !important;
}

/* تغيير لون الموجات إلى رمادي غامق أو شفاف */
.dark-mode .wave svg path {
  fill: #1e1e1e;
}

/* تعديل زر الوضع الليلي */
.dark-mode .btn-outline-light {
  border-color: #888;
  color: #fff;
}




/* End Dark Mode  */

.whats-app {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px;
    /*background-color: #25d366;*/
    color: #25d366;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    /*box-shadow: 2px 2px 3px #999;*/
    z-index: 100;
}

     /* Start Contact US */
.contact {
    min-height: 600px;
    background-image: url('../images/contact-bg.jpg');
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    font-family: var(--FontRegular);
}

.contact .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(255,255,255,.6); */
    background-color: rgba(255 255 255 / 80%); /* As The Same Previus Line */
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    font-weight: bold;
    font-size: 30px;
    color: var(--main-color);
    margin: 0 0 60px;  
    text-align: center;
}

.contact h2::after {
    content: '';
/*    width: 300px;*/
    width: 125px;
    height: 2px;
    transform: translate(-50%,-50%);
    background-color: var(--main-color);
    position: absolute;
    left: 50%;
    margin-top: 40px;
}

.contact form {
    overflow: hidden;
    max-width: 800px;
    margin: auto;
}

.contact form .left {
    float: left;
    width: 49%;
}

.contact form .right {
    float: right;
    width: 49%;
}

@media(max-width: 767px) {
    .contact form .left,
    .contact form .right {
        float: none;
        width: 100%;
    }
}

.contact form input:not([type="submit"]),
.contact form textarea {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #CCC;
    border-radius: 10px;
    background-color: rgba(218,218,218,0319);
}

.contact form input:not([type="submit"]):focus,
.contact form textarea:focus {
    outline: 1px solid var(--main-color);
}

.contact form input {
    height: 40px;
}

.contact form textarea {
    height: 150px;
}

.contact form input[type="submit"] {
    padding: 10px;
    width: 100%;
    border-color: transparent;
    background-color: var(--main);
    color: #FFF;
    cursor: pointer;
    font-weight: bold;
}

.contact form textarea:focus::-webkit-input-placeholder,
.contact form input:not([type="submit"]):focus::-webkit-input-placeholder {
    opacity: 0;
    transition: .3s;
}

.contact form textarea:focus::-ms-input-placeholder,
.contact form input:not([type="submit"]):focus::-ms-input-placeholder {
    opacity: 0;
    transition: .3s;
}

.contact form textarea:focus::placeholder,
.contact form input:not([type="submit"]):focus::placeholder {
    opacity: 0;
    transition: .3s;
}

 /* End   Contact US */

