/* ============================================================
   MBBS Bangladesh - Premium Stylesheet
   Color Palette: Forest Green, White, Crimson Red
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=DM+Sans:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --green-primary: #006A4E;
  --green-dark: #004a36;
  --green-light: #008861;
  --green-pale: #e8f5f1;
  --red-primary: #C8102E;
  --red-dark: #a00d25;
  --red-light: #e8192e;
  --white: #ffffff;
  --off-white: #f8fafb;
  --light-gray: #f0f4f3;
  --mid-gray: #9ca3af;
  --dark-gray: #374151;
  --dark: #0d1117;
  --text-primary: #1a2332;
  --text-secondary: #4b5563;
  --shadow-sm: 0 2px 8px rgba(0,106,78,0.08);
  --shadow-md: 0 8px 32px rgba(0,106,78,0.12);
  --shadow-lg: 0 20px 60px rgba(0,106,78,0.18);
  --shadow-xl: 0 40px 100px rgba(0,0,0,0.15);
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-accent: 'Montserrat', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.preloader-logo span { color: var(--red-primary); }
.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  overflow: hidden;
}
.preloader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--green-primary), var(--red-primary));
  border-radius: 50px;
  animation: loading 2s ease forwards;
}
@keyframes loading { from { width: 0 } to { width: 100% } }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--green-primary); border-radius: 50px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dark); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition-slow);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,106,78,0.3);
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text .logo-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}
.logo-text .logo-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
}
.navbar.scrolled .logo-text .logo-main { color: var(--green-primary); }
.navbar.scrolled .logo-text .logo-sub { color: var(--text-secondary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.15); }
.navbar.scrolled .nav-link { color: var(--text-primary); }
.navbar.scrolled .nav-link:hover { color: var(--green-primary); background: var(--green-pale); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}
.btn-nav-call {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-nav-call:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.navbar.scrolled .btn-nav-call { border-color: var(--green-primary); color: var(--green-primary); }
.navbar.scrolled .btn-nav-call:hover { background: var(--green-pale); }

.btn-nav-apply {
  padding: 0.55rem 1.4rem;
  background: linear-gradient(135deg, var(--red-primary), var(--red-light));
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(200,16,46,0.3);
}
.btn-nav-apply:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,16,46,0.4); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 50px;
  transition: var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--text-primary); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  color: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0,106,78,0.35);
  cursor: pointer;
  border: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(0,106,78,0.45); color: var(--white); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: var(--white); transform: translateY(-3px); color: var(--white); }

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--red-primary), var(--red-light));
  color: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(200,16,46,0.35);
  cursor: pointer;
  border: none;
}
.btn-red:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(200,16,46,0.45); color: var(--white); }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;   /* ← ADD THIS — video on top */
}
.hero-video-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;   /* ← ADD THIS — fallback behind */
  background: linear-gradient(135deg, #0d1117 0%, #001a12 40%, #002b1e 70%, #0a0a0a 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,20,15,0.85) 0%,
    rgba(0,50,35,0.75) 40%,
    rgba(0,0,0,0.7) 100%
  );
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(circle at 20% 80%, rgba(0,106,78,0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(200,16,46,0.1) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 6rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-title .highlight {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.7);
}
.hero-title .highlight-green { color: #4ade80; }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 560px;
  font-weight: 400;
  line-height: 1.8;
}
.hero-subtitle strong { color: var(--white); font-weight: 600; }
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-counters {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.counter-item {
  text-align: left;
}
.counter-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.counter-number span { color: #4ade80; }
.counter-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  align-self: center;
}

/* Hero Quick Form */
.hero-form-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}
.form-card-header {
  margin-bottom: 1.5rem;
}
.form-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.form-card-subtitle {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--white);
  font-size: 0.88rem;
  font-family: var(--font-body);
  transition: var(--transition);
  appearance: none;
}
.form-control::placeholder { color: rgba(255,255,255,0.35); }
.form-control:focus {
  outline: none;
  border-color: rgba(0,200,130,0.5);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(0,106,78,0.15);
}
.form-control option { background: #1a2332; color: var(--white); }

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section {
  padding: 6rem 0;
}
.section-sm { padding: 4rem 0; }
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-pale);
  color: var(--green-primary);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-tag.red { background: #fde8eb; color: var(--red-primary); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-title .accent { color: var(--green-primary); }
.section-title .accent-red { color: var(--red-primary); }
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   WHY STUDY SECTION
   ============================================================ */
#why-study { background: var(--off-white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  opacity: 0;
  transition: var(--transition);
}
.why-card:hover::before { opacity: 1; }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.why-icon-wrap {
  width: 70px;
  height: 70px;
  background: var(--green-pale);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--green-primary);
  transition: var(--transition);
  position: relative;
}
.why-card:hover .why-icon-wrap { background: rgba(255,255,255,0.2); color: var(--white); }
.why-card-title {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  transition: var(--transition);
  position: relative;
}
.why-card:hover .why-card-title { color: var(--white); }
.why-card-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: var(--transition);
  position: relative;
}
.why-card:hover .why-card-text { color: rgba(255,255,255,0.85); }

/* ============================================================
   UNIVERSITIES SECTION
   ============================================================ */
#universities { background: var(--white); }
.uni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.uni-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
}
.uni-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--green-light); }
.uni-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 50%, var(--green-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.uni-card-img img { width: 100%; height: 100%; object-fit: cover; }
.uni-card-img .uni-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--red-primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.uni-card-img .uni-rank {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}
.uni-card-body { padding: 1.5rem; }
.uni-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.uni-card-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin-bottom: 1rem;
}
.uni-card-desc {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.uni-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--green-pale);
  border-radius: 12px;
}
.uni-stat-item { text-align: center; }
.uni-stat-value {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 800;
  color: var(--green-primary);
}
.uni-stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.uni-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.uni-tag {
  background: var(--green-pale);
  color: var(--green-primary);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* ============================================================
   FEE STRUCTURE
   ============================================================ */
#fee-structure { background: var(--off-white); }
.fee-table-wrap {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #e5e7eb;
}
.fee-table {
  width: 100%;
  border-collapse: collapse;
}
.fee-table thead { background: linear-gradient(135deg, var(--green-primary), var(--green-light)); }
.fee-table thead th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fee-table tbody tr {
  border-bottom: 1px solid #f0f4f3;
  transition: var(--transition);
}
.fee-table tbody tr:last-child { border-bottom: none; }
.fee-table tbody tr:hover { background: var(--green-pale); }
.fee-table tbody td {
  padding: 1.1rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-primary);
}
.fee-table tbody td:first-child { font-weight: 600; }
.fee-table .fee-highlight { color: var(--green-primary); font-weight: 700; font-size: 0.95rem; }
.fee-table .fee-total {
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1rem;
}
.fee-note {
  padding: 1rem 1.5rem;
  background: #fefce8;
  border-top: 1px solid #fde68a;
  font-size: 0.8rem;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   ADMISSION PROCESS
   ============================================================ */
#admission { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%); }
#admission .section-title { color: var(--white); }
#admission .section-tag { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
#admission .section-desc { color: rgba(255,255,255,0.75); }

.admission-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.admission-timeline::before {
  content: '';
  position: absolute;
  top: 3.5rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255,255,255,0.2);
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-number {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  transition: var(--transition);
}
.timeline-step:hover .step-number {
  background: var(--white);
  color: var(--green-primary);
  border-color: var(--white);
}
.step-icon {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}
.step-title {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.step-desc { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ============================================================
   ELIGIBILITY
   ============================================================ */
#eligibility { background: var(--white); }
.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.eligibility-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.elig-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--off-white);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--green-primary);
  transition: var(--transition);
}
.elig-item:hover { background: var(--green-pale); transform: translateX(5px); }
.elig-icon {
  width: 40px;
  height: 40px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.elig-content .elig-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.elig-content .elig-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }
.docs-card {
  background: var(--off-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  border: 1px solid #e5e7eb;
}
.docs-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.docs-title i { color: var(--red-primary); }
.doc-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.doc-list-item:last-child { border-bottom: none; }
.doc-list-item i { color: var(--green-primary); font-size: 0.9rem; width: 20px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--off-white); }
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: hidden;
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--green-pale);
  font-family: Georgia, serif;
  margin-bottom: 1rem;
  color: var(--green-primary);
  opacity: 0.3;
}
.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-rating { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.star { color: #f59e0b; font-size: 0.85rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.author-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}
.author-info { font-size: 0.75rem; color: var(--mid-gray); }

/* ============================================================
   FAQ SECTION
   ============================================================ */
#faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--off-white);
  border-radius: var(--border-radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: var(--transition);
}
.faq-item.active { border-color: var(--green-primary); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  text-align: left;
  background: transparent;
  font-family: var(--font-body);
  gap: 1rem;
}
.faq-q-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}
.faq-item.active .faq-q-text { color: var(--green-primary); }
.faq-chevron {
  width: 30px;
  height: 30px;
  background: var(--green-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.active .faq-chevron { background: var(--green-primary); color: var(--white); transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-primary) 50%, #e8192e 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
#cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 50%;
  height: 200%;
  background: rgba(255,255,255,0.04);
  transform: rotate(-15deg);
}
#cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: rgba(0,0,0,0.05);
  transform: rotate(20deg);
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-banner-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--white);
  color: var(--red-primary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(0,0,0,0.3); color: var(--red-dark); }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); transform: translateY(-3px); color: var(--white); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.contact-info-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon {
  width: 45px;
  height: 45px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mid-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.contact-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.contact-form-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #e5e7eb;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form-grid .full-width { grid-column: 1 / -1; }
.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.contact-form-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.form-group-light label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-control-light {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--off-white);
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: var(--font-body);
  transition: var(--transition);
  appearance: none;
}
.form-control-light:focus {
  outline: none;
  border-color: var(--green-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,106,78,0.1);
}
textarea.form-control-light { resize: vertical; min-height: 110px; }
.form-success {
  display: none;
  background: var(--green-pale);
  border: 1px solid var(--green-primary);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.form-success.show { display: block; }
.map-embed {
  margin-top: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 200px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.whatsapp-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  transition: var(--transition);
  cursor: pointer;
}
.whatsapp-btn:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 15px 40px rgba(37,211,102,0.5); }
.whatsapp-tooltip {
  background: var(--dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}
.floating-whatsapp:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: var(--green-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0,106,78,0.3);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin: 1rem 0 1.5rem;
}
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}
.social-btn:hover { background: var(--green-primary); color: var(--white); transform: translateY(-3px); }
.footer-col-title {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--green-primary);
  border-radius: 50px;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-link:hover { color: var(--white); padding-left: 4px; }
.footer-link i { font-size: 0.65rem; color: var(--green-primary); }
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  align-items: flex-start;
}
.footer-contact-item i {
  color: var(--green-primary);
  font-size: 0.85rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 14px;
}
.footer-contact-item span { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-link { font-size: 0.78rem; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-link:hover { color: var(--white); }

/* ============================================================
   AOS ANIMATION OVERRIDES
   ============================================================ */
[data-aos] { transition-property: transform, opacity; }

/* ============================================================
   INNER PAGE HEADER
   ============================================================ */
.page-hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.page-hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  position: relative;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.6rem; }

/* ============================================================
   GALLERY SECTION
   ============================================================ */
#gallery { background: var(--off-white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
  position: relative;
  cursor: pointer;
}
.gallery-item:nth-child(1) { grid-row: span 2; aspect-ratio: auto; min-height: 300px; }
.gallery-item:nth-child(5) { grid-column: span 2; aspect-ratio: auto; min-height: 200px; }
.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 2rem;
}
.gallery-placeholder span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,106,78,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
  font-size: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  padding: 2.2rem 0;
}
.stat-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-strip-item {
  border-right: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.stat-strip-item:last-child { border-right: none; }
.stat-strip-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-strip-value span {
  font-size: 1rem;
  font-weight: 600;
  color: #86efac;
}
.stat-strip-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   ALERTS & MESSAGES
   ============================================================ */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .uni-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-form-card { max-width: 500px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .eligibility-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .admission-timeline { grid-template-columns: repeat(2, 1fr); }
  .admission-timeline::before { display: none; }
  .stat-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 1000;
  }
  .nav-menu.open .nav-link { font-size: 1.2rem; color: var(--white); }
  .nav-menu.open .nav-cta { display: flex; flex-direction: column; margin-top: 1rem; }
  .nav-toggle { display: flex; }
  .uni-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 90%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-row: span 1; min-height: auto; }
  .gallery-item:nth-child(5) { grid-column: span 1; min-height: auto; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .hero-counters { gap: 1.5rem; }
  .hero-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .admission-timeline { grid-template-columns: 1fr; }
  .fee-table thead th, .fee-table tbody td { padding: 0.75rem 0.8rem; font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip-grid { grid-template-columns: 1fr 1fr; }
  .hero-form-card { display: none; }
}
