@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Edu+NSW+ACT+Cursive:wght@400..700&family=Saira+Stencil:ital,wght@0,100..900;1,100..900&display=swap');
body.no-scroll {
  overflow: hidden !important;
}

:root {
  --primary-green: #2A4D31;
  --accent-yellow: #FFC53A;
  --text-white: #ffffff;
  --text-dark: #333333;
  --transition-speed: 0.3s;
  --nav-height: 100px;
  --nav-mobile-height: 70px;
  --dark-color: #000;
  /* --font-family: 'Cormorant Garamond', serif; */
  --soft-bg: #f9f7f3;
  --card-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.15);
  --hover-lift: translateY(-8px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #f8f9fa;
}

::-webkit-scrollbar {
  width: 3.5px;
}


::-webkit-scrollbar-track {
  background: #ffffff;
}


::-webkit-scrollbar-thumb {
  background: var(--accent-yellow);
  border-radius: 10px;
}


::-webkit-scrollbar-thumb:hover {
  background: #b8ae21;
}

nav {
  background-color: var(--primary-green);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3% 0 1%;
  position: fixed;
  top: 0;
  /* Default top position */
  width: 100%;
  z-index: 1000;
  color: var(--text-white);
  transition: all var(--transition-speed) ease;
}

/* Only shift nav down if offer bar exists and is not closed */
body:has(.offer-bar:not(.hide)):not(.offer-closed) nav {
  top: 40px;
}

body.offer-closed nav {
  top: 0;
}

.logo img {
  height: 80px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: stretch;
  /* Make children (li) full height */
  margin-bottom: 0;
  flex: 1;
  justify-content: flex-end;
  /* Right alignment */
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding-right: 20px;
  /* Space before search/icon */
}


.nav-links li {
  margin: 0 10px;
  /* Reduced gap */
  position: relative;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
}


.nav-links>li>a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  padding: 8px 12px;
  transition: all var(--transition-speed) ease;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.nav-links>li>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-yellow);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links>li>a:hover::after,
.nav-links>li>a.active::after {
  width: 100%;
}

.nav-links>li>a:hover {
  color: var(--accent-yellow);
}

.nav-links>li>a.active {
  color: var(--accent-yellow);
}

/* Dropdown styling - Core for other pages */
.dropdown-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 1000px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 0;
  /* max-height: 500px; */
  z-index: 1000;
}

.nav-links li:hover .dropdown-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sub-nav-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.dropdown-left {
  width: 350px;
  padding: 20px;
  background-color: #ffffff;
  border-right: 1px solid #eee;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.dropdown-left::-webkit-scrollbar {
  width: 5px;
}

.dropdown-left::-webkit-scrollbar-thumb {
  background-color: #ddd;
  border-radius: 10px;
}

.dropdown-item-trigger {
  padding: 15px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
  color: var(--text-dark);
}

.dropdown-item-trigger:hover {
  background-color: #f5f5f5;
}

.dropdown-item-trigger h4 {
  font-size: 16px;
  margin: 0 0 4px 0;
  font-weight: 600;
}

.dropdown-item-trigger p {
  font-size: 12px;
  margin: 0;
  color: #666;
}

.dropdown-right {
  flex: 1;
  background-color: #111111;
  padding: 30px;
  color: white;
  position: relative;
  overflow-y: auto;
}

.grand-subitems {
  display: none;
  animation: fadeInRight 0.3s ease forwards;
}

.grand-subitems.active {
  display: block;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

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

.grand-subitems h5 {
  color: #888;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.grand-subitems h5::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

.grand-subitems ul {
  list-style: none;
  padding: 0;
}

.grand-subitems ul li {
  margin: 15px 0;
}

.grand-subitems ul li a {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  padding: 0;
}

.grand-subitems ul li a:hover {
  color: var(--accent-yellow);
}



.luxury-mega {
  position: fixed;
  /* True 100vw Edge-to-Edge */
  top: var(--nav-height);
  /* Default top */
  left: 0;
  width: 100vw !important;
  max-width: 100vw;
  height: auto !important;
  max-height: 65vh !important;
  overflow-y: auto;
  background: #fff;
  border-radius: 0 !important;
  border: none;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10001;
  /* Must be below search overlay but above standard nav items */
}

/* Shift mega menu if offer bar is active */
body:has(.offer-bar:not(.hide)):not(.offer-closed) .luxury-mega {
  top: calc(var(--nav-height) + 40px);
}

body.offer-closed .luxury-mega {
  top: var(--nav-height);
}

/* Mega Menu Overlay */
.mega-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
  /* Below navigation but above content */
  pointer-events: none;
}

body.mega-menu-active .mega-menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* JS Engine Visibility Class */
.luxury-mega.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
}

/* Invisible bridge to prevent hover loss between navbar and menu */
.luxury-mega::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: transparent;
  pointer-events: all;
}

.mega-inner-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* 1. Attention Banner */
.mega-header-banner {
  background: #ffffff;
  /* Clean dark background */
  padding: 10px 0 10px 0;
  color: rgb(0, 0, 0);
  position: relative;
  /* overflow: hidden; */
  border-radius: 0 !important;
}

.mega-full-width-content {
  width: 100%;
  padding: 0 5%;
  /* Fluid padding instead of fixed container */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.track-badge {
  background: var(--accent-yellow);
  color: #000;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 10px;
  display: inline-block;

}

.track-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2b2a2a;
  display: inline-block;
  position: relative;
  -webkit-text-fill-color: #2b2a2a;
  /* Reset previous gradient clip */
}

.track-info h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--accent-yellow);
  transition: width 0.4s ease;
}

.luxury-mega:hover .track-info h4::after {
  width: 100%;
}

.track-info p {
  font-size: 13px;
  opacity: 0.9;
  max-width: 900px;
  line-height: 1.5;
  margin: 0;
}

.track-visual {
  font-size: 60px;
  opacity: 0.2;
  transform: rotate(-15deg);
}

/* 2. Categories Grid */
.mega-grid-wrapper {
  background: #fff;
  padding: 20px 0 20px 0;
  border-radius: 0 !important;
}

.digital-grid {
  padding: 20px 0 !important;
}

.mega-grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  /* Increased gap for better spacing on large screens */
  width: 100%;
  align-items: start;
}

.internship-category-item {
  padding: 10px 15px;
  border-radius: 0 !important;
  /* Forces 0 radius */
  border: 1px solid #e0e0e0;
  border-radius: 10px !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: auto;
  /* Larger cards */
}

.internship-category-item:hover {
  background: #fff;
  border-color: var(--accent-yellow);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.internship-category-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent-yellow);
  transition: height 0.3s ease;
}

.internship-category-item:hover::before {
  height: 100%;
}

.cat-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.cat-badge.trending {
  background: #ff4757;
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
}

.cat-badge.demanded {
  background: #1e90ff;
  color: #fff;
  box-shadow: 0 4px 10px rgba(30, 144, 255, 0.3);
}
.mdemanded{
    background: #1e90ff !important;
    font-size: 8px !important;
}
.mtrending{
     font-size: 8px !important;
}
.cat-icon {
  font-size: 24px;
  color: var(--primary-green);
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.internship-category-item:hover .cat-icon {
  /* transform: scale(1.1) rotate(5deg); */
  color: var(--accent-yellow);
}

.cat-info h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cat-info p {
  font-size: 11px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.cat-details {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.internship-category-item:hover .cat-details {
  max-height: 500px;
  opacity: 1;
  margin-top: 15px;
}

.cat-details li {
  font-size: 14px;
  /* Increased size */
  color: #555;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-details li::before {
  content: "•";
  color: var(--accent-yellow);
  font-weight: bold;
}

/* 3. Footer Action */
.mega-footer-action {
  padding: 12px 0;
  background: #111;
  /* Matching header */
  border-top: 1px solid #333;
  color: #fff;
  border-radius: 0 !important;

}

.mega-footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mega-footer-action .footer-note {
  color: #ccc;
  font-size: 15px;
}

.footer-note {
  font-size: 13px;
  color: #555;
  font-weight: 500;
}

.footer-note i {
  color: #28a745;
  margin-right: 5px;
}

.mega-cta-btn {
  background: var(--primary-green);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.mega-cta-btn:hover {
  background: #1a301e;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(42, 77, 49, 0.3);
  color: var(--accent-yellow);
}

/* Ensure links inside mega menu don't have default text decoration */
.luxury-mega a {
  text-decoration: none;
}

/* Hover logic override for luxury mega - Enhanced Stability */
.nav-links li:hover .luxury-mega,
.luxury-mega:hover,
.luxury-mega.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
  pointer-events: all;
  /* Reset delay instantly when hovering either parent or panel */
  transition: opacity 0.3s ease 0s, visibility 0.3s ease 0s !important;
}

/* Responsive adjustments for mega menu */
@media (max-width: 1200px) {
  .luxury-mega {
    width: 100vw !important;
  }

  .mega-grid-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .nav-links>li>a {
    padding: 0 5px;
    font-size: 12px !important;
  }

  .btn-application {
    font-size: 12px !important;
    padding: 8px 15px !important;
  }

  .search-btn {
    font-size: 15px !important;
  }
}

@media (min-width: 1201px) {
  .luxury-mega {
    width: 100vw !important;
  }

  .mega-grid-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .nav-links>li>a {
    padding: 0 5px;
  }

  .btn-application {
    font-size: 18px !important;
    padding: 8px 15px !important;
  }

  .search-btn {
    font-size: 15px !important;
  }

}

@media (max-width: 1000px) {
  .luxury-mega {
    width: 100vw !important;
  }

}


/* Nav Right elements */
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
  /* Slightly reduced */
}


.search-container {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  /* Expand to the left */
  position: relative;
  height: 40px;
}

.search-input {
  width: 0;
  opacity: 0;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 8px 0;
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
}

.search-container.active .search-input {
  width: 600px;
  opacity: 1;
  padding: 8px 40px 8px 20px;
  margin-left: 0;
}

.search-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
  z-index: 2;
  transition: transform 0.3s;
  padding: 5px;
}


.search-container.active .search-btn {
  transform: scale(0.9);
}

.btn-application {
  margin-left: 10px;
  background-color: var(--accent-yellow);
  color: var(--dark-color);
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 20px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s ease;
}




.burger-menu {
  cursor: pointer;
  font-size: 22px;
}

/* Navbar item hiding logic */
.nav-links.fade-out li {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  width: 0;
  margin: 0;
  visibility: hidden;
}

/* Offer Bar Marquee */
.offer-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: #fff;
  display: flex;
  align-items: center;
  /* z-index: 5000; */
  /* Above nav */
  z-index: 1000;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-content span {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 0 50px;
  text-transform: uppercase;
  letter-spacing: 1px;

  background: linear-gradient(90deg,
      #6a11cb,
      #2575fc,
      #23afd6,
      #ff00aa);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.close-offer {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ff4757;
  font-size: 14px;
  transition: all 0.3s ease;
  z-index: 101;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.close-offer:hover {
  background: #ff4757;
  color: white;
  transform: translateY(-50%) rotate(90deg);
}

.offer-bar.hide {
  display: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: calc(90vh - var(--nav-height));
  height: auto;
  width: 100%;
  /* overflow: hidden; */
  padding-top: 50px;
  margin-top: var(--nav-height);
  /* Default margin */
  display: flex;
  align-items: center;
  padding-bottom: 50px;
  transition: margin-top 0.3s ease;
}

/* Shift hero section down if offer bar is present and active */
body:has(.offer-bar:not(.hide)):not(.offer-closed) .hero-section {
  margin-top: calc(var(--nav-height) + 40px);
}

body.offer-closed .hero-section {
  margin-top: var(--nav-height);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  /* Light blur as requested */
  z-index: -1;
}

.hero-container {
  width: 100%;
  /* max-width: 1400px; */
  margin: 0 auto;
  padding: 0 4%;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-left {
  flex: 1.2;
  color: white;
}

.hero-left h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 116px;
  font-weight: 100;
  line-height: .9;
  margin-bottom: 40px;
}

/* .o-title{
  font-size: 196px;
} */
.hero-left h1 .lower-h1 {
  font-weight: 700;
  font-size: 55px;
}

/* Big shared O */
.hero-left h1 .big-o {
  position: absolute;
  font-size: 196px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.08);
  /* light faded look */
  z-index: 0;
  line-height: 1;
}

/* Keep text above O */
.hero-left h1 {
  position: relative;
  z-index: 1;
}

/* Align "Obtain" properly */
.hero-left h1 .o-word {
  position: relative;
  z-index: 1;
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.stat-item .currency {
  font-size: 32px;
  font-weight: 600;
  margin-top: 10px;
}

.stat-item .count {
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 25px;
}

.stat-divider {
  width: 2px;
  height: 70px;
  background: var(--accent-yellow);
  opacity: 0.6;
}

.hero-subtext {
  font-size: 22px;
  line-height: 1.4;
  opacity: 0.9;
}

.hero-subtext strong {
  color: var(--accent-yellow);
}

.hero-center {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.hero-girl-img {
  width: 150%;
  height: auto;
  object-fit: contain;
  /* margin-bottom: -100%; */
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.form-card {
  background: white;
  padding: 40px 30px;
  border-radius: 30px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  color: var(--text-dark);
  animation: zoomIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.form-card-1 {
  background: white;
  padding: 40px 30px;
  border-radius: 30px;
  width: 100%;
  /* max-width: 500px; */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  color: var(--text-dark);
  animation: zoomIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  text-align: center;
}

.new-modal-h3 {
  font-family: 'Outfit', sans-serif;
  text-align: center;
  font-size: 28px;
  color: #3e264f;
  font-weight: 700;
  margin-bottom: 25px;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }

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

.form-card h3 {
  font-family: 'Outfit', sans-serif;
  text-align: center;
  font-size: 28px;
  color: #3e264f;
  font-weight: 700;
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 15px;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 16px 20px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  font-size: 16px;
  transition: all 0.3s;
}

.input-group input:focus {
  border-color: #3e264f;
  background: white;
}

.recaptcha-box {
  margin: 20px 0;
  padding: 10px;
  background: #fdfdfd;
  /* border: 1px solid #d1d5db; */
  border-radius: 4px;
}

.recaptcha-mock {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.captcha-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.captcha-left label {
  font-size: 14px;
  cursor: pointer;
}

.captcha-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.captcha-logo {
  height: 30px;
}

.captcha-right span {
  font-size: 10px;
  text-align: center;
  line-height: 1.1;
  margin-top: 2px;
}

.btn-book-demo {
  width: 100%;
  background: #000;
  color: white;
  padding: 18px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}





/* Certificate Banner */
.certificate-banner {
  background: #232121;
  color: white;
  padding: 10px 0;
  width: 100%;
}

.banner-content {
  padding: 0 4%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.banner-content p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

.btn-certificate {
  margin-top: 5px;
  background: var(--accent-yellow);
  color: #000;
  padding: 10px 25px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}

/* --- Mobile Menu Panel --- */
.sidebar-video {
  width: 100%;
  margin-top: 15px;
}

.sidebar-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
  border-radius: 10px;
}
.burger-mobile {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

.mobile-menu-panel {
  position: fixed;
  background-color: #000000;
  /* Deep navy dark as per screenshot */
  z-index: 99999;
  transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.4s ease-in-out, visibility 0.4s;
  overflow-y: auto;
  color: white;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.panel-logo img {
  height: 50px;
  object-fit: contain;
}

.close-mobile {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-search {
  margin-bottom: 30px;
}

.search-box-mobile {

  border-bottom: 1px solid #ffffff41;
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box-mobile input {
  background: transparent !important;
  border: none !important;
  color: white;
  flex: 1;
  outline: none;
  font-size: 16px;
  outline: none !important;
  font-size: small;
}

.search-box-mobile i {
  color: rgba(255, 255, 255, 0.5);
}

.panel-content {
  flex: 1;
}

.mobile-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 22px;
  /* Large font as per screenshot */
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s;
}

.accordion-header.active {
  color: #fff;
}

.accordion-header i {
  font-size: 16px;
  transition: transform 0.3s;
  color: rgba(255, 255, 255, 0.4);
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-body.show {
  max-height: 4000px;
}

.sub-accordion {
  padding: 10px 0 20px 0;
}

.sub-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  margin-bottom: 5px;
  cursor: pointer;
}

.sub-accordion-header span {
  font-size: 14px;
  font-weight: 600;
}

.sub-accordion-header i {
  background: rgba(255, 255, 255, 0.05);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.sub-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  opacity: 0;
}

.sub-accordion-body.show {
  max-height: 500px;
  padding: 10px 15px 20px 15px;
  opacity: 1;
}

.sub-accordion-body ul {
  list-style: disc;
  padding-left: 20px !important;
}

.sub-accordion-body ul li {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px !important;
}

.accordion-body ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.panel-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-footer h4 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.trending-images {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.trending-item {
  min-width: 140px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.trending-item img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.trending-item span {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.no-chevron a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 1100px) {
  /* nav {
    padding: 0 20px;
  } */

  .nav-links,
  .search-container,
  .btn-application,
  .burger-menu {
    display: none !important;
  }

  .burger-mobile {
    display: block !important;
  }
}

/* Mobile: Top Panel */
@media (max-width: 767px) {
  .logo img {
    height: 50px;
  }

  .mobile-menu-panel {
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transform: translateY(-100%);
  }

  .mobile-menu-panel.active {
    transform: translateY(0);
  }
}

/* Tablet: Right Panel */
@media (min-width: 768px) and (max-width: 1100px) {
  .mobile-menu-panel {
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    transform: translateX(100%);
  }

  .mobile-menu-panel.active {
    transform: translateX(0);
  }
}

/* --- Hero Section Response --- */
@media (max-width: 1100px) {
  .hero-section {
    height: auto;
    min-height: 80vh;
    padding: 100px 0;
  }

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

  .hero-left {
    flex: 1;
    width: 100%;
  }

  .hero-right {
    display: none;
    /* Hide form as requested */
  }

  .hero-left h1 {
    font-size: 112px;
    margin-bottom: 25px;
  }

  .hero-left h1 .lower-h1 {
    font-size: 72px;
  }

  .stats-row {
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
  }

  .stat-item .count {
    font-size: 70px;
  }

  .stat-item .currency {
    font-size: 24px;
  }

  .stat-label {
    font-size: 16px;
    margin-top: 15px;
  }

  .stat-divider {
    height: 50px;
  }

  .hero-subtext {
    font-size: 18px;

    br {
      display: none;
    }
  }

.enroll-title
{
  font-size: 10rem !important;
}
.academics-text{
  font-size: 3rem !important;
}
.course-grid{
  grid-template-columns: repeat(2, 1fr) !important;
}
.rank-section{
  height: auto !important;
  margin-bottom: 5rem;
}
.shortcut-link{
  padding: 50px 60px !important;
}
.academy-main-title{
  top: -12rem !important;
}
.academy-right-image{
  right: -10rem !important;
}
.academy-yellow-box {
padding-left: 3rem !important;
padding-right: 3rem !important;
}
  .rank-card{
  height: auto !important;
  min-height: 800px !important;
}
.rank-mid-img-1{
  width: 70% !important;
}
.rank-mid-img-2{
  width: 70% !important;
}
.rank-mid-img-3{
  width: 70% !important;
}
.rank-img-1{
  width: 50% !important;
}
.rank-img-2{
  width: 60% !important;
}
.rank-img-3{
  width: 70% !important;
}
.sl-main-title{
  padding-top: 15% !important;
  top: 20% !important;
}

}
@media (max-width: 767px) {
.news-title{
  font-size: 1.3rem !important;
}
  /* .hero-section{
    padding-top: 0;
  } */
   .hero-section{
    background-color: #000000;
   }
   .hero-video{
    display: none;
   }
  .hero-left h1 {
    font-size: 72px;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 50px;
  }

  .hero-left h1 .lower-h1 {
    font-size: 42px;
    /* margin-bottom: 20px; */
  }

  .stat-item .count {
    font-size: 50px;
  }

  .stat-item .currency {
    font-size: 18px;
  }
  .enroll-title
{
  font-size: 3rem !important;
}
.academics-text{
  font-size: 2rem !important;
}
.course-grid{
  grid-template-columns: repeat(1, 1fr) !important;
}
.academy-description p{
  font-size: 1rem !important;
}
.about-title{
  font-size: 2rem !important;
}

}

/* --- Small Desktop / Landscape Tablets --- */
@media (min-width: 1025px) and (max-width: 1400px) {
  .academy-yellow-box {
padding-left: 3rem !important;
padding-right: 3rem !important;
}

  .nav-links li a {
    font-size: 14px;
  }

  .logo img {
    height: 60px;
  }

  .dropdown-mega {
    width: 700px;
    /* left: auto; */
    /* right: -150px !important;  */
    transform: translateX(0) translateY(10px);
    z-index: 10000;
  }

  .nav-links li:hover .dropdown-mega {
    transform: translateX(0) translateY(0);
  }

  .hero-left h1 {
    font-size: 80px;
    margin-bottom: 25px;
    line-height: 1;
  }

  .hero-left h1 .lower-h1 {
    font-size: 60px;
  }

  .stat-item .count {
    font-size: 90px;
  }

  .stat-item .currency {
    font-size: 28px;
  }

  .stat-label {
    font-size: 20px;
    margin-top: 15px;
  }

  .form-card {
    padding: 30px 25px;
    max-width: 450px;
  }

  .form-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .input-group input,
  .input-group select {
    padding: 12px 15px;
    font-size: 15px;
  }

  .academy-main-title {
    top: -12rem !important;
  }

  .academy-right-image {
    right: -15rem !important;
    width: 50%;
  }

  .enroll-title {
    margin-top: 100px;
  }

  .course-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .sl-img-1 {
    width: 300px !important;
    left: 10% !important;
  }

  .sl-img-2 {
    width: 300px !important;
    left: 40% !important;
    top: 120% !important;
  }

  .sl-img-3 {
    width: 300px !important;
    left: 70% !important;
    top: 70% !important;
  }

  .news-title {
    font-size: 1.2rem !important;
  }

  .news-excerpt {
    font-size: .8rem !important;
  }

  .book-now-section {
    padding: 250px 0 100px 0 !important;
  }

  .cat-info h5 {
    font-size: 14px !important;
  }

  .cat-details li {
    font-size: 12px !important;
  }
 .shortcut-link{
  padding: 60px 80px !important;
 }

}

/* --- Modal Form Styling --- */
.custom-modal-content {
  border-radius: 30px !important;
  border: none;
  background: transparent;

}

.modal-form-card {
  box-shadow: none !important;
  max-width: 100% !important;
  margin: 0 !important;
  animation: none !important;
  /* No zoomIn as the modal has its own fade */
  
}

/* Customizing Bootstrap Close Button */
.modal-header .btn-close {
  background-color: white;
  border-radius: 50%;
  padding: 10px;
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 10;
  opacity: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-form-container {
  overflow: hidden;
  border-radius: 30px;
}
.modal-content{
  position: relative;
  z-index: 100000001;
}

/* Enrollment Modal Styles */
.enroll-modal-content {
  border-radius: 30px !important;
  border: none;
  background: transparent;
}

.enroll-modal-form-card {
  box-shadow: none !important;
  max-width: 100% !important;
  margin: 0 !important;
  animation: none !important;
}

.enroll-form-container {
  overflow: hidden;
  border-radius: 30px;
}

@media (max-width: 576px) {
  .modal-form-card, 
  .enroll-modal-form-card {
    padding: 30px 20px;
  }
}

/* --- Desktop Sidebar Styling --- */
.desktop-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 10001;
  transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.desktop-sidebar.active {
  right: 0;
}

.sidebar-inner {
  height: 100%;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
}

.close-sidebar {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  transition: transform 0.3s;
}

.close-sidebar:hover {
  transform: rotate(90deg);
}

.sidebar-logo {
  margin-bottom: 50px;
}

.sidebar-logo img {
  height: 60px;
}

.sidebar-content {
  flex: 1;
}

.contact-info-block h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--primary-green);
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 20px;
  color: var(--accent-yellow);
  margin-top: 5px;
}

.info-item p {
  margin: 0;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.sidebar-social h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--primary-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--accent-yellow);
  color: #000;
  transform: translateY(-5px);
}

/* Hide on Mobile/Portrait Tablet */
@media (max-width: 1024px) {
  .desktop-sidebar {
    display: none !important;
  }

}


.about-section {
  margin-top: 150px;
  margin-bottom: 150px;
  display: flex;
  align-items: center;
}

.about-box {
  max-width: 700px;
}

.about-icon {
  width: 100px;
  margin-right: 15px;
}

.about-title {
  font-size: 50px;
  font-weight: 700;
  color: #292929;
  line-height: 1.2;
}

.about-text {
  color: #292929;
  font-size: 18px;
  line-height: 1.7;
  margin-top: 15px;
}

.about-text-extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: block;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-text-extra.is-expanded {
  max-height: 1000px;
  opacity: 1;
  /* margin-top: 10px; */
}

.read-more-btn {
  display: inline-block;
  color: #36348E;
  font-weight: 700;
  text-decoration: none;
  margin-top: 10px;
  border-bottom: 2px solid var(--accent-yellow);
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  letter-spacing: 0.5px;
  color: var(--accent-yellow);
}

.about-link {
  position: relative;
  display: inline-block;
  margin-top: 15px;
  font-size: 18px;
  color: #36348E;
  text-decoration: none;
}

/* FULL underline */
.about-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 1px;
  background: #36348E;
}

/* HALF underline */
.about-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 50%;
  height: 1px;
  background: #36348E;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }

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

  .about-box {
    padding: 20px;
    top: -40px;
  }

  .about-icon {
    width: 50px;
  }
    .about-title {
    font-size: 24px;
    text-align: left;
    /* position: relative;
    top: -70px; */
  }
   .about-text {
    font-size: 14px;
    text-align: left;
  }
  .launch-about{
    text-align: left;
  }
}


/* Academy Section Styles */
.academy-section {
  padding: 5rem 0 5rem 0;
  background: #ffffff;
  overflow: visible;
}

.academy-inner {
  position: relative;
}

.academy-yellow-box {
  background-color: var(--accent-yellow);
  padding: 8rem 6rem;
  width: 85%;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
}

.academy-left-content {
  width: 50%;
  position: relative;
  z-index: 5;
}

.academy-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5rem;
  font-weight: 800;
  line-height: 0.8;
  color: #292929;
  position: absolute;
  top: -14rem;
  /* Half of ACADEMY title height */
  left: 0;
  margin: 0;
  letter-spacing: -0.5rem;
  z-index: 10;
}

.academy-description {
  margin-top: 9rem;
}

.academy-description p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #222;
  margin-bottom: 2rem;
  max-width: 480px;
  font-weight: 500;
}

.academy-tour-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-green);
  text-decoration: none;
  border-bottom: 2px solid var(--primary-green);
  padding-bottom: 4px;
  display: inline-block;
  transition: all 0.3s ease;
}



/* HALF underline */
.academy-tour-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 20%;
  height: 2px;
  background: var(--primary-green);
}

.academy-right-image {
  position: absolute;
  right: -25%;
  width: 65%;
  z-index: 8;
  top: 13%;
  transform: translateY(-50%);
}

.academy-right-image img {
  width: 100%;
  display: block;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.15);
  border-radius: 0px;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 1440px) {
  .academy-main-title {
    font-size: 13rem;
    top: -10rem;
  }
}

@media (max-width: 1200px) {
  .academy-main-title {
    font-size: 10rem;
    top: -8rem;
  }

  .academy-description {
    margin-top: 7rem;
  }
}

@media (max-width: 991px) {
  .shortcut-section {
    padding-top: 0 !important;
  }

  .academy-section {
    padding: 0 0 0 0;
    margin-bottom: 12rem;
  }

  .academy-yellow-box {
    width: 100%;
    padding: 6rem 4rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .academy-left-content {
    width: 100%;
    margin-bottom: 3rem;
  }

  .academy-main-title {
    font-size: 8rem;
    top: -6rem;
  }

  .academy-description {
    margin-top: 5rem;
  }

  .academy-right-image {
    position: relative;
    right: 0;
    width: 100%;
    transform: translateY(10rem);
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .academy-main-title {
    font-size: 6rem;
    top: -5rem;
  }

  .academy-description {
    margin-top: 4rem;
  }

  .academy-yellow-box {
    padding: 5rem 2rem;
  }
}



/* Shortcut Section Styles */
.shortcut-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.shortcut-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

.shortcut-top,
.shortcut-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.shortcut-link {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #000000;
  text-decoration: none;
  padding: 80px 130px;
  border-radius: 4px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}


/* Special After Effects: Hover Scale and Bubble Back */
.shortcut-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: #F4F4F4;
  transform: translate(-50%, -50%);
  transition: width 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.shortcut-link:hover::after {
  width: 500px;
  height: 500px;
}

.shortcut-link:hover {
  transform: translateY(-8px);
  color: var(--primary-green);
}

@media (max-width: 1200px) {

  .shortcut-top,
  .shortcut-bottom {
    gap: 30px;
  }

  .shortcut-link {
    font-size: 22px;
    padding: 30px 40px;
  }
}

@media (max-width: 991px) {

  .shortcut-top,
  .shortcut-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .shortcut-link {
    width: 100%;
    max-width: 350px;
    font-size: 20px;
    padding: 20px;
  }
}



/* Rank Section Styles */
.rank-section {
  width: 100%;
  overflow: hidden;
  height: 100vh;
}

.rank-container {
  display: flex;
  width: 100%;
}

.rank-card {
  flex: 1;
  height: 800px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.rank-card-1 {
  background-color: #2A4D31;
}

.rank-card-2 {
  background-color: #FFC43A;
}

.rank-card-3 {
  background-color: #E2E8E4;
}

.rank-content {
  position: relative;
  z-index: 5;
}

.rank-num {
  font-family: 'Outfit', sans-serif;
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 25px;
}

.rank-card-1 .rank-num {
  color: #fff;
}

.rank-card-2 .rank-num,
.rank-card-3 .rank-num {
  color: #111;
}

.rank-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rank-card-1 .rank-desc {
  color: #fff;
  opacity: 0.9;
}

.rank-img {
  position: absolute;
  pointer-events: none;
}

.rank-img-1 {
  width: 250px;
  bottom: 40px;
  left: 37%;
  top: 43%;
  transform: translateX(-50%);
}

.rank-img-2 {
  width: 270px;
  right: -20px;
  top: 35%;
  transform: translateY(-50%);
}

.rank-img-3 {
  width: 520px;
  right: -90px;
  bottom: -60px;
  top: 10%;
}

.rank-mid-img-1 {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 3;
  pointer-events: none;
}

.rank-mid-img-2 {
  position: absolute;
  bottom: 0px;
  left: 45%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 3;
  pointer-events: none;
}

.rank-mid-img-3 {
  position: absolute;
  bottom: 0px;
  left: 55%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 3;
  pointer-events: none;
}

/* Mobile Viewport - Swipeable Carousel */
@media (max-width: 991px) {
  .rank-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 40px;
    /* Provides peek for previous/next cards */
    scrollbar-width: none;
    gap: 15px;
    display: flex;
  }

  .rank-container::-webkit-scrollbar {
    display: none;
  }

  .rank-card {
    flex: 0 0 calc(100% - 20px);
    /* Show one card almost fully */
    height: 480px;
    margin-right: 0;
    scroll-snap-align: center;
    padding: 60px 40px;
    border-radius: 2px;
  }

  .rank-num {
    font-size: 80px;
  }

  .rank-img-1 {
    width: 180px;
  }

  .rank-img-2 {
    width: 220px;
  }

  .rank-img-3 {
    width: 350px;
  }
}

@media (max-width: 576px) {
  .rank-container {
    padding: 0 25px;
  }

  .rank-card {
    flex: 0 0 calc(100% - 10px);
  }
}



/* Enroll Section Styles */
.enroll-section {
  padding: 50px 0 100px 0;
  background-color: #fff;
  text-align: center;
}

.enroll-header {
  margin-bottom: 70px;
}

.enroll-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5rem;
  font-weight: 800;
  line-height: 0.8;
  color: #292929;
  margin-bottom: 40px;
  letter-spacing: -19px;
}

.am-line {
  display: inline-flex;
  align-items: flex-end;
  gap: 20px;
  color: #292929;
}

.academics-text {
  font-size: 3.125rem;
  color: #333;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

.container-enroll {
  width: 100%;
  padding-right: 10%;
  padding-left: 10%;
  margin-right: auto;
  margin-left: auto;
}

.enroll-subtitle {
  max-width: 1130px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.course-box {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 10px;
  cursor: pointer;

}

.course-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.course-thumb {
  width: 100%;
  aspect-ratio: 16 / 12;
  background-color: #e5e5e5;
  margin-bottom: 15px;
  border-radius: 10px;
}

.course-details {
  padding: 0 20px;
}

.course-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.course-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.enroll-now {
  background-color: #000;
  color: #fff;
  padding: 10px 18px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}

.enroll-now:hover {
  background-color: #333;
}

.price-tag {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

.enroll-cta {
  margin-top: 50px;
}

.view-all-courses {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--primary-green);
  color: #fff;
  padding: 18px 45px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s;
}

.view-all-courses:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(42, 77, 49, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .enroll-title {
    font-size: 10rem;
  }

  .academics-text {
    font-size: 3rem;
  }
}

@media (max-width: 1200px) {
  .course-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .enroll-title {
    font-size: 8rem;
  }
}

@media (max-width: 991px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .enroll-title {
    font-size: 6rem;
  }

  .academics-text {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .enroll-section {
    padding: 90px 0 !important;
  }

  .enroll-title {
    font-size: 4rem;
  }

  .academics-text {
    display: block;
    margin-top: 10px;
  }

  .am-line {
    align-items: center;
  }

  .container-enroll {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
}

@media (max-width: 576px) {
  .course-grid {
    grid-template-columns: 1fr;
  }
}

/* Enroll Section Video Visibility & Autoplay Styles */
.course-hover-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}



/* Student Life Section Styles */
.student-life-section {
  padding: 220px 0;
  overflow: hidden;
}

.sl-yellow-bar {
  background-color: var(--accent-yellow);
  padding: 60px 0 100px 0;
  position: relative;
  min-height: 700px;
}

.sl-inner-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.sl-left {
  flex: 1;
  position: relative;
  z-index: 5;
}

.sl-title-box {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-50%);
  /* This perfectly halves it over the top edge */
  z-index: 20;
}

.sl-spinner-img {
  position: absolute;
  top: 80%;
  left: -10.5px;
  transform: translateY(-50%) rotate(-15deg);
  width: 250px;
  z-index: -1;
  pointer-events: none;
}

.sl-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5rem;
  font-weight: 800;
  line-height: 0.8;
  color: #222;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -20px;
  margin-top: 40%;
  margin-left: 20%;
}

.sl-right {
  flex: 1.2;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sl-circle-bg {
  width: 950px;
  height: 950px;
  background-color: rgba(255, 255, 255, 0.2);
  /* Lighter circle overlay as seen in design */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -170px;
  top: 50% !important;
  transform: translateY(-20%);
}

.sl-content-box {
  max-width: 500px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.sl-info-text {
  font-size: 2rem;
  font-weight: 800 !important;
  line-height: 1.3;
  color: #000000;
  margin-bottom: 25px;
}

.sl-more-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: #36348E;
  text-decoration: none;
  /* border-bottom: 2px solid #36348E; */
  padding-bottom: 5px;
  transition: opacity 0.3s;
}

/* FULL underline */
.sl-more-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 32%;
  height: 1px;
  background: #36348E;
}

/* HALF underline */
.sl-more-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 20%;
  height: 1px;
  background: #36348E;
}

.sl-more-link:hover {
  opacity: 0.7;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 1200px) {
  .sl-main-title {
    font-size: 8rem;
  }

  .sl-circle-bg {
    width: 500px;
    height: 500px;
    right: -50px;
  }

  .sl-info-text {
    font-size: 1.2rem;
  }
}

@media (max-width: 991px) {
  .sl-inner-wrap {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }

  .sl-right {
    width: 100%;
    justify-content: center;
  }

  .sl-circle-bg {
    position: relative;
    right: 0;
    top: 0;
    transform: none;
    width: 400px;
    height: 400px;
    margin: 0 auto;
  }

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

  .sl-spinner-img {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
  }
}

@media (max-width: 576px) {
  .sl-main-title {
    font-size: 5rem;
  }

  .sl-circle-bg {
    width: 320px;
    height: 320px;
  }

  .sl-info-text {
    font-size: 1.1rem;
  }
}

/* Floating Images Styles */
.sl-floating-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sl-float {
  position: absolute;
  z-index: 10;
  box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.1);
}

.sl-img-1 {
  width: 350px;
  left: 20%;
  top: 80%;
  /* Overlap bottom */
}

.sl-img-2 {
  width: 350px;
  left: 45%;
  top: 120%;
  /* Further below */
  z-index: 12;
}

.sl-img-3 {
  width: 380px;
  right: 12%;
  top: 60%;
  /* Overlap bottom of yellow bar */
}

.student-life-section {
  padding-bottom: 740px;
  /* Extra space for floating images */
}

@media (max-width: 991px) {
  .student-life-section {
    padding-bottom: 50px;
  }

  .sl-floating-images {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-top: 50px;
    padding-bottom: 50px;
  }

  .sl-float {
    position: relative;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 80% !important;
    margin: 0 auto;
  }
}



/* News & Events Section */
.news-events-section {
  padding: 100px 0;
  background-color: #fff;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.news-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.125rem;
  font-weight: 800;
  color: #1a1a1a;
}

.view-all-link {
  color: #36348E;
  text-decoration: none;
  font-weight: 700;
  /* border-bottom: 1px solid #36348E; */
  padding-bottom: 3px;
  font-size: 1.1rem;
  position: relative;
}

.view-all-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 1px;
  background: #36348E;
}

/* HALF underline */
.view-all-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60%;
  height: 1px;
  background: #36348E;
}

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

.news-card {
  background-color: #f7f7f7;
  padding: 40px 35px;
  border-radius: 4px;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.news-card:hover {
  background-color: #fff;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  transform: translateY(-15px);
}

.news-card:hover .news-title {
  color: #36348E;
}

.news-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.25;
  transition: color 0.3s;
}

.news-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: #aaa;
  display: block;
  margin-bottom: 25px;
}

.news-excerpt {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* Classroom Experience Section */
.classroom-section {
  position: relative;
  background-color: #fff;
}

.classroom-media {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

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

.play-btn-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
}

.play-btn-circle:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(255, 255, 255, 0.25);
}

.classroom-card-wrap {
  position: relative;
  margin-top: -200px;
  /* Powerful overlap into the video */
  z-index: 30;
  display: flex;
  justify-content: flex-start;
}

.classroom-info {
  background: #ffffff;
  padding: 100px 200px 100px 200px;
  width: 1400px;
  position: relative;
  z-index: 10;
  /* left: 50%; */
  transform: translate(0%);
}

.classroom-title {
  font-family: 'Outfit', sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 35px;
  color: #292929;
}

.classroom-text {
  color: #444;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 45px;
  /* max-width: 600px; */
}

.classroom-link {
  font-size: 1.2rem;
  font-weight: 700;
  color: #36348E;
  text-decoration: none;
  position: relative;
  padding-bottom: 10px;
}

/* Signature Underline Effect */
.classroom-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 1px;
  background: #36348E;
}

.classroom-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60%;
  height: 1px;
  background: #36348E;
}

.classroom-link:hover {
  opacity: 0.7;
}

@media (max-width: 1200px) {
  .news-grid {
    gap: 20px;
  }

  .news-card {
    padding: 40px 30px;
  }

  .classroom-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 991px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .classroom-media {
    height: 60vh;
  }

  .classroom-card-wrap {
    margin-top: -150px;
    justify-content: center;
  }

  .classroom-info {
    text-align: center;
    padding: 50px 30px;
  }

  .classroom-text {
    margin: 0 auto 40px;
    text-align: left;
  }

  .classroom-title {
    text-align: left;
  }

  .classroom-link::after,
  .classroom-link::before {
    left: 50%;
    transform: translateX(-50%);
  }
}



/* Book Now Section Styles */
.book-now-section {
  text-align: center;
  background: linear-gradient(to bottom, #ffffff 385px, #BFE1F6 385px);
  padding: 270px 0 100px 0;
}

.book-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  line-height: 0.9;
  color: #222;
  margin-bottom: 50px;
}

.book-main-title span {
  display: block;
}

.book-subtext {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 50px;
  line-height: 1.2;
}

.app-btn {
  background-color: #242424;
  color: #fff;
  padding: 20px 45px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.app-btn:hover {
  background-color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.book-small-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.book-small-links a {
  color: #111;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
}

.pipe {
  color: #000000;
  opacity: 1;
  font-weight: 200;
}

/* Footer Styles */
.main-footer {
  background-color: #2A4D31;
  color: #fff;
  padding-top: 100px;
  overflow: hidden;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 100px;
}

.footer-brand-logo {
  height: 80px;
  margin-bottom: 35px;
  /* object-fit: contain; */
}

.footer-addr {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 25px;
}

.footer-phone {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.footer-links-grid {
  display: flex;
  gap: 100px;
}

.footer-nav-col h5 {
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 35px;
  color: #fff;
  letter-spacing: 1px;
}

.footer-nav-col ul {
  list-style: none;
  padding: 0;
}

.footer-nav-col ul li {
  margin-bottom: 15px;
}

.footer-nav-col ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-nav-col ul li a:hover {
  opacity: 1;
}

.footer-nav-col ul li a.footer-active {
  color: #FFC43A;
  opacity: 1;
  font-weight: 700;
}

.footer-social-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-row a {
  color: #fff;
  font-size: 1.7rem;
  transition: transform 0.3s;
}

.footer-social-row a:hover {
  transform: scale(1.2);
}

/* Privacy Policy Section */
.privacy-policy-section {
  position: relative;
  padding: 150px 0 100px 0;
  background-color: #fafafa;
  overflow: hidden;
}

.policy-bg-image {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 450px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.policy-bg-image img {
  width: 100%;
  height: auto;
}

.policy-container {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

.policy-content {
  background: #ffffff;
  padding: 60px 80px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.policy-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.policy-main-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #36348E;
  border-radius: 2px;
}

.policy-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
  margin-bottom: 50px;
}

.policy-block {
  margin-bottom: 40px;
}

.policy-block:last-child {
  margin-bottom: 0;
}

.policy-block h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.policy-block h2::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #FFC43A;
  border-radius: 50%;
}

.policy-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}

.policy-block ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.policy-block ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #444;
}

.policy-block ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 3px;
  color: #36348E;
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .policy-content {
    padding: 40px 30px;
  }

  .policy-main-title {
    font-size: 2.5rem;
  }

  .policy-bg-image {
    width: 250px;
  }
}

.footer-bottom-bar {
  background-color: #fff;
  padding: 50px 0 100px 0;
}

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

.footer-copy {
  color: #777;
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  gap: 40px;
}

.footer-legal-links a {
  color: #777;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

/* Responsiveness */
@media (max-width: 1400px) {
  .footer-links-grid {
    gap: 60px;
  }

  .book-main-title {
    font-size: 9rem;
  }
}

@media (max-width: 1200px) {
  .book-main-title {
    font-size: 7rem;
  }

  .footer-links-grid {
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
  }

  .footer-links-grid {
    justify-content: center;
    text-wrap: wrap;
    text-align: left;
    gap: 40px;
  }

  .book-main-title {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {

  .book-subtext {
    font-size: 1rem;
  }

  .legal-flex {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}



/* Classroom Slideshow Styles */
.classroom-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.class-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: kenBurnsFade 15s infinite;
}

.class-slide:nth-child(1) {
  animation-delay: 0s;
}

.class-slide:nth-child(2) {
  animation-delay: 5s;
}

.class-slide:nth-child(3) {
  animation-delay: 10s;
}

@keyframes kenBurnsFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  5% {
    opacity: 1;
  }

  33.33% {
    opacity: 1;
  }

  38.33% {
    opacity: 0;
    transform: scale(1.1);
  }

  100% {
    opacity: 0;
  }
}



/* Fixed Certificate Banner */
.certificate-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #292929;
  padding: 5px 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.banner-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-content p {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 1.1rem;
  letter-spacing: -0.2px;
}

/* .btn-certificate {
  padding: 10px 25px !important;
  font-size: 0.95rem !important;
} */

@media (max-width: 991px) {
  .banner-content {
    flex-direction: row;
    gap: 15px;
    text-align: center;
    padding: 5px;
  }

  .banner-content p {
    font-size: 0.5rem;
    line-height: 1.3;
    text-align: left;
  }

  .certificate-banner {
    padding: 5px 0 !important;
  }

  .btn-certificate {
    margin-top: 0px;
    color: #000;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
  }
}



/* Course Hover Video Styles */
.course-thumb {
  position: relative;
  overflow: hidden;
}

.course-hover-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}



/* Rank Section Interactive Animations */
.spin-continuously {
  animation: spinSlow 30s linear infinite;
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.slide-up-anim {
  opacity: 0;
  transform: translateY(100px) translateX(-50%);
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.has-animations.is-visible .slide-up-anim {
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}

.slide-right-anim {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.has-animations.is-visible .slide-right-anim {
  opacity: 1;
  transform: translateX(0);
}



/* Deep Zoom Scroll Animations */
.deep-zoom-anim {
  opacity: 0;
  transform: scale(0.6) translateY(50px);
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.has-scroll-anim.is-visible .deep-zoom-anim,
.has-scroll-anim.is-visible.deep-zoom-anim {
  opacity: 1;
  transform: scale(1) translateY(0);
}



/* === Comprehensive Mobile Viewport Fixes === */
@media (max-width: 991px) {

  /* 1. About Section */
  .about-section .d-flex.align-items-start {
    position: relative;
    justify-content: center;
    /* isolation: isolate; */
  }

  .about-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 280px !important;
    opacity: 0.08 !important;
    z-index: 0 !important;
    pointer-events: none;
  }

  .about-box {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 0 !important;
  }

  /* 2. Academy Section */
  .academy-section,
  .academy-container-custom,
  .academy-inner {
    height: auto !important;
    min-height: 0 !important;
  }

  .academy-yellow-box {
    height: auto !important;
    min-height: 0 !important;
    flex-direction: column !important;
    padding: 60px 20px 30px 20px !important;
    margin-top: -90px !important;
    /* Space for the title to overflow */
    position: relative;
  }

  .academy-left-content {
    width: 100% !important;
  }

  .academy-main-title {
    position: absolute !important;
    top: -98px !important;
    /* Half on, half off */
    left: 20px !important;
    font-size: 5rem !important;
    z-index: 10 !important;
    line-height: 0.85 !important;
    text-align: left;
  }

  .academy-description {
    margin-top: 40px !important;
  }

  .academy-right-image {
    position: relative !important;
    width: 100% !important;
    right: 0 !important;
    top: 0 !important;
    transform: none !important;
    margin-top: 40px !important;
  }

  /* 3. Shortcut Section */
  .shortcut-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    flex-direction: unset !important;
    padding: -1px 15px;
    margin-top: -50px;
  }

  .shortcut-top,
  .shortcut-bottom {
    display: contents !important;
  }

  .shortcut-link {
    background-color: #f1f3f5 !important;
    color: #111 !important;
    padding: 50px 10px !important;
    text-align: center !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    border: none !important;
    font-weight: 700 !important;
    justify-content: center !important;
  }

  /* 4. Rank Section */
  .rank-section,
  .rank-container {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
  }

  .rank-card {
    height: auto !important;
    min-height: 620px !important;
    padding: 50px 30px !important;
  }

  /* 5. Enroll Section */
  .enroll-header {
    text-align: left !important;
    padding: 0 15px;
  }

  .enroll-title {
    text-align: left !important;
  }

  .progr-text {
    letter-spacing: -3px !important;
    /* Increased letter spacing */
    display: inline-block;
  }

  .am-line {
    justify-content: flex-start !important;
    letter-spacing: 2px !important;
    /* Increased letter spacing */

    text-align: left !important;
  }

  .enroll-subtitle {
    text-align: left !important;
    margin: 0 !important;
  }

  /* 6. Student Life Section */
  .student-life-section {
    padding-bottom: 60px !important;
    padding-top: 60px !important;
  }

  .sl-yellow-bar {
    padding-top: 80px !important;
    margin-top: 50px !important;
    /* Room for title */
    position: relative;
    border-radius: 0 !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
  }

  .sl-inner-wrap {
    flex-direction: column !important;
  }

  .sl-title-box {
    position: absolute !important;
    top: -55px !important;
    left: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10 !important;
  }

  .sl-main-title {
    /* font-size: 4rem !important; */
    line-height: 0.85 !important;
    text-align: left !important;
    margin: 0 !important;
    letter-spacing: 1px;
  }

  .sl-inner-wrap {
    align-items: flex-start;
  }

  .sl-spinner-img {
    width: 100px !important;
    top: 70% !important;
    left: -25px !important;
    z-index: -1 !important;
  }

  .sl-right {
    margin-top: 60px !important;
    text-align: left !important;
    padding: 0 15px !important;
    left: 0 !important;
  }

  .sl-circle-bg {
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
  }

  /* Student Life Sliding Images */
  .sl-floating-images {
    position: relative !important;
    display: flex !important;
    gap: 15px !important;
    overflow-x: auto !important;
    width: 100% !important;
    padding: 40px 15px 20px 15px !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
  }

  .sl-floating-images::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .sl-float {
    /* position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    transform: none !important;
    width: 260px !important;
    height: 320px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
    margin: 0 !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important; */
    display: none;
  }

  .sl-more-link::after {
    display: none;
  }

  .sl-more-link::before {
    display: none;
  }

  .sl-more-link {
    border-bottom: 1px double #111;
  }

  .news-events-section {
    padding-top: 60px;
  }

  .news-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .book-now-section {
    padding: 90px 15px 28px 15px;
  }
}

/* ================================================
   CONTACT US SECTION
   ================================================ */

.contact-us-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #eef1f5 100%);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.contact-us-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(42, 77, 49, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-us-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 197, 58, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-us-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Section Header */
.contact-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-badge {
  display: inline-block;
  background: var(--primary-green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.contact-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-highlight {
  color: var(--primary-green);
  position: relative;
}

.contact-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 4px;
  background: var(--accent-yellow);
  border-radius: 4px;
}

.contact-section-sub {
  font-size: 18px;
  color: #666;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Main Row */
.contact-main-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* ---- FORM CARD ---- */
.contact-form-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
  padding: 50px 44px;
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-yellow));
}

.form-card-header {
  margin-bottom: 35px;
}

.form-card-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.form-card-header p {
  font-size: 15px;
  color: #888;
  margin: 0;
}

.cf-group {
  margin-bottom: 22px;
}

.cf-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cf-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cf-input-wrap>i:first-child {
  position: absolute;
  left: 16px;
  color: var(--primary-green);
  font-size: 16px;
  z-index: 1;
  pointer-events: none;
}

.cf-input-wrap input,
.cf-input-wrap select {
  width: 100%;
  padding: 15px 18px 15px 46px;
  background: #f7f8fa;
  border: 2px solid #e8ecf0;
  border-radius: 12px;
  font-size: 15px;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.cf-input-wrap input:focus,
.cf-input-wrap select:focus {
  border-color: var(--primary-green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42, 77, 49, 0.08);
}

.cf-input-wrap input::placeholder {
  color: #bbb;
}

.cf-select-wrap {
  position: relative;
}

.cf-select-arrow {
  position: absolute !important;
  right: 16px !important;
  left: auto !important;
  color: #aaa !important;
  font-size: 13px !important;
  pointer-events: none;
  z-index: 2;
}

/* Submit Button */
.cf-submit-btn {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, var(--primary-green) 0%, #3d6b47 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.cf-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 197, 58, 0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cf-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(42, 77, 49, 0.35);
}

.cf-submit-btn:hover::before {
  opacity: 1;
}

.cf-submit-btn:active {
  transform: translateY(0);
}

.cf-submit-btn i {
  transition: transform 0.3s ease;
}

.cf-submit-btn:hover i {
  transform: translateX(4px);
}

/* ---- CONTACT INFO PANEL ---- */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cip-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}

.cip-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--accent-yellow);
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.cip-card:hover {
  border-color: rgba(42, 77, 49, 0.12);
  transform: translateX(6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.cip-card:hover::before {
  transform: scaleY(1);
}

.cip-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-green), #3d6b47);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(42, 77, 49, 0.25);
}

.cip-icon-wrap i {
  font-size: 20px;
  color: #fff;
}

.cip-text {
  flex: 1;
}

.cip-text h4 {
  font-size: 12px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.cip-text p,
.cip-text a {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin: 0;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.cip-text a:hover {
  color: var(--primary-green);
}

.cip-text strong {
  color: var(--primary-green);
  font-weight: 700;
}

.cip-landmark {
  font-size: 13px;
  color: #999;
  font-style: italic;
}

/* Social block */
.cip-social {
  background: linear-gradient(135deg, var(--primary-green) 0%, #1e3822 100%);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 8px 24px rgba(42, 77, 49, 0.25);
}

.cip-social>span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.cip-social-icons {
  display: flex;
  gap: 14px;
}

.cip-social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cip-social-icons a:hover {
  background: var(--accent-yellow);
  color: #000;
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(255, 197, 58, 0.4);
}

/* ================================================
   CONTACT MAP SECTION
   ================================================ */

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

.map-header {
  text-align: center;
  padding: 0 5%;
  margin-bottom: 50px;
}

.map-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 14px 0 12px;
}

.map-header p {
  font-size: 16px;
  color: #888;
}

.map-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.08);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
  filter: saturate(0.9) contrast(1.05);
  transition: filter 0.3s ease;
}

.map-wrapper:hover iframe {
  filter: saturate(1.1) contrast(1.05);
}

/* ================================================
   RESPONSIVE — CONTACT SECTION
   ================================================ */
@media (max-width: 1024px) {
  .contact-main-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-section-title {
    font-size: 42px;
  }

  .contact-form-card {
    padding: 40px 30px;
  }
}

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

  .contact-section-title {
    font-size: 32px;
  }

  .contact-section-sub {
    font-size: 15px;
  }

  .contact-section-header {
    margin-bottom: 40px;
  }

  .contact-form-card {
    padding: 30px 22px;
  }

  .form-card-header h3 {
    font-size: 22px;
  }

  .cip-card {
    padding: 20px;
  }

  .map-header h2 {
    font-size: 30px;
  }

  .map-wrapper iframe {
    height: 350px;
  }

  .contact-map-section {
    padding: 50px 0 0;
  }
}

@media (max-width: 480px) {
  .cip-social-icons {
    flex-wrap: wrap;
  }

  .cf-submit-btn {
    font-size: 15px;
    padding: 16px 20px;
  }

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

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: whatsapp-glow 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: #333;
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 80px;
}

@keyframes whatsapp-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    transform: scale(1.05);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    transform: scale(1);
  }
}

/* Mobile Responsiveness for WhatsApp Button */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 30px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}



.about-us-page-section-classname {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem;
  background: var(--soft-bg);
  overflow-x: hidden;
}

.about-us-hero {
  text-align: center;
  margin-bottom: 5rem;
  animation: fadeSlideUp 0.8s ease forwards;
}

.about-us-hero h1 {
  font-family: var(--font-family);
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--primary-green);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.about-us-hero h1:after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-yellow);
  border-radius: 4px;
}

.about-us-hero p {
  font-size: 1.2rem;
  color: #4a5b4e;
  max-width: 720px;
  margin: 1.5rem auto 0;
  line-height: 1.5;
  font-weight: 400;
}

/* ========= mission & values (grid) ========= */
.about-us-mission-values {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 5rem;
}

.mission-card {
  flex: 1.2;
  background: white;
  border-radius: 32px;
  padding: 2rem 2rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed) ease;
  border: 1px solid rgba(42, 77, 49, 0.08);
}

.mission-card:hover {
  transform: var(--hover-lift);
  box-shadow: 0 30px 50px -18px rgba(0, 0, 0, 0.2);
}

.mission-card h3 {
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mission-card h3 i {
  color: var(--accent-yellow);
  font-size: 2rem;
}

.mission-card p {
  color: var(--text-dark);
  line-height: 1.5;
  font-size: 1rem;
}

.values-grid {
  flex: 1.8;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.value-item {
  background: white;
  border-radius: 24px;
  padding: 1.6rem;
  transition: all 0.25s ease;
  border-bottom: 3px solid transparent;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.value-item:hover {
  transform: translateY(-6px);
  border-bottom-color: var(--accent-yellow);
  background: #fffdf9;
}

.value-icon {
  font-size: 2.2rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.value-item h4 {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.9rem;
  color: #5a5a5a;
  line-height: 1.4;
}

/* ========= Team Section (animated images) ========= */
.about-us-team {
  margin: 5rem 0;
}

.section-title {
  text-align: center;
  font-family: var(--font-family);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.section-sub {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem auto;
  color: #5b6e5e;
  font-size: 1.1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
}

.team-member {
  background: white;
  border-radius: 40px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  text-align: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  animation: cardGlideUp 0.7s forwards;
}

/* staggered animation */
.team-member:nth-child(1) {
  animation-delay: 0.1s;
}

.team-member:nth-child(2) {
  animation-delay: 0.2s;
}

.team-member:nth-child(3) {
  animation-delay: 0.3s;
}

.team-member:nth-child(4) {
  animation-delay: 0.4s;
}

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

.team-member:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 45px -20px rgba(42, 77, 49, 0.4);
}

/* image container - perfect for later replacement */
.team-img-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e9e7e2;
  position: relative;
  transition: transform 0.5s ease;
}

.team-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), filter 0.4s;
}

.team-member:hover .team-img-container img {
  transform: scale(1.08);
  filter: brightness(1.02) contrast(1.02);
}

/* animated shine effect on hover */
.team-img-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 197, 58, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-15deg);
  transition: left 0.8s ease;
  pointer-events: none;
}

.team-member:hover .team-img-container::after {
  left: 150%;
}

.team-info {
  padding: 1.5rem 1rem 1.8rem;
}

.team-info h3 {
  font-family: var(--font-family);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.3rem;
}

.team-role {
  display: inline-block;
  background: var(--accent-yellow);
  padding: 0.2rem 1rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e2f24;
  margin-top: 0.5rem;
  letter-spacing: 0.3px;
}

/* ========= What We Offer (services grid) ========= */
.about-us-offerings {
  margin: 5rem 0;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.offering-card {
  background: white;
  border-radius: 28px;
  padding: 1.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(42, 77, 49, 0.1);
}

.offering-card:hover {
  background: white;
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -12px rgba(42, 77, 49, 0.12);
  border-color: var(--accent-yellow);
}

.offering-icon {
  font-size: 2.2rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.offering-card h4 {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
}

.offering-card p {
  color: #4b5e4f;
  line-height: 1.45;
  font-size: 0.95rem;
}

/* ========= Why Choose Us + CTA ========= */
.about-us-why {
  background: white;
  border-radius: 48px;
  padding: 3rem 2rem;
  margin: 4rem 0;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.why-content {
  flex: 1.5;
}

.why-content h2 {
  font-family: var(--font-family);
  font-size: 2.3rem;
  color: var(--primary-green);
  margin-bottom: 1.2rem;
}

.why-list {
  list-style: none;
}

.why-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #2b3b2e;
}

.why-list li i {
  color: var(--accent-yellow);
  font-size: 1.3rem;
  width: 28px;
}

.cta-block {
  flex: 1;
  text-align: center;
  background: var(--primary-green);
  padding: 2rem;
  border-radius: 32px;
  color: white;
  transition: transform 0.3s;
}

.cta-block:hover {
  transform: scale(1.02);
}

.cta-block h3 {
  font-family: var(--font-family);
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.cta-block p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.btn-cta {
  background: var(--accent-yellow);
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-green);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-cta:hover {
  background: #ffb81c;
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* ========= responsive ========= */
@media (max-width: 880px) {
  .about-us-page-section-classname {
    padding: 3rem 1.5rem;
  }

  .about-us-hero h1 {
    font-size: 2.5rem;
    text-align: left;
  }

  .about-us-hero h1:after {
    left: 11%;
  }

  .section-title {
    font-size: 2.2rem;
    text-align: left;
  }

  .mission-card h3 {
    font-size: 1.6rem;
  }

  .about-us-why {
    flex-direction: column;
    text-align: center;
  }

  .why-list li {
    justify-content: center;
  }

  .about-us-hero p {
    text-align: left;
  }

  .section-sub {
    text-align: left;
  }

  .why-content h2 {
    text-align: left;
    font-size: 1.9rem;
  }

  .why-list {
    text-align: left;
    padding-left: 0;
  }

  .cta-block p {
    text-align: left;
  }

  .cta-block h3 {
    text-align: left;
    font-size: 1.6rem;
  }
}

@media (max-width: 560px) {
  .team-info h3 {
    font-size: 1.3rem;
  }

  .offering-card h4 {
    font-size: 1.3rem;
  }
}

/* keyframe */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* scroll reveal extra touch (js + simple) */
.fade-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Quick Reference Modal Styles */
.quick-modal {
  display: none;
  position: fixed;
  z-index: 100002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.quick-modal.show {
  display: flex;
  opacity: 1;
}

.quick-modal-content {
  background: #fff;
  width: 95%;
  max-width: 1300px;
  max-height: 90vh;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.quick-modal.show .quick-modal-content {
  transform: translateY(0) scale(1);
}

.quick-modal-header {
  background: #ffffff;
  color: #000000;
  padding: 25px 40px 10px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.quick-modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.quick-modal-close {
  position: absolute;
  top: 12px;
  right: 30px;
  font-size: 35px;
  color: rgb(0, 0, 0);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  line-height: 1;
  z-index: 10;
}

.quick-modal-close:hover {
  transform: scale(1.2);
  color: #d11313;
}

.quick-modal-body {
  padding: 10px 10px 10px 10px;
  overflow-y: auto;
  background: #fdfdfd;
}

.quick-ref-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Inter', sans-serif;
  border: 1px solid #e2e8f0;
}

.quick-ref-table thead {
  background: #e8e8eb;
  color: rgb(12, 12, 12);
  position: sticky;
  top: 0;
  z-index: 2;
}

.quick-ref-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-ref-table td {
  padding: 8px 20px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 15px;
  color: #1e293b;
  vertical-align: middle;
}

.quick-ref-table tr:nth-child(even) {
  background-color: #f1f5f9;
}

.quick-ref-table tr:hover {
  background-color: #e2e8f0;
}

.demand-bolt {
  color: var(--accent-yellow);
  font-size: 12px;
  margin-right: 3px;
  opacity: 0.8;
}

.enroll-btn {
  background: #1e3a8a;
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
  border: none;
  text-transform: uppercase;
}

.enroll-btn:hover {
  background: #2A4D31;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: white !important;
}

/* Enable horizontal scroll */
.table-responsive {
  overflow-x: auto;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #000 transparent;
}

/* Chrome, Edge, Safari */
.table-responsive::-webkit-scrollbar {
  height: 3px;
  /* very thin */
}

.table-responsive::-webkit-scrollbar-track {
  background: transparent;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 50px;
}

/* Link in Mega Menu */
.quick-ref-link {
  position: relative;
  color: transparent !important;
  /* hide normal color */
  font-weight: 800 !important;
  font-size: 18px;

  background: linear-gradient(90deg,
      #41774c,
      #c7c436,
      #41774c);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
   text-decoration: none;
  animation: gradientFlow 3s linear infinite;
}

/* Gradient animation */
@keyframes gradientFlow {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.quick-ref-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #1e3a8a;
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.quick-ref-link:hover::after {
  width: 100%;
}


.quick-ref-link i {
  font-size: 18px;
}
.demo-link{
  font-size: 18px;
  font-weight: 800 !important;
background: linear-gradient(90deg,
      #1627be,
      #36bdc7,
      #251bad);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
   text-decoration: none;
  animation: gradientFlow 3s linear infinite;
}
.mobile-side {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .quick-modal-content {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .quick-modal-body {
    padding: 20px;
  }

  .quick-ref-table th,
  .quick-ref-table td {
    padding: 12px 10px;
    font-size: 12px;
  }

  .quick-modal-header {
    padding: 20px;
  }

  .quick-modal-header h2 {
    font-size: 14px;
    max-width: 200px;
  }

  .quick-ref-link::after {
    display: none;
  }
}

/* E-Certificate Section Styles */
.e-certificate-section {
  padding: 100px 0;
  background: #fdfdfd;
}

.certificate-form-wrapper {
  background: white;
  padding: 80px;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  max-width: 1000px;
  margin: 0 auto;
}

.certification-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-title-premium {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.certification-header p {
  color: #777;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Premium Input Styles */
.input-field {
  position: relative;
  width: 100%;
}

.input-field input,
.input-field select,
.input-field textarea {
  width: 100%;
  padding: 15px 0;
  font-size: 17px;
  color: #1a1a1a;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  background: transparent;
  transition: all 0.3s ease;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.input-field label {
  position: absolute;
  top: 15px;
  left: 0;
  color: #999;
  font-size: 17px;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-weight: 500;
}

/* Float Label Effect */
.input-field input:focus~label,
.input-field input:not(:placeholder-shown)~label,
.input-field textarea:focus~label,
.input-field textarea:not(:placeholder-shown)~label,
.input-field select:focus~label,
.input-field select:not([value=""]):valid~label {
  top: -20px;
  font-size: 13px;
  color: #1e3a8a;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1e3a8a;
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.input-field input:focus~.focus-border,
.input-field select:focus~.focus-border,
.input-field textarea:focus~.focus-border {
  width: 100%;
}

/* Select specific styling */
.input-field select {
  cursor: pointer;
  appearance: none;
}

.input-field select:invalid {
  color: transparent;
}

.input-field select option {
  color: #1a1a1a;
}

.form-action {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.btn-generate {
  padding: 15px 40px !important;
  font-size: 20px !important;
  border-radius: 50px !important;
  background-color: var(--accent-yellow) !important;
  border: none !important;
}

@media (max-width: 991px) {
  .certificate-form-wrapper {
    padding: 50px 30px;
  }

  .section-title-premium {
    font-size: 32px;
  }

  .certification-header p {
    font-size: 16px;
  }

  .btn-generate {
    padding: 10px 30px !important;
    font-size: 16px !important;
    background-color: var(--accent-yellow) !important;
    border: none !important;
  }

}

/* --- 404 & Thank You Page Styles --- */
.error-page-section,
.thankyou-page-section {
  padding: 150px 0 100px;
  background: #f8f9fa;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 404 Glitch Effect */
.glitch-text {
  font-size: 10rem;
  font-weight: 900;
  line-height: 1;
  position: relative;
  color: var(--primary-green);
  margin-bottom: 2rem;
  animation: glitch 1s linear infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 #ff4d4d;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  text-shadow: -2px 0 #4d4dff;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip: rect(31px, 9999px, 94px, 0);
  }

  20% {
    clip: rect(62px, 9999px, 42px, 0);
  }

  40% {
    clip: rect(10px, 9999px, 86px, 0);
  }

  60% {
    clip: rect(56px, 9999px, 23px, 0);
  }

  80% {
    clip: rect(9px, 9999px, 14px, 0);
  }

  100% {
    clip: rect(89px, 9999px, 98px, 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(15px, 9999px, 56px, 0);
  }

  25% {
    clip: rect(34px, 9999px, 12px, 0);
  }

  50% {
    clip: rect(67px, 9999px, 89px, 0);
  }

  75% {
    clip: rect(5px, 9999px, 45px, 0);
  }

  100% {
    clip: rect(82px, 9999px, 21px, 0);
  }
}

.error-title,
.thankyou-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.error-text,
.thankyou-text {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.error-actions,
.thankyou-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Thank You Checkmark Animation */
.success-animation {
  margin: 20px auto;
}

.checkmark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #4bb543;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #4bb543;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
  position: relative;
  top: 5px;
  right: 5px;
  margin: 0 auto 20px;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #4bb543;
  fill: #fff;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.btn-thankyou-home {
  background-color: var(--primary-green);
  padding: 10px 30px;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-404-home {
  background-color: var(--primary-green);
  padding: 10px 30px;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-404-book {
  background-color: var(--accent-yellow);
  padding: 10px 30px;
  border-radius: 10px;
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {

  0%,
  100% {
    transform: none;
  }

  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #4bb543;
  }
}

@media (max-width: 768px) {
  .glitch-text {
    font-size: 6rem;
  }

  .error-title,
  .thankyou-title {
    font-size: 2rem;
  }

  .error-actions {
    flex-direction: column;
  }

  .marquee-content span {
    font-size: 14px;
  }

nav{
  height: var(--nav-mobile-height) !important;
}
.hero-section{
  min-height: calc(90vh - var(--nav-mobile-height)) !important;
}
/* Shift hero section down if offer bar is present and active */
body:has(.offer-bar:not(.hide)):not(.offer-closed) .hero-section {
  margin-top: calc(var(--nav-mobile-height) + 40px);
}
body.offer-closed .hero-section {
  margin-top: var(--nav-mobile-height);
}

.quick-modal{
  margin-top: 20px !important;
  margin-bottom: 40px !important;
  height: calc(100vh- 200px);
  padding: 10px;
  
}
.enroll-btn{
  font-size: 8px !important;
  padding: 3px 10px !important;
}
/* .quick-modal {
  display: none;
  position: fixed;
  z-index: 100002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
  align-items: center;
  justify-content: center;
  padding: 20px;
} */
}

/* --- Dynamic Word Animation --- */
.dynamic-word {
  display: inline-block;
  color: var(--accent-yellow);
  min-width: 150px; /* Prevent layout shift */
  transition: opacity 0.25s ease, transform 0.25s ease;
  vertical-align: baseline;
}

.dynamic-word.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.dynamic-word.fade-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .dynamic-word {
    min-width: 100px;
  }
  .classroom-text{
    font-size: 1rem;
  }
}

/* --- Academy Flow Tree --- */
.tree-flow-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  margin: 40px 0;
  padding: 20px 0;
}

.tree-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.node-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-icon {
  width: 100%;
  height: 100%;
  background: var(--primary-green);
  color: var(--accent-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 15px rgba(42, 77, 49, 0.2);
  position: relative;
  z-index: 3;
}

.node-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-green);
  border-radius: 50%;
  opacity: 0.5;
  z-index: 1;
  animation: pulse-loop 2s infinite;
}

.result-node .node-icon {
  background: var(--accent-yellow);
  color: var(--primary-green);
}

.result-node .node-pulse {
  background: var(--accent-yellow);
}

.node-text {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  max-width: 90px;
  line-height: 1.2;
}

.flow-arrow {
  margin-top: 22px;
  color: #ccc;
  font-size: 18px;
  animation: arrow-slide 1.5s infinite;
}

@keyframes pulse-loop {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes arrow-slide {
  0% { opacity: 0; transform: translateX(-10px); }
  50% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(10px); }
}

/* Staggered pulse delays */
.tree-node:nth-child(1) .node-pulse { animation-delay: 0s; }
.flow-arrow:nth-child(2) { animation-delay: 0.3s; }
.tree-node:nth-child(3) .node-pulse { animation-delay: 0.6s; }
.flow-arrow:nth-child(4) { animation-delay: 0.9s; }
.tree-node:nth-child(5) .node-pulse { animation-delay: 1.2s; }
.flow-arrow:nth-child(6) { animation-delay: 1.5s; }
.tree-node:nth-child(7) .node-pulse { animation-delay: 1.8s; }

@media (max-width: 991px) {
  .tree-flow-container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .flow-arrow {
    display: none; /* Hide horizontal arrows on wrap if they don't fit */
  }
   .tree-flow-container {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 5px;
    margin: 20px 0;
  }
  .tree-flow-container::-webkit-scrollbar {
    display: none;
  }
  .tree-node, .flow-arrow {
    flex-shrink: 0;
  }
}

@media (max-width: 576px) {
  .tree-flow-container {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 5px;
    margin: 20px 0;
  }
  .tree-flow-container::-webkit-scrollbar {
    display: none;
  }
  .tree-node, .flow-arrow {
    flex-shrink: 0;
  }
  .node-wrapper {
    width: 45px;
    height: 45px;
  }
  .node-icon {
    font-size: 18px;
  }
  .node-text {
    font-size: 11px;
    max-width: 70px;
  }
  .flow-arrow {
    font-size: 14px;
    margin-top: 15px;
    display: block !important;
    transform: none !important;

}

@keyframes arrow-slide-vertical {
  0% { opacity: 0; transform: rotate(90deg) translateX(-10px); }
  50% { opacity: 1; transform: rotate(90deg) translateX(0); }
  100% { opacity: 0; transform: rotate(90deg) translateX(10px); }
}
}


@media (min-width: 1401px) and (max-width: 1775px){
  .sl-img-1{
    width: 300px;
    left: 20%;
    top: 90%;
    z-index: 12;
  }
  .sl-img-2 {
    width: 300px;
    left: 45%;
    top: 120%;
    z-index: 12;
}
.sl-img-3{
      width: 330px;
    right: 12%;
    top: 70%;
}

}

@media (min-width: 992px) and (max-width: 1199px){
  .sl-main-title{
    letter-spacing: -15px;
  }
  .sl-info-text{
    max-width: 400px;
  }
  .sl-img-1{
    width: 230px;
    left: 15%;
    top: 90%;
    z-index: 12;
  }
  .sl-img-2 {
    width: 200px;
    left: 45%;
    top: 120%;
    z-index: 12;
}
.sl-img-3{
    width: 230px !important;
    right: 10% !important;
    top: 70% !important;
}
.sl-spinner-img{
  width: 210px;
}
.student-life-section{
  padding-bottom: 500px !important;
}
.news-title{
  font-size: 1.2rem !important;
}
.news-excerpt{
  font-size: .7rem !important;
}
.book-now-section{
  padding-top: 155px !important;
}
}



.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
}

.program-grid li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
}


/* Mobile responsive (stack in 1 column) */
@media (max-width: 576px) {
  .program-grid {
    grid-template-columns: 1fr;
  }
}
/* --- New Star Rotation Animation --- */
.rotating-star {
  display: inline-block;
  animation: rotate-star 5s linear infinite;
  transform-origin: center;
}

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

/* --- Academy Experience Design (Responsive) --- */

/* Desktop Design: Vertical Thread List (> 1100px) */
@media (min-width: 1101px) {
  .academy-list {
    list-style: none !important;
    padding: 0 0 0 53px !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 900px;
    margin-top: 20px !important;

    margin-bottom: 20px !important;
    position: relative;
  }

  /* Animated Left Thread Line */
  .academy-list::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 5px;
    width: 2px;
    height: 0; /* Animated height */
    background: var(--primary-green);
    transition: height 1.8s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
  }

  .academy-list.is-visible::before {
    height: calc(100% - 80px);
  }

  .academy-list li {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .academy-list.is-visible li {
    opacity: 1;
    transform: translateX(0);
  }

  /* Milestone Dots on the thread */
  .academy-list li::before {
    content: "";
    position: absolute;
    left: -53px;
    top: 0px;
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border: none;
    border-radius: 50%;
    z-index: 2;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .academy-list.is-visible li::before {
    transform: scale(1);
  }

  /* Staggered transition delays */
  .academy-list li:nth-child(1) { transition-delay: 0.1s; }
  .academy-list li:nth-child(2) { transition-delay: 0.2s; }
  .academy-list li:nth-child(3) { transition-delay: 0.3s; }
  .academy-list li:nth-child(4) { transition-delay: 0.4s; }
  .academy-list li:nth-child(5) { transition-delay: 0.5s; }
  .academy-list li:nth-child(6) { transition-delay: 0.6s; }

  .academy-list.is-visible li:nth-child(1)::before { transition-delay: 0.2s; }
  .academy-list.is-visible li:nth-child(2)::before { transition-delay: 0.4s; }
  .academy-list.is-visible li:nth-child(3)::before { transition-delay: 0.6s; }
  .academy-list.is-visible li:nth-child(4)::before { transition-delay: 0.8s; }
  .academy-list.is-visible li:nth-child(5)::before { transition-delay: 1.0s; }
  .academy-list.is-visible li:nth-child(6)::before { transition-delay: 1.2s; }

  .academy-list li strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: #111111;
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
  }

  .academy-list li span {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #444444;
    line-height: 1.6;
    display: block;
  }
}

/* Mobile & Portrait Tablet Design: Beautiful Green Boxes (<= 1100px) */
@media (max-width: 1100px) {
  .academy-list {
    counter-reset: academy-counter;
    list-style: none !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 100%;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
  }

  .academy-list li {
    position: relative;
    background: var(--primary-green);
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    transform: translateY(30px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
  }

  .academy-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
  }

  .academy-list li:hover::before {
    width: 10px;
    background: var(--accent-yellow);
  }

  /* Background Numbers */
  .academy-list li::after {
    counter-increment: academy-counter;
    content: counter(academy-counter, decimal-leading-zero);
    position: absolute;
    right: 2px;
    bottom: -15px !important;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.1);
    z-index: 0;
    pointer-events: none;
    font-family: 'Outfit', sans-serif;
    transition: all 0.5s ease;
  }

  .academy-list li:hover::after {
    color: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
  }

  .academy-list.is-visible li {
    animation: academy-item-reveal 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }

  .academy-list.is-visible li:nth-child(1) { animation-delay: 0.1s; }
  .academy-list.is-visible li:nth-child(2) { animation-delay: 0.2s; }
  .academy-list.is-visible li:nth-child(3) { animation-delay: 0.3s; }
  .academy-list.is-visible li:nth-child(4) { animation-delay: 0.4s; }
  .academy-list.is-visible li:nth-child(5) { animation-delay: 0.5s; }
  .academy-list.is-visible li:nth-child(6) { animation-delay: 0.6s; }

  @keyframes academy-item-reveal {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .academy-list li br {
    display: none;
  }

  .academy-list li strong {
    position: relative;
    z-index: 2;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
    letter-spacing: -0.01em;
  }

  .academy-list li span {
    position: relative;
    z-index: 2;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.6;
  }
}


.menu-link {
  position: relative;
  font-weight: 500;
}

.new-badge {
  background: var(--accent-yellow);
  color: #fff;
  padding: 2px 5px;
  border-radius: 20px;
  font-size: 8px;
  margin-left: 5px;
  position: relative;
  animation: pulse 1s infinite;
  font-weight: 600;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgb(255, 255, 255);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 6px 6px rgba(255, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

/* Optional: slight bounce for arrow */
.menu-link i {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.3s;
}

.menu-link:hover i {
  transform: translateY(2px);
}

.mobile-hero-wrapper {
  display: none;
  flex-direction: column;
  width: 100%;
  background: #0a0a0a;
  color: #fff;
  position: relative;
  z-index: 1;
  padding-bottom: 30px;
}

/* --- Slider --- */
.mhero-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 18px 18px;
}

.mhero-slider {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.mhero-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
}

.mhero-slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* Dot indicators */
.mhero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 6px;
  background: #fff;
}

.mhero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--primary-green);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.mhero-dot.active {
  background: var(--accent-yellow);
  width: 24px;
  border-radius: 4px;
  transform: scale(1.1);
}

/* --- Pills Scroll Row --- */
.mhero-pills-wrap {
  width: 100%;
  overflow: hidden;
  padding: 14px 16px 10px;
}

.mhero-pills {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none; /* Firefox */
}

.mhero-pills::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.mhero-pill {
  flex-shrink: 0;
  scroll-snap-align: start;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.mhero-pill:hover,
.mhero-pill.active {
  background: var(--accent-yellow);
  border-color: var(--accent-yellow);
  color: #000;
  font-weight: 600;
}

/* --- Text Block (title + stats) --- */
.mhero-text-block {
  padding: 20px 20px 10px;
  text-align: center;
}

.mhero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 58px;
  line-height: 1.05;
  margin-bottom: 24px;
  color: #fff;
}

.mhero-lower-h1 {
  display: block;
  font-weight: 700;
  font-size: 45px;
  line-height: 1.3;
  
}

.mhero-stats {
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.mhero-stats .stat-item .count {
  font-size: 52px;
  color: #fff;
}

.mhero-stats .stat-item .currency {
  font-size: 20px;
  color: #fff;
}

.mhero-stats .stat-label {
  font-size: 13px;
  margin-top: 12px;
  color: #fff;
}

.mhero-stats .stat-divider {
  height: 50px;
  background: var(--accent-yellow);
}

.mhero-subtext {
  font-size: 14px;
  opacity: 0.85;
  text-align: center;
  color: #fff;
}

/* ============================================================
   MOBILE (max-width: 767px): show mobile hero, hide desktop
   ============================================================ */
@media (max-width: 767px) {
.mhero-stats .stat-label{
  text-align: left;
}
  /* Show mobile wrapper */
  .mobile-hero-wrapper {
    display: flex !important;
  }

  /* Restructure the hero-section for mobile stacked layout */
  .hero-section {
    flex-direction: column;
    align-items: stretch;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: unset !important;
    background: #0a0a0a !important;
  }

  /* Hide the desktop video + overlay */
  .hero-video {
    display: none !important;
  }

  .hero-overlay {
    display: none !important;
  }

  /* Hide the desktop content container */
  .hero-container {
    display: none !important;
  }

  /* Slide image height for phones */
  .mhero-slide img {
    height: 210px;
  }

  /* .mhero-title {
    font-size: 40px;
  } */

  /* .mhero-lower-h1 {
    font-size: 26px;
  } */

  .mhero-stats .stat-item .count {
    font-size: 44px;
  }
}

/* ============================================================
   PORTRAIT TABLET (768px – 1100px): show mobile hero, hide desktop
   ============================================================ */
@media (min-width: 768px) and (max-width: 1100px) {

  /* Show mobile wrapper */
  .mobile-hero-wrapper {
    display: flex !important;
  }

  /* Hero section becomes stacked + dark */
  .hero-section {
    flex-direction: column;
    align-items: stretch;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: unset !important;
    background: #0a0a0a !important;
  }

  /* Hide the desktop video */
  .hero-video {
    display: none !important;
  }

  .hero-overlay {
    display: none !important;
  }

  /* Hide desktop content */
  .hero-container {
    display: none !important;
  }

  /* Bigger slide image for tablets */
  .mhero-slide img {
    height: 320px;
  }

  .mhero-title {
    font-size: 60px;
  }

  .mhero-lower-h1 {
    font-size: 38px;
  }

  .mhero-stats .stat-item .count {
    font-size: 60px;
  }

  .mhero-pill {
    font-size: 14px;
    padding: 9px 22px;
  }

  .mhero-pills-wrap {
    padding: 16px 24px 12px;
  }

  .mhero-text-block {
    padding: 24px 32px 14px;
  }

  .mhero-subtext {
    font-size: 16px;
  }
}

/* ============================================================
   MOBILE HERO COURSE CARDS CAROUSEL
   ============================================================ */
.mhero-cards-section {
  width: 100%;
  padding: 18px 16px 28px;
  box-sizing: border-box;
}

.mhero-cards-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.mhero-cards-track {
  display: flex;
  gap: 12px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.mhero-cards-track.is-dragging {
  cursor: grabbing;
  transition: none;
}

/* Individual card */
.mhero-card {
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
  flex-shrink: 0;
}

/* Left image block */
.mhero-card-img-wrap {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  margin: 10px;
  border-radius: 10px;
  overflow: hidden;
}

.mhero-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right content */
.mhero-card-body {
  flex: 1;
  padding: 12px 14px 12px 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

/* Trending badge */
.mhero-card-tag {
   position: absolute;
    top: 10px;
    right: 10px;
  display: inline-block;
  background: #ff4757;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 4px;
  width: fit-content;
}

.mhero-card-tag.demanded {
  background: #1e90ff;
}
.mhero-card {
    position: relative; /* IMPORTANT: parent must be relative */
}

.mhero-card-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;

    /* optional styling improvements */
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
}
/* Course title */
.mhero-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin: 0;
}

/* Enroll Now link */
.mhero-card-enroll {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.mhero-card-enroll:hover {
  color: var(--accent-yellow);
  gap: 8px;
}

.mhero-card-enroll i {
  font-size: 10px;
}

/* -------------------------------------------------------
   MOBILE (<=767px): 1 card fills the full viewport width
   ------------------------------------------------------- */
@media (max-width: 767px) {
  .mhero-cards-section {
    padding: 14px 14px 22px;
  }

  .mhero-card {
    width: calc(100vw - 28px);
    min-width: calc(100vw - 28px);
  }
}

/* -------------------------------------------------------
   PORTRAIT TABLET (768px–1100px): 3 cards visible per group
   ------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1100px) {
  .mhero-cards-section {
    padding: 20px 24px 30px;
  }

  /* card width = (viewport - 2×24px padding - 2×12px gap) / 3 */
  .mhero-card {
    width: calc((100vw - 48px - 24px) / 3);
    min-width: calc((100vw - 48px - 24px) / 3);
  }

  .mhero-card-img-wrap {
    width: 78px;
    height: 78px;
  }

  .mhero-card-title {
    font-size: 13px;
  }
}
