/* ========================================
   LJIMC Landing Page — v3 Modern Redesign
   Logo-based | Swiper Testimonials | Gallery
   Hero Image Slider | Brochure Popup Form
   ======================================== */

:root {
  --primary: #0f2b5b;
  --primary-dark: #091d3e;
  --primary-light: #1e4d8c;
  --primary-lighter: #2d6bc4;
  --secondary: #d4a843;
  --secondary-light: #e8c05a;
  --secondary-dark: #b8922e;
  --accent: #f0b429;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f1f5f9;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --success: #16a34a;
  --error: #dc2626;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06);
  --shadow: 0 4px 24px rgba(15,23,42,.07);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.12);
  --shadow-xl: 0 20px 60px rgba(15,23,42,.18);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --max-w: 1200px;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { font-family: var(--font); color: var(--gray-800); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s var(--ease); }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* Utility */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }
.text-center { text-align: center; }

/* Section Head */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  background: linear-gradient(135deg, rgba(15,43,91,.06), rgba(212,168,67,.06));
  border: 1px solid rgba(15,43,91,.1);
  color: var(--primary); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: .4rem 1rem; border-radius: 100px; margin-bottom: 1rem;
}
.section-tag i { font-size: .7rem; color: var(--secondary); }
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800; color: var(--gray-900); line-height: 1.15; margin-bottom: .75rem;
}
.section-head p {
  font-size: 1.05rem; color: var(--gray-500); max-width: 620px; margin: 0 auto; line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .92rem; padding: .8rem 1.75rem;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: all .25s var(--ease); white-space: nowrap;
}
.btn-sm { padding: .55rem 1.25rem; font-size: .82rem; }
.btn-lg { padding: .95rem 2.25rem; font-size: 1rem; }
.btn i { font-size: .95em; transition: transform .25s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white); box-shadow: 0 4px 16px rgba(15,43,91,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(15,43,91,.35); }

.btn-accent {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  color: var(--primary-dark); box-shadow: 0 4px 16px rgba(212,168,67,.3); font-weight: 700;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,168,67,.4); }

.btn-glass {
  background: rgba(255,255,255,.12); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25); backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.45); transform: translateY(-2px); }

.btn-glass-dark {
  background: rgba(255,255,255,.08); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.2);
}
.btn-glass-dark:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }

.btn-white {
  background: var(--white); color: var(--primary); box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }

.btn-outline {
  background: transparent; color: var(--primary); border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: .65rem 0; transition: all .35s var(--ease);
}
.header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
  padding: .45rem 0;
}
/* When mobile menu is open, disable backdrop-filter to avoid containing block issues */
.header.menu-open {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* Lock body scroll when nav is open (optional for dropdown) */
body.nav-open { overflow: hidden; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

/* Logo */
.logo { display: flex; align-items: center; z-index: 10; flex-shrink: 0; }
.logo img { height: 44px; width: auto; transition: all .3s var(--ease); }
.logo-color { display: none; }
.header.scrolled .logo-white { display: none; }
.header.scrolled .logo-color { display: block; }

/* Nav */
.nav { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: .1rem; }
.nav-links a {
  display: flex; align-items: center; gap: .35rem;
  padding: .45rem .75rem; font-size: .8rem; font-weight: 500;
  color: rgba(255,255,255,.75); border-radius: var(--radius-sm);
  transition: all .2s var(--ease);
}
.nav-links a i { font-size: .65rem; opacity: .7; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.header.scrolled .nav-links a { color: var(--gray-600); }
.header.scrolled .nav-links a:hover { color: var(--primary); background: rgba(15,43,91,.05); }
/* Hide drawer-only elements on desktop */\n.nav-overlay { display: none; }

/* Header Right */
.header-right { display: flex; align-items: center; gap: .65rem; z-index: 10; }
.header-phone {
  display: flex; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.7); font-size: .8rem; font-weight: 500;
  padding: .4rem .75rem; border-radius: var(--radius-sm);
  transition: all .2s var(--ease);
}
.header-phone:hover { color: var(--white); background: rgba(255,255,255,.08); }
.header-phone i { color: var(--secondary-light); }
.header.scrolled .header-phone { color: var(--gray-600); }
.header.scrolled .header-phone:hover { color: var(--primary); background: rgba(15,43,91,.05); }
.header.scrolled .header-phone i { color: var(--primary-lighter); }

.nav-toggle {
  display: none; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: var(--white); width: 40px; height: 40px; border-radius: var(--radius-sm);
  font-size: 1.1rem; align-items: center; justify-content: center;
  transition: all .2s var(--ease);
}
.nav-toggle:hover { background: rgba(255,255,255,.2); }
.header.scrolled .nav-toggle { background: rgba(15,43,91,.05); border-color: rgba(15,43,91,.1); color: var(--gray-700); }

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--primary-dark); overflow: hidden; padding-top: 4.5rem;
}

/* Hero Image Slider */
.hero-slider { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(9,29,62,.93) 0%, rgba(15,43,91,.87) 50%, rgba(30,77,140,.8) 100%);
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 3;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-grid {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: 1fr;
  gap: 2.5rem; padding: 3rem 0 2.5rem;
}
.hero-content { max-width: 640px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(212,168,67,.12); border: 1px solid rgba(212,168,67,.25);
  color: var(--secondary-light); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: .45rem 1.1rem; border-radius: 100px; margin-bottom: 1.5rem;
  animation: fadeSlideDown .6s var(--ease);
}
.pulse-dot {
  width: 8px; height: 8px; background: var(--secondary); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero-institute {
  font-size: clamp(.85rem, 2vw, 1rem); color: rgba(255,255,255,.7);
  font-weight: 500; letter-spacing: .5px; margin-bottom: .75rem;
  animation: fadeSlideDown .6s var(--ease) .1s both;
}
.hero-institute i { color: var(--secondary-light); margin-right: .3rem; }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 3.25rem);
  font-weight: 800; color: var(--white); line-height: 1.12; margin-bottom: 1.25rem;
  animation: fadeSlideDown .6s var(--ease) .2s both;
}
.gradient-text {
  background: linear-gradient(135deg, var(--secondary-light), var(--accent), #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.1rem); color: rgba(255,255,255,.8);
  line-height: 1.7; margin-bottom: 1.75rem;
  animation: fadeSlideDown .6s var(--ease) .3s both;
}

.hero-checks {
  display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem;
  animation: fadeSlideDown .6s var(--ease) .4s both;
}
.hero-checks li {
  display: flex; align-items: center; gap: .45rem;
  color: rgba(255,255,255,.88); font-size: .88rem; font-weight: 500;
}
.hero-checks i { color: var(--secondary-light); font-size: .85rem; }

.hero-btns {
  display: flex; flex-wrap: wrap; gap: .85rem;
  animation: fadeSlideDown .6s var(--ease) .5s both;
}

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
  animation: fadeSlideDown .6s var(--ease) .6s both;
}
.trust-badge {
  display: flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  padding: .35rem .85rem; border-radius: 100px;
  color: rgba(255,255,255,.65); font-size: .78rem; font-weight: 500;
}
.trust-badge i { color: var(--secondary-light); font-size: .75rem; }

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   LEAD FORM (with highlight animation)
   ======================================== */
.form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-xl);
  border: 2px solid transparent;
  animation: fadeSlideUp .6s var(--ease) .3s both;
  position: relative; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form-card::before {
  content: ''; position: absolute; inset: -3px;
  background: linear-gradient(135deg, var(--secondary), var(--primary-lighter), var(--secondary));
  border-radius: calc(var(--radius-lg) + 3px); z-index: -1; opacity: .4;
}

/* Highlight animation when scrolled to */
.form-highlight {
  box-shadow: 0 0 0 4px rgba(212,168,67,.3), var(--shadow-xl);
  border-color: var(--secondary) !important;
  transition: box-shadow .6s var(--ease), border-color .6s var(--ease);
}

.form-card-header { text-align: center; margin-bottom: 1.25rem; }
.form-card-header h3 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--primary-dark); margin-bottom: .25rem;
}
.form-card-header h3 i { color: var(--primary-lighter); margin-right: .35rem; }
.form-card-header p { font-size: .82rem; color: var(--gray-500); }

.form-urgency {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: linear-gradient(135deg, rgba(220,38,38,.06), rgba(220,38,38,.03));
  border: 1px solid rgba(220,38,38,.12);
  border-radius: var(--radius-sm); padding: .5rem .75rem; margin-bottom: 1.25rem;
  font-size: .78rem; color: var(--error); font-weight: 600;
}

.form-field { margin-bottom: .85rem; }
.form-field label {
  display: block; font-size: .75rem; font-weight: 600; color: var(--gray-700);
  margin-bottom: .3rem; letter-spacing: .3px;
}
.input-box {
  display: flex; align-items: center; gap: .6rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 0 .85rem; background: var(--gray-50); transition: all .2s var(--ease);
}
.input-box:focus-within {
  border-color: var(--primary-lighter); background: var(--white);
  box-shadow: 0 0 0 3px rgba(45,107,196,.1);
}
.input-box i { color: var(--gray-400); font-size: .85rem; flex-shrink: 0; }
.input-box:focus-within i { color: var(--primary-lighter); }
.input-box input, .input-box select {
  flex: 1; border: none; outline: none; background: transparent;
  padding: .7rem 0; font-family: var(--font); font-size: .88rem; color: var(--gray-800);
}
.input-box input::placeholder { color: var(--gray-400); }
.phone-prefix {
  font-size: .88rem; font-weight: 600; color: var(--gray-600);
  white-space: nowrap; flex-shrink: 0; user-select: none;
  border-right: 1.5px solid var(--gray-200); padding-right: .5rem;
}

.form-submit-btn { width: 100%; margin-top: .5rem; font-size: .95rem; }
.form-note {
  text-align: center; font-size: .7rem; color: var(--gray-400); margin-top: .85rem;
}
.form-note i { margin-right: .25rem; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   STATS STRIP
   ======================================== */
.stats-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 1.75rem 0; position: relative; overflow: hidden;
}
.stats-strip::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  position: relative; z-index: 1;
}
.stat-box {
  display: flex; align-items: center; gap: .85rem; justify-content: center;
}
.stat-box > i {
  width: 44px; height: 44px; background: rgba(212,168,67,.15);
  border: 1px solid rgba(212,168,67,.2); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary-light); font-size: 1.1rem;
}
.stat-box strong {
  display: block; font-family: var(--font-display); font-size: 1.75rem;
  font-weight: 800; color: var(--secondary-light); line-height: 1;
}
.stat-box span { font-size: .75rem; color: rgba(255,255,255,.6); font-weight: 500; }

/* ========================================
   PROGRAMS — Improved Card Design
   ======================================== */
.programs { background: var(--off-white); }
.programs-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }

.prog-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(15,43,91,.04);
  transition: all .3s var(--ease);
}
.prog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.prog-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lighter) 100%);
  padding: 2rem 2rem 1.5rem; position: relative; overflow: hidden;
}
.prog-header.bmc {
  background: linear-gradient(135deg, #0c2340 0%, var(--primary) 60%, var(--primary-light) 100%);
}
.prog-header::before {
  content: ''; position: absolute; top: -60%; right: -20%; width: 280px; height: 280px;
  background: rgba(212,168,67,.1); border-radius: 50%;
}
.prog-header::after {
  content: ''; position: absolute; bottom: -40%; left: -10%; width: 180px; height: 180px;
  background: rgba(255,255,255,.03); border-radius: 50%;
}
.prog-header-content { position: relative; z-index: 1; }

.prog-type {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(212,168,67,.18); border: 1px solid rgba(212,168,67,.25);
  color: var(--secondary-light); font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: .3rem .85rem; border-radius: 100px; margin-bottom: .85rem;
}
.prog-type i { font-size: .6rem; }
.prog-header h3 {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: var(--white); line-height: 1.3; margin-bottom: .35rem;
}
.prog-tagline {
  font-size: .82rem; color: rgba(255,255,255,.6); font-weight: 500;
}

.prog-body { padding: 2rem; }

/* Meta pills row */
.prog-meta-row {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 1.75rem; padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--gray-100);
}
.meta-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--gray-50); border: 1px solid var(--gray-100);
  padding: .45rem .85rem; border-radius: 100px;
  font-size: .78rem; font-weight: 600; color: var(--gray-700);
}
.meta-pill i { color: var(--primary-lighter); font-size: .75rem; }

/* Features grid */
.prog-features-section { margin-bottom: 1.75rem; }
.prog-features-section h4 {
  font-size: .92rem; font-weight: 700; color: var(--gray-800); margin-bottom: 1rem;
}
.prog-features-section h4 i { color: var(--primary-lighter); margin-right: .4rem; }

.prog-features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .65rem;
}
.feature-item {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .84rem; color: var(--gray-600); line-height: 1.45;
  padding: .45rem .65rem; border-radius: var(--radius-sm);
  background: var(--gray-50); border: 1px solid transparent;
  transition: all .2s var(--ease);
}
.feature-item:hover {
  background: var(--white); border-color: rgba(15,43,91,.08);
  box-shadow: var(--shadow-sm);
}
.feature-item i {
  color: var(--success); font-size: .7rem; margin-top: .25rem; flex-shrink: 0;
}
.feature-item span { flex: 1; }

.prog-cta { width: 100%; justify-content: center; }

/* ========================================
   WHY LJIMC
   ======================================== */
.why { background: var(--white); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem;
}
.why-card {
  background: var(--off-white); border-radius: var(--radius);
  padding: 2rem; transition: all .3s var(--ease);
  border: 1px solid transparent; position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-lighter), var(--secondary));
  opacity: 0; transition: opacity .3s var(--ease);
}
.why-card:hover {
  background: var(--white); border-color: rgba(15,43,91,.08);
  box-shadow: var(--shadow-lg); transform: translateY(-4px);
}
.why-card:hover::before { opacity: 1; }
.why-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; color: var(--white); font-size: 1.2rem;
  margin-bottom: 1.25rem; box-shadow: 0 4px 12px rgba(15,43,91,.2);
}
.why-card h3 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  color: var(--gray-800); margin-bottom: .5rem;
}
.why-card p { font-size: .85rem; color: var(--gray-500); line-height: 1.65; }

/* ========================================
   CAREERS
   ======================================== */
.careers { background: var(--off-white); }
.careers-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem;
}
.career-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  text-align: center; border: 1px solid rgba(15,43,91,.04);
  transition: all .3s var(--ease);
}
.career-card:hover {
  border-color: var(--primary-lighter); box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.career-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(15,43,91,.06), rgba(212,168,67,.06));
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 1.15rem; color: var(--primary-lighter);
  margin: 0 auto .85rem; transition: all .3s var(--ease);
}
.career-card:hover .career-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  color: var(--white); box-shadow: 0 4px 12px rgba(15,43,91,.2);
}
.career-card h3 { font-size: .92rem; font-weight: 700; color: var(--gray-800); margin-bottom: .3rem; }
.career-card p { font-size: .78rem; color: var(--gray-500); line-height: 1.5; }

/* ========================================
   PHOTO GALLERY
   ======================================== */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer;
}
.gallery-item.gallery-wide { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,29,62,.7) 0%, transparent 60%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 1.25rem; opacity: 0; transition: opacity .3s var(--ease);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 1.5rem; margin-bottom: .5rem; }
.gallery-overlay span { color: rgba(255,255,255,.9); font-size: .85rem; font-weight: 600; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(0,0,0,.88); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; background: rgba(255,255,255,.15);
  border: none; border-radius: 50%; color: var(--white);
  font-size: 1.2rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background .2s var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ========================================
   TESTIMONIALS — Swiper Slider
   ======================================== */
.testimonials { background: var(--off-white); }

.testi-swiper {
  padding-bottom: 3.5rem !important;
  overflow: hidden;
}
.testi-swiper .swiper-wrapper { align-items: stretch; }
.testi-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.75rem; border: 1px solid rgba(15,43,91,.04);
  transition: all .3s var(--ease); position: relative; height: 100%;
  display: flex; flex-direction: column;
}
.testi-card::before {
  content: '\201c'; position: absolute; top: 1rem; right: 1.25rem;
  font-family: Georgia, serif; font-size: 3.5rem;
  color: rgba(15,43,91,.05); line-height: 1;
}
.testi-card:hover { box-shadow: var(--shadow); border-color: rgba(15,43,91,.08); }

.testi-stars { display: flex; gap: 3px; margin-bottom: .85rem; }
.testi-stars i { color: var(--secondary); font-size: .8rem; }
.testi-text {
  font-size: .88rem; color: var(--gray-600); line-height: 1.7;
  margin-bottom: .5rem; font-style: italic; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
  overflow: hidden; transition: all .3s ease;
}
.testi-text.expanded {
  -webkit-line-clamp: unset; overflow: visible;
}
.testi-toggle {
  background: none; border: none; cursor: pointer; padding: 0;
  font-size: .78rem; font-weight: 600; color: var(--primary);
  margin-bottom: 1rem; display: inline-block; transition: color .2s;
}
.testi-toggle:hover { color: var(--secondary); }
.testi-author { display: flex; align-items: center; gap: .85rem; }
.testi-author img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gray-100);
}
.testi-author strong { display: block; font-size: .85rem; color: var(--gray-800); }
.testi-author span { font-size: .72rem; color: var(--gray-400); }

/* Swiper overrides */
.testi-swiper .swiper-pagination-bullet {
  background: var(--gray-300); opacity: 1; width: 10px; height: 10px;
}
.testi-swiper .swiper-pagination-bullet-active {
  background: var(--primary); width: 28px; border-radius: 100px;
}
.testi-swiper .swiper-button-prev,
.testi-swiper .swiper-button-next {
  width: 40px; height: 40px; background: var(--white);
  border-radius: 50%; box-shadow: var(--shadow);
  color: var(--primary); top: 45%;
}
.testi-swiper .swiper-button-prev::after,
.testi-swiper .swiper-button-next::after { font-size: .85rem; font-weight: 700; }
.testi-swiper .swiper-button-prev { left: -20px; }
.testi-swiper .swiper-button-next { right: -20px; }
.testimonials .container { max-width: 1160px; position: relative; }

/* ========================================
   FACULTY
   ======================================== */
.faculty { background: var(--white); }
.faculty-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.faculty-card {
  background: var(--off-white); border-radius: var(--radius);
  padding: 2rem; text-align: center; border: 1px solid rgba(15,43,91,.04);
  transition: all .3s var(--ease);
}
.faculty-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); background: var(--white); }
.faculty-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--white); font-size: 1.4rem;
  margin: 0 auto 1.25rem; box-shadow: 0 6px 20px rgba(15,43,91,.2);
}
.faculty-card h3 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--gray-800); margin-bottom: .5rem;
}
.faculty-card p { font-size: .82rem; color: var(--gray-500); line-height: 1.65; }

/* ========================================
   PLACEMENT
   ======================================== */
.placement { background: var(--off-white); }
.placement-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.placement-item {
  display: flex; align-items: flex-start; gap: 1.1rem;
  padding: 1.5rem; background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(15,43,91,.04); transition: all .3s var(--ease);
}
.placement-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.placement-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; color: var(--white); font-size: 1.1rem; flex-shrink: 0;
}
.placement-item h3 { font-size: .95rem; font-weight: 700; color: var(--gray-800); margin-bottom: .3rem; }
.placement-item p { font-size: .82rem; color: var(--gray-500); line-height: 1.6; }

.companies-bar { margin-top: 2.5rem; text-align: center; }
.companies-bar > p {
  font-size: .8rem; color: var(--gray-400); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.25rem;
}
.companies-bar > p i { margin-right: .35rem; }
.company-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.company-logo {
  padding: .65rem 1.25rem; background: var(--white); border-radius: var(--radius-sm);
  font-size: .8rem; font-weight: 700; color: var(--gray-400); letter-spacing: .5px;
  border: 1px solid var(--gray-100); transition: all .2s var(--ease);
}
.company-logo:hover { border-color: var(--primary-lighter); color: var(--primary); }
.company-logos-wrap { position: relative; }
.company-logos-wrap.collapsed .company-logos {
  max-height: 120px; overflow: hidden;
}
.company-logos-wrap.collapsed::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 50px; background: linear-gradient(transparent, var(--gray-50));
  pointer-events: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.companies-toggle {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem;
  background: none; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  cursor: pointer; padding: .45rem 1.1rem; font-size: .78rem; font-weight: 600;
  color: var(--primary); transition: all .2s var(--ease);
}
.companies-toggle:hover { border-color: var(--primary); background: var(--primary-lighter); }

/* ========================================
   FAQ
   ======================================== */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--off-white); border-radius: var(--radius);
  margin-bottom: .75rem; border: 1px solid rgba(15,43,91,.05);
  overflow: hidden; transition: all .3s var(--ease);
}
.faq-item:hover { border-color: rgba(15,43,91,.1); }
.faq-item.active { box-shadow: var(--shadow); border-color: rgba(15,43,91,.1); background: var(--white); }

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem; background: none; border: none;
  font-size: .92rem; font-weight: 600; color: var(--gray-800);
  text-align: left; gap: 1rem; transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--primary-lighter); }
.faq-q i {
  font-size: .7rem; color: var(--gray-400);
  width: 28px; height: 28px; background: var(--white);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: all .3s var(--ease);
}
.faq-item.active .faq-q i {
  background: var(--primary); color: var(--white); transform: rotate(180deg);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.active .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 1.5rem 1.1rem;
  font-size: .85rem; color: var(--gray-500); line-height: 1.7;
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-lighter) 100%);
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 28px 28px;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; color: var(--white); margin-bottom: .85rem;
}
.final-sub {
  font-size: 1.02rem; color: rgba(255,255,255,.8);
  max-width: 600px; margin: 0 auto 2rem; line-height: 1.7;
}
.final-btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem;
  margin-bottom: 2rem;
}
.final-contact {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
}
.contact-link {
  display: flex; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.65); font-size: .88rem; font-weight: 500;
  transition: color .2s var(--ease);
}
.contact-link:hover { color: var(--white); }
.contact-link i { color: var(--secondary-light); }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--gray-900); padding: 2rem 0; }
.footer-inner { text-align: center; }
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 36px; margin: 0 auto; }
.footer p { font-size: .75rem; color: var(--gray-600); margin-bottom: 1rem; }
.footer-social { display: flex; justify-content: center; gap: .75rem; }
.footer-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); font-size: .85rem; transition: all .2s var(--ease);
}
.footer-credit { margin-bottom: 1rem; font-size: .7rem; color: var(--gray-500); }
.footer-credit a { color: var(--gray-400); text-decoration: none; transition: color .2s var(--ease); }
.footer-credit a:hover { color: var(--white); }
.footer-social a:hover {
  background: var(--primary-lighter); border-color: var(--primary-lighter);
  color: var(--white);
}

/* ========================================
   GALLERY COLLAPSE (2 rows)
   ======================================== */
.gallery-grid.gallery-collapsed {
  max-height: 470px; overflow: hidden;
  position: relative;
}
.gallery-grid.gallery-collapsed::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  pointer-events: none; z-index: 2;
}

/* ========================================
   CHATBOT WIDGET
   ======================================== */
.chatbot-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.5rem; cursor: pointer;
  box-shadow: 0 4px 20px rgba(15,43,91,.35);
  transition: all .3s var(--ease);
  animation: bounceIn .6s var(--ease) 1s both;
}
.chatbot-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(15,43,91,.45); }
.chatbot-fab-badge {
  position: absolute; top: -4px; right: -4px;
  width: 22px; height: 22px; background: var(--error);
  border-radius: 50%; font-size: .7rem; font-weight: 700;
  color: var(--white); display: none; align-items: center;
  justify-content: center; border: 2px solid var(--white);
  animation: pulse 2s infinite;
}

.chatbot-window {
  position: fixed; bottom: 92px; right: 24px; z-index: 1000;
  width: 380px; max-height: 540px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0,0,0,.18);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transform: translateY(16px) scale(.96);
  transition: all .3s var(--ease);
  overflow: hidden;
}
.chatbot-window.open {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  padding: .85rem 1.1rem; display: flex; align-items: center;
  justify-content: space-between; flex-shrink: 0;
}
.chatbot-header-info { display: flex; align-items: center; gap: .7rem; }
.chatbot-avatar {
  width: 36px; height: 36px; background: rgba(255,255,255,.15);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--white); font-size: .95rem;
}
.chatbot-header-info strong { color: var(--white); font-size: .88rem; display: block; }
.chatbot-header-info span { color: rgba(255,255,255,.6); font-size: .68rem; }
.chatbot-close {
  width: 30px; height: 30px; background: rgba(255,255,255,.12);
  border: none; border-radius: 50%; color: var(--white);
  font-size: .85rem; display: flex; align-items: center;
  justify-content: center; cursor: pointer;
  transition: background .2s var(--ease);
}
.chatbot-close:hover { background: rgba(255,255,255,.25); }

.chatbot-body {
  flex: 1; overflow-y: auto; padding: 1rem;
  max-height: 300px; min-height: 200px;
  display: flex; flex-direction: column; gap: .6rem;
  background: var(--gray-50);
}
.chat-msg { display: flex; }
.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }
.chat-bubble {
  max-width: 85%; padding: .65rem .9rem;
  font-size: .82rem; line-height: 1.55;
  border-radius: var(--radius) var(--radius) var(--radius) 4px;
  animation: fadeSlideUp .25s var(--ease);
}
.chat-msg.bot .chat-bubble {
  background: var(--white); color: var(--gray-700);
  border: 1px solid var(--gray-100);
  border-radius: 4px var(--radius) var(--radius) var(--radius);
}
.chat-msg.user .chat-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  color: var(--white);
}

.chatbot-quick {
  display: flex; flex-wrap: wrap; gap: .4rem;
  padding: .65rem 1rem; border-top: 1px solid var(--gray-100);
  max-height: 150px; overflow-y: auto; flex-shrink: 0;
}
.quick-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .7rem; font-size: .72rem; font-weight: 600;
  background: var(--off-white); border: 1px solid var(--gray-200);
  border-radius: 100px; color: var(--gray-700); cursor: pointer;
  transition: all .2s var(--ease); font-family: var(--font);
}
.quick-btn i { font-size: .65rem; color: var(--primary-lighter); }
.quick-btn:hover {
  background: var(--primary); color: var(--white);
  border-color: var(--primary);
}
.quick-btn:hover i { color: var(--white); }

.chatbot-input {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem 1rem; border-top: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.chatbot-input input {
  flex: 1; border: 1.5px solid var(--gray-200); border-radius: 100px;
  padding: .5rem .85rem; font-size: .82rem; font-family: var(--font);
  outline: none; transition: border-color .2s var(--ease);
}
.chatbot-input input:focus { border-color: var(--primary-lighter); }
.chatbot-input button {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  border: none; border-radius: 50%; color: var(--white);
  font-size: .85rem; display: flex; align-items: center;
  justify-content: center; cursor: pointer;
  transition: all .2s var(--ease); flex-shrink: 0;
}
.chatbot-input button:hover { transform: scale(1.08); }

.chat-contact-form {
  display: flex; flex-direction: column; gap: .4rem;
  background: var(--white); padding: .85rem;
  border-radius: var(--radius-sm); border: 1px solid var(--gray-100);
}
.chat-input {
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: .5rem .7rem; font-size: .8rem; font-family: var(--font);
  outline: none; transition: border-color .2s var(--ease);
  width: 100%;
}
.chat-input:focus { border-color: var(--primary-lighter); }
select.chat-input { appearance: auto; }
.chat-phone-wrap {
  display: flex; align-items: center; gap: .4rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 0 .7rem; background: var(--white);
  transition: border-color .2s var(--ease);
}
.chat-phone-wrap:focus-within { border-color: var(--primary-lighter); }
.chat-phone-wrap .phone-prefix { font-size: .8rem; border-right: 1.5px solid var(--gray-200); padding-right: .4rem; }
.chat-phone-wrap .chat-input { border: none; padding-left: 0; }
.chat-skip {
  background: none; border: none; color: var(--gray-400);
  font-size: .7rem; cursor: pointer; text-align: center;
  margin-top: .25rem; font-family: var(--font);
  transition: color .2s var(--ease);
}
.chat-skip:hover { color: var(--gray-600); }
@keyframes bounceIn {
  0% { opacity: 0; transform: scale(.3); }
  50% { transform: scale(1.05); }
  70% { transform: scale(.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* ========================================
   STICKY MOBILE CTA
   ======================================== */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: var(--white); padding: .75rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  border-top: 1px solid var(--gray-100); gap: .5rem;
}
.sticky-cta .btn { flex: 1; padding: .7rem; font-size: .82rem; }

/* ========================================
   POPUPS (Exit + Brochure)
   ======================================== */
.popup-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 10000;
  align-items: center; justify-content: center;
  padding: 1.5rem; backdrop-filter: blur(6px);
}
.popup-overlay.active { display: flex; }

.popup-box {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 460px; width: 100%; padding: 2.5rem;
  text-align: center; position: relative;
  animation: popUp .4s var(--ease);
  box-shadow: var(--shadow-xl);
}
.brochure-popup-box { max-width: 420px; }

@keyframes popUp {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px; background: var(--gray-50);
  border: none; border-radius: 50%; color: var(--gray-400);
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: all .2s var(--ease);
}
.popup-close:hover { background: var(--gray-100); color: var(--gray-700); }

.popup-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.5rem;
  margin: 0 auto 1.25rem; box-shadow: 0 6px 20px rgba(15,43,91,.2);
}
.popup-box h3 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  color: var(--primary-dark); margin-bottom: .65rem;
}
.popup-box > p {
  font-size: .88rem; color: var(--gray-500); margin-bottom: 1.5rem; line-height: 1.6;
}
.popup-box .btn { width: 100%; margin-bottom: .5rem; }
.popup-box .form-field { text-align: left; }
.popup-skip {
  display: inline-block; font-size: .78rem; color: var(--gray-400);
  cursor: pointer; margin-top: .5rem; transition: color .2s var(--ease);
}
.popup-skip:hover { color: var(--gray-600); }

/* ========================================
   CONTENT VISIBILITY (speed)
   ======================================== */
.careers, .gallery, .testimonials, .faculty, .placement, .faq, .final-cta, .footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 400px; align-items: center; padding-top: 2rem;
  }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .section-pad { padding: 3.5rem 0; }
  .hero { padding-top: 4rem; }
  .hero-grid { gap: 2rem; }
  .form-card { padding: 1.5rem; }
  .gallery-grid { grid-auto-rows: 180px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-swiper .swiper-button-prev { left: -10px; }
  .testi-swiper .swiper-button-next { right: -10px; }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 420px; gap: 3.5rem; min-height: 100vh;
  }
}

@media (max-width: 767px) {
  .container { padding: 0 1rem; }
  .section-pad { padding: 3rem 0; }
  .section-head { margin-bottom: 2rem; }
  .section-head h2 { font-size: 1.5rem; }
  .section-head p { font-size: .9rem; }

  /* Nav — dropdown below header */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    display: flex; flex-direction: column; align-items: stretch;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .35s var(--ease), opacity .25s var(--ease);
    z-index: 101;
  }
  .nav.open {
    max-height: 400px; opacity: 1;
  }
  /* Dark overlay behind dropdown */
  .nav-overlay {
    display: block; position: fixed; inset: 0;
    background: rgba(0,0,0,.4); z-index: -1;
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }
  .nav-overlay.active {
    opacity: 1; visibility: visible;
    transition: opacity .3s var(--ease), visibility 0s linear 0s;
  }
  .nav-links { flex-direction: column; gap: 0; text-align: left; width: 100%; padding: .35rem 0; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    font-size: .95rem; padding: .85rem 1.5rem;
    color: rgba(255,255,255,.9) !important;
    background: transparent;
    border-radius: 0; border: none;
    justify-content: flex-start;
    transition: background .2s var(--ease);
  }
  .nav-links a:hover, .nav-links a:active {
    background: rgba(255,255,255,.08) !important;
    color: var(--white) !important;
  }

  /* Hamburger toggle — swap icon when open */
  .nav-toggle { display: flex; }
  .header-right { z-index: 99; }
  .header-phone span { display: none; }
  .header-phone { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
  .header-phone i { margin: 0; }
  .header.scrolled .header-phone { background: rgba(15,43,91,.05); border-color: rgba(15,43,91,.1); }
  .header-right .btn-accent { display: none; }

  /* Hero — fill first screen, only text visible */
  .hero { min-height: 100vh; min-height: 100svh; padding: 7rem 0 2.5rem; display: flex; align-items: flex-start; }
  .hero-grid { padding: 1.5rem 0; gap: 2.5rem; }
  .hero .container { padding: 0 1.5rem; }
  .hero-badge { margin-bottom: .85rem; font-size: .7rem; padding: .35rem .9rem; }
  .hero-institute { font-size: .8rem; margin-bottom: .5rem; }
  .hero h1 { font-size: 1.5rem; margin-bottom: .75rem; line-height: 1.25; }
  .hero-sub { font-size: .85rem; margin-bottom: 1.15rem; line-height: 1.6; }
  .hero-checks { gap: .4rem; margin-bottom: 1.15rem; }
  .hero-checks li { font-size: .8rem; gap: .35rem; }
  .hero-btns { flex-direction: column; gap: .6rem; }
  .hero-btns .btn { width: 100%; justify-content: center; padding: .75rem 1.25rem; font-size: .9rem; }
  .hero-trust { gap: .4rem; margin-top: 1.15rem; padding-top: .85rem; }
  .trust-badge { font-size: .68rem; padding: .25rem .55rem; }

  .form-card { padding: 1.25rem; margin: 0; }
  .form-card::before { inset: -2px; }
  .hero-content { max-width: 100%; }
  .form-card-header { margin-bottom: 1rem; }
  .form-card-header h3 { font-size: 1.15rem; }
  .form-card-header p { font-size: .78rem; }
  .form-urgency { font-size: .72rem; padding: .4rem .6rem; margin-bottom: 1rem; }
  .form-field { margin-bottom: .7rem; }
  .form-field label { font-size: .72rem; }
  .input-box { padding: 0 .7rem; }
  .input-box input, .input-box select { padding: .6rem 0; font-size: .84rem; }
  .form-submit-btn { padding: .75rem; font-size: .9rem; }

  /* Stats */
  .stats-strip { padding: 1.25rem 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .stat-box { justify-content: flex-start; gap: .6rem; }
  .stat-box > i { width: 38px; height: 38px; font-size: .95rem; }
  .stat-box strong { font-size: 1.25rem; }
  .stat-box span { font-size: .7rem; }

  /* Programs */
  .prog-header { padding: 1.5rem 1.25rem 1.25rem; }
  .prog-header h3 { font-size: 1.15rem; }
  .prog-tagline { font-size: .78rem; }
  .prog-body { padding: 1.25rem; }
  .prog-features-grid { grid-template-columns: 1fr; }
  .prog-meta-row { gap: .45rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; }
  .meta-pill { padding: .35rem .65rem; font-size: .72rem; }
  .prog-features-section { margin-bottom: 1.25rem; }
  .feature-item { font-size: .8rem; padding: .35rem .5rem; }
  .prog-cta { padding: .8rem; font-size: .9rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: .6rem; }
  .gallery-item.gallery-wide { grid-column: span 2; }
  .gallery-grid.gallery-collapsed { max-height: 300px; }

  /* Why / Career grids */
  .why-grid { grid-template-columns: 1fr; gap: 1rem; }
  .why-card { padding: 1.5rem; }
  .why-icon { width: 44px; height: 44px; font-size: 1rem; margin-bottom: 1rem; }
  .why-card h3 { font-size: .95rem; }
  .why-card p { font-size: .82rem; }
  .careers-grid { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
  .career-card { padding: 1.15rem; }
  .career-card h3 { font-size: .85rem; }
  .career-card p { font-size: .74rem; }
  .career-icon { width: 40px; height: 40px; font-size: 1rem; margin-bottom: .65rem; }
  .placement-grid { grid-template-columns: 1fr; gap: 1rem; }
  .placement-item { padding: 1.15rem; gap: .85rem; }
  .company-logos { gap: .6rem; }
  .company-logo { padding: .5rem .85rem; font-size: .72rem; }

  /* Faculty */
  .faculty-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .faculty-card { padding: 1.25rem; }
  .faculty-icon { width: 52px; height: 52px; font-size: 1.15rem; margin-bottom: 1rem; }
  .faculty-card h3 { font-size: .9rem; }
  .faculty-card p { font-size: .78rem; }

  /* Testimonials */
  .testi-card { padding: 1.25rem; }
  .testi-text { font-size: .84rem; margin-bottom: .5rem; }
  .testi-author img { width: 38px; height: 38px; }
  .testi-author strong { font-size: .82rem; }
  .testi-author span { font-size: .7rem; }
  .testi-swiper .swiper-button-prev,
  .testi-swiper .swiper-button-next { display: none; }

  /* FAQ */
  .faq-q { padding: .85rem 1rem; font-size: .85rem; gap: .65rem; }
  .faq-q i { width: 24px; height: 24px; font-size: .6rem; }
  .faq-a-inner { padding: 0 1rem 1rem; font-size: .82rem; }

  /* Final CTA */
  .final-cta h2 { font-size: 1.45rem; }
  .final-sub { font-size: .9rem; margin-bottom: 1.5rem; }
  .final-btns { flex-direction: column; align-items: center; gap: .65rem; margin-bottom: 1.5rem; }
  .final-btns .btn { width: 100%; max-width: 320px; }
  .final-contact { flex-direction: column; align-items: center; gap: .65rem; }
  .contact-link { font-size: .82rem; }

  /* Footer */
  .footer { padding: 1.5rem 0 5rem; }
  .footer p { font-size: .7rem; }

  /* Popups */
  .popup-box { padding: 2rem 1.5rem; }
  .popup-box h3 { font-size: 1.15rem; }
  .popup-box > p { font-size: .82rem; }

  /* Sticky CTA + Chatbot */
  .sticky-cta { display: flex; }
  .chatbot-fab { bottom: 80px; right: 14px; width: 48px; height: 48px; font-size: 1.2rem; }
  .chatbot-window { width: calc(100vw - 1.5rem); right: .75rem; bottom: 140px; max-height: 65vh; }
  .chatbot-body { max-height: 240px; }
  .chatbot-quick { max-height: 120px; padding: .5rem .75rem; }
  .quick-btn { font-size: .68rem; padding: .35rem .6rem; }

  /* Body bottom spacing for sticky CTA */
  body { padding-bottom: 60px; }
}

@media (max-width: 480px) {
  html { font-size: 14.5px; }
  .hero h1 { font-size: 1.4rem; }
  .hero-sub { font-size: .84rem; }
  .hero-checks { flex-direction: column; gap: .35rem; }
  .hero { padding: 6rem 0 2rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .careers-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .gallery-item.gallery-wide { grid-column: span 1; }
  .gallery-grid.gallery-collapsed { max-height: 380px; }
  .form-card { padding: 1rem; }
  .form-card-header h3 { font-size: 1.05rem; }
  .prog-header { padding: 1.25rem 1rem 1rem; }
  .prog-body { padding: 1rem; }
  .prog-header h3 { font-size: 1.05rem; }
  .meta-pill { font-size: .68rem; padding: .3rem .55rem; }
  .section-head h2 { font-size: 1.35rem; }
  .section-head p { font-size: .85rem; }
  .final-cta h2 { font-size: 1.3rem; }
}

@media (max-width: 360px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 1.3rem; }
  .container { padding: 0 .85rem; }
  .stat-box strong { font-size: 1.1rem; }
}

/* ========================================
   FORM VALIDATION ERRORS
   ======================================== */
.input-box.input-error {
  border-color: var(--error) !important;
  background: rgba(220,38,38,.03);
}
.input-box.input-error i { color: var(--error); }
.field-error {
  display: flex; align-items: center; gap: .35rem;
  font-size: .72rem; color: var(--error); font-weight: 500;
  margin-top: .25rem; padding-left: .15rem;
  animation: errorSlide .25s var(--ease);
}
.field-error i { font-size: .65rem; }
@keyframes errorSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   SUCCESS POPUP
   ======================================== */
.success-popup-box { max-width: 440px; }
.success-icon {
  background: linear-gradient(135deg, #16a34a, #22c55e) !important;
  box-shadow: 0 6px 20px rgba(22,163,74,.25) !important;
}
.success-info {
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  text-align: left; margin-bottom: .5rem;
}
.success-info div {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--gray-600);
  padding: .35rem 0;
}
.success-info div + div { border-top: 1px solid var(--gray-100); }
.success-info i { color: var(--primary-lighter); font-size: .8rem; width: 16px; text-align: center; }
.success-info strong { color: var(--gray-700); }
