/* CHRD Training Academy - Component Stylesheet */
/* Mobile-First Responsive System & Navigation Drawer Fix */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.75rem;
  min-height: 48px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .btn:not(.category-filter-bar .btn):not(.course-filter-btn):not(.gallery-filter-btn):not(.category-btn):not(.hero-actions .btn) {
    width: 100% !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.btn-primary {
  background: var(--accent-emerald);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 200, 150, 0.3);
  border-color: var(--accent-emerald);
}

.btn-primary:hover {
  background: var(--accent-emerald-hover);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(0, 200, 150, 0.45);
}

.btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: var(--accent-emerald);
}

.btn-secondary:hover {
  background-color: var(--accent-emerald);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 200, 150, 0.3);
}

.btn-gold,
.btn-purple {
  background: var(--accent-purple);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(124, 92, 255, 0.3);
  border-color: var(--accent-purple);
}

.btn-gold:hover,
.btn-purple:hover {
  background: var(--accent-purple-hover);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.45);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border-color: var(--accent-emerald);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  min-height: 42px;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  min-height: 52px;
}

/* Header Navigation System */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2500;
  transition: all var(--transition-normal);
  padding: 1.15rem 0;
  background-color: transparent;
  box-sizing: border-box;
}

.site-header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.7rem 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 2510;
}

/* Official Brand Logo System */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  position: relative;
  z-index: 2600;
}

.brand-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
  background-color: #FFFFFF;
  padding: 2px;
  box-shadow: 0 4px 14px rgba(0, 200, 150, 0.3);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.logo-brand:hover .brand-logo-img {
  transform: scale(1.06);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.1vw, 1.15rem);
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.tm-symbol {
  display: inline-block;
  font-weight: 600;
  margin-left: 4px;
  vertical-align: 0.25em;
  line-height: 1;
  color: inherit;
}

/* Responsive Logo Text Visibility: Hidden on Mobile (<768px), Visible on Tablet & Desktop (>=768px) */
@media (max-width: 767px) {
  .site-header .logo-text {
    display: none !important;
  }
}

/* Header Actions & Pill Layout */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-apply {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #00E5BF;
  color: #030712;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 229, 191, 0.35);
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn-header-apply:hover {
  background: #05f3cc;
  color: #030712;
  box-shadow: 0 0 30px rgba(0, 229, 191, 0.55);
}

.btn-header-apply .arrow {
  transition: transform var(--transition-fast);
}

.btn-header-apply:hover .arrow {
  transform: translateX(3px);
}

/* Centered Floating Pill Navigation Container on Desktop */
@media (min-width: 1025px) {
  .hero-nav-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-nav-wrapper .nav-menu {
    background: rgba(10, 18, 30, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 0.3rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }

  .hero-nav-wrapper .nav-link {
    color: #CBD5E1;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 9999px;
    min-height: auto;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hero-nav-wrapper .nav-link::after {
    display: none;
  }

  .hero-nav-wrapper .nav-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.06);
  }

  .hero-nav-wrapper .nav-link.active {
    color: #00E5BF;
    background: rgba(0, 229, 191, 0.12);
    border: 1px solid rgba(0, 229, 191, 0.3);
    font-weight: 600;
    box-shadow: 0 0 16px rgba(0, 229, 191, 0.2);
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.8vw, 2.25rem);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-emerald);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-emerald);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mega Menu Dropdown */
.nav-item-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: clamp(300px, 90vw, 680px);
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  padding: 1.15rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 1100;
}

.nav-item-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
  text-decoration: none;
}

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

.mega-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-emerald-soft);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.mega-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.mega-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Mobile & Tablet Navigation Hamburger Drawer */
.mobile-toggle {
  display: none;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2600;
}

/* Mobile Navigation Backdrop & Scroll Lock */
.nav-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(11, 17, 32, 0.88) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 99998 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.menu-open {
  overflow: hidden !important;
  touch-action: none !important;
}

.site-header.menu-open {
  z-index: 999999 !important;
}

body.menu-open .whatsapp-float {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.site-footer,
.footer-logo,
.footer-title,
.footer-link,
.footer-content,
.footer-bottom {
  z-index: 1 !important;
}

@media (max-width: 1024px) {
  .mobile-toggle {
    display: flex !important;
    position: relative;
    z-index: 1000000 !important;
  }

  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    max-width: 320px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background-color: var(--primary-bg) !important;
    border-left: 1px solid var(--border-subtle) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 5.5rem 1.5rem 2rem 1.5rem !important;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.95) !important;
    transition: right var(--transition-normal) !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
  }

  .nav-menu.open {
    right: 0 !important;
  }

  .nav-menu .btn {
    width: 100%;
    margin-top: 1rem;
  }

  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    background: transparent;
    margin-top: 0.5rem;
  }

  .nav-item-dropdown:hover .mega-menu {
    transform: none;
  }
}

/* Redesigned Hero Section Scope (HACA Inspired Centered Layout for CHRD) */
.hero-dark-centered {
  position: relative;
  width: 100%;
  min-height: auto;
  background-color: transparent;
  overflow: hidden;
  padding-top: clamp(6.5rem, 12vh, 9rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* Atmospheric Lighting Effects */
.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.glow-top-left {
  top: -100px;
  left: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 229, 191, 0.14) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-top-right {
  top: -50px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.14) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-center {
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 229, 191, 0.06) 0%, rgba(0, 0, 0, 0) 75%);
}

/* Decorative Dot Grid Pattern */
.hero-dot-grid {
  position: absolute;
  top: 18%;
  width: 180px;
  height: 220px;
  background-image: radial-gradient(rgba(0, 229, 191, 0.25) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.grid-left {
  left: 4%;
}

.grid-right {
  right: 4%;
}

@media (max-width: 1024px) {
  .hero-dot-grid {
    display: none;
  }
}

/* Inner Centered Wrapper */
.hero-inner-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 1. ISO Certification Pill Badge */
.hero-badge-container {
  margin-bottom: 1.5rem;
}

.hero-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.25rem;
  background: rgba(6, 22, 34, 0.75);
  border: 1px solid rgba(0, 229, 191, 0.35);
  border-radius: 9999px;
  color: #F8FAFC;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(0, 229, 191, 0.15);
}

.cert-shield-icon {
  color: #00E5BF;
  flex-shrink: 0;
}

.desktop-only-br {
  display: inline;
}

/* 2. Main H1 Headline */
.hero-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5.5vw + 0.5rem, 4.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  max-width: 950px;
}

.heading-accent {
  background: linear-gradient(135deg, #00E5BF 0%, #00B8A9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* 3. Supporting Text Paragraph */
.hero-supporting-text {
  font-size: clamp(1rem, 1.3vw + 0.2rem, 1.2rem);
  line-height: 1.65;
  color: #94A3B8;
  max-width: 780px;
  margin: 0 auto 2.25rem auto;
  font-weight: 400;
}

/* 4. CTA Row & Buttons */
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  width: 100%;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.9rem 2.25rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  box-sizing: border-box;
}

.btn-primary-teal {
  background: #00E5BF;
  color: #030712;
  box-shadow: 0 0 25px rgba(0, 229, 191, 0.35);
  border: 1px solid #00E5BF;
}

.btn-primary-teal:hover {
  background: #05f3cc;
  color: #030712;
  box-shadow: 0 0 35px rgba(0, 229, 191, 0.55);
}

.btn-primary-teal .btn-arrow {
  transition: transform 0.2s ease;
}

.btn-primary-teal:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.03);
  color: #FFFFFF;
  border: 1px solid rgba(0, 229, 191, 0.4);
  backdrop-filter: blur(12px);
}

.btn-secondary-glass:hover {
  background: rgba(0, 229, 191, 0.12);
  border-color: #00E5BF;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(0, 229, 191, 0.25);
}

/* 5. Trust Statistics Bar */
.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  background: rgba(8, 16, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.1rem 2rem;
  backdrop-filter: blur(16px);
  margin-bottom: 2.25rem;
  max-width: 1050px;
  width: 100%;
  box-sizing: border-box;
}

.trust-stat-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

.stat-icon-square {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 229, 191, 0.12);
  border: 1px solid rgba(0, 229, 191, 0.25);
  color: #00E5BF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-content-text {
  display: flex;
  flex-direction: column;
}

.stat-big-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
  color: #FFFFFF;
}

.stat-sub-label {
  font-size: 0.825rem;
  color: #94A3B8;
  line-height: 1.2;
  font-weight: 500;
}

.trust-v-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* 6. Recognition Box */
.hero-recognition-box {
  margin-bottom: 1.5rem;
}

.rec-glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1.25rem;
  background: rgba(10, 20, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  text-align: left;
}

.rec-brand-seal {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 2px;
  flex-shrink: 0;
}

.rec-details {
  display: flex;
  flex-direction: column;
}

.rec-primary-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #E2E8F0;
  line-height: 1.2;
}

.rec-secondary-text {
  font-size: 0.75rem;
  color: #94A3B8;
}

/* 7. Admission Status Indicator */
.hero-admissions-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #E2E8F0;
}

.glowing-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #00E676;
  box-shadow: 0 0 10px #00E676;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px #00E676; }
  50% { transform: scale(1.3); opacity: 0.8; box-shadow: 0 0 18px #00E676; }
}

/* 8. Scroll Down Indicator */
.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #94A3B8;
  margin-bottom: 2.5rem;
  cursor: pointer;
}

.mouse-icon-container {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mouse-scroll-dot {
  width: 3px;
  height: 7px;
  background-color: #00E5BF;
  border-radius: 2px;
  animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.scroll-text {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94A3B8;
}

.scroll-arrow {
  color: #00E5BF;
  animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* 9. Partially Visible Image Cards at the Bottom */
.hero-cards-strip-wrapper {
  width: 100%;
  max-width: 1100px;
  margin-top: 1rem;
}

.hero-cards-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.hero-card-panel {
  position: relative;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  height: 190px;
  background: #0B1120;
  transition: transform 0.3s ease;
}

.hero-card-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 191, 0.3);
}

.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Mobile & Tablet Responsiveness (Pixel-Perfect Match for Mobile Mockup) */
@media (max-width: 900px) {
  .hero-trust-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.85rem;
    padding: 1.25rem 1rem;
  }
  
  .trust-v-divider {
    display: none;
  }

  .hero-cards-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .hero-card-panel {
    height: 140px;
  }
}

@media (max-width: 640px) {
  .hero-dark-centered {
    padding-top: 5.5rem;
    padding-bottom: 2.25rem;
  }

  .hero-admissions-pill {
    margin-bottom: 0 !important;
  }

  .btn-header-apply {
    font-size: 0.8rem;
    padding: 0.45rem 0.95rem;
    min-height: 38px;
    box-shadow: 0 0 15px rgba(0, 229, 191, 0.3);
  }

  .hero-cert-badge {
    font-size: 0.725rem;
    padding: 0.38rem 1rem;
  }

  .hero-main-heading {
    font-size: clamp(1.9rem, 7.2vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 320px;
    margin: 0 auto 1.1rem auto;
  }

  .hero-supporting-text {
    font-size: 13px;
    line-height: 1.55;
    color: #94A3B8;
    max-width: 340px;
    margin: 0 auto 1.85rem auto;
  }

  /* Two CTA Buttons Side by Side on Mobile */
  .hero-cta-row {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    max-width: 380px !important;
    gap: 0.6rem !important;
    margin: 0 auto 2.25rem auto !important;
  }

  .hero-cta-btn {
    flex: 1 1 0% !important;
    width: auto !important;
    min-height: 48px !important;
    padding: 0.7rem 0.5rem !important;
    font-size: 0.825rem !important;
    white-space: nowrap !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* 2x2 Trust Statistics Card on Mobile */
  .hero-trust-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem 0.75rem !important;
    padding: 1.25rem 1rem !important;
    background: rgba(8, 16, 28, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 1.75rem !important;
  }

  .trust-stat-box {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .stat-icon-square {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: rgba(0, 229, 191, 0.12) !important;
    border: 1px solid rgba(0, 229, 191, 0.25) !important;
    color: #00E5BF !important;
  }

  .stat-big-number {
    font-size: 15px;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    line-height: 1.1 !important;
  }

  .stat-sub-label {
    font-size: 10px !important;
    color: #94A3B8 !important;
    line-height: 1.2 !important;
  }

  /* Recognition Box on Mobile */
  .hero-recognition-box {
    width: 100% !important;
    margin-bottom: 1.5rem !important;
  }

  .rec-glass-pill {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.65rem 1.1rem !important;
    background: rgba(10, 20, 32, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 9999px !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .rec-brand-seal {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    padding: 2px !important;
    flex-shrink: 0 !important;
  }

  .rec-primary-text {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #E2E8F0 !important;
    line-height: 1.2 !important;
  }

  .rec-secondary-text {
    font-size: 10.5px !important;
    color: #94A3B8 !important;
    line-height: 1.2 !important;
    margin-top: 1px !important;
  }

  .hero-cards-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .hero-card-panel {
    height: 95px;
    border-radius: 12px 12px 0 0;
  }
}

/* Premium Image Carousel Section Scope (Directly Below Hero) */
.chrd-carousel-section {
  position: relative;
  width: 100%;
  background-color: transparent;
  padding: 1rem 0 2rem 0;
  box-sizing: border-box;
  overflow: hidden;
}

.chrd-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 5rem);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.carousel-track-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: none;
  will-change: transform;
  user-select: none;
}

/* Card Responsiveness: 5 Cards Desktop */
.carousel-card-item {
  flex: 0 0 calc((100% - (1.25rem * 4)) / 5);
  min-width: calc((100% - (1.25rem * 4)) / 5);
  box-sizing: border-box;
}

.carousel-card-inner {
  position: relative;
  width: 100%;
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #0B1120;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card-inner:hover {
  border-color: rgba(0, 229, 191, 0.4);
  box-shadow: 0 12px 35px rgba(0, 229, 191, 0.15);
}

.carousel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-card-inner:hover .carousel-card-img {
  transform: scale(1.06);
}

.carousel-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.92) 0%, rgba(3, 7, 18, 0.3) 50%, transparent 100%);
  pointer-events: none;
}

.carousel-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.1rem 1rem;
  z-index: 2;
  text-align: left;
}

.carousel-card-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  display: block;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Circular Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 20, 32, 0.85);
  border: 1px solid rgba(0, 229, 191, 0.35);
  color: #00E5BF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.carousel-prev {
  left: clamp(0.25rem, 1.5vw, 1.5rem);
}

.carousel-next {
  right: clamp(0.25rem, 1.5vw, 1.5rem);
}

.carousel-arrow:hover:not(:disabled) {
  background: #00E5BF;
  color: #030712;
  border-color: #00E5BF;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 25px rgba(0, 229, 191, 0.5);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%);
  box-shadow: none;
}

/* Pagination Dots */
.carousel-pagination-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #00E5BF;
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 229, 191, 0.4);
}

/* Responsive Media Breakpoints for Carousel */

/* Large Tablet (1025px - 1280px): 4 Cards */
@media (max-width: 1280px) {
  .carousel-card-item {
    flex: 0 0 calc((100% - (1.25rem * 3)) / 4);
    min-width: calc((100% - (1.25rem * 3)) / 4);
  }
}

/* Tablet (769px - 1024px): 3 Cards */
@media (max-width: 1024px) {
  .carousel-card-item {
    flex: 0 0 calc((100% - (1rem * 2)) / 3);
    min-width: calc((100% - (1rem * 2)) / 3);
  }
  .carousel-track {
    gap: 1rem;
  }
  .carousel-card-inner {
    height: 200px;
  }
}

/* Small Tablet (601px - 768px): 2 Cards */
@media (max-width: 768px) {
  .carousel-card-item {
    flex: 0 0 calc((100% - 0.85rem) / 2);
    min-width: calc((100% - 0.85rem) / 2);
  }
  .carousel-track {
    gap: 0.85rem;
  }
  .carousel-card-inner {
    height: 180px;
  }
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
}

/* Mobile (<600px): Continuous Smooth 60FPS Carousel */
@media (max-width: 600px) {
  .chrd-carousel-section {
    padding: 1.5rem 0 2rem 0;
  }
  .chrd-carousel-container {
    padding: 0 0.85rem;
  }
  .carousel-track-wrapper {
    border-radius: 16px;
    overflow: hidden;
  }
  .carousel-track {
    gap: 0.75rem;
    overflow: visible;
  }
  .carousel-card-item {
    flex: 0 0 calc(84% - 0.75rem);
    min-width: calc(84% - 0.75rem);
  }
  .carousel-card-inner {
    height: 195px;
    border-radius: 14px;
  }
  .carousel-arrow {
    display: none;
  }
  .carousel-card-caption {
    padding: 0.9rem 0.85rem;
  }
  .carousel-card-title {
    font-size: 0.85rem;
    line-height: 1.3;
    word-break: break-word;
  }
}

/* Blog Layout Responsive Overrides */
@media (max-width: 992px) {
  .featured-blog-card {
    grid-template-columns: 1fr !important;
  }

  .blog-layout-grid {
    grid-template-columns: 1fr !important;
  }
}

.hover-emerald:hover {
  border-color: var(--accent-emerald) !important;
}

/* Event Registration Popup Modal System */
.event-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.event-modal-container {
  background: var(--card-bg, #151D2A);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-xl, 16px);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 200, 150, 0.15);
  position: relative;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.event-modal-overlay.active .event-modal-container {
  transform: scale(1) translateY(0);
}

.event-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  color: var(--text-secondary, #94A3B8);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.event-modal-close:hover {
  background: rgba(255, 107, 107, 0.15);
  color: #FF6B6B;
  border-color: rgba(255, 107, 107, 0.3);
}

.modal-form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.modal-form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary, #F8FAFC);
  margin-bottom: 0.35rem;
}

.modal-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--secondary-bg, #0B1120);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-md, 8px);
  color: var(--text-primary, #F8FAFC);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.modal-form-control:focus {
  border-color: var(--accent-emerald, #00C896);
  box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.15);
}

.modal-form-control[readonly] {
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-emerald, #00C896);
  font-weight: 700;
  cursor: default;
}

.modal-error-msg {
  color: #FF6B6B;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: block;
}

/* Responsive Event Cards Grid & Hover Animation */
.events-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

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

@media (max-width: 640px) {
  .events-grid-wrapper {
    grid-template-columns: 1fr;
  }
}

.event-card-item {
  background: var(--card-bg, #151D2A);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 200, 150, 0.15);
  border-color: rgba(0, 200, 150, 0.35);
}

.event-card-item:hover img {
  transform: scale(1.05);
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
}

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

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

.stat-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2vw, 1.75rem) 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-emerald);
  opacity: 0.8;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-emerald);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--accent-emerald);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Feature Cards */
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: clamp(1.35rem, 2.2vw, 2rem);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-emerald) 0%, var(--accent-purple) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-emerald);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--accent-emerald-soft);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.feature-card:hover .feature-icon-box {
  background-color: var(--accent-emerald);
  color: #FFFFFF;
  transform: scale(1.05);
}

.feature-title {
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

/* Course Cards */
.course-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 200, 150, 0.15);
  border-color: var(--accent-emerald);
}

.course-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--secondary-bg);
  width: 100%;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

.course-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 17, 32, 0.1) 0%, rgba(11, 17, 32, 0.65) 100%);
  pointer-events: none;
  z-index: 1;
}

.course-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.course-card:hover .course-img {
  transform: scale(1.06);
}

.course-badge-overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  z-index: 2;
}

@media (max-width: 640px) {
  .course-media {
    height: 210px;
  }
}

.course-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

.course-title {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.course-title a {
  color: var(--text-primary);
}

.course-card:hover .course-title a {
  color: var(--accent-emerald);
}

.course-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.course-footer {
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .course-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.75rem;
  }
}

/* Timeline Process */
.timeline-process {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.timeline-process::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent-emerald);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline-process::before {
    left: 18px !important;
  }
}

.timeline-step {
  display: flex;
  align-items: center;
  margin-bottom: 2.75rem;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {

  .timeline-step,
  .timeline-step:nth-child(even) {
    flex-direction: row !important;
    padding-left: 48px !important;
    margin-bottom: 1.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

.timeline-content {
  width: 45%;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .timeline-content {
    width: 100% !important;
  }
}

.timeline-step:hover .timeline-content {
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-md);
}

.timeline-node {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--accent-emerald);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px var(--primary-bg), 0 4px 14px rgba(0, 200, 150, 0.4);
  z-index: 2;
}

@media (max-width: 768px) {
  .timeline-node {
    left: 18px !important;
    transform: translateX(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 0.875rem !important;
  }
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--accent-emerald);
  line-height: 1;
  margin-bottom: 0.65rem;
}

.testimonial-text {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-purple) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.author-role {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Accordion Component */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.accordion-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

.accordion-header {
  width: 100%;
  padding: 1.1rem 1.25rem;
  min-height: 48px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  box-sizing: border-box;
}

.accordion-header:hover {
  color: var(--accent-emerald);
}

.accordion-header h3 {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
  display: inline;
}

.accordion-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--secondary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--accent-emerald-soft);
  color: var(--accent-emerald);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.accordion-body {
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Gallery Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 250px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--card-bg);
  box-sizing: border-box;
  padding: 0 !important;
  margin: 0 !important;
}

.gallery-img,
.gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.gallery-item:hover .gallery-img,
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.96);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.15rem;
  width: 100%;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  min-height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--card-bg);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-emerald);
  background-color: var(--secondary-bg);
  box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: white;
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
  }
}

/* Modal Drawer for Course Details */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  box-sizing: border-box;
}

/* Course Details Modal CTA Footer Layout */
.course-modal-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.course-modal-footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.course-modal-footer-badge {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
}

.course-modal-footer-highlight {
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.95rem;
}

.course-modal-cta-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 0.75rem !important;
  }

  .modal-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.25rem 1rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .course-modal-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .course-modal-footer-info {
    text-align: center !important;
    align-items: center !important;
    width: 100% !important;
  }

  .course-modal-cta-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    white-space: nowrap !important;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary-bg);
  border: 1px solid var(--border-subtle);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: var(--accent-emerald);
  color: #FFFFFF;
}

/* Footer Grid & Bottom Bar */
.site-footer {
  background-color: var(--primary-bg);
  color: var(--text-secondary);
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: 2rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3.25rem);
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
  width: 100%;
}

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

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

.footer-title {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent-emerald);
}

/* Footer Social Media Section */
.footer-social-container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.55rem 1.25rem;
  min-height: 42px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--accent-emerald);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-sizing: border-box;
}

.footer-social-btn:hover,
.footer-social-btn:focus-visible {
  background-color: var(--accent-emerald);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 200, 150, 0.35);
  border-color: var(--accent-emerald);
  outline: none;
}

.footer-social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.footer-social-btn:hover .footer-social-icon {
  transform: scale(1.1);
}

@media (min-width: 993px) {
  .footer-grid > div:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .footer-grid > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .footer-social-container {
    grid-column: 3 / span 2;
    grid-row: 2;
    margin-top: 0;
    align-self: start;
  }
}

@media (max-width: 992px) {
  .footer-social-container {
    grid-column: 1 / -1;
    margin-top: 1.25rem;
  }
}

@media (max-width: 576px) {
  .footer-social-container {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.25rem;
  }
  .footer-social-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.6rem 0.5rem !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
  }
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  width: 100%;
  box-sizing: border-box;
}

.developer-credit {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.developer-link {
  color: var(--accent-emerald);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
  display: inline-block;
}

.developer-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #00F5B8;
  transition: width var(--transition-fast);
}

.developer-link:hover,
.developer-link:focus {
  color: #00F5B8;
  text-decoration: none;
}

.developer-link:hover::after,
.developer-link:focus::after {
  width: 100%;
}

.developer-link:focus-visible {
  outline: 2px solid var(--accent-emerald);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.25rem !important;
  }

  .footer-bottom>div {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
}

/* Mobile Category Filter Bar Horizontal Scroll Optimization (<= 768px) */
@media (max-width: 768px) {
  .category-filter-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 4px !important;
    padding-bottom: 8px !important;
    gap: 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }

  .category-filter-bar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .category-filter-bar .btn,
  .category-filter-bar button,
  .category-filter-bar .category-btn,
  .category-filter-bar .course-filter-btn,
  .category-filter-bar .gallery-filter-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.5rem 0.9rem !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
  }
}

/* ==========================================================================
   SCOPE: Redesigned Events Page Hero & Components
   Design System: Deep Navy (#0B1120 / #060A14) + Emerald (#00C896) + Purple (#7C5CFF)
   ========================================================================== */

.events-hero-section {
  position: relative;
  width: 100%;
  padding-top: clamp(6.5rem, 10vw, 8.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  background: radial-gradient(circle at 80% 25%, rgba(0, 200, 150, 0.14) 0%, rgba(124, 92, 255, 0.08) 45%, rgba(11, 17, 32, 1) 100%);
  overflow: hidden;
  box-sizing: border-box;
}

.events-hero-container {
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.25rem);
  padding-right: clamp(1rem, 4vw, 2.25rem);
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  box-sizing: border-box;
}

/* Left Content Column */
.events-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  width: 100%;
}

.events-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background-color: var(--accent-emerald-soft, rgba(0, 200, 150, 0.12));
  color: var(--accent-emerald, #00C896);
  border: 1px solid rgba(0, 200, 150, 0.3);
  border-radius: var(--radius-full, 9999px);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.events-hero-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-primary, #F8FAFC);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.events-hero-accent {
  background: linear-gradient(135deg, #00C896 0%, #7C5CFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.events-hero-description {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(0.975rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-secondary, #CBD5E1);
  margin-bottom: 2rem;
  max-width: 540px;
}

.events-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.events-hero-btn-primary {
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md, 14px);
  font-weight: 700;
  font-size: 0.975rem;
}

.events-hero-btn-secondary {
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md, 14px);
  font-weight: 600;
  font-size: 0.975rem;
}

/* Feature Row (Below CTAs) */
.events-hero-feature-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.events-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 600;
}

.events-feature-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
}

.events-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 200, 150, 0.12);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 200, 150, 0.25);
}

/* Right Column: Hero Collage Container */
.events-hero-media-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 1rem 0;
}

.events-hero-collage-frame {
  position: relative;
  width: 100%;
  max-width: 580px;
  padding: 12px;
  border-radius: 32px;
  background: rgba(19, 29, 54, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 200, 150, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 35px rgba(0, 200, 150, 0.15);
}

.events-hero-img-card {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  display: block;
}

.events-hero-single-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Floating Hero Card */
.events-floating-card {
  position: absolute;
  bottom: -15px;
  right: 15px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 200, 150, 0.35);
  border-radius: 18px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 200, 150, 0.15);
  z-index: 10;
  animation: floatBadge 4s ease-in-out infinite;
}

.events-floating-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 200, 150, 0.12);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 200, 150, 0.25);
}

.events-floating-card-title {
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
  font-family: var(--font-heading);
}

.events-floating-card-sub {
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Horizontal Statistics Card (Bottom of Hero) */
.events-hero-stats-wrapper {
  width: 100%;
  max-width: 1300px;
  margin: clamp(2rem, 4vw, 3rem) auto 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
  box-sizing: border-box;
}

.events-hero-stats-card {
  width: 100%;
  padding: 1.75rem 2rem;
  background: rgba(19, 29, 54, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 200, 150, 0.25);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
}

.events-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  padding: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.events-stat-item > div:not(.events-stat-icon) {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.events-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(0, 200, 150, 0.12);
  border: 1px solid rgba(0, 200, 150, 0.25);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  margin-bottom: 0.85rem;
}

.events-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 800;
  color: var(--accent-emerald);
  line-height: 1.1;
  margin-bottom: 0.35rem;
  text-align: center;
}

.events-stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

/* Category Filter Bar */
.events-category-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.events-filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full, 9999px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.events-filter-btn:hover,
.events-filter-btn.active {
  background: var(--accent-emerald-soft);
  color: var(--accent-emerald);
  border-color: rgba(0, 200, 150, 0.4);
  box-shadow: 0 4px 14px rgba(0, 200, 150, 0.2);
}

/* Responsive Media Queries for Events Hero */
@media (max-width: 900px) {
  .events-hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .events-hero-content {
    order: 1;
  }

  .events-hero-media-wrapper {
    order: 2;
    max-width: 550px;
    margin: 0 auto;
  }

  .events-hero-feature-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .events-feature-divider {
    display: none;
  }

  .events-hero-stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.25rem;
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .events-hero-section {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
  }

  .events-hero-title {
    font-size: 1.85rem;
  }

  .events-hero-description {
    font-size: 0.925rem;
    margin-bottom: 1.5rem;
  }

  .events-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .events-hero-btn-primary,
  .events-hero-btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .events-collage-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 110px;
    height: auto;
  }

  .events-collage-stacked {
    flex-direction: row;
  }

  .events-collage-sub {
    width: calc(50% - 6px);
    height: 100%;
  }

  .events-floating-card {
    bottom: -12px;
    right: 5px;
    padding: 0.65rem 0.95rem;
    border-radius: 14px;
  }

  .events-floating-card-icon {
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
  }

  .events-floating-card-title {
    font-size: 0.8rem;
  }

  .events-floating-card-sub {
    font-size: 0.725rem;
  }

  .events-hero-stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
    padding: 1.25rem 0.85rem;
  }

  .events-stat-item {
    padding: 0.25rem 0;
  }

  .events-stat-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    border-radius: 12px;
  }

  .events-stat-num {
    font-size: 1.45rem;
    margin-bottom: 0.25rem;
  }

  .events-stat-label {
    font-size: 0.8rem;
  }
}


/* Country Cards System */
.country-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.country-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-purple));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.country-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 200, 150, 0.4);
  box-shadow: 0 16px 36px rgba(0, 200, 150, 0.18);
}

.country-card:hover::before {
  opacity: 1;
}

.country-flag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
  min-height: 44px;
  box-sizing: border-box;
}

.country-flag-img {
  width: 32px;
  height: 22px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: block;
}

.country-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.25rem;
  margin-bottom: 0.1rem;
}

.country-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.country-programs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.country-program-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--accent-emerald-soft);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 200, 150, 0.2);
}

/* Feature Icon Cards (International Guidance Services) */
.intl-feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}

.intl-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.2);
}

.intl-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-emerald-soft);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.intl-feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.intl-feature-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Program Cards (MBBS, MBA, UG, PG) */
.intl-program-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.intl-program-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-emerald);
  box-shadow: 0 16px 40px rgba(0, 200, 150, 0.22);
}

.intl-program-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.intl-program-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 200, 150, 0.2), rgba(124, 92, 255, 0.2));
  border: 1px solid rgba(0, 200, 150, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

/* International Vector Hero Graphics Illustration */
.intl-hero-illustration {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.intl-hero-center-card {
  background: rgba(27, 38, 69, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 200, 150, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 200, 150, 0.2);
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 460px;
}

.intl-hero-img-box {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--card-bg);
}

.intl-hero-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

.intl-floating-badge {
  position: absolute;
  background: rgba(19, 29, 54, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.intl-floating-badge.badge-top-right {
  top: -15px;
  right: -10px;
  border-color: rgba(0, 200, 150, 0.4);
}

.intl-floating-badge.badge-bottom-left {
  bottom: -20px;
  left: -10px;
  animation-delay: 2s;
  border-color: rgba(124, 92, 255, 0.4);
}

@media (max-width: 640px) {
  .intl-floating-badge.badge-top-right {
    top: -25px;
    right: 0px;
  }

  .intl-floating-badge.badge-bottom-left {
    bottom: -30px;
    left: 0px;
  }
}

/* Admission Process Timeline Styling */
.process-timeline-intl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 2rem;
}

@media (max-width: 1100px) {
  .process-timeline-intl {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .process-timeline-intl {
    grid-template-columns: 1fr;
  }
}

.timeline-step-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-step-card:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 200, 150, 0.2);
}

.timeline-step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-emerald-soft);
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 200, 150, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-heading);
}

/* Full Width International CTA Section */
.intl-cta-banner {
  background: linear-gradient(135deg, #131D36 0%, #1B2645 50%, #0B1120 100%);
  border: 1px solid rgba(0, 200, 150, 0.25);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intl-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 200, 150, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

/* ==========================================================================
   Mobile Vertical Stacked Layout (≤ 768px)
   Applies to Destination Countries & Available Programs
   ========================================================================== */
@media (max-width: 768px) {

  .countries-snap-carousel,
  .programs-snap-carousel {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    scroll-snap-type: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 22px !important;
    box-sizing: border-box !important;
  }

  .countries-snap-carousel .country-card,
  .programs-snap-carousel .intl-program-card {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: none !important;
    grid-column: span 1 !important;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .countries-snap-carousel .country-card-title,
  .countries-snap-carousel .country-card-desc,
  .programs-snap-carousel h3,
  .programs-snap-carousel p {
    white-space: normal !important;
    word-break: break-word !important;
  }

  .programs-snap-carousel .intl-program-card .btn {
    margin-top: 1.25rem !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   SCOPE: Redesigned International Admissions Hero Section
   ========================================================================== */

.international-admissions-hero {
  position: relative;
  width: 100%;
  padding-top: clamp(6.5rem, 10vw, 8.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
  background: radial-gradient(circle at 75% 30%, rgba(0, 200, 150, 0.12) 0%, rgba(124, 92, 255, 0.08) 45%, rgba(11, 17, 32, 1) 100%);
  overflow: hidden;
  box-sizing: border-box;
}

.intl-hero-container {
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.25rem);
  padding-right: clamp(1rem, 4vw, 2.25rem);
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  box-sizing: border-box;
  min-height: clamp(550px, 60vh, 680px);
}

/* Left Content Column */
.intl-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  width: 100%;
}

.intl-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background-color: var(--accent-emerald-soft, rgba(0, 200, 150, 0.12));
  color: var(--accent-emerald, #00C896);
  border: 1px solid rgba(0, 200, 150, 0.3);
  border-radius: var(--radius-full, 9999px);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.intl-hero-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-primary, #F8FAFC);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.intl-hero-accent {
  background: linear-gradient(135deg, #00C896 0%, #7C5CFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.intl-hero-description {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(0.975rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-secondary, #CBD5E1);
  margin-bottom: 2rem;
  max-width: 540px;
}

/* CTA Buttons Row */
.intl-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.intl-hero-btn-primary {
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md, 14px);
  font-weight: 700;
  font-size: 0.975rem;
}

.intl-hero-btn-secondary {
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md, 14px);
  font-weight: 600;
  font-size: 0.975rem;
}

/* Subtle Divider */
.intl-hero-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%);
  margin: 2rem 0 1.75rem 0;
}

/* Trust Indicators Bar */
.intl-hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  width: 100%;
}

.intl-trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--text-secondary, #CBD5E1);
  font-weight: 500;
}

.intl-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-emerald-soft, rgba(0, 200, 150, 0.15));
  color: var(--accent-emerald, #00C896);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Right Column: Hero Visual Container & Premium Frame */
.intl-hero-media-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 1.25rem 0;
}

.intl-hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 580px;
}

/* Premium Image Card Container Frame */
.intl-hero-image-card {
  width: 100%;
  padding: 10px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 150, 0.28);
  background: rgba(19, 29, 54, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 35px rgba(0, 200, 150, 0.14);
  transition: transform var(--transition-normal, 0.3s ease), box-shadow var(--transition-normal, 0.3s ease);
}

.intl-hero-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 45px rgba(0, 200, 150, 0.22);
}

.intl-hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 24px;
}

/* Floating UI Badges */
.intl-floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.15rem;
  background: rgba(19, 29, 54, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  z-index: 10;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-normal, 0.3s ease);
  pointer-events: auto;
}

.badge-top-right {
  top: -18px;
  right: -15px;
  border: 1px solid rgba(0, 200, 150, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 200, 150, 0.15);
  animation: floatBadge 4s ease-in-out infinite;
}

.badge-bottom-left {
  bottom: -18px;
  left: -15px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(124, 92, 255, 0.18);
  animation: floatBadge 4s ease-in-out infinite 2s;
}

.badge-icon {
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.badge-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
}

.badge-title-teal {
  color: var(--accent-emerald, #00C896);
}

.badge-title-purple {
  color: var(--accent-purple, #7C5CFF);
}

.badge-subtitle {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.75rem;
  color: var(--text-muted, #94A3B8);
  font-weight: 500;
  white-space: nowrap;
}

/* Floating Animation */
@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  .badge-top-right,
  .badge-bottom-left {
    animation: none !important;
  }
}

/* Responsive Breakpoints */
@media (min-width: 901px) and (max-width: 1200px) {
  .intl-hero-container {
    grid-template-columns: 48% 52%;
    gap: 1.75rem;
    min-height: auto;
  }

  .intl-hero-title {
    font-size: 2.2rem;
  }

  .intl-hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .intl-hero-actions {
    gap: 0.75rem;
  }

  .intl-hero-btn-primary,
  .intl-hero-btn-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .badge-top-right {
    top: -12px;
    right: -5px;
  }

  .badge-bottom-left {
    bottom: -12px;
    left: -5px;
  }
}

@media (max-width: 900px) {
  .intl-hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .intl-hero-content {
    order: 1;
  }

  .intl-hero-media-wrapper {
    order: 2;
    max-width: 550px;
    margin: 0 auto;
    padding: 1.25rem 0;
  }

  .badge-top-right {
    top: -12px;
    right: 0px;
  }

  .badge-bottom-left {
    bottom: -12px;
    left: 0px;
  }
}

@media (max-width: 576px) {
  .international-admissions-hero {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
  }

  .intl-hero-container {
    gap: 2rem;
  }

  .intl-hero-eyebrow {
    font-size: 0.775rem;
    padding: 0.4rem 0.95rem;
  }

  .intl-hero-title {
    font-size: 1.85rem;
    margin-bottom: 1rem;
  }

  .intl-hero-description {
    font-size: 0.925rem;
    margin-bottom: 1.5rem;
  }

  .intl-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .intl-hero-btn-primary,
  .intl-hero-btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .intl-hero-divider {
    margin: 1.5rem 0 1.25rem 0;
  }

  .intl-hero-trust-bar {
    flex-direction: column;
    gap: 0.65rem;
  }

  .intl-trust-item {
    font-size: 0.875rem;
  }

  .intl-hero-media-wrapper {
    max-width: 100%;
    padding: 0.75rem 0;
  }

  .intl-hero-image-card {
    padding: 8px;
    border-radius: 26px;
  }

  .intl-hero-img {
    border-radius: 20px;
  }

  .intl-floating-badge {
    padding: 0.55rem 0.85rem;
    gap: 0.55rem;
    border-radius: 12px;
  }

  .badge-icon {
    font-size: 1.15rem;
  }

  .badge-title {
    font-size: 0.775rem;
  }

  .badge-subtitle {
    font-size: 0.675rem;
  }

  .badge-top-right {
    top: -10px;
    right: 4px;
  }

  .badge-bottom-left {
    bottom: -10px;
    left: 4px;
  }
}

@media (max-width: 380px) {
  .intl-floating-badge {
    padding: 0.45rem 0.65rem;
    gap: 0.4rem;
  }

  .badge-title {
    font-size: 0.725rem;
  }

  .badge-subtitle {
    font-size: 0.625rem;
  }

  .badge-top-right {
    top: -8px;
    right: 2px;
  }

  .badge-bottom-left {
    bottom: -8px;
    left: 2px;
  }
}