html,
body {
  height: 100%;
}

html {
  scroll-padding-top: 60px;
  scroll-behavior: smooth;

}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Cairo', sans-serif;
  color: var(--text-dark);
}

main {
  flex: 1;
}

.navbar {
  padding: 0 !important;
}

.custom-navbar {
  background: #fff;
  padding: 0;
  width: 100%;
  z-index: 1000;
}

.custom-navbar .container-fluid {
  padding-right: 0 !important;

}

.brand-box {
  background: url('../images/brand-shape.webp') no-repeat;
  background-size: 100% 100%;
  background-position: right;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  margin-right: 0;
  /* مهم */

}

.custom-navbar.scrolled {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.brand-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 40px;
}

.brand-name {
  color: #fff;
  font-weight: bold;
}

.nav-link {
  color: var(--text-dark) !important;
  margin: 0 10px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  position: relative;
  transform-origin: center;
}

.nav-link:hover {
  color: var(--primary) !important;
  transform: scale(1.06);
}

.nav-link.active {
  color: var(--primary) !important;
  font-weight: bold;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 50%;
  transform: translateX(50%);
  width: 80%;
  height: 2px;
  background: var(--primary);
}

.btn-primary-custom {
  text-decoration: none !important;
}

.btn-primary-custom.nav-login {
  padding: 6px 14px;
  font-size: 14px;
  display: none;
}

.nav-login {
  margin-left: 20px;
}


.dropdown-menu {
  border-radius: 12px;
  padding: 10px;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  padding: 10px;
  border-radius: 8px;
  color: var(--text-dark);
}

.dropdown-item .icon {
  color: var(--primary);
  font-size: 18px;
}

.dropdown-item:hover {
  background: var(--bg-soft);
}

.navbar-toggler {
  border: none;
  font-size: 32px;
}

.active-parent>.nav-link {
  color: var(--primary) !important;
  font-weight: bold;
  position: relative;
}

.active-parent>.nav-link::before {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 50%;
  transform: translateX(50%);
  width: 80%;
  height: 2px;
  background: var(--primary);
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-toggle::after {
  transition: 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}


.mobile-close {
  position: absolute;

  top: 18px;

  left: 22px;

  font-size: 34px;

  color: var(--primary);

  cursor: pointer;

  z-index: 999;
}

.mobile-close i {
  color: #000;
}

.hero {
  background: url('../images/hero-bg.webp') no-repeat center;
  background-size: cover;
  /* min-height: calc(100vh - 80px); */
  padding-top: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left,
      rgba(255, 255, 255, 0.95) 25%,
      rgba(255, 255, 255, 0.7) 45%,
      rgba(255, 255, 255, 0.2) 80%,
      transparent 100%);
}

.hero-pages {
  background: url('../images/hero-pages.webp') no-repeat center;
  background-size: cover;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 60px;

}

.hero-pages::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left,
      rgba(255, 255, 255, 0.95) 25%,
      rgba(255, 255, 255, 0.7) 45%,
      rgba(255, 255, 255, 0.2) 80%,
      transparent 100%);
}

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

.hero-content {
  max-width: 500px;
  margin-left: auto;
  text-align: right;
}


.hero-title {
  color: var(--primary);
  font-size: 50px;
  font-weight: bold;
  line-height: 1.8;
}


.hero-desc {
  margin: 15px 0;
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 24px;
  max-width: 400px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-btn i {
  font-size: 18px;
}

.section {
  padding: 60px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-soft {
  background: var(--bg-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


.brand-text h5 {
  font-size: 24px;
  margin: 0;
  margin-bottom: 15px;

}

.brand-text p {
  margin: 0;
  font-size: 18px;
  color: #ddd;
}

.about-section {
  padding: 70px 0;
  text-align: center;
}

.about-subtitle {
  color: var(--primary);
  font-size: 25px;
  margin-bottom: 10px;
}

.about-text {
  color: var(--text-dark);
  line-height: 2;
  font-size: 18px;
  margin: 8px 0;
}

.video-wrapper {
  position: relative;
  width: 90%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

#player {
  width: 100%;
  height: 100%;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.video-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.feature-section {
  padding: 25px 0 30px;
}

.feature-card {
  background: #fff;
  border: 1px solid #7C996B;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
}

.feature-icon {
  width: 80px;
  height: 80px;
  min-width: 60px;
  min-height: 60px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  color: var(--primary);
  font-size: 35px;
}

.feature-text {
  text-align: center;
}

.feature-title {
  color: var(--primary);
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 3px;
}

.feature-desc {
  font-size: 16px;
  color: var(--text-dark);
}

/* =========================
   Features Mobile
========================= */

.vision-section {
  padding: 30px 0;
}

/* title */
.vision-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.vision-title span {
  font-size: 30px;
  font-weight: bold;
  color: var(--primary);
}

.vision-title i {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
}

.vision-content {
  position: relative;
  padding: 40px 60px;
  display: flex;
  text-align: center;
  align-items: center;
  gap: 10px;
}

.vision-content::before,
.vision-content::after {
  position: absolute;
  font-size: 100px;
  color: rgba(0, 0, 0, .08);
  line-height: 1;
  font-family: serif;
}

.vision-content::before {
  content: "”";
  top: 0;
  right: 10px;
}

.vision-content::after {
  content: "“";
  bottom: -10px;
  left: 10px;
}

.vision-text {
  flex: 1;
  max-width: 100%;
  line-height: 2;
  font-size: 18px;
  color: var(--text-dark);
}

.vision-text p {
  margin-bottom: 15px;
}

.vision-img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
}

/* contact-section */
.contact-section {
  padding: 30px 0 70px;
}

.contact-title {
  font-weight: bold;
}

.contact-box {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 30px;
}

/* divider */
.contact-divider {
  width: 1px;
  height: 60px;
  background: #ddd;
  margin: auto;
}

/* social */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}

.social-icons i {
  font-size: 26px;
  color: var(--primary);
}

/* contact item */
.contact-item {
  text-align: center;
}

.contact-text p {
  margin: 0;
  font-size: 14px;
  direction: ltr;
}

.contact-icon {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
}

/* why-us-section */
.why-us-section {
  background: var(--bg-section);
  padding: 80px 0;
}

.why-card {
  text-align: center;

}

.why-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon i {
  font-size: 40px;
  color: var(--primary);
}

/* title */
.why-title {
  color: var(--primary);
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 6px;
}

/* desc */
.why-desc {
  font-size: 18px;
  color: var(--text-dark);
}

.programs-section {
  padding: 80px 0;
}

.program-card {
  background: #fff;
  border: 2px solid #7C996B;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.program-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.program-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-soft);
  border-radius: 50%;
  position: absolute;
  top: 155px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-icon i {
  color: var(--primary);
  font-size: 30px;
}

.program-body {
  padding: 60px 120px 20px;

  display: flex;

  flex-direction: column;

  justify-content: flex-start;

  min-height: 200px;
}


.program-body p {

  min-height: 85px;
}

.program-title {
  color: var(--primary);
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 10px;
}

.program-desc {
  font-size: 18px;
  color: var(--text-dark);
}

.section-btn {
  margin-top: 60px;
}

.events-section {
  background: var(--bg-section);
  padding: 80px 0;
}

.events-page-section {
  padding: 80px 0;
}

.event-card {
  background: #fff;
  border: 1px solid #7C9968;
  border-radius: 16px;
  padding: 22px;
  height: 100%;
}

.event-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.event-icon {
  width: 65px;
  height: 65px;

  min-width: 65px;

  border-radius: 50%;
  background: var(--bg-soft);

  display: flex;
  align-items: center;
  justify-content: center;
}

.event-icon i {
  font-size: 30px;
  color: var(--primary);
}

.event-info {
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.event-date {
  margin-bottom: 14px;
}

.event-date h3 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
  color: var(--primary);
}

.event-date span {
  font-size: 15px;
  color: #7C9968;
}

.event-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);

  margin-bottom: 6px;
}

.event-desc {
  font-size: 14px;
  color: var(--text-dark);

  margin: 0;
}

.section-btn {
  margin-top: 35px;
}

/* gallery-section */
.gallery-section {
  padding: 50px 0;
}

.gallery-item {
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-item img {
  height: 100%;
}

.cta-section {
  padding: 40px 0;
}

.cta-box {
  background: var(--bg-section);
  border: 1px solid #7C996B;
  border-radius: 14px;
  padding: 20px 25px;
}

.cta-logo {
  width: 70px;
}

.cta-title {
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 3px;
  line-height: 2;
}

.cta-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-dark);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


.custom-footer {
  background: url('../images/footer-bg.webp') no-repeat center;
  background-size: cover;
  color: #fff;
  padding: 40px 0 15px;
  position: relative;
  margin-top: auto;
}

.custom-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.custom-footer .container-fluid {
  position: relative;
  z-index: 2;
}


.footer-brand {
  gap: 15px;
}

.footer-logo {
  width: 75px;
}

.footer-title {
  font-weight: bold;
  margin-bottom: 15px;
}


.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #BFBFBF;
  text-decoration: none;
}

.footer-links a:hover {
  color: #EDC62C;
}



.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact .icon {
  width: 35px;
  height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}


.footer-social a {
  display: inline-flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  margin-left: 10px;
}


.footer-line {
  border-color: rgba(255, 255, 255, 0.25);
  opacity: 1;
  margin: 18px 0;
}


.footer-bottom span {
  color: #EDC62C;
}





.fees-section {
  padding: 60px 0;
}

.fees-card {
  background: #fff;
  border: 1px solid #7C996B;
  border-radius: 14px;
  padding: 25px 20px;
  text-align: center;
  height: 100%;
}

.fees-title {
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 10px;
}

.fees-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fees-icon i {
  color: var(--primary);
  font-size: 22px;
}

.fees-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 5px;
}

.fees-price .amount {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
}

.fees-price .currency {
  font-size: 16px;
  color: var(--text-dark);
}

.fees-period {
  font-size: 16px;
  color: #7C996B;
  margin-bottom: 10px;
}

.fees-divider {
  width: 100%;
  height: 1px;
  background: #ddd;
  margin: 10px 0;
}

.fees-desc {
  position: relative;
  padding-top: 18px;
  font-size: 16px;
  color: var(--text-dark);
}

.fees-desc::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 35%;
  height: 1px;

  background: #DEDEDE;
  border-radius: 50px;
}


.extras-section {
  background: var(--bg-section);
  padding: 70px 0;
}

.extras-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.extra-item {
  display: flex;
  align-items: center;
  gap: 12px;

}

.extra-text {
  text-align: right;
}

.extra-title {
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 6px;
}

.extra-price {
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

.extra-desc {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  min-width: 150px;

}

.extra-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.extra-icon i {
  font-size: 32px;
  color: var(--primary);
}

.extra-divider {
  width: 1px;
  height: 55px;
  background: #ddd;
  margin: 0 90px;

}



.discount-section {
  padding: 70px 0;
}

.discount-card {
  background: #fff;
  border: 1px solid #7C996B;
  border-radius: 14px;
  padding: 18px 22px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.discount-text {
  max-width: 190px;
  text-align: right;
}

.discount-title {
  font-size: 22px;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 8px;
}

.discount-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0;
}

.discount-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.discount-icon i {
  font-size: 32px;
  color: var(--primary);
}

.levels-section {
  padding: 70px 0;
}

.level-card {
  background: #fff;
  border: 1px solid #7C9B68;
  border-radius: 16px;
  padding: 30px 20px;
  height: 100%;

  text-align: center;

  transition: 0.3s ease;
}

.level-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;

  margin: 0 auto 30px;

  border-radius: 50%;
  background: var(--bg-soft);

  display: flex;
  align-items: center;
  justify-content: center;
}

.level-icon i {
  font-size: 32px;
  color: var(--primary);
  line-height: 1;
}

.level-title {
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 16px;
  font-size: 22px;

}

.level-desc {
  font-size: 18px;
  color: var(--text-dark);
  margin: 30px 80px 20px;
  line-height: 1.6;
}


.programs-page-section {
  background: var(--bg-section);
  padding: 70px 0;
}


.programs-page-card {
  background: #fff;
  border: 1px solid #7C9B68;
  border-radius: 20px;
  padding: 25px;
  height: 100%;
}

.programs-page-title {
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 10px;
}

.programs-page-divider {
  height: 1px;
  background: #ddd;
  margin-bottom: 20px;
}

.programs-page-image {
  border-radius: 14px;
  overflow: hidden;
}

.programs-page-image img {
  width: 100%;
  height: 100%;
}

.programs-page-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.programs-page-title span {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
}

.programs-page-title i {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--primary);
}

.programs-page-list {
  text-align: right;
}

.programs-page-list ul {
  padding: 0;
}

.programs-page-list ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.programs-page-list ul li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  color: var(--primary);
  font-size: 14px;
}

.education-features-section {
  padding: 70px 0;
}

.education-feature-box {
  text-align: center;
  position: relative;
}

.education-feature-box::after {
  content: "";
  position: absolute;

  top: 50%;
  left: -12px;

  transform: translateY(-50%);

  width: 1px;
  height: 70px;

  background: #d9d9d9;
}

.education-feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.education-feature-icon i {
  font-size: 40px;
  color: var(--primary);
}

.education-feature-title {
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 20px;

}

.education-feature-desc {
  font-size: 16px;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.6;
}

/* =========================
   Filter
========================= */
.events-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 35px;
  margin-bottom: 45px;
}

.filter-btn {
  border: none;
  background: var(--bg-soft);
  color: var(--primary);

  border-radius: 8px;

  padding: 10px 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-size: 15px;
  font-weight: 600;

  transition: 0.3s;

  cursor: pointer;
}

.filter-btn i {
  font-size: 15px;

  transition: 0.3s;
}

.filter-btn:hover {
  background: var(--primary);
  color: #fff;
}

.filter-btn.active {
  background: var(--primary);
  color: #fff;
}

.filter-btn:hover i,
.filter-btn.active i {
  transform: rotate(-10deg);
}




/* =========================
   Schedule Section
========================= */

.schedule-section {
  background: var(--bg-section);
  padding: 80px 0;
}

/* =========================
   Title
========================= */

.schedule-title-wrap {
  margin-bottom: 28px;
}

.schedule-title {
  color: var(--primary);

  font-size: 28px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;
}

/* =========================
   Table
========================= */
/* =========================
   Table Scroll Mobile
========================= */

.table-responsive-custom {

  width: 100%;

  overflow-x: auto;

  -webkit-overflow-scrolling: touch;
}

/* table */

.events-table {

  min-width: 700px;
}

/* scrollbar */

.table-responsive-custom::-webkit-scrollbar {

  height: 6px;
}

.table-responsive-custom::-webkit-scrollbar-thumb {

  background: #cfcfcf;

  border-radius: 20px;
}

.schedule-table {
  width: 100%;

  border-collapse: separate;
  border-spacing: 0;

  overflow: hidden;

  border-radius: 14px;

  background: #fff;
}

/* head */

.schedule-table thead {
  background: var(--primary);
}

.schedule-table th {
  color: #fff;

  padding: 15px;

  font-size: 15px;
  font-weight: 600;

  text-align: center;
}

.schedule-table th i {
  margin-left: 6px;

  font-size: 14px;
}

/* body */

.schedule-table td {
  padding: 14px;

  text-align: center;

  font-size: 14px;

  color: var(--text-dark);

  border-bottom: 1px solid #ececec;
}

.schedule-table tbody tr:last-child td {
  border-bottom: none;
}

/* =========================
   Badge
========================= */

.table-badge {
  display: inline-block;

  padding: 5px 12px;

  border-radius: 30px;

  font-size: 13px;
  font-weight: 600;
}

/* امتحانات */
.table-badge.exam {
  background: #EBE9DA;
  color: #7F6911;
}

/* رحلات */
.table-badge.trip {
  background: #E5EBDA;
  color: #44643D;
}

/* فعاليات */
.table-badge.event {
  background: #ECD7F8;
  color: #5E3379;
}

/* =========================
   View Button
========================= */

.table-view-btn {
  border: none;

  background: var(--primary);
  color: #fff;

  border-radius: 8px;

  padding: 7px 14px;

  font-size: 13px;
  font-weight: 600;

  transition: 0.3s;

  cursor: pointer;
}

.table-view-btn:hover {
  opacity: 0.9;
}


/* =========================
   Lightbox
========================= */

.table-lightbox {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.85);

  display: none;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  z-index: 9999;

  padding: 20px;
}

.table-lightbox img {
  max-width: 90%;
  max-height: 80vh;

  border-radius: 12px;
}

.table-close {
  position: absolute;

  top: 20px;
  right: 30px;

  color: #fff;

  font-size: 40px;

  cursor: pointer;
}

.table-download-btn {
  margin-top: 20px;
}

.info-strip-section {
  background: #fff;
  padding: 45px 0;
}

.info-strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  position: relative;

  height: 100%;
}

.info-strip-divider::before {
  content: "";

  position: absolute;

  right: -15px;
  top: 50%;

  transform: translateY(-50%);

  width: 1px;
  height: 70px;

  background: #dddddd;
}

.info-strip-icon {
  width: 70px;
  height: 70px;

  min-width: 70px;

  border-radius: 50%;

  background: var(--bg-soft);

  display: flex;
  align-items: center;
  justify-content: center;
}

.info-strip-icon i {
  font-size: 28px;
  color: var(--primary);
}

.info-strip-content {
  text-align: right;

}

.info-strip-title {
  color: var(--primary);

  font-size: 18px;
  font-weight: bold;

  margin-bottom: 6px;
}

.info-strip-desc {
  margin: 0;

  font-size: 14px;
  line-height: 1.7;

  color: var(--text-dark);
}


/* =========================
   Application Section
========================= */

.application-section {
  padding: 70px 0;
  background: #fff;
}

/* =========================
   Form Cards
========================= */

.form-card {

  background: #fff;

  border: 1px solid #efefef;

  border-radius: 12px;

  padding: 18px;

  margin-bottom: 18px;
}

.form-card-title {

  display: flex;
  align-items: center;
  justify-content: flex-start;

  gap: 8px;

  color: var(--primary);

  font-size: 18px;
  font-weight: bold;

  margin-bottom: 18px;
}

.form-card-title i {

  font-size: 16px;
}

/* =========================
   Labels
========================= */

.application-section label {

  display: block;

  margin-bottom: 6px;

  color: var(--primary);

  font-size: 12px;
  font-weight: 600;
}

/* =========================
   Required Star
========================= */

.required-star {

  color: #e45b5b;

  margin-right: 2px;
}

/* =========================
   Inputs
========================= */

.input-custom,
.form-select.input-custom {

  width: 100%;

  height: 42px;

  border: 1px solid #e6e6e6;

  border-radius: 8px;

  background-color: #fff;

  padding: 10px 14px;

  font-size: 13px;

  color: var(--text-dark);

  transition: 0.25s;

  box-shadow: none;
}

/* placeholder */

.input-custom::placeholder {

  color: #b7b7b7;
}

/* focus */

.input-custom:focus,
.form-select.input-custom:focus {

  border-color: var(--primary);

  box-shadow: 0 0 0 2px rgba(21, 50, 2, 0.08);

  outline: none;
}

/* filled */

.input-filled {

  border-color: var(--primary) !important;

  color: var(--primary);
}

/* error */

.input-error {

  border-color: #e45b5b !important;
}

/* textarea */

textarea.input-custom {

  min-height: 85px;

  resize: none;

  padding-top: 12px;
}

/* =========================
   Select Style
========================= */

.form-select.input-custom {

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23153202' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  background-repeat: no-repeat;

  background-position: left 14px center;

  background-size: 14px;

  padding-left: 38px;

  cursor: pointer;

  transition: 0.3s;
}

/* rotate arrow */

.form-select.input-custom:focus {

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23153202' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
}

/* remove bootstrap arrow */

.form-select {
  --bs-form-select-bg-img: none;
}

/* hover */

.form-select.input-custom:hover {

  border-color: var(--primary);
}

/* =========================
   Error Text
========================= */

.error-text {

  display: none;

  margin-top: 5px;

  color: #e45b5b;

  font-size: 11px;

  font-weight: 500;
}

/* =========================
   Submit Button
========================= */

.submit-btn {

  width: 100%;

  height: 44px;

  border: none;

  border-radius: 8px;

  background: var(--primary);

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  font-size: 13px;
  font-weight: 600;

  transition: 0.3s;
}

.submit-btn:hover {

  opacity: 0.92;
}

/* =========================
   Error Alert
========================= */

.form-alert {

  display: none;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  background: #ffe7e7;

  border-radius: 10px;

  padding: 16px;

  margin-top: 16px;
}

.alert-content h6 {

  margin: 0 0 4px;

  color: #d94444;

  font-size: 14px;
  font-weight: bold;
}

.alert-content p {

  margin: 0;

  color: #b94b4b;

  font-size: 12px;
}

.alert-icon {

  width: 38px;
  height: 38px;

  min-width: 38px;

  border-radius: 50%;

  background: #fff;

  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-icon i {

  color: #d94444;

  font-size: 18px;
}

/* =========================
   Sidebar
========================= */

.application-steps {

  background: var(--bg-section);

  border-radius: 12px;

  padding: 24px 18px;

  height: 100%;
}

/* title */

.steps-title {

  color: var(--primary);

  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 28px;
}

/* step */

.step-item {

  position: relative;

  padding-right: 48px;

  margin-bottom: 28px;
}

/* number */

.step-number {

  position: absolute;

  right: 0;
  top: 2px;

  width: 40px;
  height: 40px;

  border-radius: 50%;

  background: var(--primary);

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  font-weight: bold;
}

/* content */

.step-content {

  width: 100%;
}

/* head */

.step-head {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  margin-bottom: 8px;
}

/* title */

.step-head h6 {

  color: var(--primary);

  font-size: 16px;
  font-weight: bold;

  margin: 0;
}

/* desc */

.step-content p {

  margin: 0;

  color: var(--text-dark);

  font-size: 13px;

  line-height: 1.6;
}

/* icon */

.step-icon {

  width: 55px;
  height: 55px;

  min-width: 48px;

  border-radius: 50%;

  background: var(--bg-soft);

  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon i {

  color: var(--primary);

  font-size: 28px;
}

/* =========================
   Note
========================= */

.application-note {

  background: var(--bg-soft);

  border-radius: 12px;

  padding: 12px 14px;

  margin-top: 18px;
}

/* title */

.note-title {

  display: flex;

  align-items: center;

  gap: 6px;

  margin-bottom: 8px;

  color: var(--primary);

  font-size: 15px;
  font-weight: bold;
}

.note-title i {

  font-size: 15px;
}

/* text */

.application-note p {

  margin: 0;

  color: var(--text-dark);

  font-size: 12px;

  line-height: 1.7;
}

/* =========================
   Success Popup
========================= */

.success-popup {

  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.5);

  display: none;

  align-items: center;
  justify-content: center;

  z-index: 9999;

  padding: 20px;
}

.success-box {

  width: 100%;
  max-width: 360px;

  background: #fff;

  border-radius: 18px;

  padding: 35px 25px;

  text-align: center;
}

.success-icon {

  width: 78px;
  height: 78px;

  border-radius: 50%;

  background: var(--bg-soft);

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 18px;
}

.success-icon i {

  color: var(--primary);

  font-size: 38px;
}

.success-box h4 {

  color: var(--primary);

  font-size: 24px;
  font-weight: bold;

  margin-bottom: 10px;
}

.success-box p {

  color: var(--text-dark);

  font-size: 14px;

  margin-bottom: 22px;
}

.instructions-section {

  padding: 60px 0;
}

.instructions-title {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  color: var(--primary);

  font-size: 24px;

  font-weight: bold;

  margin-bottom: 60px;
}

.instructions-title i {

  font-size: 24px;

  color: var(--primary);
}



.instruction-item {

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 18px;

  height: 100%;
}



.instruction-item::after {

  content: "";

  position: absolute;

  left: -18px;

  top: 50%;

  transform: translateY(-50%);

  width: 1px;

  height: 70px;

  background: #dddddd;
}

/* last item */

.instruction-last::after {

  display: none;
}



.instruction-icon {

  width: 72px;
  height: 72px;

  min-width: 72px;

  border-radius: 50%;

  background: var(--bg-soft);

  display: flex;
  align-items: center;
  justify-content: center;
}

.instruction-icon i {

  color: var(--primary);

  font-size: 28px;
}



.instruction-content {

  text-align: right;
}

.instruction-content h5 {

  color: var(--primary);

  font-size: 18px;

  font-weight: bold;

  margin-bottom: 8px;
}

.instruction-content p {

  margin: 0;

  color: var(--text-dark);

  font-size: 14px;

  line-height: 1.8;
}

.help-section {

  padding: 70px 0;
  background-color: var(--bg-section);
}

.help-box {

  position: relative;
  height: 100%;
  padding: 0 28px;
}

.help-box::after {

  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 120px;
  background: #dddddd;
}

.help-location::after {

  display: none;
}


.help-box {

  display: flex;
  align-items: center;
  gap: 18px;
}



.help-logo img {

  width: 100%;
}


.help-content h5 {

  color: var(--primary);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.help-content p {

  margin: 0;
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.8;
}



.help-middle {

  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

/* item */

.help-item {

  display: flex;
  align-items: center;
  gap: 14px;
}


.help-icon {

  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-icon i {

  color: var(--primary);
  font-size: 24px;
}

.whatsapp-icon {

  cursor: pointer;
  transition: 0.3s;
}

.whatsapp-icon:hover {

  transform: scale(1.06);
}

.whatsapp-icon i {

  color: #25D366;
}

.help-text h6 {

  color: var(--primary);
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
  direction: ltr;
}

.help-text p {
  margin: 0;
  color: var(--text-dark);
  font-size: 13px;
  line-height: 1.7;
}

.help-location {
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  gap: 18px;
}

#scrollTopBtn {
  background-color: var(--primary);
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  display: none;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.empty-events-alert {
  color: #0c5460;
  padding: 22px;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
}


.empty-state {
  padding: 80px 20px;
  text-align: center;
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #eef1f6;
  margin: 0 auto 18px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-icon i {
  font-size: 24px;
  color: #b8c0cc;
}

.empty-state-title {
  color: #2b2b2b;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.empty-state-text {
  color: #98a2b3;
  font-size: 14px;
  margin: 0;
}


.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pagination-container nav {
  display: flex;
  justify-content: center;
}

.pagination-container .pagination {
  gap: 8px;
  margin: 0;
}

.pagination-container .page-item .page-link {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #d7d7d7;
  color: #0d3b00;
  background: #fff;
  transition: .2s;
}

.pagination-container .page-item.active .page-link {
  background: #0d3b00;
  border-color: #0d3b00;
  color: #fff;
}

.pagination-container .page-item .page-link:hover {
  background: #0d3b00;
  color: #fff;
  border-color: #0d3b00;
}

.pagination-container .page-item.disabled .page-link {
  opacity: .5;
}

/* Desktop First */

/* Base */

/* 992px */
@media (max-width: 992px) {
  .extras-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .extra-item {
    width: 100%;
    justify-content: right;
    gap: 16px;

  }

  .extra-text {
    text-align: right;
  }

  .extra-divider {
    display: none;
  }

  .dropdown-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none !important;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      max-height 0.3s ease,
      visibility 0.3s;
    border: none;
    padding: 0;
  }

  .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    transform: translateY(0);
    margin-top: 10px;
  }

  .dropdown-toggle::after {

    transition: none !important;
  }

  .dropdown.show .dropdown-toggle::after {

    transform: rotate(180deg);
  }

  .navbar-collapse {
    position: fixed;

    top: 0;
    right: 0;

    width: 100%;

    height: 100vh;

    background: #fff;

    z-index: 9999;

    padding: 80px 30px 40px;

    overflow-y: auto;

    opacity: 0;

    visibility: hidden;

    transform: translateY(-20px);

    transition:
      opacity 0.35s ease,
      transform 0.35s ease,
      visibility 0.35s;
  }


  .navbar-collapse.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
  }

  .nav-link {
    color: #000 !important;
    font-size: 18px;
    margin: 10px 0;
    text-align: center;
  }

  .nav-link:hover {

    transform: none !important;

    color: #000 !important;
  }

  .dropdown-menu {
    background: transparent;
    box-shadow: none;
    text-align: center;
  }

  .dropdown-item {
    font-size: 14px;
    color: #000;
    justify-content: center;
  }

  .dropdown-item:hover {
    background: none;
  }

  .dropdown:hover .dropdown-toggle::after {

    transform: none !important;
  }

  .btn-primary-custom {
    margin-top: 20px;
  }

  .brand-box {
    height: 60px;
  }

}

/* 768px */
@media (max-width: 768px) {

  .hero-title {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.6;
  }

  .hero-desc {
    font-size: 24px;
    max-width: 80%;
    line-height: 1.7;
  }

  .hero-pages-title {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.6;
  }

  .hero-pages-desc {
    max-width: 230px;
    line-height: 1.7;
  }

  .about-section {
    padding: 45px 0 5px;
  }

  .about-video {
    display: block;
    margin-top: 28px;
    justify-content: center;
    width: 90%;
    max-width: 100%;
  }

  /* النص */
  .about-text {
    margin: 0 auto;
    font-size: 16px;
    text-align: justify;
    max-width: 90%;
  }

  .about-subtitle {
    text-align: center;
    font-size: 24px;
  }

  .feature-section {
    padding: 10px 0 40px;
  }

  .feature-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .feature-icon {
    width: 65px;
    height: 65px;
    min-width: 65px;
    min-height: 65px;
  }

  .feature-icon i {
    font-size: 28px;
  }

  .feature-title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .feature-desc {
    font-size: 14px;
    line-height: 1.7;
  }

  .vision-content {
    padding: 40px 20px;
  }

  .vision-content::before,
  .vision-content::after {
    font-size: 80px;
  }

  .vision-text {
    font-size: 14px;
    text-align: center;
  }

  .contact-box {
    padding: 20px;
    text-align: center;
  }

  /* كل عنصر */
  .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  /* الأيقونات */
  .contact-icon {
    margin: 0;
    font-size: 22px;
  }

  /* النص */
  .contact-text {
    text-align: center;
  }

  /* divider يتشال */
  .contact-divider {
    display: none;
  }

  /* السوشيال */
  .social-icons {
    justify-content: center;
  }

  .col-lg-4>.d-flex {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
  }

  .why-us-section {

    padding: 50px 0;
  }

  .why-card {

    margin-bottom: 24px;
  }

  .why-icon {

    width: 70px;
    height: 70px;

    margin: 0 auto 14px;
  }

  .why-icon i {

    font-size: 34px;
  }

  .why-title {

    font-size: 18px;

    margin-bottom: 8px;
  }

  .why-desc {

    font-size: 14px;

    line-height: 1.7;
  }

  .events-section {
    padding: 50px 0;
  }

  .event-card {
    padding: 18px;
  }

  .event-layout {
    gap: 14px;
  }

  .event-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
  }

  .event-icon i {
    font-size: 24px;
  }

  .event-date h3 {
    font-size: 24px;
  }

  .event-title {
    font-size: 18px;
  }

  .event-desc {
    font-size: 14px;
  }

  .cta-box {
    text-align: center;
  }

  .cta-box {
    flex-direction: column;
    gap: 15px;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-logo {
    margin-bottom: 5px;
  }

  .cta-btn {
    justify-content: center;
    width: fit-content;
  }

  .custom-footer {

    padding-right: 12px;

    padding-left: 18px;
  }

  .footer-brand,
  .footer-links,
  .footer-contact,
  .footer-social {

    padding-right: 0px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 20px;
  }

  .row {
    justify-content: center;
  }

  .custom-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .discount-card {
    flex-direction: row;
    gap: 12px;
    text-align: right;
  }

  .discount-text {
    text-align: right;
  }

  .discount-title {

    font-size: 16px;
  }

  .discount-desc {

    font-size: 13px;
  }

  .discount-icon {

    width: 55px;
    height: 55px;

    min-width: 55px;
    min-height: 55px;
  }

  .discount-icon i {

    font-size: 22px;
  }

  .levels-section {

    padding: 45px 0;
  }

  .level-card {

    padding: 28px 18px;

    border-radius: 18px;
  }


  .level-icon {

    width: 70px;
    height: 70px;

    min-width: 70px;
    min-height: 70px;

    margin: 0 auto 22px;
  }

  .level-icon i {

    font-size: 28px;
  }


  .level-title {

    font-size: 22px;

    margin-bottom: 12px;
  }


  .level-desc {

    font-size: 15px;

    line-height: 1.8;

    margin: 0;

    padding: 0 10px;
  }

  .programs-page-section {
    padding: 40px 0;
  }

  .programs-page-list {
    text-align: center;
  }

  .education-feature-icon {
    width: 55px;
    height: 55px;
  }

  .education-feature-icon i {
    font-size: 22px;
  }

  .education-feature-title {
    font-size: 14px;
  }

  .education-feature-desc {
    font-size: 12px;
  }

  .education-feature-box::after {
    display: none;
  }

  .section-title {
    font-size: 28px !important;
    line-height: 1.4;
  }

  .events-filter {
    gap: 10px;
    margin-top: 25px;
    margin-bottom: 30px;
  }

  .filter-btn {
    padding: 9px 14px;

    font-size: 14px;
  }

  .schedule-section {
    padding: 50px 0;
  }

  .schedule-title {
    font-size: 22px;
  }

  .schedule-table th,
  .schedule-table td {
    font-size: 13px;

    padding: 10px;
  }

  .schedule-table th i {
    display: block;

    margin: 0 0 4px;
  }

  .info-strip-section {
    padding: 35px 0;
  }

  .info-strip-item {
    flex-direction: row;

    justify-content: right;

    text-align: center;

    margin-bottom: 28px;
  }

  /* نشيل الخطوط */
  .info-strip-divider::before {
    display: none;
  }

  .info-strip-content {
    text-align: right;
  }

  .info-strip-icon {
    width: 60px;
    height: 60px;

    min-width: 60px;
  }

  .info-strip-icon i {
    font-size: 24px;
  }

  .info-strip-title {
    font-size: 16px;
  }

  .info-strip-desc {
    font-size: 13px;
  }

  .application-section {
    padding: 50px 0;
  }

  .application-steps {
    margin-bottom: 20px;
  }

  .steps-title {
    font-size: 22px;
  }

  .step-head h6 {
    font-size: 15px;
  }

  .step-content p {
    font-size: 12px;
  }

  .input-custom,
  .form-select.input-custom {

    height: 40px;

    font-size: 12px;
  }

  textarea.input-custom {

    min-height: 75px;
  }


  .instructions-section {

    padding: 50px 0;
  }

  .instructions-title {

    font-size: 24px;

    margin-bottom: 34px;
  }

  .instructions-title i {
    font-size: 20px;
  }

  .instruction-item {

    flex-direction: column;

    text-align: center;

    gap: 14px;

    padding-bottom: 28px;

    margin-bottom: 28px;
  }

  .instruction-item::after {

    display: none;
  }

  .instruction-content {

    text-align: center;
  }

  .instruction-content h5 {

    font-size: 16px;
  }

  .instruction-content p {

    font-size: 13px;
  }

  .instruction-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
  }

  .instruction-icon i {
    font-size: 24px;
  }

  .help-section {
    padding: 50px 0;
  }

  .help-wrapper {
    padding: 24px 18px;
  }

  .help-box {
    padding: 0;
    margin-bottom: 28px;
  }

  .help-box::after {

    display: none;
  }

  .help-school-logo {

    width: 72px;
    height: 72px;

    min-width: 72px;
  }

  .help-school-logo img {

    width: 48px;
  }

  .help-content h5 {

    font-size: 18px;
  }

  .help-content p {

    font-size: 13px;
  }

  .help-text h6 {

    font-size: 15px;
  }

  .help-text p {

    font-size: 12px;
  }

  .help-location {

    align-items: flex-start;

    text-align: right;

    width: 100%;
  }

  .help-location .help-item {

    width: 100%;

    justify-content: flex-start;
  }

  /* الزرار بس في النص */

  .help-location .btn-secondary-custom {

    margin: 0 auto;
  }


  .gallery-item {
    height: 100px;
  }
}

/* 576px */
@media (max-width: 576px) {}