:root {
  --brand-primary: #00b34f;
  --brand-secondary: #029843;
  --white: #fff;
  --brand-light-hover: #d9f4e5;
  --brand-light: #e8ecf4;
  --neutral-light: #fcfcfc;
  --neutral-dark: #000;
  --gray-300: #d0d5dd;
  --gray-500: #667085;
  --neutral-medium: #d9d9d9;
  --text-secondary: #595959;
  --neutral-border: #bfbfbf;
  --blue-accent: #5783d2;
  --background-dark: #091e43;
  --required-red: #d84226;

  /* FAQ Section Variables */
  --container-max-width: 1200px;
  --faq-max-width: 800px;
  --faq-bg-primary: #ffffff;
  --faq-bg-secondary: #f9fafb;
  --faq-brand-primary: #00b34f;
  --faq-text-primary: #111827;
  --faq-text-secondary: #6b7280;
  --faq-text-tertiary: #9ca3af;
  --faq-icon: #6b7280;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border:  1px solid red !important; */
}

body {
  font-family: "Alexandria", "Inter", -apple-system, Roboto, Helvetica,
    sans-serif;
  line-height: 1.6;
  direction: rtl;
}

.hero-section {
  min-height: 100vh;
  background: var(--background-dark);
  position: relative;
  overflow: hidden;
  padding: 0 0 44px 0;
}

@media (max-width: 768px) {
  .hero-section {
    background: transparent;
  }
}

/* Background Elements */
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.49);
  z-index: 2;
}

@media (max-width: 992px) {
  .background-overlay {
    height: 100vh !important;
  }
}

.background-circle {
  position: absolute;
  width: 1430px;
  height: 1430px;
  border-radius: 50%;
  background: var(--blue-accent);
  top: -160px;
  left: 502px;
  z-index: 0;
}

.hero-image {
  position: absolute;
  top: 283px;
  z-index: 1;
  right: -63px;
  object-fit: cover;
  z-index: 0;
}

.hero-shape-button {
  position: absolute;
  z-index: 13;
  width: 100%;
}

/* Navigation */
.navbar {
  position: relative;
  z-index: 10;
  padding: 24px 80px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-content-container {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 992px) {
  .nav-content-container {
    width: 100%;
    justify-content: space-between;
  }
}

.nav-cta {
  order: 3;
}

.nav-cta .cta-button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: var(--brand-primary);
  border: 1px solid var(--brand-primary);
  border-radius: 8px;
  color: white;
  font-family: "Alexandria", sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 249px;
  justify-content: space-between;
}

.nav-cta .cta-button:hover {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.cta-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 24px;
  order: 2;
}

.nav-link {
  color: var(--brand-light-hover);
  text-decoration: none;
  font-family: "Alexandria", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: white;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  order: 1;
  width: 119px;
}

.logo-text-small {
  color: var(--brand-light);
  text-align: center;
  font-family: "Alexandria", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.logo-text-main {
  color: var(--brand-light);
  text-align: center;
  font-family: "Alexandria", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 0.75;
}

.logo-text-accent {
  color: var(--brand-primary);
  text-align: center;
  font-family: "Alexandria", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 0.75;
}

.logo-text-en {
  color: var(--brand-primary);
  text-align: center;
  font-family: "Alexandria", sans-serif;
  font-size: 7px;
  font-weight: 500;
  line-height: 2;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1302px;
  margin: 0 auto;
  min-height: calc(100vh - 142px);
  gap: 40px;
}

/* Registration Form */
.registration-form {
  background: var(--neutral-light);
  border-radius: 8px;
  padding: 110px 61px 147px;
  width: 100%;
  max-width: 609px;
  flex-shrink: 0;
}

.form-header {
  text-align: center;
  margin-bottom: 24px;
}

.form-title {
  font-family: "Alexandria", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--neutral-dark);
  margin-bottom: 3px;
  line-height: normal;
  text-align: right;
}

.form-title .highlight {
  color: var(--brand-secondary);
}

.form-description {
  font-family: "Alexandria", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.39;
  letter-spacing: -0.104px;
  text-align: right;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  position: relative;
}

.field-label {
  font-family: "Alexandria", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-align: right;
  width: 100%;
  color: var(--neutral-dark);
  display: flex;
  align-items: center;
  gap: 5px;
}

.required-icon {
  width: 12px;
  height: 12px;
}

.field-input {
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  background: white;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--gray-500);
  text-align: right;
  outline: none;
  transition: border-color 0.3s ease;
}

.field-input:focus {
  border-color: var(--brand-primary);
}

.field-input::placeholder {
  color: var(--gray-500);
}

#phone {
  direction: ltr;
}

.phone-input {
  display: flex;
  width: 100%;
  height: 42px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  background: white;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  overflow: hidden;
}

.phone-dropdown {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-left: 1px solid var(--neutral-medium);
  background: white;
}

.country-flag {
  width: 21px;
  height: 21px;
  border-radius: 2px;
}

.dropdown-icon {
  width: 21px;
  height: 21px;
}

.phone-field {
  flex: 1;
  padding: 10px 12px 10px 0;
  border: none;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--gray-500);
  text-align: right;
}

.phone-field::placeholder {
  color: var(--gray-500);
}

/* International Telephone Input Customization */
.iti {
  width: 100%;
  direction: ltr;
  display: flex;
  /* Force LTR for proper flag positioning */
}

.iti__flag-container {
  position: relative;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: rgb(255 255 255);
}

.iti__selected-flag {
  background: white;
  border: none;
  padding: 8px 12px;
  border-left: 1px solid var(--neutral-medium);
  border-radius: 6px 0 0 6px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 50px; /* Ensures flag has enough space */
}

/* Fix flag display */
.iti__flag {
  display: inline-block;
}

/* Fix the dropdown positioning */
.iti__country-list {
  position: absolute;
  z-index: 999;
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0 0 0 -1px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  background-color: white;
  border: 1px solid #ccc;
  white-space: nowrap;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 4px;
}

/* Properly style country items */
.iti__country {
  padding: 5px 10px;
  display: flex;
  align-items: center;
}

/* Style the phone input field */
#phone {
  direction: ltr;
  text-align: left;
}
/* Hero Main Content */
.hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 85px;
  width: 100%;
  max-width: 647px;
  flex-shrink: 0;
}

.hero-text {
  text-align: center;
  color: white;
}

.dba-title {
  position: relative;
  margin-bottom: 50px;
}

.dba-text {
  font-family: "Alexandria", sans-serif;
  font-size: 74px;
  font-weight: 700;
  line-height: 1.19;
  color: white;
  margin-bottom: 5px;
}

.online-text {
  font-family: "Alexandria", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 23px;
  color: white;
  margin-bottom: 26px;
}

.title-divider {
  width: 193px;
  height: 2px;
  background: var(--neutral-border);
  margin: 0 auto;
}

.hero-headline {
  font-family: "Alexandria", sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.4;
  color: white;
  margin-bottom: 24px;
  max-width: 647px;
}

.hero-subtitle {
  font-family: "Alexandria", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: normal;
  color: white;
  max-width: 548px;
}

/* Stats Container */
.stats-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 599px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
}

.stat-circle {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(217, 217, 217, 0.2);
  filter: drop-shadow(0px 2px 10.4px rgba(255, 255, 255, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 21px;
  box-shadow: 0 0 15px rgb(255, 255, 255 / 44%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.stat-number {
  font-family: "Alexandria", sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--neutral-light);
  line-height: 1;
}

.stat-label {
  font-family: "Alexandria", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: white;
  line-height: 1.2;
  max-width: 150px;
}

/* Mobile Menu Button */
.mobile-menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 20;
}

.mobile-menu-button .bar {
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 1.5px;
  transition: all 0.3s ease;
}

/* Mobile Menu Open State */
.mobile-menu-open .mobile-menu-button .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-open .mobile-menu-button .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-open .mobile-menu-button .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 0;
  width: 100%;
  background-color: rgba(9, 30, 67, 0.95);
  padding: 20px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 15;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section:nth-child(odd) {
  background-color: var(--neutral-light);
}

.section:nth-child(even) {
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: "Alexandria", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--background-dark);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--brand-primary);
}

@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }

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

@media (max-width: 480px) {
  .section {
    padding: 40px 16px;
  }

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

/* Responsive Design */
@media (max-width: 1200px) {
  .background-circle {
    left: 300px;
    width: 1200px;
    height: 1200px;
  }

  .hero-image {
    width: 500px;
    height: 560px;
    top: 200px;
  }

  .nav-container {
    padding: 0 40px;
  }

  .hero-content {
    padding: 0 40px;
    max-width: 1000px;
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 20px 40px;
    background: var(--background-dark);
  }

  .hero-image {
    width: 400px;
    height: 450px;
    top: 200px;
    right: -30px;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
  }

  .mobile-menu-button {
    display: flex;
    order: 3;
  }

  .nav-links {
    display: none;
  }

  .nav-links .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    width: 100%;
    text-align: center;
  }

  .nav-links .nav-link:last-child {
    border-bottom: none;
  }

  .logo {
    order: 2;
  }

  .nav-cta {
    order: 1;
    display: none;
  }

  .cta-button {
    display: none;
  }

  .hero-content {
    flex-direction: column;
    padding: 20px;
    gap: 40px;
    text-align: center;
  }

  .registration-form {
    padding: 40px 40px 60px;
    max-width: 500px;
    order: 2;
  }

  .form-header {
    margin-bottom: 40px;
  }

  .form-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .form-description {
    font-size: 16px;
  }

  .hero-main {
    order: 1;
    gap: 40px;
  }

  .dba-text {
    font-size: 48px;
  }

  .online-text {
    font-size: 28px;
    letter-spacing: 15px;
  }

  .hero-headline {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .stats-container {
    gap: 16px;
  }

  .background-circle {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
  }

  .mobile-menu-button {
    display: flex;
    order: 3;
  }

  .nav-links {
    display: none;
  }

  .nav-links .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    width: 100%;
    text-align: center;
  }

  .nav-links .nav-link:last-child {
    border-bottom: none;
  }

  .logo {
    order: 2;
  }

  .nav-cta {
    order: 1;
  }

  .cta-button {
    display: none;
  }

  .hero-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .registration-form {
    padding: 40px 40px 60px !important;
    max-width: 500px;
    order: 2;
  }

  .form-header {
    margin-bottom: 40px;
  }

  .form-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .form-description {
    font-size: 16px;
  }

  .hero-main {
    order: 1;
    gap: 40px;
  }

  .dba-text {
    font-size: 48px;
  }

  .online-text {
    font-size: 28px;
    letter-spacing: 15px;
  }

  .hero-headline {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .stats-container {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 12px 16px;
  }

  .hero-content {
    padding: 16px;
  }

  .registration-form {
    padding: 30px 20px 40px;
  }

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

  .form-description {
    font-size: 14px;
  }

  .dba-text {
    font-size: 36px;
  }

  .online-text {
    font-size: 20px;
    letter-spacing: 10px;
  }

  .hero-headline {
    font-size: 20px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .stats-container {
  }

  .stat-item {
    align-items: start;
    gap: 16px;
  }

  .stat-circle {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
  }

  .stat-number {
    font-size: 18px;
  }

  .stat-label {
    font-size: 16px;
    text-align: right;
  }

  .background-circle {
    display: none;
  }

  .hero-image {
    width: auto;
    height: auto;
    right: 0;
  }

  .cta-button {
    display: none;
  }

  .cta-button span {
    display: none;
  }

  .cta-icon {
    margin: 0;
  }

  .mobile-menu-button {
    margin-right: 15px;
  }
}

/* Fix for flag images - ensure CDN is loaded properly */
.iti__flag-box {
  width: 24px;
  height: 18px;
  display: inline-block;
}

/* Fallback for missing flag images */
.iti__flag {
  background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags.png");
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: center;
}

/* High DPI displays support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags@2x.png");
  }
}

/* RTL layout adjustments for flags */
[dir="rtl"] .iti__country .iti__flag {
  margin-left: 8px;
  margin-right: 0;
}

[dir="rtl"] .iti__selected-flag .iti__flag {
  margin-right: 6px;
  margin-left: 0;
}

.submit-button {
  width: 100%;
  max-width: 414px;
  height: 50px;
  padding: 5px 12px;
  margin: 0 auto;
  background: var(--brand-secondary);
  border: none;
  border-radius: 6px;
  color: white;
  font-family: "Alexandria", sans-serif;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background: var(--brand-primary);
  transform: translateY(-1px);
}

/* Focus states for accessibility */
.field-input:focus,
.phone-field:focus,
.submit-button:focus,
.cta-button:focus,
.nav-link:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .background-overlay {
    background: rgba(0, 0, 0, 0.8);
  }

  .stat-circle {
    background: rgba(255, 255, 255, 0.3);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================== certificates-section-container ============================= */

.certificates-section-container {
  position: relative;
  margin-top: 106px;
  /* Adjusted margin to move the section up */
  margin-bottom: 57px;
  /* Adjusted margin to move the section up */
  /* margin-top: 5px; Adjusted margin to move the section up */
}

.certificates-section-ellipse-150 {
  width: 100%;
  z-index: 23;
  background: url("./images/Ellipse 150.svg") no-repeat center center;
  background-size: cover;
  height: 200px;
  z-index: 23;
  position: absolute;
  top: -150px;
  /* Adjusted top position for desktop */
}

@media (max-width: 767px) {
  .certificates-section-ellipse-150 {
    height: 150px;
    top: -131px;
    /* Adjusted top position for mobile */
    left: 0px;
    /* Adjusted left position for mobile */
  }
}

.certificates-section-ellipse-152 {
  width: 100%;
  z-index: 22;
  background: url("./images/Ellipse 152.svg") no-repeat center center;
  background-size: cover;
  height: 120px;
  z-index: 22;
  position: absolute;
  bottom: -88px;
}

.certificates-section {
  position: relative;
  background-color: #154394;
  display: flex;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 134px 0;
  /* Adjusted padding for top and bottom */
  /* top: -60px; */
}

@media (max-width: 767px) {
  .certificates-section {
    max-width: 100%;
    padding: 120px 5px;
  }
}

/* ======================================== */

.certificates-section-ellipse-150 {
  width: 100%;
  z-index: 23;
  background: url("./images/Ellipse\ 150.svg") no-repeat center center;
  background-size: cover;
  height: 200px;
  z-index: 23;
  position: absolute;
  top: -150px;
  /* Adjusted top position for desktop */
}

@media (max-width: 767px) {
  .certificates-section-ellipse-150 {
    height: 150px;
    top: -131px;
    /* Adjusted top position for mobile */
    left: 0px;
    /* Adjusted left position for mobile */
  }
}

.certificates-section-ellipse-152 {
  width: 100%;
  z-index: 22;
  background: url("./images/Ellipse\ 152.svg") no-repeat center center;
  background-size: cover;
  z-index: 22;
  position: absolute;
  bottom: -88px;
}

/* ================================== Our Programs Section ========================== */
/* Our Programs Section */
.our-programs-section {
  padding: 80px 20px;
  background: #f5f5f5;
}

.our-programs-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.our-programs-title {
  font-size: 24px;
  font-weight: bold;
  color: #154394;
  margin-bottom: 32px;
  text-align: center;
}

.our-programs-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.our-programs-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.our-programs-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 16px;
  width: 240px;
  height: 240px;
}

.our-programs-image-container {
  background-color: #154394;
  border-radius: 50%;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
}

.our-programs-image {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.our-programs-card-title {
  font-size: 20px;
  font-weight: bold;
  color: #154394;
  text-align: center;
  margin-top: 12px;
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .our-programs-grid {
    flex-direction: column;
    gap: 24px;
  }

  .our-programs-card {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .our-programs-section {
    padding: 60px 16px;
  }

  .our-programs-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .our-programs-card {
    width: 180px;
    height: 180px;
  }

  .our-programs-image-container {
    width: 80px;
    height: 80px;
    padding: 20px;
  }

  .our-programs-image {
    width: 40px;
    height: 40px;
  }

  .our-programs-card-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .our-programs-section {
    padding: 40px 12px;
  }

  .our-programs-card {
    width: 160px;
    height: 160px;
  }

  .our-programs-image-container {
    width: 70px;
    height: 70px;
    padding: 16px;
  }

  .our-programs-image {
    width: 38px;
    height: 38px;
  }
}

.our-programs-card {
  cursor: pointer;
}

.our-programs-card:hover .our-programs-image {
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}

.our-programs-card:hover .our-programs-image img {
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}

.our-programs-card:hover > h4 {
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}

.our-programs-card:hover .our-programs-image-container {
  background-color: #080420;
}

/* MBA Program Section */
.mba-program-section {
  position: relative;
  background: #e8ecf4;
  padding-bottom: 48px;
}

.mba-program-section-large-shape {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 100%;
}

.mba-program-section-large-shape-mobile {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  width: 100%;
  display: none;
}

.mba-program-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 180px 32px 48px 16px;
}

.mba-program-title {
  position: relative;
  font-size: 28px;
  font-weight: bold;
  text-align: right;
  padding-top: 50px;
  margin-bottom: 16px;
}

.title-blue {
  color: #0047ba;
}

.title-green {
  color: #00a651;
}

.mba-program-description {
  position: relative;
  text-align: right;
  font-size: 14px;
  line-height: 1.6;
  color: #454545;
}

.mba-program-bg-large {
  position: absolute;
  top: 120px;
  left: 0px;
  display: block;
}

.mba-program-bg-small {
  position: absolute;
  top: 31px;
  left: -22px;
  display: none;
}

.mba-program-content {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-top: 48px;
}

.mba-program-text {
  width: 33.333333%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}

.mba-info-items-mobile {
  display: none;
}

.mba-info-item {
  color: #454545;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.mba-register-button {
  background: #00a651;
  color: white;
  padding: 8px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  width: 80%;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 24px;
}

.mba-register-button:hover {
  background: #008c44;
}

.mba-program-grid-container {
  width: 66.666667%;
}

.mba-program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 16px;
  direction: ltr;
}

.mba-specialization-card {
  position: relative;
  height: 100%;
  cursor: pointer;
}

.business-card {
  grid-column: 1 / 3;
  grid-row: 1 / 4;
}

.marketing-card {
  grid-column: 1 / 3;
  grid-row: 4 / 7;
}

.finance-card {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
}

.supply-card {
  grid-column: 3 / 5;
  grid-row: 3 / 5;
}

.hr-card {
  grid-column: 3 / 5;
  grid-row: 5 / 7;
}

.mba-card-content {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 20px;
}

.mba-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mba-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 16px;
  transition: all 0.3s duration;
}

.mba-card-overlay:hover {
  background: rgba(0, 0, 0, 0.3);
}

.mba-card-title {
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mba-card-description {
  color: white;
  font-size: 14px;
  text-align: center;
  display: none;
  transition: opacity 0.3s ease;
  width: 80%;
  margin: 0 auto;
}

.mba-card-overlay .mba-card-title-des {
  display: none;
  color: white;
  font-size: 2.2rem;
}

.mba-specialization-card:hover h2 {
  opacity: 1;
}

.mba-specialization-card:hover .mba-card-title {
  opacity: 0;
}

.mba-specialization-card:hover .mba-card-description {
  display: block;
  opacity: 1;
}

.mba-specialization-card:hover .mba-card-title-des {
  display: block;
  opacity: 1;
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .mba-program-container {
    padding: 90px 16px 48px 16px;
  }

  .mba-program-title {
    font-size: 24px;
    text-align: right;
    margin-bottom: 24px;
  }

  .mba-program-content {
    flex-direction: column-reverse;
    gap: 32px;
  }

  .mba-program-text {
    width: 100%;
  }

  .mba-program-grid-container {
    width: 100%;
  }

  .mba-program-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .business-card,
  .marketing-card,
  .finance-card,
  .supply-card,
  .hr-card {
    grid-column: 1;
    grid-row: auto;
  }

  .mba-card-content {
    height: 200px;
  }

  .mba-register-button {
    width: 100%;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .mba-program-section-large-shape {
    display: none;
  }

  .mba-program-section-large-shape-mobile {
    display: block;
  }

  .mba-program-bg-large {
    display: none;
  }

  .mba-program-bg-small {
    display: block;
    left: 0;
  }

  .mba-program-container {
    padding: 90px 16px 48px 16px;
  }

  .mba-program-title {
    font-size: 18px;
    text-align: center;
    padding-top: 50px;
  }

  .mba-program_description {
    font-size: 12px;
    text-align: right;
  }

  .mba-info-items-desktop {
    display: none;
  }

  .mba-info-items-mobile {
    display: block;
  }

  .mba-info-item {
    font-size: 12px;
  }

  .mba-card-title {
    font-size: 16px;
    margin-bottom: 0px;
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .mba-card-description {
    font-size: 14px;
  }

  .mba-card-content {
    border-radius: 20px;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .mba-program-title {
    font-size: 16px;
  }

  .mba-program-description {
    font-size: 12px;
  }

  .mba-info-item {
    font-size: 12px;
  }

  .mba-register-button {
    font-size: 14px;
    padding: 8px 24px;
  }
}

/* Desktop grid adjustment */
@media (min-width: 1025px) {
  .mba-card-content {
    height: 100%;
    border-radius: 32px;
  }

  .mba-card-overlay {
    border-radius: 32px;
  }

  .mba-card-title {
    font-size: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .mba-card-description {
    font-size: 16px;
  }
}

/* Choose Our Program Section */
.choose-our-program-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 20px 40px 20px;
  background: #154394;
  direction: rtl;
  margin-top: 85px;
  margin-bottom: 100px;
  position: relative;
}

@media (max-width: 768px) {
  .choose-our-program-section {
    padding: 50px 20px 20px 20px;
    margin-top: 0px;
    margin-bottom: 50px;
  }
}

.choose-our-program-section .choose-our-program-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  /* position: relative; */
}

@media (max-width: 768px) {
  .choose-our-program-section .choose-our-program-content {
    padding: 0;
  }
}

.choose-our-program-section .choose-our-program-content > div {
  flex: 1;
  padding: 20px;
}

@media (max-width: 768px) {
  .choose-our-program-section .choose-our-program-content > div {
    flex: 1 1 100%;
    padding: 0;
  }
}

.choose-our-program-section
  .choose-our-program-content
  .choose-our-program-first-part {
  display: flex;
  flex-direction: column;
  align-items: end;
  text-align: start;
  z-index: 1;
}

@media (max-width: 768px) {
  .choose-our-program-section
    .choose-our-program-content
    .choose-our-program-first-part {
    align-items: center;
    text-align: center;
  }
}

.choose-our-program-section
  .choose-our-program-content
  .choose-our-program-first-part
  h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
  text-align: start;
}

.choose-our-program-section
  .choose-our-program-content
  .choose-our-program-first-part
  .choose-our-program-description {
  font-size: 1.2rem;
  width: 77%;
  color: #fff;
  text-align: start;
}

@media (max-width: 768px) {
  .choose-our-program-section
    .choose-our-program-content
    .choose-our-program-first-part {
    align-items: center;
    text-align: center;
  }

  .choose-our-program-section
    .choose-our-program-content
    .choose-our-program-first-part
    h1 {
    font-size: 2rem;
  }

  .choose-our-program-section
    .choose-our-program-content
    .choose-our-program-first-part
    .choose-our-program-description {
    width: 100%;
    text-align: center;
  }
}

.choose-our-program-section
  .choose-our-program-content
  .choose-our-program-first-part
  h1
  span:nth-child(2) {
  font-size: 2.5rem;
  color: #02b34f;
}

.choose-our-program-section
  .choose-our-program-content
  .choose-our-program-second-part {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  /* gap between rows */
  gap: 40px 0;
}

.choose-our-program-section
  .choose-our-program-content
  .choose-our-program-second-part
  .choose-our-program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  background: #fff;
  border-radius: 20px;
  gap: 10px;
  padding: 20px;
  margin: 10px;
  width: 250px;
  height: 200px;
}

@media (max-width: 768px) {
  .choose-our-program-section
    .choose-our-program-content
    .choose-our-program-second-part
    .choose-our-program-card {
    width: 100%;
    max-width: 300px;
  }
}

.choose-our-program-section
  .choose-our-program-content
  .choose-our-program-second-part
  .choose-our-program-card
  .choose-our-program-card-shape {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.choose-our-program-section
  .choose-our-program-content
  .choose-our-program-second-part
  .choose-our-program-card
  .choose-our-program-card-image {
  z-index: 2;
}

.choose-our-program-second-part .choose-our-program-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.choose-our-program-section
  .choose-our-program-content
  .choose-our-program-second-part
  .choose-our-program-card
  .choose-our-program-card-image {
  transition: all 0.5s ease-in-out;
}

.choose-our-program-section
  .choose-our-program-content
  .choose-our-program-second-part
  .choose-our-program-card
  .choose-our-program-card-content:hover {
  transform: scale(1.1) translateY(-20px);
  transition: all 0.5s ease-in-out;
  z-index: 13;
}

.choose-our-program-title {
  margin: 0;
}

.choose-our-program-title-first-part {
  color: #fff;
}

.choose-our-program-title-second-part {
  color: #02b34f;
}

.choose-our-program-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  text-align: center;
}

.choose-our-program-card-description {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  text-align: center;
  line-height: 1.4;
}

/* Testimonials Section Styles */
.testimonials-section {
  background-color: #f5f5f5;
  padding: 80px 20px;
  direction: rtl;
  margin: -54px 0 0 0;
  position: relative;
}

@media screen and (max-width: 768px) {
  .testimonials-section {
    padding: 117px 10px 0;
    margin: -54px 0 0 0;
  }
}

.testimonials-section .testimonials-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.testimonials-subtitle {
  color: #52525b;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonials-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
  color: #12397e;
}

.testimonials-title p {
  color: #029843;
  background: none;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #029843;
  margin-left: 0.5rem;
}

.testimonials-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card:hover .testimonial-text,
.testimonial-card:hover .author-info {
  transform: scale(0.98);
}

.testimonial-text,
.author-info {
  transition: transform 0.3s ease-in-out;
}

.star-rating {
  color: #ffd700;
  direction: rtl;
  text-align: right;
  margin-bottom: 1rem;
  display: flex;
  gap: 2px;
}

.testimonial-text {
  color: #333;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: right;
}

.author-info {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details {
  text-align: right;
}

.author-name {
  color: #333;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.author-title {
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .testimonials-container {
    flex-direction: column;
    align-items: center;
    padding: 0 0 28px 0;
  }

  .testimonial-card {
    width: 100%;
    max-width: 100%;
  }
}

/* Payment Section Styles */
.payment-section {
  background-color: #00873c;
  padding: 80px 0;
  direction: rtl;
  position: relative;
  padding: 190px 0 100px 0;
}

.payment-section .bottom-shadow {
  position: absolute;
  top: -78px;
  left: 0;
  width: 100%;
}

.payment-section .bottom-shadow-small {
  position: absolute;
  top: -78px;
  left: 0;
  width: 100%;
  display: none;
  /* Hide small shadow by default */
}

@media screen and (max-width: 768px) {
  .payment-section {
    padding: 117px 0 0;
    margin: 0px 0 0 0;
  }

  .payment-section .bottom-shadow {
    display: none;
  }

  .payment-section .bottom-shadow-small {
    display: block;
    top: -12px;
  }
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

/* Text Content Styles */
.text-content {
  flex: 1;
  color: white;
}

.text-content h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 24px;
  line-height: 1.2;
}

.text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 12px;
  opacity: 0.9;
  max-width: 400px;
}

@media (max-width: 768px) {
  .text-content h2 {
    font-size: 1.8rem;
  }

  .text-content p {
    font-size: 1rem;
    width: 100%;
  }
}

.cta-button {
  background-color: #1a237e;
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button-small {
  background-color: #1a237e;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
  /* Hide small button by default */
}

@media screen and (max-width: 768px) {
  .cta-button-small {
    display: block;
    /* Show small button on mobile */
  }

  .cta-button {
    display: none;
    /* Hide large button on mobile */
  }
}

.cta-button:hover {
  background-color: #283593;
  transform: translateY(-2px);
}

/* Cards Container Styles */
.cards-container {
  flex: 1;
  position: relative;
  height: 250px;
  perspective: 1000px;
  width: 100%;
  max-width: 800px;
  margin-right: 40px;
}

.card {
  position: absolute;
  width: 130px;
  height: 170px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transform-origin: center center;
}

.card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: border-color 0.3s ease;
}

.card:hover::before {
  border-color: #84aaf1;
}

.card img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.card:hover {
  width: 180px;
  height: 220px;
}

/* Card Positions */
.mastercard {
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-8deg);
  z-index: 1;
}

.visa {
  top: 50%;
  left: 121px;
  transform: translateY(-50%) rotate(-2deg);
  z-index: 2;
}

.cash {
  top: 50%;
  left: 236px;
  transform: translateY(-50%) rotate(4deg);
  z-index: 3;
}

.coins {
  top: 50%;
  left: 337px;
  transform: translateY(-34%) rotate(8deg);
  z-index: 4;
}

/* Refund Badge Styles */
.refund-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: white;
  color: #00873c;
  padding: 15px;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: bold;
  border: 2px solid #82b7e9;
  opacity: 0;
  transform: scale(0.8) translate(50%, 50%);
  transition: all 0.3s ease-out;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.card:hover .refund-badge {
  opacity: 1;
  transform: scale(0.8) translate(0, 0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .content-container {
    flex-direction: column;
    text-align: center;
  }

  .text-content {
    margin-bottom: 40px;
  }

  .cards-container {
    width: 100%;
    height: 300px;
  }

  .card {
    width: 240px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .payment-section {
    padding: 60px 0;
    height: 800px;
  }

  .content-container {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 0px;
  }

  .text-content {
    text-align: right;
    flex: unset;
  }

  .text-content h2 {
    font-size: 34px;
  }

  .text-content p {
    font-size: 1rem;
  }

  .cards-container {
    flex: unset;
    height: 320px;
    margin-right: 0;
  }

  .card {
    width: 143px;
    height: 179px;
  }

  /* Repositioning cards for mobile - first row */
  .mastercard {
    top: 25%;
    left: 24px;
    transform: translateY(-68%) rotate(-4deg);
  }

  .visa {
    top: 25%;
    left: 166px;
    transform: translateY(-65%) rotate(4deg);
  }

  /* Second row */
  .cash {
    top: 69%;
    left: 31px;
    transform: translateY(-37%) rotate(-4deg);
  }

  .coins {
    top: 75%;
    left: 169px;
    transform: translateY(-47%) rotate(6deg);
  }
}

/* ===============================================
   New Footer Styles - Updated Design
   =============================================== */

.footer {
  background-color: #12397e;
  /* bg-gray-900 equivalent */
}

.footer .brand {
  display: flex;
  justify-content: end;
}

/* center image in small screens */

@media screen and (max-width: 1199px) {
  .footer .brand {
    justify-content: center;
  }
}
@media screen and (min-width: 1280px) {
  .footer .brand {
    text-align: right;
  }
}

.footer .brand img {
  max-width: 170px;
}

@media screen and (max-width: 1400px) {
  .footer .brand img {
    max-width: 140px;
  }
}

@media screen and (max-width: 1199px) {
  .footer .brand img {
    max-width: 120px;
  }
}

.footer .text {
  color: var(--white);
  text-align: center;
}

@media screen and (min-width: 1280px) {
  .footer .text {
    text-align: right;
  }
}

.footer .text p {
  font-size: 0.85em;
  line-height: 27px;
  max-width: 500px;
  margin-right: auto;
  margin-left: auto;
}

.pay_methods-icons {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

@media screen and (min-width: 1280px) {
  .footer .text p {
    margin-right: 0;
    margin-left: 0;
  }
}

.footer .social {
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 1280px) {
  .footer .social {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 1199px) {
  .footer .social {
    margin-bottom: 30px;
  }
}

.footer .social img,
.footer .social svg {
  width: 34px;
  height: auto;
}

.footer .footer-title {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1.5em;
  font-size: 1.1em;
}

.footer .footer-link {
  display: block;
  font-size: 0.8em;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .footer-link:hover {
  color: #d1d5db;
  /* text-gray-300 equivalent */
}

.footer .pay_methods {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
}

/* FAQ Section */
.faq-section {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  background-color: var(--faq-bg-primary);
  padding: 96px 0;
  min-height: 100vh;
}

/* Header Section */
.faq-header-container {
  display: flex;
  width: 100%;
  max-width: var(--container-max-width);
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
}

.faq-header-content {
  display: flex;
  width: 100%;
  max-width: var(--faq-max-width);
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.faq-title {
  width: 100%;
  text-align: center;
  color: #154394;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
  letter-spacing: -0.72px;
  margin: 0;
}

.faq-subtitle {
  width: 100%;
  text-align: center;
  color: var(--faq-text-tertiary);
  font-size: 24px;
  font-weight: 400;
  line-height: 44px;
  letter-spacing: -0.48px;
  margin: 0;
}

/* FAQ Items Section */
.faq-items-container {
  display: flex;
  width: 100%;
  max-width: var(--container-max-width);
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.faq-items-content {
  display: flex;
  width: 100%;
  max-width: var(--faq-max-width);
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* FAQ Item */
.faq-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.faq-item:hover {
  background-color: rgba(249, 250, 251, 0.4);
}

.faq-item.expanded {
  background-color: var(--faq-bg-secondary);
}

.faq-item.expanded:hover {
  background-color: var(--faq-bg-secondary);
}

.faq-item-content {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 24px;
  justify-content: flex-end;
}

/* Toggle Button */
.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0 0 0;
  transition: opacity 0.2s ease-in-out;
  border-radius: 50%;
}

.faq-toggle:hover {
  opacity: 0.7;
}

.faq-toggle:focus {
  outline: 2px solid var(--faq-brand-primary);
  outline-offset: 2px;
}

/* Icons */
.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--faq-icon);
  transition: all 0.2s ease-in-out;
}

.faq-item .minus-icon {
  display: none;
}

.faq-item .plus-icon {
  display: block;
}

.faq-item.expanded .minus-icon {
  display: block;
}

.faq-item.expanded .plus-icon {
  display: none;
}

/* Text Content */
.faq-text-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.faq-item.expanded .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease-in-out forwards;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-section {
    padding: 64px 0;
    gap: 48px;
  }

  .faq-header-container,
  .faq-items-container {
    padding: 0 16px;
  }

  .faq-title {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -0.56px;
  }

  .faq-subtitle {
    font-size: 20px;
    line-height: 36px;
    letter-spacing: -0.4px;
  }

  .faq-item {
    padding: 24px;
  }

  .faq-item-content {
    gap: 16px;
  }

  .faq-question,
  .faq-answer {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 48px 0;
    gap: 32px;
  }

  .faq-header-container,
  .faq-items-container {
    padding: 0 12px;
  }

  .faq-title {
    font-size: 24px;
    line-height: 32px;
  }

  .faq-subtitle {
    font-size: 18px;
    line-height: 32px;
  }

  .faq-item {
    padding: 20px;
  }

  .faq-item-content {
    gap: 12px;
  }
}

/* =========================== */
.mba-landing-page-background-color {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #091e43;
  z-index: -12;
}

.phone-container {
  display: flex;
  gap: 10px;
  align-items: stretch;
  direction: ltr;
  width: 100% !important;
}

/* Ensure phone field container is block to allow error below */
.form-field:has(.phone-container) {
  display: flex;
  flex-direction: column;
}

/* Fallback for browsers that don't support :has() */
.form-field .phone-container {
  order: 1;
}

.form-field .phone-container + .error-container {
  order: 2;
}

/* Make phone error appear below the input */
.phone-container + .error-container {
  margin-top: 8px;
  width: 100%;
  display: block;
}

/* Fix display of the flags by ensuring the .iti__flag class is displayed properly */
.iti__flag {
  background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags.png");
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: center;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags@2x.png");
  }
}

/* Fix search box display */
.iti__search-container {
  padding: 10px;
  margin-bottom: 0;
}

.iti__search-input {
  font-size: 14px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px 8px;
}

/* Fix country display */
.iti__country-list {
  width: 480px;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Make sure the dropdown is visible */
.iti__country-list.iti__hide {
  display: none;
}

/* Fix RTL display for the country list */
.iti__country-name {
  margin-right: 6px;
  text-align: right;
}

/* Enhanced Form Validation Error Styles */
.form-field {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  position: relative;
}

/* Error state for input fields */
.field-input.error {
  border-color: #dc3545;
  background-color: #fff5f5;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.field-input.error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

/* jQuery Validate error labels */
label.error {
  color: #dc3545 !important;
  font-family: "Alexandria", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  background: linear-gradient(135deg, #fff5f5 0%, #ffeeee 100%) !important;
  border: 1px solid #ffb8b8 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  position: relative !important;
  width: 100% !important;
  text-align: right !important;
  direction: rtl !important;
  animation: errorSlideIn 0.3s ease-out !important;
  transform-origin: top !important;
}

/* Error slide-in animation */
@keyframes errorSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    max-height: 60px;
  }
}

/* Error pulse animation for icon */
@keyframes errorPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Success state for input fields */
.field-input.valid {
  border-color: #28a745;
  background-color: #f8fff9;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.field-input.valid:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

/* Success checkmark for valid fields */
.field-input.valid + .success-icon {
  position: absolute;
  left: 12px;
  top: 60%;
  transform: translateY(-50%);
  color: #28a745;
  font-size: 18px;
  animation: successFadeIn 0.3s ease-out;
}

@keyframes successFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

/* Enhanced submit button states */
.submit-button:disabled {
  background: #6c757d !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
}

/* Form field with error state container */
.form-field.has-error .field-label {
  color: #dc3545;
  font-weight: 600;
}

/* Enhanced phone input error state */
.iti.iti--allow-dropdown.error {
  border-color: #dc3545 !important;
}

.iti.iti--allow-dropdown.error input[type="tel"] {
  border-color: #dc3545 !important;
  background-color: #fff5f5 !important;
}

/* Error message container styling */
.error-container {
  width: 100%;
  margin-top: 4px;
}

/* Specific styling for phone field error container */
.phone-container + .error-container {
  margin-top: 8px;
  width: 100%;
  display: block;
}

/* Ensure phone field errors don't appear inline */
.phone-container + .error-container label.error {
  width: 100%;
  margin-top: 0 !important;
}

/* Mobile responsive error styling */
@media (max-width: 768px) {
  label.error {
    font-size: 13px !important;
    padding: 6px 10px !important;
    margin-top: 4px !important;
  }

  .form-help-message {
    font-size: 13px !important;
    padding: 10px 12px !important;
  }

  .success-icon {
    right: 10px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  label.error {
    font-size: 12px !important;
    padding: 4px 8px !important;
  }

  .form-field {
    gap: 6px !important;
  }

  .field-input.error,
  .field-input.valid {
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1) !important;
  }
}

/* Enhanced focus states for better accessibility */
.field-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 179, 79, 0.1);
  transition: all 0.2s ease;
}

/* Loading state animations */
.submit-button svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Improved contrast for error states */
.field-input.error {
  color: #721c24;
}

.field-input.error::placeholder {
  color: #dc3545;
  opacity: 0.7;
}
