/* =====================================================
   BRIGAMA International Business Case Competition 2026
   Design System & Global Styles
   ===================================================== */

/* ── CSS Variables ── */
:root {
  --blue-900: #052c61;
  /* Even darker for depth */
  /* Deeper Nusantara Blue - Provided #0857C3 */
  --blue-800: #0857C3;
  /* Medium Blue - Provided #307FE2 */
  --blue-700: #307FE2;
  --blue-600: #4a8df0;
  /* Light Blue - Provided #71C5E8 */
  --blue-500: #71C5E8;
  --blue-400: #9cd6f0;
  --blue-100: #e3f2fd;
  --blue-50: #f0f7ff;

  --gold-500: #e5a020;
  --gold-400: #f0b830;
  --gold-300: #f8cc60;

  --gray-900: #0f1117;
  --gray-800: #1a1e2e;
  --gray-700: #2d3348;
  --gray-600: #4a5368;
  --gray-400: #8892a4;
  --gray-300: #c4cad4;
  --gray-200: #D2D2D2;
  /* Exact Grey from User Spec */
  --gray-100: #F2F2F2;
  /* Exact Light Grey from User Spec */
  --gray-50: #f9fafc;
  --white: #FFFFFF;
  /* Exact White from User Spec */

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0, 48, 135, 0.08), 0 1px 2px rgba(0, 48, 135, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 48, 135, 0.12), 0 2px 6px rgba(0, 48, 135, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 48, 135, 0.16), 0 4px 12px rgba(0, 48, 135, 0.10);
  --shadow-xl: 0 24px 64px rgba(0, 48, 135, 0.20);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ── Content scaling — makes everything ~1.25x larger by default (desktop only) ── */
@media (min-width: 1024px) {
  body {
    zoom: 1.25;
  }

  /* Keep navbar at original size (counter-zoom) */
  .navbar {
    zoom: 0.8;
    /* 1/1.25 = 0.8 */
  }
}

/* ── Container ── */
.container {
  width: 100%;
  padding: 0 clamp(20px, 5vw, 80px);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 12px;
  /* Slightly rounder */
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

/* 3D Figma Navbar Buttons — Glassified */
.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 87, 195, 0.3);
  color: var(--blue-800);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding: 9px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-nav-outline:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 87, 195, 0.2);
  color: white;
  background: rgba(8, 87, 195, 0.85);
  /* Glassy Blue */
  border-radius: 10px;
  padding: 9px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(8, 87, 195, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-nav-primary:hover {
  background: var(--blue-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 87, 195, 0.3);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: rgba(8, 87, 195, 0.85);
  /* Glassy Blue */
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: var(--blue-800);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(8, 87, 195, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, rgba(229, 160, 32, 0.8), rgba(240, 184, 48, 0.85));
  color: #000;
  /* Contrast */
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 10px 30px rgba(229, 160, 32, 0.4);
}

.btn-ghost-white {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 28px;
  font-size: 0.95rem;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 13px 32px;
  font-size: 1rem;
}

/* ── Utility Classes ── */
.text-center {
  text-align: center !important;
}

.m-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── Section Shared ── */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 540px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-sub {
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 48, 135, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
  transition: height var(--transition);
}

.navbar.scrolled .navbar-inner {
  height: 56px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 992px) {
  .logo-image {
    height: 48px;
  }
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-800);
  background: var(--blue-50);
}

.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-trigger svg {
  transition: transform var(--transition);
}

.nav-dropdown.open .dropdown-trigger svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--blue-50);
  color: var(--blue-800);
}

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-600);
  transition: var(--transition);
}

.dropdown-item:hover .dropdown-item-icon {
  background: var(--blue-100);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  background: rgba(8, 87, 195, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(8, 87, 195, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(8, 87, 195, 0.2);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--blue-800);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-link {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}

.mobile-nav-link:hover {
  background: var(--blue-50);
  color: var(--blue-800);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 8px 0;
}

.mobile-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* ══════════════════════════════════════════
   HERO SLIDESHOW BANNER
══════════════════════════════════════════ */
.hero-slideshow {
  position: relative;
  width: 100%;
  /* Compensate for 1.25x zoom to fill full height (100 / 1.25 = 80) */
  /* Added a 0.5vh buffer to prevent sub-pixel white gaps */
  min-height: calc(80.5vh - 55px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ── Slide Layer ── */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

/* ── Dark gradient overlay for text readability ── */
.hero-slide-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: calc(80.5vh - 55px);
  display: flex;
  align-items: center;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0.15) 100%);
  padding: clamp(30px, 6vh, 80px) 0;
}

/* ── Content ── */
.hero-slide-content {
  max-width: 640px;
}

.hero-title-wrapper {
  margin-bottom: 16px;
  max-width: 800px;
}

.hero-logo-img {
  width: 100%;
  /* Further reduced logo for a cleaner look on high-res monitors */
  max-width: clamp(240px, 35vw, 480px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0, 48, 135, 0.25));
  image-rendering: -webkit-optimize-contrast;
}

/* Base title class for backward compatibility or simple spacing if needed */
.hero-title {
  display: none;
}

.hero-slideshow .hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.hero-slideshow .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* White outline button for hero slideshow */
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ── Arrow Navigation ── */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-slideshow:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow--prev {
  left: 8px;
}

.hero-arrow--next {
  right: 8px;
}

/* ── Dot Navigation ── */
.hero-dots {
  position: absolute;
  bottom: clamp(24px, 4vh, 48px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.3);
}

.hero-dot.active {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--white);
  width: 32px;
  border-radius: 100px;
}

/* ── Slide-in animation for content ── */
@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide-content {
  animation: heroContentIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Old hero styles removed */

/* ══════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════ */
.about {
  padding: clamp(48px, 7vw, 100px) 0;
  background:
    radial-gradient(at 0% 100%, rgba(113, 197, 232, 0.18) 0px, transparent 55%),
    radial-gradient(at 100% 0%, rgba(48, 127, 226, 0.12) 0px, transparent 55%),
    linear-gradient(150deg, #f0f7ff 0%, #ffffff 60%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

/* ── About Label ── */
.about-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-800);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

/* ── About Text (Left) ── */
.about-title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.15;
  margin-bottom: 20px;
}

.about-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-desc:last-of-type {
  margin-bottom: 32px;
}

/* ── About Actions ── */
.about-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: var(--transition);
}

.about-arrow-link:hover {
  color: var(--blue-800);
}

/* ── About Bento Grid (Right) ── */
.about-bento {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "tl center tr"
    "bl center br";
  gap: 16px;
  min-height: 280px;
  position: relative;
}

.about-bento::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(144, 202, 249, 0.35) 0%, rgba(144, 202, 249, 0.1) 40%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

/* Float Animation for Hologram Effect */
@keyframes bentoFloat {
  0% { transform: translateY(0px) rotateX(0) rotateY(0); }
  50% { transform: translateY(-10px) rotateX(1deg) rotateY(-1deg); }
  100% { transform: translateY(0px) rotateX(0) rotateY(0); }
}

@keyframes blobMorph {
  0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; transform: translate(0, 0) rotate(0deg); }
  33% { border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%; transform: translate(25px, -15px) rotate(10deg); }
  66% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; transform: translate(-20px, 20px) rotate(-10deg); }
}

@keyframes liquidShine {
  0% { transform: translateX(-200%) translateY(-200%) rotate(45deg); opacity: 0; }
  20% { opacity: 0.6; }
  50% { opacity: 0.6; }
  80% { opacity: 0; }
  100% { transform: translateX(200%) translateY(200%) rotate(45deg); opacity: 0; }
}

@keyframes iridescentShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.about-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(240,248,255,0.4) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-top-color: rgba(255, 255, 255, 0.8);
  border-left-color: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 10px 40px rgba(0, 48, 135, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  animation: bentoFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(8, 87, 195, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(144, 202, 249, 0.2) 0%, transparent 40%);
  filter: blur(40px);
  z-index: -1;
  animation: blobMorph 15s linear infinite;
  pointer-events: none;
}

.about-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 0, 255, 0.03) 0%, 
    rgba(0, 255, 255, 0.03) 25%, 
    rgba(255, 255, 0, 0.03) 50%, 
    rgba(0, 255, 0, 0.03) 75%, 
    rgba(255, 0, 255, 0.03) 100%
  );
  background-size: 400% 400%;
  mix-blend-mode: overlay;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: iridescentShimmer 10s linear infinite;
}

.about-card:hover::after {
  opacity: 1;
}

/* Stagger floating animations */
.about-card:nth-child(1) { animation-delay: 0s; }
.about-card:nth-child(2) { animation-delay: -1.5s; }
.about-card:nth-child(3) { animation-delay: -3s; }
.about-card:nth-child(4) { animation-delay: -4.5s; }
.about-card:nth-child(5) { animation-delay: -2s; }

.about-card:hover {
  box-shadow: 0 20px 40px rgba(0, 48, 135, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-8px) scale(1.03) perspective(1000px) rotateX(2deg) rotateY(-2deg);
  z-index: 10;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(245,250,255,0.9) 100%);
}

.about-card-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 5;
  transform: translateX(-200%) translateY(-200%) rotate(45deg);
  pointer-events: none;
  animation: liquidShine 8s infinite cubic-bezier(0.43, 0.13, 0.23, 0.96);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-50) 0%, #ffffff 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 48, 135, 0.05);
  transform: translateZ(40px);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.3;
  transform: translateZ(25px);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-card-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  text-align: center;
  transform: translateZ(15px);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-card--featured {
  background: linear-gradient(145deg, rgba(222, 238, 255, 0.7) 0%, rgba(200, 228, 255, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 24px;
  align-self: center;
  box-shadow: 0 15px 50px rgba(8, 87, 195, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.about-card--featured::after {
  background: linear-gradient(135deg, 
    rgba(255, 0, 255, 0.08) 0%, 
    rgba(0, 255, 255, 0.08) 25%, 
    rgba(255, 255, 0, 0.08) 50%
  );
  opacity: 0.4;
  filter: hue-rotate(90deg);
}

.about-card--featured .about-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue-100) 0%, #ffffff 100%);
  border-radius: 18px;
  color: var(--blue-800);
  margin-bottom: 8px;
  box-shadow: 0 6px 15px rgba(0, 48, 135, 0.08);
  transform: translateZ(60px);
}

.about-card--featured .about-card-title {
  font-size: 1.25rem;
  transform: translateZ(35px);
}

.about-card--featured .about-card-desc {
  font-size: 0.9rem;
  color: var(--blue-800);
  transform: translateZ(20px);
}


/* ══════════════════════════════════════════
   CATEGORIES SECTION
══════════════════════════════════════════ */
.categories {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 50%, var(--blue-500) 100%);
  position: relative;
  overflow: hidden;
}

/* Background patterns (circles/squares) like in reference 2 could be added here */
.categories::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
  pointer-events: none;
}

.categories .section-title,
.categories .section-sub {
  color: #ffffff;
}

.categories .section-label {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 480px));
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
}

  /* ── Card base (Glassmorphism) ── */
.cat-card {
  /* Cleaner Transparent Glass Base (Removed Sharp Shard) */
  background: rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);

  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top-color: rgba(255, 255, 255, 0.45);
  border-left-color: rgba(255, 255, 255, 0.35);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: auto;
  position: relative;
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
  overflow: hidden; /* Important for containing animations */
  isolation: isolate; /* Stabilize stacking context */
  box-shadow: 0 25px 50px -15px rgba(0, 48, 135, 0.2), 
              inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.cat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.05) 0%, 
    rgba(255, 255, 255, 0) 50%, 
    rgba(255, 255, 255, 0.05) 100%
  );
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.cat-card:hover {
  transform: translateY(-8px) perspective(1000px) rotateX(2deg) rotateY(-1deg);
  box-shadow: 0 35px 70px -15px rgba(0, 48, 135, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.cat-card:hover::after {
  opacity: 1;
}

.cat-card-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 45%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 5;
  transform: translateX(-200%) translateY(-200%) rotate(45deg);
  pointer-events: none;
  animation: liquidShine 12s infinite cubic-bezier(0.43, 0.13, 0.23, 0.96);
}

.cat-card__content {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  position: relative;
  z-index: 10;
  transform: translateZ(30px);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cat-card:hover .cat-card__content {
  transform: translateZ(60px);
}

.cat-card__title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  transform: translateZ(20px);
}

.cat-card__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  text-align: center;
  max-width: 400px;
  transform: translateZ(10px);
}

/* ── CTA Button ── */
.cat-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* alignment removed since parent is column/center */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.cat-card__btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px) translateX(4px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}


/* Illustration and pop styles removed because images were removed from HTML */


/* ══════════════════════════════════════════
   RULES & REGISTRATION SECTION
══════════════════════════════════════════ */
.rules {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(to bottom, #ffffff, #f0f7ff);
  position: relative;
  overflow: hidden;
}

/* Background decoration for glass visibility */
.rules::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(48, 127, 226, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.rules-banner {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 15%, transparent 15.5%),
    linear-gradient(135deg, var(--blue-800, #0857C3) 0%, var(--blue-700, #307FE2) 100%);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);

  /* Unified Shining Borders */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.6);
  border-left-color: rgba(255, 255, 255, 0.5);

  border-radius: 28px;
  padding: 56px 60px;
  margin-bottom: 40px;
  color: #fff;
  position: relative;
  overflow: visible;
  box-shadow:
    0 20px 50px rgba(8, 87, 195, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.rules-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  z-index: 5;
  filter: blur(1.5px);
  pointer-events: none;
}

/* Secondary subtle glint */
.rules-banner::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.rules-banner__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.rules-banner__sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  max-width: 440px;
  line-height: 1.6;
}

.rules-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rules-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.rules-banner__btn--outline {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rules-banner__btn--outline:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.rules-banner__mockup {
  position: absolute;
  right: 60px;
  bottom: -30px;
  height: 135%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(0, 48, 135, 0.45));
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom center;
}

.rules-banner:hover .rules-banner__mockup {
  transform: translateY(0px) scale(1.00);
}

/* Responsive for Mockup */
@media (max-width: 1200px) {
  .rules-banner__mockup {
    height: 110%;
    right: 30px;
  }
}

@media (max-width: 991px) {
  .rules-banner {
    overflow: hidden;
    /* Clamp it on smaller screens */
  }

  .rules-banner__mockup {
    height: 100%;
    right: -20px;
    opacity: 0.4;
    z-index: 1;
  }

  .rules-banner__text {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 768px) {
  .rules-banner__mockup {
    display: none;
  }
}

/* ── Info Cards ── */
.rules-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rules-info-card {
  /* Unified Shining Categories Style */
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.08) 15%, transparent 15.5%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 30%),
    radial-gradient(ellipse at 50% -20%, rgba(255, 255, 255, 0.12) 0%, transparent 80%),
    rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(35px) saturate(160%);
  -webkit-backdrop-filter: blur(35px) saturate(160%);

  /* Variable Opacity Border */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-top-color: rgba(255, 255, 255, 0.6);
  border-left-color: rgba(255, 255, 255, 0.5);

  border-radius: 20px;
  padding: 40px;
  /* Restored padding without header */
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow:
    0 15px 45px -15px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  overflow: visible;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Top Shining Glow */
.rules-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  z-index: 5;
  filter: blur(1.5px);
  pointer-events: none;
}


.rules-info-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 30px 60px rgba(8, 87, 195, 0.12);
}

.rules-info-card__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-800);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.rules-info-card__list {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  position: relative;
  z-index: 2;
}

.rules-info-card__list li {
  font-size: 0.9rem;
  color: var(--blue-800);
  line-height: 1.6;
}

.rules-info-card__list li strong {
  font-weight: 700;
  color: var(--blue-800);
}


/* ══════════════════════════════════════════
   GALLERY SECTION — Mosaic Collage
══════════════════════════════════════════ */
.gallery {
  padding: clamp(48px, 7vw, 100px) 0;
  background:
    radial-gradient(at 100% 0%, rgba(113, 197, 232, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(48, 127, 226, 0.05) 0px, transparent 50%),
    #ffffff;
  overflow: hidden;
}

/* Bold centered title */
.gallery-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--blue-800);
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

/* Mosaic grid — 4 columns, 3 rows */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr 1fr;
  grid-template-rows: 200px 200px 200px;
  gap: 14px;
  grid-template-areas:
    "a a b b"
    "c c d e"
    "c c d f";
}

.gallery-mosaic-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-mosaic-item:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 12px 32px rgba(0, 48, 135, 0.18);
}

/* Grid area assignments */
.gallery-mosaic--a {
  grid-area: a;
}

.gallery-mosaic--b {
  grid-area: b;
}

.gallery-mosaic--c {
  grid-area: c;
}

.gallery-mosaic--d {
  grid-area: d;
}

.gallery-mosaic--e {
  grid-area: e;
}

.gallery-mosaic--f {
  grid-area: f;
}

/* Items that will hold images */
.gallery-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-mosaic-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.9) contrast(1.1);
}

.gallery-mosaic-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.gallery-mosaic-item:hover::after {
  opacity: 1;
}

/* Placeholder styling (gradient backgrounds with icons) */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

.gallery-placeholder svg {
  opacity: 0.5;
}

/* ══════════════════════════════════════════
   TIMELINE SECTION
══════════════════════════════════════════ */
.timeline {
  padding: clamp(48px, 7vw, 100px) 0;
  background: var(--white);
}

.timeline-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-400), var(--blue-100));
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot-inner {
  width: 14px;
  height: 14px;
  background: var(--white);
  border: 3px solid var(--blue-700);
  margin-top: 4px;
  z-index: 1;
  transition: var(--transition);
}

.timeline-item.active .timeline-dot-inner {
  background: var(--blue-800);
  border-color: var(--blue-800);
  box-shadow: 0 0 0 4px var(--blue-100);
}

.timeline-content {
  flex: 1;
  padding-bottom: 4px;
}

.timeline-phase {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-600);
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.timeline-right {
  position: sticky;
  top: 100px;
}

.timeline-cta-card {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  text-align: center;
}

.timeline-cta-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.timeline-cta-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  line-height: 1.7;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 8px;
}

.countdown-val {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 4px;
}

.countdown-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

/* FAQ Styles Consolidated below (Lines 2900+) */

/* ══════════════════════════════════════════
   TIMELINE ACTIVITIES SECTION (NEW)
══════════════════════════════════════════ */
.timeline-activities {
  padding: clamp(60px, 8vw, 100px) 0;
  /* Mesh Gradient Background for Glass Realism */
  background:
    radial-gradient(at 0% 0%, rgba(113, 197, 232, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(48, 127, 226, 0.1) 0px, transparent 50%),
    linear-gradient(to bottom, #f8fbff, #eef5ff);
  overflow: hidden;
  position: relative;
}

/* Background "glow" blobs for better glass perception */
.timeline-activities::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(113, 197, 232, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.ta-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(32px, 5vw, 56px);
  gap: 20px;
}

.ta-header-wrapper .section-header {
  margin-bottom: 0;
  max-width: 700px;
}

.ta-nav-controls {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.ta-slider-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.ta-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.ta-nav-btn:hover {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
  box-shadow: 0 8px 24px rgba(8, 87, 195, 0.2);
  transform: scale(1.08);
}

/* On mobile devices, hide buttons to rely purely on intuitive finger swipe */
@media (max-width: 768px) {
  .ta-header-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .ta-nav-controls {
    display: none;
  }
}

.ta-slider-wrapper {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Add padding-top so hover transform doesn't clip top border */
  padding-top: 16px;
  padding-bottom: 24px;

  /* Hide scrollbar completely to rely purely on buttons and swipe */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ta-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.ta-slider {
  display: flex;
  gap: 24px;
  /* Add padding to the start/end so it aligns with container but allows overscroll on mobile */
  padding: 0 4px;
}

.ta-card {
  flex: 0 0 400px;
  min-height: 440px;
  scroll-snap-align: start;

  /* Unified Shining Categories Style */
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.08) 15%, transparent 15.5%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 30%),
    radial-gradient(ellipse at 50% -20%, rgba(255, 255, 255, 0.12) 0%, transparent 80%),
    rgba(255, 255, 255, 0.03);

  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-top-color: rgba(255, 255, 255, 0.5);
  border-left-color: rgba(255, 255, 255, 0.4);

  border-radius: 28px;
  padding: 44px 36px;
  position: relative;
  overflow: visible;
  /* To allow glow blur to bleed if needed */
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow:
    0 15px 45px -15px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.ta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  z-index: 5;
  filter: blur(1.5px);
  pointer-events: none;
}

.ta-card:hover {
  transform: translateY(-12px) scale(1.02);
  background-color: rgba(255, 255, 255, 0.06);
  border-top-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 25px 60px -15px rgba(8, 87, 195, 0.15);
}

.ta-card__time {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-800);
  /* Official Dark Blue */
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.ta-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-700);
  /* Official Medium Blue */
  margin-bottom: 16px;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}

.ta-card__desc {
  font-size: 0.95rem;
  color: #0857C3;
  opacity: 0.8;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* ── Card Bullet List ── */
.ta-card__list {
  margin-top: 16px;
  padding-left: 20px;
  color: #0857C3;
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
  list-style-type: disc;
}

.ta-card__list li {
  margin-bottom: 8px;
  margin-left: 8px;
  /* Memberi sedikit jarak agar peluru tidak mepet */
}

.ta-card__list li:last-child {
  margin-bottom: 0;
}

/* ── Timeline Mobile Responsiveness ── */
@media (max-width: 768px) {
  .ta-card {
    flex: 0 0 280px;
    width: 280px;
    max-width: 85vw;
    padding: 28px 22px;
    min-height: auto;
  }

  .ta-card__time {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .ta-card__title {
    font-size: 1.1rem;
  }

  .ta-card__desc,
  .ta-card__list {
    font-size: 0.85rem;
  }

  .ta-card__list {
    padding-left: 16px;
  }
}

/* ══════════════════════════════════════════
   CONTACT — Dark Split Layout
══════════════════════════════════════════ */
.contact-split {
  padding: 0;
  overflow: hidden;
}

.contact-split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

/* ── Left: Dark Blue Info Panel ── */
.contact-split__info {
  background: linear-gradient(160deg, rgba(8, 87, 195, 0.85) 0%, rgba(48, 127, 226, 0.9) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-split__info::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-split__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-100);
  border: 1px solid rgba(214, 232, 253, 0.4);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  width: fit-content;
}

.contact-split__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}

.contact-split__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 420px;
}

/* Contact Method Cards */
.contact-split__methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.contact-split__method {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all var(--transition);
}

.contact-split__method:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.contact-split__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-100);
}

.contact-split__method h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact-split__method a,
.contact-split__method p {
  font-size: 0.95rem;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
  line-height: 1.4;
}

.contact-split__method a:hover {
  color: var(--blue-100);
}

/* Social Media */
.contact-split__socials {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

.contact-split__socials span {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-split__social-icons {
  display: flex;
  gap: 10px;
}

.contact-split__social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}

.contact-split__social-icons a:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Right: White Form Panel ── */
.contact-split__form-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-split__form-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 8px;
}

.contact-split__form-sub {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Form Styling */
.contact-split__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form__group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-800);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-form__group input,
.contact-form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--blue-900);
  background: var(--gray-50);
  transition: all var(--transition);
  outline: none;
  resize: vertical;
}

.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
  color: var(--gray-400);
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(8, 87, 195, 0.08);
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(8, 87, 195, 0.85);
  /* Glassy Blue */
  color: var(--white);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 4px;
}

.contact-form__submit:hover {
  background: var(--blue-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 87, 195, 0.3);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-split__inner {
    grid-template-columns: 1fr;
  }

  .contact-split__info {
    padding: 48px 24px;
  }

  .contact-split__form-panel {
    padding: 48px 24px;
  }
}

/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
.cta {
  padding: clamp(48px, 7vw, 100px) 0;
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: rgba(8, 87, 195, 0.9);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 64px 0 32px;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 260px;
}

.footer-logo {
  display: block;
  /* Change from flex so image can dictate width */
  margin-bottom: 24px;
}

.footer-logo .logo-image {
  height: auto;
  width: 100%;
  max-width: 180px;
  /* Limit max width to keep it sensible, but large enough to align */
  object-fit: contain;
}



.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  margin-bottom: 10px;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--blue-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.825rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="100"] {
  transition-delay: 0.1s;
}

[data-delay="200"] {
  transition-delay: 0.2s;
}

[data-delay="300"] {
  transition-delay: 0.3s;
}

[data-delay="400"] {
  transition-delay: 0.4s;
}

[data-delay="500"] {
  transition-delay: 0.5s;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* ── 1280px: Medium laptops, 1200px-1280px viewports ── */
@media (max-width: 1280px) {
  .hero::after {
    width: 42%;
  }

  .hero-img-card {
    width: 240px;
    height: 340px;
  }

  .hero-img-card-back {
    width: 150px;
    height: 110px;
    left: calc(40px + 160px);
  }

  .section-header {
    margin-bottom: 40px;
  }

  .about-bento {
    min-height: 340px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, minmax(260px, 500px));
    gap: 20px;
  }

  .cat-card__illustration {
    width: 160px;
  }

  .cat-img-pop {
    width: 210px;
    right: -20px;
  }

  .rules-banner {
    padding: 36px 40px;
  }

  .gallery-mosaic {
    grid-template-rows: 180px 180px 180px;
  }

  .timeline-cta-card {
    padding: 32px;
  }

  .contact-grid {
    gap: 40px;
  }

  .footer-grid {
    gap: 32px;
  }
}

/* ── 1024px: Small laptops, large tablets ── */
@media (max-width: 1024px) {
  .hero-content {
    gap: 32px;
  }

  .hero-left {
    max-width: 55%;
  }

  .hero::after {
    width: 40%;
  }

  .hero-img-card {
    width: 200px;
    height: 290px;
    border-radius: 14px;
  }

  .hero-img-card-back {
    width: 130px;
    height: 95px;
    left: calc(40px + 130px);
  }

  .about-grid {
    gap: 40px;
  }

  .about-bento {
    min-height: 300px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .rules-cards {
    grid-template-columns: 1fr;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 180px 180px;
    grid-template-areas:
      "a b"
      "c d"
      "e f";
  }

  .timeline-wrapper {
    grid-template-columns: 1fr;
  }

  .timeline-right {
    position: static;
    max-width: 400px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* FAQ adjustments */
  .faq-list {
    max-width: 100%;
  }

  /* Wall of Fame adjustments */
  .winner-card-new {
    width: 220px;
  }

  .winner-img-box-new {
    width: 220px;
    height: 250px;
  }
}

/* ── 768px: Tablets, mobile landscape ── */
@media (max-width: 768px) {
  .navbar-nav {
    display: none;
  }

  .navbar-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 48px 0 40px;
    min-height: auto;
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    flex-direction: column;
    gap: 32px;
    padding-bottom: 0;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-right {
    display: none;
  }

  .hero-stats {
    gap: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "center center"
      "tl tr"
      "bl br";
    min-height: auto;
  }

  .about-card--featured {
    padding: 28px 24px;
  }

  .about-cards {
    display: none;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .cat-card {
    min-height: 180px;
  }

  .cat-card__illustration {
    width: 140px;
  }

  .cat-img-pop {
    width: 180px;
    right: -15px;
  }

  .rules-banner {
    padding: 28px 24px;
    border-radius: 14px;
  }

  .rules-cards {
    grid-template-columns: 1fr;
  }

  .rules-info-card {
    padding: 24px;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 160px 160px;
    grid-template-areas:
      "a b"
      "c d"
      "e f";
  }

  .timeline-wrapper {
    grid-template-columns: 1fr;
  }

  .timeline-right {
    display: none;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  /* FAQ adjustments */
  .faq .section-header {
    text-align: center;
  }

  .faq-list {
    max-width: 100%;
  }

  .faq-cta {
    text-align: center;
  }

  /* Wall of Fame adjustments */
  .fame-tabs-new {
    flex-wrap: wrap;
  }

  .winner-card-new {
    width: 190px;
  }

  .winner-img-box-new {
    width: 190px;
    height: 220px;
  }

  /* Agenda */
  .agenda-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 480px: Small mobile ── */
@media (max-width: 480px) {
  .hero-title-wrapper {
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .about-features {
    gap: 16px;
  }

  .cat-card {
    flex-direction: column-reverse;
    min-height: auto;
    padding-bottom: 24px;
    align-items: center;
  }

  .cat-card__content {
    padding: 0 24px 10px;
    text-align: center;
    align-items: center;
  }

  .cat-card__illustration {
    width: 100%;
    height: 180px;
    margin-bottom: -10px;
    /* Pull illustration up or adjust transition */
  }

  .cat-img-pop {
    position: relative;
    right: auto;
    bottom: -10px;
    width: 200px;
    margin: 0 auto;
  }

  .cat-card__desc {
    text-align: center;
  }

  .cat-card__btn {
    align-self: center;
    margin-top: 20px;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 180px);
    grid-template-areas:
      "a"
      "b"
      "c"
      "d"
      "e"
      "f";
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .winner-card-new {
    width: 170px;
  }

  .winner-img-box-new {
    width: 170px;
    height: 200px;
  }
}

/* ── Mac Retina / High-DPI Displays ── */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  /* Ensure borders stay crisp at 2x */
  .cat-card,
  .rules-info-card,
  .faq-item,
  .winner-img-box-new,
  .winner-info-box-new,
  .hero-img-card,
  .about-card {
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-animate][data-delay="100"] {
  transition-delay: 0.1s;
}

[data-animate][data-delay="200"] {
  transition-delay: 0.2s;
}

[data-animate][data-delay="300"] {
  transition-delay: 0.3s;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════ */
.faq {
  background: var(--blue-800);
  padding: clamp(48px, 7vw, 80px) 0;
}

/* Override section-label and section-title colors for blue background */
.faq .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.faq .section-title {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.faq .section-sub {
  color: rgba(255, 255, 255, 0.75);
}

.faq .section-header {
  text-align: left;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: all var(--transition);
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-question span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 10px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 10px;
  transition: transform var(--transition), opacity var(--transition);
}

.faq-item.open .faq-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: rotate(180deg);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 22px; /* Horizontal only */
}

.faq-answer-inner {
  overflow: hidden;
  /* Content-driven padding inside the grid cell */
}

.faq-answer p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  padding: 8px 0 24px 0; /* Vertical breathing room */
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

/* FAQ – "Still have questions?" block */
.faq-cta {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.faq-cta h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.faq-cta p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
}

.faq-cta-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   WALL OF FAME SECTION
══════════════════════════════════════════ */
.wof {
  background: var(--white);
  padding: clamp(32px, 4vw, 56px) 0;
  overflow: hidden;
}

.wof .section-title {
  color: var(--blue-800);
}

.wof .section-header {
  margin-bottom: 24px;
}

.wof .section-sub {
  font-size: 0.92rem;
}

/* ── Controls: Year & Category Tabs ── */
.wof-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.wof-year-tabs,
.wof-cat-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  width: 100%;
  max-width: 365px;
}

.wof-year-tab,
.wof-cat-tab {
  flex: 1;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-family);
  border: 1px solid rgba(8, 87, 195, 0.2);
  color: var(--blue-800);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wof-year-tab.active,
.wof-year-tab:hover,
.wof-cat-tab.active,
.wof-cat-tab:hover {
  background: rgba(8, 87, 195, 0.9);
  color: var(--white);
  border-color: var(--blue-800);
  transform: translateY(-1px);
}

@keyframes wofFadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wof-podium.wof-entering {
  animation: wofFadeSlideIn 0.4s ease-out forwards;
}

/* ── Podium Transition Animation ── */
@keyframes wofPureFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.wof-podium.wof-entering {
  animation: wofPureFade 0.6s ease-in-out forwards;
}

/* ── Podium Layout ── */
.wof-podium {
  display: none;
  gap: 24px;
  margin-bottom: 28px;
}

.wof-podium.active {
  display: flex;
}

/* Right column: 2nd, 3rd, Best Speaker */
.wof-right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Shared Card Styles ── */
.wof-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 14px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.wof-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ── Photo Frame ── */
.wof-card__photo {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--gray-100);
  border: 2px solid var(--blue-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}

.wof-card__photo svg {
  width: 48px;
  height: 48px;
  color: var(--gray-300);
  opacity: 0.6;
}

.wof-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Rank Badges ── */
.wof-card__rank {
  display: none;
}

/* Smaller badges for 2nd, 3rd */
.wof-card--second .wof-card__rank,
.wof-card--third .wof-card__rank {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: 0 8px 0 0;
  bottom: 0;
  left: 0;
}

.wof-rank--gold {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 2px 2px 8px rgba(8, 87, 195, 0.2);
}

.wof-rank--silver {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 2px 2px 6px rgba(43, 128, 229, 0.2);
}

.wof-rank--bronze {
  background: var(--blue-400);
  color: var(--white);
  box-shadow: 2px 2px 6px rgba(116, 172, 239, 0.2);
}

.wof-rank--speaker {
  background: linear-gradient(135deg, rgba(8, 87, 195, 0.92), rgba(30, 120, 220, 0.92));
  color: var(--white);
  box-shadow: 0 2px 6px rgba(8, 87, 195, 0.25);
}

/* ── Card Info ── */
.wof-card__team {
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-family);
  color: var(--blue-900);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
  line-height: 1.3;
}

.wof-card__univ {
  font-size: 0.75rem;
  font-weight: 400;
  font-family: var(--font-family);
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

/* ── 1st Champion Card ── */
.wof-card--first {
  width: 38%;
  flex-shrink: 0;
  box-shadow: 0 12px 48px rgba(8, 87, 195, 0.12);
  display: flex;
  flex-direction: column;
}

.wof-card--first .wof-card__photo {
  aspect-ratio: auto;
  flex: 1;
}

.wof-card--first .wof-card__team {
  font-size: 1.1rem;
}

/* ── 2nd & 3rd Row ── */
.wof-runner-row {
  display: flex;
  gap: 16px;
}

.wof-card--second,
.wof-card--third {
  flex: 1;
}

.wof-card--second .wof-card__photo,
.wof-card--third .wof-card__photo {
  aspect-ratio: 16/9;
}

/* ── Best Speaker Card ── */
.wof-card--speaker {
  width: 100%;
  padding: 12px;
}

.wof-speaker-inner {
  display: flex;
  gap: 14px;
  align-items: center;
}

.wof-card__photo--speaker {
  width: 90px;
  min-width: 90px;
  aspect-ratio: 1;
  margin-bottom: 0;
  border-radius: var(--radius-md);
}

.wof-speaker-info {
  text-align: left;
  flex: 1;
}

.wof-speaker-info .wof-card__rank {
  position: static;
  margin-bottom: 6px;
  padding: 3px 8px;
  font-size: 0.58rem;
  border-radius: 5px;
}

.wof-speaker-info .wof-card__team {
  font-size: 1rem;
  margin-bottom: 4px;
}

/* ── CTA Banner ── */
.wof-cta {
  text-align: center;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  border: 2px solid var(--blue-100);
  border-radius: var(--radius-xl);
}

.wof-cta__title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  font-family: var(--font-family);
  color: var(--blue-900);
  margin-bottom: 4px;
}

.wof-cta__sub {
  font-size: 0.88rem;
  font-family: var(--font-family);
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .wof-podium {
    flex-direction: column;
    align-items: center;
  }

  .wof-card--first {
    width: 100%;
    max-width: 400px;
  }

  .wof-card--first .wof-card__photo {
    aspect-ratio: 16/10;
    flex: none;
  }

  .wof-right-col {
    max-width: 400px;
    width: 100%;
  }

  .wof-runner-row {
    flex-direction: column;
    gap: 16px;
  }

  .wof-speaker-inner {
    flex-direction: column;
    text-align: center;
  }

  .wof-speaker-info {
    text-align: center;
  }

  .wof-controls {
    gap: 8px;
  }

  .wof-year-tabs,
  .wof-cat-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════ */
.contact-section {
  padding: 80px 0;
  background: var(--white);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--gray-50);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(8, 87, 195, 0.04);
  border: 1px solid var(--gray-200);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(8, 87, 195, 0.12);
  border-color: var(--blue-400);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-100);
  color: var(--blue-800);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-detail h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.contact-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--blue-700);
  text-decoration: underline;
}

.footer-link-inline {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link-inline:hover {
  color: var(--blue-400);
  text-decoration: underline;
}

.contact-map {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(8, 87, 195, 0.15);
  border: 4px solid var(--white);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ══════════════════════════════════════════
   INSTAGRAM FEED SECTION
══════════════════════════════════════════ */
.ig-feed {
  background: var(--gray-50);
  padding: clamp(36px, 4vw, 56px) 0;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5px;
  background-color: #ffffff;
  margin-bottom: 28px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.ig-post {
  position: relative;
  aspect-ratio: 1013 / 1350;
  max-height: 480px;
  border-radius: 0;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ig-post:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ig-post__img {
  width: 100%;
  height: 100%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-post__img svg {
  width: 32px;
  height: 32px;
  color: var(--gray-300);
  opacity: 0.5;
}

.ig-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ig-post__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 51, 119, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ig-post:hover .ig-post__overlay {
  opacity: 1;
}

.ig-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-family);
}

.ig-cta {
  text-align: center;
}

.ig-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 12px;
  border: 1px solid rgba(8, 87, 195, 0.2);
  color: var(--blue-700);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-family);
  text-decoration: none;
  transition: all 0.3s ease;
}

.ig-cta__link:hover {
  background: var(--blue-800);
  color: var(--white);
  border-color: var(--blue-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
  .ig-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
  }
}

/* ══════════════════════════════════════════
   BACK TO TOP BUTTON
══════════════════════════════════════════ */
#backToTopBtn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: rgba(8, 87, 195, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0, 48, 135, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTopBtn:hover {
  background: var(--blue-800);
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 12px 40px rgba(8, 87, 195, 0.4);
}

@media (max-width: 768px) {
  #backToTopBtn {
    bottom: 20px;
    right: 20px;
  }
}

/* ══════════════════════════════════════════
   MOBILE OPTIMIZATION
══════════════════════════════════════════ */
@media (max-width: 768px) {
  body {
    zoom: 1;
  }

  .navbar {
    zoom: 1;
  }

  .container {
    padding: 0 20px;
  }

  .hero-slideshow {
    min-height: 100vh;
  }

  .hero-slide-overlay {
    min-height: 100vh;
    padding: 40px 0;
  }

  .hero-slide-content {
    max-width: 100%;
  }

  .hero-title-wrapper {
    margin-bottom: 16px;
  }

  .hero-slideshow .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .hero-slideshow .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-slideshow .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-arrow {
    display: none !important;
  }

  .about {
    padding: 48px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-title {
    font-size: 1.75rem;
  }

  .about-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "center center"
      "tl tr"
      "bl br";
    min-height: auto;
  }

  .about-card {
    padding: 16px 14px;
  }

  .categories {
    padding: 60px 0;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 0;
  }

  /* ── Mobile Category Card: Clean Text-Only Style ── */
  .cat-card {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px;
    border-radius: 24px;
    /* AGGRESSIVE CLIPPING FIX */
    overflow: hidden !important;
    transform-style: flat !important; /* Disable 3D to fix mobile clipping issues */
    isolation: isolate; 
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* Force clipping on iOS/Safari */
    mask-image: radial-gradient(white, black);
    
    /* Simplified Background */
    background: rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }

  /* Ensure content is centered and readable */
  .cat-card__content {
    padding: 0;
    text-align: center;
    width: 100%;
    z-index: 10;
  }

  .cat-card__title {
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
  }

  .cat-card__desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 24px;
  }

  /* SHOW button on mobile (it was hidden previously) */
  .cat-card__btn {
    display: inline-flex !important;
    width: auto;
    justify-content: center;
  }

  .timeline-activities {
    padding: 48px 0;
  }

  .timeline-activities .section-title {
    font-size: 1.5rem;
  }

  .timeline-activities .section-sub {
    font-size: 0.9rem;
  }

  .rules {
    padding: 48px 0;
  }

  .rules-banner {
    padding: 28px 20px;
  }

  .rules-banner__title {
    font-size: 1.3rem;
  }

  .rules-banner__actions {
    flex-direction: column;
    gap: 10px;
  }

  .rules-banner__btn {
    width: 100%;
    justify-content: center;
  }

  .rules-cards {
    grid-template-columns: 1fr;
  }

  .rules-info-card {
    padding: 24px 20px;
  }

  .gallery {
    padding: 48px 0;
  }

  .gallery-heading {
    font-size: 1.5rem;
  }

  .faq {
    padding: 48px 0;
  }

  .faq .section-title {
    font-size: 1.4rem;
  }

  .faq-question {
    padding: 16px 18px;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .wof {
    padding: 48px 0;
  }

  .wof-podium {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .cta {
    padding: 48px 0;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 48px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ══════════════════════════════════════════
   REGISTRATION PAGE STYLES (Unified)
   ══════════════════════════════════════════ */
.reg-hero {
  padding: 120px 0;
  background: linear-gradient(135deg, #053b94 0%, #1a6bcc 50%, #3f94f6 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.reg-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 1;
}

.reg-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.reg-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.reg-form-section {
  padding: 60px 0 120px;
  background: var(--white);
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.reg-card {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(8, 87, 195, 0.12);
  border-radius: 32px;
  padding: clamp(30px, 6vw, 64px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.reg-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.reg-section-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.reg-divider {
  height: 1px;
  background: rgba(8, 87, 195, 0.1);
  margin: 8px 0;
}

.reg-card-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-800);
}

.reg-card-title {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  color: var(--blue-900);
  white-space: nowrap;
}

.reg-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reg-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reg-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reg-input {
  padding: 14px 20px;
  background: white;
  border: 2px solid var(--gray-100);
  border-radius: 14px;
  font-size: 1rem;
  color: var(--gray-800);
  transition: all 0.3s ease;
  width: 100%;
}

.reg-input::placeholder {
  color: var(--gray-400);
}

.reg-input:hover {
  border-color: var(--gray-300);
}

.reg-input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(8, 87, 195, 0.1);
  background: #fff;
}

.reg-input.invalid {
  border-color: #ef4444;
  background: #fef2f2;
}

.reg-input.invalid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.error-message {
  color: #ef4444;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 6px;
  display: none;
  align-items: center;
  gap: 4px;
}

.error-message.show {
  display: flex;
}

/* Success Popup Styles */
.success-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 15, 45, 0.4);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success-popup-overlay.active {
  display: flex;
  opacity: 1;
}

.success-popup-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 48px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-popup-overlay.active .success-popup-content {
  transform: scale(1) translateY(0);
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--blue-500), #2563eb);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px;
  color: white;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
  animation: success-bounce 1s ease;
}

@keyframes success-bounce {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.success-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 12px;
}

.success-message {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 32px;
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Custom Select Styles */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  padding: 14px 20px;
  background: white;
  border: 2px solid var(--gray-100);
  border-radius: 14px;
  font-size: 1rem;
  color: var(--gray-800);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.custom-select-trigger:hover {
  border-color: var(--gray-300);
}

.custom-select.active .custom-select-trigger {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(8, 87, 195, 0.1);
}

.custom-select-trigger svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue-600);
  transition: transform 0.3s ease;
}

.custom-select.active .custom-select-trigger svg {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(8, 87, 195, 0.1);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
}

.custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: var(--blue-100);
  border-radius: 10px;
}

.custom-select.active .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-option:hover {
  background: var(--blue-50);
  color: var(--blue-700);
  padding-left: 20px;
}

.custom-option.selected {
  background: var(--blue-600);
  color: white;
}

.reg-phone-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

.reg-country-select {
  width: 140px !important;
  flex-shrink: 0;
  font-weight: 600;
  text-align: center;
}

.reg-radio-group {
  display: flex;
  gap: 28px;
}

.reg-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  cursor: pointer;
}

.reg-radio input {
  display: none;
}

.reg-radio-custom {
  width: 24px;
  height: 24px;
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  background: white;
  transition: 0.3s;
}

.reg-radio input:checked+.reg-radio-custom {
  border-color: var(--blue-800);
  background: var(--blue-50);
}

.reg-file-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gray-50);
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px dashed var(--gray-300);
}

.reg-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.reg-file-btn {
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--blue-800);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: 0.3s;
}

.reg-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.reg-checkbox {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  cursor: pointer;
}

.reg-checkbox input {
  display: none;
}

.reg-checkbox-custom {
  width: 22px;
  height: 22px;
  border: 2px solid var(--gray-200);
  border-radius: 7px;
  background: white;
  transition: 0.3s;
}

.reg-checkbox input:checked+.reg-checkbox-custom {
  background: var(--blue-800);
  border-color: var(--blue-800);
}

.reg-checkbox input:checked+.reg-checkbox-custom::after {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 900;
  height: 100%;
}

.btn-glow:hover {
  box-shadow: 0 20px 40px rgba(8, 87, 195, 0.3);
}

@media (max-width: 576px) {
  .reg-hero {
    padding-top: 100px;
  }

  .reg-card {
    padding: 24px;
    gap: 32px;
    border-radius: 24px;
  }

  .reg-radio-group {
    flex-direction: column;
    gap: 12px;
  }
}