@font-face {
  font-family: 'suadiFont';
  src: url('../Web fonts/WOFF-2-TT/Saudi Web/SaudiWeb-Regular.woff2') format('woff2'),
  url('../Web fonts/WOFF-TT/Saudi Web/SaudiWeb-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'suadiFont';
  src: url('../Web fonts/WOFF-2-TT/Saudi Web/SaudiWeb-Bold.woff2') format('woff2'),
       url('../Web fonts/WOFF-TT/Saudi Web/SaudiWeb-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}
body {
    font-family:'suadiFont', sans-serif;
    box-sizing:border-box;
  margin: 0;
  padding: 0;
}
body.lang-en {
  font-family:  sans-serif;
}
/* \\\\\\\\\\\\\\\\\\\\\\\ */
h1, h2, h3,a,li,p, .cards-title {
   /* word-spacing: 2px;
    letter-spacing: 0.30em !important; */
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #094734;
  box-shadow: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ;
  z-index: 1000;
}
.navbar-nav.ms-auto .nav-item:not(:last-child) {
  margin-right: 260px; /* المسافة بين الأزرار داخل الـ ul */
}

.navbar.scrolled {
    background-color: #094734; 
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* شعار الموقع */
.navbar .navbar-brand img {
  height: 50px;
  border-radius: 10%;
}

/* القوائم */
.navbar .navbar-nav {
  display: flex;
  align-items: center;
}

.navbar .nav-link {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin: 0 0.5rem;
  transition: color 0.3s;
}
.navbar .nav-link:hover { color: #1b916d; }

/* Dropdown */
.navbar .dropdown-menu {
  background-color: #F6E9D9;
  border: none;
}
.navbar .dropdown-item {
  color: #823848;
  transition: background-color 0.3s, color 0.3s;
}
.navbar .dropdown-item:hover {
  background-color: #0c5e40;
  color: #fff;
}

/* زرار تسجيل الدخول */
#nav-login {
  border-radius: 25px;
  padding: 0.4rem 1rem;
  font-weight: 500;
  background-color: #094734;
  color: #F6E9D9;
  transition: background-color 0.3s, transform 0.2s;
}
#nav-login:hover {
  background-color: #0c5e40;
  transform: translateY(-2px);
}

/* زرار تغيير اللغة */
#lang-toggle {
  margin-left: 10px;
  font-weight: 500;
  color: white;
  transition: color 0.3s;
}
#lang-toggle:hover { color: #145c32; }


/* Responsive adjustments */
@media(max-width:991.98px){
  .navbar .nav-link { font-size: 1rem; margin: 0 0.3rem; }
  #nav-login { padding: 0.3rem 0.8rem; font-size: 0.9rem; }
}

@media(max-width:767.98px){
  .navbar .nav-link { font-size: 0.95rem; }
  #nav-login { font-size: 0.85rem; }
}

@media(max-width:575.98px){
  .navbar .nav-link { font-size: 0.9rem; }
  #nav-login { font-size: 0.8rem; }
}



/* \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ */

.hero-section {
  background: #7F573C; 
  min-height: 100vh;
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; 
    background: linear-gradient(rgba(9, 71, 52, 0.6), rgba(9, 71, 52, 0.6)),
              url("images/Generated Image September 13, 2025 - 11_12AM.png") center/cover no-repeat;
}

.hero-img {
  max-height: 500px;
  object-fit: contain;
  margin-left: 50px;
  flex: 1;
  min-width: 300px;
}

.hero-section h1 {
  font-size: 4rem;
  line-height: 1.4;
  color: #fff;
  flex: 1;
  min-width: 250px;
}

.hero-section .highlight {
  color: #ceac86; /* لون مميز */
}

/* ===== Media Queries ===== */

/* التابلت */
@media screen and (max-width: 992px) {
  .hero-section h1 {
    font-size: 3rem;
    text-align: center;
    width: 100%;
  }

  .hero-img {
    max-height: 400px;
    margin: 30px auto 0 auto;
    display: block;
  }

  .hero-section {
    padding: 40px 20px;
  }
}

/* الموبايل */
@media screen and (max-width: 576px) {
  .hero-section h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-img {
    max-height: 250px;
    margin: 20px auto 0 auto;
  }

  .hero-section {
    padding: 30px 15px;
  }
}


/* \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ */
.faq-section{
  background:#FBF0E4;
}
.faq-section h2 {
  color: #859473;
  font-weight: 900;
  font-size:3rem;
}

.accordion-button {
  font-weight: 600;
  background-color: #F6E9D9;
  color: #094734;
}

.accordion-button:not(.collapsed) {
  background-color: #094734;
  color: #fff;
}

.accordion-body {
  background-color: #fff;
  border-right: 3px solid #094734;
}
/* \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ */

.course-carousel-section {
      background: linear-gradient(rgba(9, 71, 52, 0.6), rgba(9, 71, 52, 0.6)),
              url("images/Generated Image September 13, 2025 - 11_25AM.png") center/cover no-repeat;
      padding: 80px 20px;
    }

    .course-carousel-section h2 {
      text-align: center;
      margin-bottom: 50px;
      font-size: 3rem;
      font-weight: 800;
      color: white;
    }

    .course-carousel .carousel-item .card {
      background: #859473;
      border-radius: 15px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.12);
      max-width: 500px;
      margin: 0 auto;
      padding: 30px 25px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Hover effect للكارت */
    .course-carousel .carousel-item .card:hover {
      transform: translateY(-8px) scale(1.03);
      box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }

    .course-carousel .carousel-inner {
      text-align: center;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      border-radius: 50%;
      padding: 12px;
    }

    /* Responsive */
    @media screen and (max-width: 768px) {
      .course-carousel .carousel-item .card {
        max-width: 90%;
        padding: 25px 15px;
      }
    }

    /* نصوص الكارت */
    .course-carousel .card h3 {
      color: #094734;
      font-weight: 600;
      margin-bottom: 15px;
    }

    .course-carousel .card p {
      color: white;
            font-weight: 500;
      line-height: 1.6;
    }


/* \\\\\\\\\\\\\\\\\\\\\\\\\\\\ */
/* ===== سكشن أهداف الكورس ===== */
.goals-section {
  background: #FBF0E4;
  padding: 80px 20px;
  text-align: center;
}

.goals-section h2 {
  margin-bottom: 50px;
  font-size: 3rem;
  font-weight: 800;
  color: #094734; /* عدلت دي كانت ناقصة # */
}

/* flip card container */
.flip-card {
  background: transparent;
  width: 300px;
  height: 260px;
  margin: 15px;
  perspective: 1000px;
  display: inline-block;
}

/* inner part */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* front & back faces */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* front design */
.flip-card-front {
  background: #fff;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flip-card-front i {
  font-size: 2.5rem;
  color: #b3b89a;
  margin-bottom: 15px;
}

.flip-card-front h4 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

/* back design */
.flip-card-back {
  background: linear-gradient(135deg, #094734, #0d7d4d);
  color: #fff;
  transform: rotateY(180deg);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .flip-card {
    width: 45%;
    height: 240px;
    margin: 10px auto;
  }
}

@media screen and (max-width: 480px) {
  .flip-card {
    width: 90%;
    height: 220px;
  }
}


/* \\\\\\\\\\\\\\\\\\\\\\\ */

.expanding-cards {
  overflow: hidden;
  background-color: #FBF0E4;
}

.cards-wrapper {
  display: flex;
  gap: 10px;
  height: 400px;
}

.card-item {
  flex: 1;
  overflow: hidden;
  border-radius: 15px;
  transition: flex 0.5s ease, transform 0.5s ease;
  cursor: pointer;
}

.card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}


.card-item:hover {
  flex: 3; 
}

.card-item:hover img {
  transform: scale(1.1); /* يتعمله zoom بسيط */
}
/* \\\\\\\\\\\\\\\\\\\\\\ */

.footer-section {
  background: #094734;
  color: #fff;
  padding: 2rem 1rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.social-icons {
  margin-bottom: 1rem;
}

.social-icons a {
  display: inline-block;
  margin: 0 5px;
  width: 36px; height: 36px;
  line-height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-align: center;
  transition: 0.3s;
}

.social-icons a:hover { background: rgba(255,255,255,0.3); }

.footer-col h5 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 0.5rem 0;
}

.footer-col a {
color: rgba(255,255,255,0.8) !importmant;
  text-decoration: none;
    display: block;
  text-align: right;
  transition: color 0.3s;
  position: relative;
  overflow: hidden;
}
.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: block;
  text-align: right;
  transition: color 0.3s;
  position: relative;
  overflow: hidden;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
}


/* ===== News Section (Alt) ===== */
.news-section {
  background-color: #FBF0E4;
  padding: 60px 0;
}
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.news-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-image { transform: scale(1.06); }
.news-date-chip {
  position: absolute;
  top: 12px; left: 12px;
  background: #094734;
  color: #fff;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
}
.news-title { color: #094734; font-weight: 800; }
.news-excerpt { color: #7F573C; }
.news-btn {
  background: #094734;
  color: #fff;
  border-radius: 10px;
}
.news-btn:hover { background: #0c5e40; color: #fff; }

/* ===== Reports Section (Alt) ===== */
.reports-section {
  background-color: #fff;
  padding: 60px 0;
}
.report-card {
  background: #F6E9D9;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.report-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #823848;
  color: #fff;
  flex-shrink: 0;
}
.report-title { color: #094734; font-weight: 800; }
.report-desc { color: #7F573C; }
.report-download {
  background: #823848;
  color: #fff;
  border-radius: 10px;
}
.report-download:hover { background: #5a2c3c; color: #fff; }

@media(max-width: 767.98px){
  .news-image-wrapper{ height: 180px; }
}


.footer-links{
  list-style-type:none;
}