html,body {
    overflow-x: hidden !important;
    width: 100% !important;
}
body {
    font-family: "Calibri", sans-serif, Arial, sans-serif !important;
    font-size: 20px !important; /* الافتراضي لما الشاشة كبيرة */
}

/* لما يكون عرض الشاشة 1125px أو أقل */
@media (max-width: 1600px) {
    body {
        font-size: 15px !important;
    }
}


.btn-contact {
    
     background: linear-gradient(145deg, #fff, #fcefdc);
    color: #000;
    border: 1px solid #B48A38;
    box-shadow: 
        0 6px 20px rgba(180, 138, 56, 0.5),
        0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px); /* رفع بسيط عند المرور */
   padding: 10px 20px;
    font-weight: bold !important;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    
}

/* تأثير Hover */
.btn-contact:hover {
    
    background: linear-gradient(145deg, #fff8e7, #f0e0b8); /* خلفية ذهبية فاتحة */
    color: #B48A38;
    border: 1px solid #d2b673;
    
    box-shadow: 
        0 4px 15px rgba(180, 138, 56, 0.4), /* ظل ذهبي */
        0 2px 5px rgba(0, 0, 0, 0.15);       /* ظل خفيف أسود */
    transition: all 0.3s ease;
}


nav {
    font-weight: bold !important;
}


.message-card {
    background-color: #f9f9f9;
    border-left: 6px solid #527A3C;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 30px auto;
    max-width: 800px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
}
.message-card strong {
    color: #527A3C;
    font-size: 1.1em;
}




/* General Layout */
.MC .row {
    display: flex;
    justify-content: center;
}

/* For small screens (mobile), the text comes first, followed by the image and video */
@media (max-width: 767px) {
    .MC .row {
        flex-direction: column-reverse;
    }

    .MC .col-lg-7 {
        order: 1;
    }

    .MC .col-lg-5 {
        order: 2;
    }
}

/* For larger screens (desktop), image/video is on the right, and text is on the left */
@media (min-width: 768px) {
    .MC .row {
        flex-direction: row;
    }

    .MC .col-lg-7 {
        order: 1;
    }

    .MC .col-lg-5 {
        order: 2;
    }
}

/* Styling for Video Section to make it more appealing */
.MC .ratio {
    background-color: #333;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 10px;
}

.MC .ratio video {
    border-radius: 10px;
    object-fit: cover;
}

.MC .message-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.MC .img-fluid {
    border-radius: 10px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}


.VI{
    padding-top: 150px !important;
}


.about {
    text-align: center;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
                inset 0 0 10px rgba(255, 255, 255, 0.5);
    transform: perspective(800px) rotateX(5deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about:hover {
    transform: perspective(800px) rotateX(0deg) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2),
                inset 0 0 15px rgba(255, 255, 255, 0.6);
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.about p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}



.values-section {
    padding: 40px;
    background-color: #FFF;
    text-align: center;
  }
  
  .values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
  }
  
 .value-card {
    background: linear-gradient(145deg, #fbeec1, #f5d88a); /* تدرج ذهبي فاتح */
    color: #6b4e19; /* لون نص ذهبي غامق لأفضل تباين */
    width: 22%;
    padding: 20px;
    border-radius: 12px;
    box-shadow:
        0 6px 12px rgba(180, 138, 56, 0.3),  /* ظل ذهبي خفيف */
        0 4px 6px rgba(0, 0, 0, 0.1);        /* ظل عام */
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    font-weight: bold;
    backdrop-filter: blur(6px); /* تأثير زجاجي خفيف */
}

/* تأثير التحويم */
.value-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 10px 20px rgba(180, 138, 56, 0.4),
        0 6px 10px rgba(0, 0, 0, 0.15);
}

  
  .value-card i {
    font-size: 40px;
    margin-bottom: 10px;
  }
  
  .value-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold !important;
  }
  
  .value-card p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  /*.value-card:hover {*/
  /*  transform: translateY(-5px);*/
  /*}*/
  
  @media (max-width: 768px) {
    .value-card {
      width: 48%;
    }
  }
  
  @media (max-width: 480px) {
    .value-card {
      width: 100%;
    }
  }


  .card {
    transition: transform 0.3s ease;
  }
  .card:hover {
    transform: translateY(-10px);
  }
  .card i {
    font-size: 2rem;
    color: #527A3C !important;
  }



  .team-section .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.team-card {
    perspective: 1000px;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
    transform: rotateY(10deg) scale(1.03);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.team-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s;
}

.team-card:hover img {
    transform: scale(1.05);
}

.section-title {
    font-size: 2.3rem;
    font-weight: bold;
    color: #333;
  }
  
  .blog-card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .blog-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  }
  
  .blog-card img {
    height: 200px;
    object-fit: cover;
  }
  
  .card-body .btn {
    background-color: #527A3C;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    transition: 0.3s;
  }
  
  .card-body .btn:hover {
    background-color: #527A3C;
  }
  
  @media (max-width: 768px) {
    .card-body p {
      font-size: 0.95rem;
    }
    .card-body h5 {
      font-size: 1.1rem;
    }
  }



  .blog-categories .badge {
    font-size: 0.95rem;
    cursor: pointer;
    color: #6c757d;
    
  }
  
  .blog-categories .badge:hover {
    background-color: #596165;
    color: #fff;
  }
  


  /* تحسين شكل المودال */
.modal-content {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* ترويسة المودال */
.modal-header {
  background: linear-gradient(135deg, #B48A38, #B48A38);
  color: white;
  border-bottom: none;
  padding: 1.5rem;
}

/* عنوان المودال */
.modal-title {
  font-size: 1.4rem;
  font-weight: 600;
  width: 100%;
  text-align: center;
}

/* محتوى المودال */
.modal-body {
  padding: 2rem;
  background-color: #f9f9f9;
}

/* صورة داخل المودال */
.modal-body img {
  border-radius: 10px;
  margin-bottom: 1.5rem;
  max-height: 300px;
  object-fit: cover;
}

/* نص داخل المودال */
.modal-body p {
  font-size: 1.1rem;
  color: #07384E;
  line-height: 1.7;
  text-align: center !important;
}

/* تذييل المودال */
.modal-footer {
  background-color: #f9f9f9;
  border-top: none;
  padding: 1.5rem;
}

/* زر الإغلاق */
.modal-footer .btn {
  border-radius: 25px;
  padding: 0.5rem 2rem;
  font-weight: 500;
}

/* زر الإغلاق العلوي */
.btn-close {
  filter: brightness(0) invert(1);
}


.testimonial-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
  min-height: 200px; /* ارتفاع ثابت نسبيًا */
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card h5 {
  font-weight: bold;
  margin-bottom: 5px;
}

.testimonial-card .text-muted {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.testimonial-card .stars {
  color: #ffc107; /* Bootstrap warning color (gold stars) */
  font-size: 1.2rem;
  margin-top: 10px;
}


.contact-section {
  padding: 60px 0;
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-image {
  flex: 1;
  min-width: 300px;
}

.contact-image img {
  width: 500px;
  height: 400px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.glass-card {
  flex: 1;
  background: #f9f9f9;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
  min-width: 320px;
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
}

.glass-card h2 {
  font-weight: bold;
  color: #2c3e50;
}

.glass-card p {
  color: #6c7a89;
}

.form-control {
  border-radius: 10px;
  padding: 10px 15px;
  border: 1px solid #ccd6dd;
  font-size: 16px;
}

.form-control:focus {
  border-color: #d7a644;
  box-shadow: none;
}

button[type="submit"] {
  background-color: #B48A38;
  border: none;
  color: #fff;
  padding: 10px 25px;
  font-weight: bold;
  border-radius: 30px;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #deab44;
}

.lang-ar input[type="email"] {
  direction: rtl !important ;
}


/* صفحة من نحن جزء العملاء وهكذا */



.profile-card {
  background: #fff;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  text-align: center !important;

}



.profile-card.arabic {
  direction: rtl;
}

.profile-card h2, .profile-card h3 {
  color: #deab44;
  margin-top: 20px;
  font-weight: bold;
}

.btn-download {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: #B48A38;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-download:hover {
  background: #B48A38;
}

.profile-card i {
  margin-right: 10px;
  color: #d7a644;
}

.arabic i {
  margin-left: 10px;
  margin-right: 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .profile-card {
    padding: 25px;
    font-size: 16px;
  }
}

/* جزء الاخبار */

.news-events-section {
  text-align: center !important;
}

.section-title {
  text-align: center;
  color: #B48A38;
  font-size: 36px;
  margin-bottom: 10px;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: #555;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.event-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.event-content {
  padding: 20px;
}

.event-content h3 {
  color: #333;
  font-size: 20px;
  margin-bottom: 10px;
}

.event-date {
  display: block;
  color: #deab44;
  font-weight: bold;
  margin-bottom: 10px;
}

.event-content p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}


.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* responsive columns */
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 1200px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr); /* 5 columns on large screens */
  }
}

.event-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* صفحة الخدمات */
.edu-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  color: #6c7a89;
}
.edu-section h2 {
  color: #B48A38;
  font-weight: bold;
}
.edu-icon {
  font-size: 2rem;
  color: #B48A38;
}
.edu-box {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 30px;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}
.edu-box:hover {
  transform: translateY(-5px);
}

/* حلول استشارية */

.card {
  background-color: #fff;
  border-radius: 15px;
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}


/* programs.css */

.training-programs {
  padding: 40px 20px;
  border-radius: 10px;
}

.training-programs h2 {
  color: #1d3557;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.training-programs p {
  color: #343a40;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.training-programs p.text-danger {
  color: #c0392b !important;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 25px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366; /* أخضر واتساب */
  color: white;
  border-radius: 50%;
  padding: 15px;
  font-size: 24px;
  z-index: 999;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  text-decoration: none;
}

.table-responsive {
  font-size: 22px !important;
}
#khda-section{
  font-size: 20px !important;
}

/* صفحة الدورت */

.section-title { color: #07384E; margin-bottom: 20px; }
.feature-icon { font-size: 24px; color: #B48A38; margin-left: 10px; }
.trainer-img { max-width: 200px; border-radius: 50%; }











  
  














  .dropdown-menu {
    text-align: right;
  }

  section {
    padding: 20px 0;
    margin-top: 30px;
  }

  .main-color {
    color: #07384E;
  }

  .accent-color {
    color: #B48A38;
  }

  .green-color {
    color: #527A3C;
  }

  .card-icon {
    font-size: 2rem;
    color: #B48A38;
  }

  /*.navbar {*/
  /*  background-color: #fff;*/
  /*  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
  /*  padding: 0.8rem 1.5rem;*/
  /*}*/

  /*.navbar-brand {*/
  /*  font-weight: bold;*/
  /*  font-size: 22px;*/
  /*  color: #07384E;*/
  /*}*/

  /*.navbar-brand span {*/
  /*  margin-right: 0.5rem;*/
  /*}*/

  /*.navbar-nav .nav-link {*/
  /*  color: #07384E !important;*/
  /*  font-weight: 600;*/
  /*  margin-right: 1rem;*/
  /*  transition: color 0.3s ease;*/
  /*}*/

  /*.navbar-nav .nav-link:hover {*/
  /*  color: #B48A38 !important;*/
  /*}*/

  /*.navbar-toggler {*/
  /*  border: none;*/
  /*}*/

  /*@media (max-width: 991.98px) {*/
  /*  .navbar-nav {*/
  /*    text-align: right;*/
  /*  }*/
  /*}*/
  
   .navbar {
  background-color: rgba(240, 240, 240, 0.7); /* رمادي فاتح + شفافية */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  /*padding: 0.8rem 1.5rem;*/
  backdrop-filter: blur(8px); /* يعطي إحساس بزجاجي */
}



  .navbar-brand {
    font-weight: bold;
    font-size: 15px !important;
    color: #07384E;
  }

  .navbar-brand span {
    margin-right: 0.5rem;
  }

  .navbar-nav .nav-link {
    color: #07384E !important;
    font-weight: 800 !important;
   
    transition: color 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    color: #B48A38 !important;
  }

  .navbar-toggler {
    border: none;
  }

  @media (max-width: 991.98px) {
    .navbar-nav {
      text-align: right;
    }
  }

  .bg-opacity {
    background-color: rgba(179, 179, 179, 0.6); /* أزرق داكن شفاف */
  }

  @media (max-width: 768px) {
    .carousel-caption {
      font-size: 0.9rem;
      padding: 1rem;
      text-align: center !important;
      bottom: 10%;
    }

    .carousel-caption h2 {
      font-size: 1.2rem;
    }

    .carousel-caption p {
      font-size: 1rem;
    }
  }

  @media (max-width: 480px) {
    .carousel-caption {
      bottom: 5%;
      padding: 0.8rem;
    }

    .carousel-caption h2 {
      font-size: 1rem;
    }

    .carousel-caption p {
      font-size: 0.85rem;
    }
  }
  .carousel-caption{
    margin-bottom: 100px !important;
  }



  .feature-box {
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    color: #333;
    font-size: 16px;
    line-height: 1.8;
  }
  .card-body{
    background-color: #f9f9f9;
  }
  .lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px; /* غيرناها من left لـ right */
    z-index: 9999;
    padding: 3px 3px;
    border-radius: 10px;
    background-color: #6c757d;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: x;
  }
  
  .lang-toggle:hover {
    background-color: #5a6268;
    background-color: white;

  }
  
  .lang-toggle i {
    font-size: 18px;
  }



  footer#contact {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><defs><linearGradient id='grad' x1='0%' y1='0%' x2='100%' y2='0%'><stop offset='0%' style='stop-color:%23A8D5BA;stop-opacity:0.2'/><stop offset='100%' style='stop-color:%23A8D5BA;stop-opacity:0.05'/></linearGradient></defs><path fill='url(%23grad)' d='M0,160 C360,280 1080,0 1440,160 L1440,320 L0,320 Z' /></svg>") no-repeat center center;
    background-size: cover;
    color: #000; /* لون الخط أسود */
    padding-top: 5rem;
    padding-bottom: 3rem;
    margin-top: 5rem;
  }



  .dropdown-menu {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    min-width: 250px;
}

.dropdown-menu .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    color: #07384E;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f5f5f5;
    color: #B48A38;
    border-radius: 5px;
}

  /* ايقونات   */
    .social-icons-vertical {
      position: fixed;
      bottom: 0;
      left: 0;
      transform: translateY(-0%);
      z-index: 999;
      display: flex;
      flex-direction: column;
      gap: 15px;
      padding: 10px 5px;
    }
  
    .social-icon {
      background: #ffffff;
      border-radius: 10px;
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 20px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      transition: transform 0.3s, box-shadow 0.3s;
    }
  
    .social-icon:hover {
      transform: scale(1.1) rotateY(10deg);
      box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }
  
  /* Platform-specific colors */
.social-icon.facebook { background-color: #3b5998; }
.social-icon.twitter { background-color: #000000; } /* Twitter-X is black */
.social-icon.instagram {
  background: radial-gradient(circle at 30% 30%, #fdf497 0%, #fd5949 45%, #d6249f 75%, #285AEB 100%);
}
.social-icon.linkedin { background-color: #0077b5; }
.social-icon.whatsapp { background-color: #25d366; }
.social-icon.youtube { background-color: #FF0000; } /* YouTube red */
.social-icon.email { background-color: #6e6e6e; }    /* Neutral grey for email */


  
  .language-switcher {
    position: fixed;
    top: 80px;
    right: 10px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
   
    backdrop-filter: blur(8px); /* يعطي إحساس بزجاجي */
    padding: 8px;
    border-radius: 8px;
  }
  
  .lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .lang-btn:hover {
    transform: scale(1.1);
  }
  
  
  /* تكبير خط روابط التنقل */
.navbar .nav-link {
    font-size: 15px !important; /* يمكنك تعديل الحجم حسب رغبتك */
    font-weight: bold !important;
}















  

  



