/* ============================================
   EDUVISION ACADEMY – style.css
   Premium Educational Website
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --blue:    #3B82F6;
  --green:   #10B981;
  --orange:  #F59E0B;
  --red:     #EF4444;
  --purple:  #8B5CF6;
  --cyan:    #06B6D4;
  --pink:    #EC4899;

  --bg:      #FFFFFF;
  --bg2:     #F8FAFC;
  --bg3:     #F1F5F9;
  --surface: #FFFFFF;
  --border:  #E2E8F0;
  --text:    #0F172A;
  --text2:   #475569;
  --text3:   #94A3B8;

  --grad: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
  --grad2: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 24px 60px rgba(0,0,0,.15);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: .3s cubic-bezier(.4,0,.2,1);

  --header-h: 72px;
}

/* ---------- Dark Mode ---------- */
body.dark-mode {
  --bg:      #0B1120;
  --bg2:     #0F172A;
  --bg3:     #1E293B;
  --surface: #1E293B;
  --border:  #334155;
  --text:    #F1F5F9;
  --text2:   #94A3B8;
  --text3:   #64748B;
  --shadow:    0 4px 16px rgba(0,0,0,.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.4);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; outline: none; border: none; background: none; }

/* ---------- Scroll Progress ---------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--grad);
  z-index: 9999;
  width: 0%;
  transition: width .1s linear;
}

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  transition: opacity .5s, visibility .5s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  letter-spacing: 4px;
}
.loader-bar {
  width: 200px; height: 4px;
  background: var(--bg3); border-radius: 99px;
  overflow: hidden;
}
.loader-fill {
  height: 100%; background: var(--grad);
  border-radius: 99px;
  animation: loaderAnim 1.8s ease forwards;
}
@keyframes loaderAnim { from { width: 0%; } to { width: 100%; } }

/* ---------- Container ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .875rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 14px rgba(59,130,246,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59,130,246,.45); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); background: rgba(59,130,246,.05); }
.btn-ghost { color: var(--text2); background: var(--bg3); }
.btn-ghost:hover { background: var(--border); color: var(--text); }
.btn-white { background: #fff; color: var(--blue); font-weight: 700; }
.btn-white:hover { background: rgba(255,255,255,.9); }
.btn-ghost-white { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn-ghost-white:hover { background: rgba(255,255,255,.25); }
.btn-lg { padding: .875rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: .4rem .9rem; font-size: .8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Section Shared ---------- */
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue); background: rgba(59,130,246,.1);
  padding: .35rem .9rem; border-radius: 99px;
  margin-bottom: .75rem;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800;
  color: var(--text); line-height: 1.2;
  margin-bottom: .75rem;
}
.section-desc { color: var(--text2); max-width: 560px; margin: 0 auto; }

/* ---------- Reveal Animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal].revealed { opacity: 1; transform: translate(0); }

/* =============================================
   HEADER
   ============================================= */
#header {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--header-h);
  z-index: 1000;
  transition: all var(--transition);
  background: transparent;
}
#header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
body.dark-mode #header.scrolled { background: rgba(11,17,32,.85); }

.navbar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1.5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem; font-weight: 800;
  color: var(--text); white-space: nowrap;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--grad); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: .25rem;
}
.nav-link {
  padding: .5rem .75rem; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500; color: var(--text2);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--blue); background: rgba(59,130,246,.08); }
.nav-actions {
  display: flex; align-items: center; gap: .6rem;
}
.dark-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg3); color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.dark-toggle:hover { background: var(--border); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 4px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
}
.nav-hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 99px;
  transition: all var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 0;
  background: var(--bg);
  position: relative; overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .15;
}
.shape-1 { width: 600px; height: 600px; background: var(--blue); top: -100px; right: -100px; }
.shape-2 { width: 400px; height: 400px; background: var(--purple); bottom: 0; left: -50px; }
.shape-3 { width: 300px; height: 300px; background: var(--orange); top: 40%; left: 40%; }

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center; min-height: 80vh;
}

/* Hero content */
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(59,130,246,.1); color: var(--blue);
  padding: .4rem .9rem; border-radius: 99px;
  font-size: .8rem; font-weight: 600; margin-bottom: 1.25rem;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900; line-height: 1.1;
  color: var(--text); margin-bottom: 1.25rem;
}
.hero-sub { color: var(--text2); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; max-width: 480px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  padding: 1.25rem; background: var(--surface);
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-plus { font-size: 1rem; font-weight: 700; color: var(--blue); }
.stat-label { display: block; font-size: .75rem; color: var(--text2); font-weight: 500; }

/* Hero Visual */
.hero-card-wrap { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-illustration {
  width: 340px; height: 340px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.ilu-circle {
  width: 260px; height: 260px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(139,92,246,.15));
  border: 2px dashed rgba(59,130,246,.3);
  display: flex; align-items: center; justify-content: center;
  animation: floatAnim 4s ease-in-out infinite;
}
.ilu-icon { font-size: 7rem; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.floating-badge {
  position: absolute;
  padding: .4rem .9rem; border-radius: 99px;
  font-size: .75rem; font-weight: 700;
  background: var(--surface); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: floatAnim 4s ease-in-out infinite;
}
.badge-jee   { top: 20px; left: 0;   background: #EFF6FF; color: var(--blue);   animation-delay: 0s; }
.badge-neet  { top: 20px; right: 0;  background: #FEF2F2; color: var(--red);    animation-delay: .8s; }
.badge-board { bottom: 30px; left: 10px; background: #FFFBEB; color: var(--orange); animation-delay: 1.6s; }
.badge-wbjee { bottom: 30px; right: 10px; background: #F0FDF4; color: var(--green); animation-delay: 2.4s; }

.achievement-pill {
  position: absolute;
  padding: .5rem 1rem; border-radius: var(--radius-sm);
  font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; gap: .5rem;
  background: var(--surface); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.pill-1 { top: -10px; left: 50%; transform: translateX(-50%); color: var(--orange); animation: floatAnim 5s ease-in-out infinite; }
.pill-2 { bottom: -10px; left: 50%; transform: translateX(-50%); color: var(--green); animation: floatAnim 5s ease-in-out infinite .5s; }

@keyframes floatAnim {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-12px) translateX(-50%); }
}
.achievement-pill.pill-1 { transform-origin: center; }
.pill-1 { animation: float1 4s ease-in-out infinite; }
.pill-2 { animation: float2 4s ease-in-out infinite .6s; }
@keyframes float1 { 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(-10px); } }
@keyframes float2 { 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(10px); } }

/* Partners Strip */
.partners-strip {
  background: var(--grad);
  padding: 1rem 0;
  margin-top: 4rem;
}
.partners-inner {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  justify-content: center;
}
.partners-inner > span { color: rgba(255,255,255,.8); font-size: .8rem; font-weight: 600; }
.partner-logos {
  display: flex; gap: 2rem; flex-wrap: wrap; align-items: center;
}
.partner-logos span {
  display: flex; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.9); font-size: .85rem; font-weight: 600;
}

/* =============================================
   ABOUT
   ============================================= */
.about { background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.about-img-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.about-img-main {
  width: 280px; height: 280px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(59,130,246,.1), rgba(139,92,246,.1));
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.about-big-icon { font-size: 7rem; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.about-badge-float {
  position: absolute; top: 10px; right: -10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .5rem 1rem;
  font-size: .8rem; font-weight: 700; color: var(--orange);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .4rem;
}
.about-content p { color: var(--text2); line-height: 1.8; margin-bottom: 1rem; }
.about-content .section-title { text-align: left; }
.about-content .section-eyebrow { margin-bottom: .75rem; }
.features-grid {
  display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem;
}
.feature-chip {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem; border-radius: 99px;
  font-size: .8rem; font-weight: 600;
  background: var(--bg3); border: 1px solid var(--border); color: var(--text2);
  transition: all var(--transition);
}
.feature-chip:hover { background: rgba(59,130,246,.1); border-color: var(--blue); color: var(--blue); }
.feature-chip i { color: var(--blue); }

/* =============================================
   COURSES
   ============================================= */
.courses { background: var(--bg); }
.course-filter, .results-filter {
  display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .45rem 1.2rem; border-radius: 99px;
  font-size: .82rem; font-weight: 600;
  border: 1.5px solid var(--border); color: var(--text2);
  background: var(--surface); transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; }

.courses-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.course-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.course-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity var(--transition);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card:hover::before { opacity: 1; }
.course-card.featured { border-color: rgba(59,130,246,.3); background: linear-gradient(135deg, rgba(59,130,246,.04), rgba(139,92,246,.04)); }
.course-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--clr) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--clr);
  margin-bottom: 1rem;
}
.course-tag {
  display: inline-block;
  padding: .2rem .65rem; border-radius: 99px;
  font-size: .7rem; font-weight: 700; letter-spacing: .5px;
  background: var(--bg3); color: var(--text2);
  margin-bottom: .75rem;
}
.tag-hot { background: rgba(239,68,68,.1); color: var(--red); }
.course-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.course-card p { color: var(--text2); font-size: .87rem; line-height: 1.6; margin-bottom: 1rem; }
.course-meta {
  display: flex; gap: 1rem; margin-bottom: 1.25rem;
  font-size: .8rem; color: var(--text3);
}
.course-meta span { display: flex; align-items: center; gap: .35rem; }
.course-card.hidden { display: none; }

/* =============================================
   FACULTY
   ============================================= */
.faculty { background: var(--bg2); }
.faculty-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.faculty-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; text-align: center;
  transition: all var(--transition);
}
.faculty-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.faculty-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: color-mix(in srgb, var(--clr) 15%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--clr);
  margin: 0 auto 1rem;
  border: 2px solid color-mix(in srgb, var(--clr) 20%, transparent);
}
.faculty-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.faculty-role { font-size: .78rem; color: var(--blue); font-weight: 600; display: block; margin-bottom: .75rem; }
.faculty-spec, .faculty-exp {
  font-size: .8rem; color: var(--text2); display: flex; align-items: center; justify-content: center; gap: .4rem; margin-bottom: .4rem;
}
.faculty-tags { margin: .75rem 0; }
.faculty-tags span {
  display: inline-block; padding: .2rem .7rem; border-radius: 99px;
  font-size: .7rem; font-weight: 600;
  background: var(--bg3); color: var(--text2);
}
.faculty-social {
  display: flex; gap: .6rem; justify-content: center; margin-top: .75rem;
}
.faculty-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg3); color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: all var(--transition);
}
.faculty-social a:hover { background: var(--blue); color: #fff; }

/* =============================================
   WHY US
   ============================================= */
.why-us { background: var(--bg); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.why-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.5rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(59,130,246,.2); }
.why-icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: color-mix(in srgb, var(--clr) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--clr);
}
.why-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.why-card p { font-size: .82rem; color: var(--text2); line-height: 1.6; }

/* =============================================
   RESULTS
   ============================================= */
.results { background: var(--bg2); }
.results-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.result-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: all var(--transition); text-align: center;
}
.result-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.result-card.hidden { display: none; }
.result-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .85rem; border-radius: 99px;
  font-size: .75rem; font-weight: 700; margin-bottom: 1rem;
}
.jee-badge   { background: #EFF6FF; color: var(--blue); }
.neet-badge  { background: #FEF2F2; color: var(--red); }
.wbjee-badge { background: #F0FDF4; color: var(--green); }
.board-badge { background: #FFFBEB; color: var(--orange); }

.result-rank {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700; color: var(--text2); margin-bottom: .25rem;
}
.result-rank span {
  font-size: 2.2rem; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.result-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.result-card p { font-size: .8rem; color: var(--text2); margin-bottom: .5rem; }
.result-marks { font-size: .82rem; font-weight: 600; color: var(--green); background: rgba(16,185,129,.1); display: inline-block; padding: .2rem .75rem; border-radius: 99px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { background: var(--bg); }
.testimonial-carousel { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex; transition: transform .5s ease;
}
.testimonial-slide { min-width: 100%; padding: 0 .5rem; }
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem;
  max-width: 680px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.testi-quote { font-size: 2rem; color: var(--blue); opacity: .4; margin-bottom: 1rem; }
.testi-card p { font-size: 1rem; line-height: 1.8; color: var(--text2); margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: color-mix(in srgb, var(--clr) 15%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--clr);
}
.testi-author strong { display: block; font-size: .95rem; font-weight: 700; }
.testi-author span { font-size: .8rem; color: var(--text2); }
.testi-stars { font-size: 1.1rem; color: var(--orange); letter-spacing: 2px; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.carousel-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--border);
  color: var(--text2); font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.carousel-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.carousel-dots { display: flex; gap: .4rem; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer; transition: all var(--transition);
}
.carousel-dot.active { background: var(--blue); width: 24px; border-radius: 99px; }

/* =============================================
   FAQ
   ============================================= */
.faq { background: var(--bg2); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 1.1rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .95rem; font-weight: 600; color: var(--text);
  transition: all var(--transition);
}
.faq-question:hover { color: var(--blue); }
.faq-icon { transition: transform var(--transition); font-size: .75rem; color: var(--text3); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--blue); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; }
.faq-answer p { padding: 0 1.25rem 1.1rem; color: var(--text2); font-size: .9rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 200px; }

/* =============================================
   ADMISSION
   ============================================= */
.admission { background: var(--bg); }
.admission-card {
  background: var(--grad);
  border-radius: var(--radius-xl); padding: 4rem 3rem;
  text-align: center; position: relative; overflow: hidden;
}
.admission-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.adm-shape {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.adm-shape-1 { width: 300px; height: 300px; top: -80px; right: -80px; }
.adm-shape-2 { width: 200px; height: 200px; bottom: -50px; left: -50px; }
.admission-content { position: relative; z-index: 1; }
.admission-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.2); color: #fff;
  padding: .4rem .9rem; border-radius: 99px;
  font-size: .8rem; font-weight: 600; margin-bottom: 1.5rem;
}
.admission-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900;
  color: #fff; line-height: 1.2; margin-bottom: 1rem;
}
.admission-card h2 .gradient-text {
  background: linear-gradient(135deg, #FDE68A, #FCD34D);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.admission-card p { color: rgba(255,255,255,.85); max-width: 480px; margin: 0 auto 2rem; font-size: 1rem; }
.admission-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   CONTACT
   ============================================= */
.contact { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-info h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.contact-info > p { color: var(--text2); font-size: .9rem; margin-bottom: 1.5rem; }
.contact-items { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.contact-item {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all var(--transition);
}
.contact-item:hover { border-color: var(--blue); }
.ci-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: color-mix(in srgb, var(--clr) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--clr);
}
.contact-item div strong { display: block; font-size: .82rem; font-weight: 700; margin-bottom: .1rem; }
.contact-item div span { font-size: .82rem; color: var(--text2); }
.map-wrap { border-radius: var(--radius); overflow: hidden; }

.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem;
}
.contact-form h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--text2); }
.form-group input, .form-group select, .form-group textarea {
  padding: .7rem 1rem; background: var(--bg3);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--text);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
}
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: var(--red); }
.form-error { font-size: .75rem; color: var(--red); min-height: 1em; }
.form-success {
  display: flex; align-items: center; gap: .5rem;
  color: var(--green); font-size: .9rem; font-weight: 600;
  background: rgba(16,185,129,.1); padding: .75rem 1rem;
  border-radius: var(--radius-sm); margin-top: 1rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--bg3); border-top: 1px solid var(--border); }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2.5rem; padding: 4rem 24px 2.5rem;
}
.footer-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .87rem; color: var(--text2); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text2); display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: all var(--transition);
}
.footer-social a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.footer-col h4 { font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { font-size: .85rem; color: var(--text2); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--blue); }
.footer-col > p { font-size: .82rem; color: var(--text2); margin-bottom: .75rem; line-height: 1.6; }
.newsletter-form { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.newsletter-form input {
  flex: 1; padding: .6rem 1rem; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: .85rem; color: var(--text);
}
.newsletter-form input:focus { border-color: var(--blue); }
.footer-contact-mini p { font-size: .82rem; color: var(--text2); display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.footer-contact-mini i { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid var(--border); padding: 1.25rem 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: .8rem; color: var(--text3); }

/* =============================================
   FLOATING BUTTONS
   ============================================= */
.whatsapp-fab {
  position: fixed; bottom: 100px; right: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 900; transition: all var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.1); }

.back-to-top {
  position: fixed; bottom: 100px; left: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; box-shadow: var(--shadow-lg);
  z-index: 900; opacity: 0; transform: translateY(20px);
  transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* =============================================
   AI CHAT
   ============================================= */
.ai-chat-fab {
  position: fixed; bottom: 32px; right: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; box-shadow: 0 4px 20px rgba(59,130,246,.4);
  z-index: 900; transition: all var(--transition);
}
.ai-chat-fab:hover { transform: scale(1.1); }

.ai-chat-panel {
  position: fixed; bottom: 100px; right: 24px;
  width: 340px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl); z-index: 900;
  display: none; flex-direction: column; overflow: hidden;
}
.ai-chat-panel.open { display: flex; }
.ai-chat-header {
  padding: 1rem 1.25rem; background: var(--grad); color: #fff;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .9rem; font-weight: 700;
}
.ai-chat-header button { background: rgba(255,255,255,.2); border: none; color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.ai-chat-messages { padding: 1rem; min-height: 200px; max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: .75rem; }
.ai-msg { padding: .7rem 1rem; border-radius: var(--radius); font-size: .85rem; max-width: 85%; line-height: 1.5; }
.ai-msg.ai { background: var(--bg3); color: var(--text); align-self: flex-start; }
.ai-msg.user { background: var(--grad); color: #fff; align-self: flex-end; }
.ai-chat-input { padding: .75rem; border-top: 1px solid var(--border); display: flex; gap: .5rem; }
.ai-chat-input input { flex: 1; padding: .55rem .9rem; background: var(--bg3); border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .85rem; color: var(--text); }
.ai-chat-input button { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .85rem; }

/* =============================================
   SEARCH MODAL
   ============================================= */
.search-modal {
  position: fixed; top: 0; left: 0; width: 100%; padding: 100px 24px 24px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  z-index: 2000; display: none;
}
.search-modal.open { display: block; }
.search-modal-inner { max-width: 600px; margin: 0 auto; display: flex; gap: .75rem; }
.search-modal-inner input {
  flex: 1; padding: .9rem 1.25rem; background: var(--surface);
  border: 2px solid var(--blue); border-radius: var(--radius);
  font-size: 1rem; color: var(--text);
}
.search-modal-inner button { padding: .9rem 1.25rem; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--text2); font-size: 1rem; cursor: pointer; }
.search-results { max-width: 600px; margin: 1rem auto 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.search-result-item { padding: .75rem 1.25rem; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--text); cursor: pointer; }
.search-result-item:hover { background: var(--bg3); }
.search-result-item:last-child { border-bottom: none; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 600px; margin: 0 auto; }
  .hero-sub { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .about-content .section-title, .about-content .section-eyebrow { text-align: center; }
  .features-grid { justify-content: center; }
  .about-content p { text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 64px 0; }
  .nav-links { 
    position: fixed; top: var(--header-h); left: 0; width: 100%;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 1rem;
    transform: translateY(-120%); opacity: 0;
    transition: all var(--transition);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-link { padding: .75rem 1rem; border-radius: var(--radius-sm); }
  .nav-hamburger { display: flex; }
  .nav-actions .btn { display: none; }
  .dark-toggle { display: flex; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-num { font-size: 1.4rem; }
  .courses-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .why-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admission-card { padding: 2.5rem 1.5rem; }
  .ai-chat-panel { width: calc(100vw - 32px); right: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .results-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .admission-btns { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .back-to-top { left: 16px; bottom: 32px; }
  .whatsapp-fab { bottom: 100px; right: 16px; }
  .ai-chat-fab { bottom: 32px; right: 16px; }
}