/* ==========================================================
   SDSCOP v2 — Royal Blue & Gold | Bold & Impactful
   Shri Dafedar Singh College of Pharmacy
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --blue-deep:   #0a1f5c;
  --blue-mid:    #1435a0;
  --blue-bright: #1e4fd8;
  --blue-light:  #e8edfb;
  --blue-soft:   #f0f3fd;
  --gold:        #c9960a;
  --gold-bright: #f0b429;
  --gold-light:  #fdf3d7;
  --gold-line:   #e8c040;
  --white:       #ffffff;
  --off:         #f7f8fc;
  --text-dark:   #09122b;
  --text-mid:    #2d3748;
  --text-muted:  #64748b;
  --border:      #dde3f0;
  --shadow-sm:   0 2px 12px rgba(10,31,92,0.08);
  --shadow-md:   0 8px 32px rgba(10,31,92,0.14);
  --shadow-lg:   0 20px 60px rgba(10,31,92,0.18);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-sm { padding: 64px 0; }

/* ── EYEBROW ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px; color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 2px;
}
.eyebrow.center { display: flex; justify-content: center; }

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900; color: var(--text-dark); line-height: 1.15;
  margin-bottom: 18px;
}
.sec-title.white { color: #fff; }
.sec-title.center { text-align: center; }
.sec-title .gold { color: var(--gold-bright); }
.sec-title .blue { color: var(--blue-bright); }

/* ── TOPBAR ── */
.topbar {
  background: var(--blue-deep);
  padding: 9px 0;
  font-size: 12.5px; color: #b8c8f0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 7px; }
.topbar-left span i { color: var(--gold-bright); }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a {
  color: #b8c8f0; font-size: 14px; transition: color .2s;
  width: 28px; height: 28px; border-radius: 6px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.topbar-social a:hover { color: var(--gold-bright); background: rgba(240,180,41,0.12); }

/* ── NAVBAR ── */
.navbar {
  background: var(--white);
  position: sticky; top: 0; z-index: 999;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 24px rgba(10,31,92,0.12);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 14px 28px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-crest {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 14px rgba(10,31,92,0.25);
}
.logo-crest img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 800; color: var(--blue-deep); line-height: 1.2;
}
.logo-tagline { font-size: 10.5px; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu a {
  font-size: 13px; font-weight: 600; color: var(--text-mid);
  padding: 8px 11px; border-radius: 8px; transition: all .2s;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active {
  background: var(--blue-light); color: var(--blue-deep);
}
.btn-apply-nav {
  background: linear-gradient(135deg, var(--gold), var(--gold) 40%, #e8a800);
  color: var(--blue-deep); padding: 10px 22px; border-radius: 9px;
  font-weight: 800; font-size: 13px; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(201,150,10,0.35);
  transition: all .2s; border: none;
}
.btn-apply-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,150,10,0.45); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { width: 26px; height: 2.5px; background: var(--blue-deep); border-radius: 2px; transition: all .3s; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0d2875 50%, var(--blue-mid) 100%);
  position: relative; overflow: hidden; padding: 90px 0 0;
  min-height: 90vh; display: flex; align-items: center;
}
.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");
}
.hero::after {
  content: ''; position: absolute;
  top: -120px; right: -120px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,180,41,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
  padding-bottom: 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,180,41,0.15); border: 1px solid rgba(240,180,41,0.4);
  color: var(--gold-bright); padding: 6px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 700; margin-bottom: 22px;
  text-transform: uppercase; letter-spacing: 1px;
}
.badge-pulse {
  width: 8px; height: 8px; background: var(--gold-bright);
  border-radius: 50%; animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 900; color: #fff; line-height: 1.1;
  margin-bottom: 18px;
}
.hero-h1 em { font-style: normal; color: var(--gold-bright); }

.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.78);
  line-height: 1.65; margin-bottom: 28px; max-width: 480px;
  font-weight: 400;
}

.hero-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff; padding: 7px 16px; border-radius: 50px;
  font-size: 12.5px; font-weight: 600;
  display: flex; align-items: center; gap: 7px;
}
.hero-pill i { color: var(--gold-bright); }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--blue-deep); padding: 15px 32px; border-radius: 11px;
  font-weight: 800; font-size: 15px;
  display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 6px 24px rgba(240,180,41,0.4); transition: all .2s;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(240,180,41,0.5); }
.btn-ghost-white {
  background: rgba(255,255,255,0.1); color: #fff;
  padding: 15px 32px; border-radius: 11px; font-weight: 700; font-size: 15px;
  border: 2px solid rgba(255,255,255,0.4); transition: all .2s;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.18); }

/* Hero right — college image */
.hero-img-wrap {
  position: relative; display: flex;
  align-items: flex-end; justify-content: center;
}
.hero-img-frame {
  width: 100%; border-radius: 20px; overflow: hidden;
  border: 3px solid rgba(240,180,41,0.4);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  position: relative; background: rgba(255,255,255,0.06);
}
.hero-img-frame img {
  width: 100%; height: 380px; object-fit: cover; display: block;
}
.hero-img-placeholder {
  width: 100%; height: 380px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
}
.hero-img-placeholder i { font-size: 56px; color: rgba(255,255,255,0.25); }
.hero-img-placeholder p { color: rgba(255,255,255,0.4); font-size: 14px; }
.img-ribbon {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(10,31,92,0.92) 0%, transparent 100%);
  padding: 28px 22px 18px;
  display: flex; align-items: center; gap: 14px;
}
.img-ribbon-badge {
  background: var(--gold); color: var(--blue-deep);
  padding: 6px 14px; border-radius: 7px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  white-space: nowrap;
}
.img-ribbon-text { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500; }

/* Floating stat cards on hero */
.hero-stat-card {
  position: absolute; background: #fff;
  border-radius: 12px; padding: 14px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  border-left: 4px solid var(--gold);
  display: flex; align-items: center; gap: 12px;
}
.hero-stat-card.top-left { top: -16px; left: -20px; }
.hero-stat-card.bottom-right { bottom: 60px; right: -20px; }
.stat-big { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; color: var(--blue-deep); line-height: 1; }
.stat-sm { font-size: 11px; color: var(--text-muted); font-weight: 600; margin-top: 2px; }

.hero-wave { line-height: 0; position: absolute; bottom: 0; left: 0; right: 0; }

/* ── STATS STRIP ── */
.stats-strip {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  padding: 0;
}
.stats-strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.strip-stat {
  padding: 32px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background .2s;
}
.strip-stat:last-child { border-right: none; }
.strip-stat:hover { background: rgba(255,255,255,0.05); }
.strip-num {
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 900; color: var(--gold-bright); line-height: 1;
  display: block;
}
.strip-label { color: rgba(255,255,255,0.7); font-size: 12.5px; font-weight: 600; margin-top: 5px; display: block; }

/* ── ABOUT ── */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-side { position: relative; }
.about-main-img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: 20px; display: block;
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder {
  width: 100%; height: 480px; border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-soft));
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
  border: 2px dashed var(--border);
}
.about-img-placeholder i { font-size: 60px; color: var(--blue-bright); opacity: .35; }
.about-badge-float {
  position: absolute; bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  color: #fff; padding: 22px 26px; border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gold);
  text-align: center;
}
.about-badge-float strong { display: block; font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900; color: var(--gold-bright); }
.about-badge-float span { font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 600; }

.about-text p { color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; font-size: 15.5px; }
.about-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 30px; }
.check-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--text-dark);
}
.check-item i { color: var(--gold); font-size: 16px; flex-shrink: 0; }

.btn-blue {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
  color: #fff; padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-sm); transition: all .2s;
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── CHAIRMAN SECTION ── */
.leader-section {
  padding: 0; overflow: hidden;
}
.leader-full {
  display: grid; grid-template-columns: 480px 1fr;
  min-height: 580px; align-items: stretch;
}
.leader-full.reverse { grid-template-columns: 1fr 480px; }

.leader-photo-side {
  position: relative; overflow: hidden; background: var(--blue-deep);
  min-height: 560px;
}
.leader-photo-side img {
  width: 100%; height: 100%; min-height: 560px; object-fit: cover;
  object-position: center top;
  display: block; opacity: 0.9;
  position: absolute; top: 0; left: 0;
}
.leader-photo-placeholder {
  width: 100%; height: 100%; min-height: 500px;
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
}
.leader-avatar-big {
  width: 160px; height: 160px; border-radius: 50%;
  border: 4px solid rgba(240,180,41,0.5);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: rgba(255,255,255,0.4);
}
.leader-photo-side .photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(10,31,92,0.3) 100%);
}
.leader-full.reverse .leader-photo-side .photo-overlay {
  background: linear-gradient(270deg, transparent 60%, rgba(10,31,92,0.3) 100%);
}
.leader-role-badge {
  position: absolute; top: 28px; left: 28px;
  background: var(--gold); color: var(--blue-deep);
  padding: 8px 20px; border-radius: 50px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
}
.leader-full.reverse .leader-role-badge { left: auto; right: 28px; }

.leader-content-side {
  background: var(--blue-deep); padding: 64px 56px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.leader-content-side::before {
  content: '❝';
  position: absolute; top: 20px; right: 36px;
  font-size: 120px; color: rgba(240,180,41,0.06);
  font-family: Georgia, serif; line-height: 1;
}
.leader-content-side .eyebrow { color: var(--gold-bright); }
.leader-name {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 900; color: #fff;
  margin-bottom: 6px; line-height: 1.1;
}
.leader-title-line {
  color: var(--gold-bright); font-size: 14px; font-weight: 700;
  margin-bottom: 28px; text-transform: uppercase; letter-spacing: 1px;
}
.leader-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 2px; margin-bottom: 28px;
}
.leader-quote {
  color: rgba(255,255,255,0.82); font-size: 16px;
  line-height: 1.8; font-style: italic; margin-bottom: 32px;
  border-left: 3px solid var(--gold);
  padding-left: 22px;
}
.leader-quote strong { color: var(--gold-bright); font-style: normal; }
.btn-gold-outline {
  display: inline-flex; align-items: center; gap: 9px;
  border: 2px solid var(--gold); color: var(--gold-bright);
  padding: 12px 26px; border-radius: 10px;
  font-weight: 700; font-size: 14px; transition: all .2s;
  align-self: flex-start;
}
.btn-gold-outline:hover {
  background: var(--gold); color: var(--blue-deep);
}

/* Alt leader (director) — flipped bg */
.leader-content-side.alt {
  background: linear-gradient(135deg, #0d2875, var(--blue-deep));
}

/* ── ADMISSION FORM SECTION ── */
.form-section {
  background: var(--blue-soft);
  border-top: 1px solid var(--border);
}
.form-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-why-box {
  background: linear-gradient(160deg, var(--blue-deep) 0%, #0d2875 100%);
  border-radius: 20px; padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.form-why-box::after {
  content: '';
  position: absolute; bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(240,180,41,0.07); border-radius: 50%;
}
.form-why-box h3 {
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 800;
  color: #fff; margin-bottom: 24px;
}
.why-list { list-style: none; margin-bottom: 32px; }
.why-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px; color: rgba(255,255,255,0.82);
}
.why-list li:last-child { border-bottom: none; }
.why-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(240,180,41,0.2); border: 1.5px solid var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.why-check i { color: var(--gold-bright); font-size: 11px; }
.helpline-box {
  background: rgba(240,180,41,0.12);
  border: 1px solid rgba(240,180,41,0.3);
  border-radius: 12px; padding: 20px;
}
.helpline-box h4 { color: var(--gold-bright); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.helpline-box p { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.helpline-box p i { color: var(--gold-bright); }

.form-card {
  background: #fff; border-radius: 20px; padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-card-header { margin-bottom: 28px; }
.form-card-header h3 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 800; color: var(--blue-deep); }
.form-card-header p { color: var(--text-muted); font-size: 13px; margin-top: 4px; }

.f-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.f-group label { font-size: 12.5px; font-weight: 700; color: var(--text-dark); }
.f-group input, .f-group select, .f-group textarea {
  padding: 12px 15px; border: 2px solid var(--border); border-radius: 9px;
  font-size: 14px; font-family: inherit; color: var(--text-dark);
  background: var(--off); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(30,79,216,0.1);
  background: #fff;
}
.req { color: #e53e3e; }
.btn-submit-main {
  width: 100%; background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
  color: #fff; border: none; padding: 15px; border-radius: 11px;
  font-size: 15px; font-weight: 800; cursor: pointer;
  font-family: inherit; transition: all .2s;
  box-shadow: 0 6px 20px rgba(20,53,160,0.35);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 6px;
}
.btn-submit-main:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(20,53,160,0.45); }
.form-status { padding: 12px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; margin-bottom: 14px; display: none; }
.form-status.success { background: #e6ffed; color: #1a5e2e; border: 1.5px solid #86efac; }
.form-status.error { background: #fff0f0; color: #9b1c1c; border: 1.5px solid #fc8181; }

/* ── COURSE SECTION ── */
.course-section { background: var(--white); }
.course-hero-card {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0d2875 60%, var(--blue-mid) 100%);
  border-radius: 24px; padding: 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center; margin-top: 40px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.course-hero-card::before {
  content: ''; position: absolute;
  top: -60px; right: -60px; width: 300px; height: 300px;
  background: rgba(240,180,41,0.06); border-radius: 50%;
}
.course-icon-wrap {
  width: 80px; height: 80px; border-radius: 20px;
  background: rgba(240,180,41,0.15); border: 2px solid rgba(240,180,41,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; margin-bottom: 24px;
}
.course-card-title {
  font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900;
  color: #fff; margin-bottom: 16px; line-height: 1.2;
}
.course-card-desc { color: rgba(255,255,255,0.78); font-size: 15px; line-height: 1.75; margin-bottom: 28px; }
.course-meta-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.course-meta-item {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 18px 16px;
  display: flex; align-items: center; gap: 14px;
}
.cm-icon { font-size: 22px; color: var(--gold-bright); flex-shrink: 0; }
.cm-label { font-size: 11px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.5px; display: block; }
.cm-value { font-size: 16px; font-weight: 800; color: #fff; display: block; margin-top: 3px; }

/* ── FEATURES GRID ── */
.features-section { background: var(--off); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.feat-card-v2 {
  background: #fff; border-radius: 18px; padding: 30px 24px;
  border: 1px solid var(--border); text-align: center;
  transition: all .3s; position: relative; overflow: hidden;
}
.feat-card-v2::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-mid), var(--gold));
}
.feat-card-v2:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-bright); }
.feat-icon-v2 {
  width: 60px; height: 60px; border-radius: 15px; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-soft));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  border: 2px solid var(--border);
}
.feat-card-v2 h4 { font-size: 15px; font-weight: 800; color: var(--blue-deep); margin-bottom: 8px; }
.feat-card-v2 p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── STAFF SECTION ── */
.staff-section { background: var(--white); }
.staff-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.staff-card-v2 {
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: all .3s; background: #fff;
}
.staff-card-v2:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.staff-top {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  padding: 32px; text-align: center; position: relative;
}
.staff-top::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}
.staff-av {
  width: 90px; height: 90px; border-radius: 50%; margin: 0 auto;
  border: 3px solid rgba(240,180,41,0.5);
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: rgba(255,255,255,0.5);
}
.staff-avatar-img {
  width: 90px; height: 90px; border-radius: 50%; margin: 0 auto; display: block;
  border: 3px solid rgba(240,180,41,0.5); object-fit: cover; flex-shrink: 0;
}
.staff-body-v2 { padding: 22px; text-align: center; }
.staff-name-v2 { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 800; color: var(--text-dark); margin-bottom: 5px; }
.staff-role-v2 { color: var(--blue-mid); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px; }
.staff-badge-v2 {
  display: inline-block; background: var(--blue-light); color: var(--blue-deep);
  padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700;
}
.staff-card-v2.is-placeholder { opacity: .72; }
.staff-card-v2.is-placeholder .staff-name-v2 { font-style: italic; color: var(--text-muted); }

@media (max-width: 1024px) {
  .staff-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 640px) {
  .staff-grid-v2 { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .staff-top { padding: 26px; }
  .staff-avatar-img, .staff-av { width: 84px; height: 84px; }
}

/* ── GALLERY ── */
.gallery-section { background: var(--off); }
.gallery-grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 860px) { .gallery-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid-v2 { grid-template-columns: 1fr; gap: 14px; } }
.g-item {
  border-radius: 14px; overflow: hidden; aspect-ratio: 4/3;
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 10px;
  border: 2px dashed var(--border); cursor: pointer; transition: all .3s;
}
.g-item:hover { border-color: var(--blue-bright); transform: scale(1.01); }
.g-item i { font-size: 40px; color: var(--blue-bright); opacity: .3; }
.g-item p { font-size: 12px; color: var(--text-muted); }

/* ── SOCIAL ── */
.social-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 860px) { .social-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .social-cards { grid-template-columns: 1fr; gap: 18px; } }
.soc-card {
  border-radius: 18px; padding: 36px 28px; text-align: center;
  color: #fff; text-decoration: none; transition: all .3s;
  box-shadow: var(--shadow-md);
}
.soc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.soc-card.fb { background: linear-gradient(135deg, #1877f2, #0c5fd6); }
.soc-card.ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #bc1888); }
.soc-card.goog { background: linear-gradient(135deg, #ea4335, #c5221f); }
.soc-icon { font-size: 48px; margin-bottom: 14px; }
.soc-name { font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 6px; }
.soc-handle { opacity: .8; font-size: 13px; margin-bottom: 16px; }
.soc-btn {
  display: inline-block; background: rgba(255,255,255,0.2);
  padding: 7px 20px; border-radius: 50px; font-size: 13px; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.35);
}

/* ── MAP / CONTACT ── */
.contact-grid-v2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; margin-top: 40px; align-items: start; }
.contact-cards-stack { display: flex; flex-direction: column; gap: 16px; }
.c-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; display: flex; gap: 14px;
  transition: box-shadow .2s;
}
.c-card:hover { box-shadow: var(--shadow-sm); }
.c-ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
}
.c-card h4 { font-size: 13px; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.c-card p, .c-card a { font-size: 13.5px; color: var(--text-mid); line-height: 1.6; text-decoration: none; display: block; }
.c-card a:hover { color: var(--blue-bright); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-deep), #0d2875, var(--blue-mid));
  padding: 72px 0 56px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  top: -80px; right: -80px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,180,41,0.08), transparent 70%);
  border-radius: 50%;
}
.page-hero::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb i { font-size: 10px; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(30px,4vw,50px); font-weight: 900; color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 16px; max-width: 600px; }
.page-hero .gold-line { width: 60px; height: 4px; background: linear-gradient(90deg,var(--gold),var(--gold-bright)); border-radius: 2px; margin: 16px 0; }

/* ── MESSAGE PAGES ── */
.msg-grid { display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: start; }
.msg-portrait-card {
  background: linear-gradient(160deg, var(--blue-deep), #0d2875);
  border-radius: 24px; padding: 44px 32px; text-align: center;
  box-shadow: var(--shadow-lg); border: 2px solid rgba(240,180,41,0.25);
  position: sticky; top: 100px;
}
.msg-portrait-img {
  width: 180px; height: 180px; border-radius: 50%; margin: 0 auto 20px;
  border: 4px solid rgba(240,180,41,0.5); object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.msg-portrait-placeholder {
  width: 180px; height: 180px; border-radius: 50%; margin: 0 auto 20px;
  border: 4px solid rgba(240,180,41,0.5); background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 70px; color: rgba(255,255,255,0.3);
}
.msg-name { font-family: 'Playfair Display', serif; font-size: 24px; color: #fff; font-weight: 800; margin-bottom: 5px; }
.msg-role { color: var(--gold-bright); font-size: 13px; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.msg-org { color: rgba(255,255,255,0.55); font-size: 12px; }
.msg-divider { width: 50px; height: 3px; background: linear-gradient(90deg,var(--gold),var(--gold-bright)); border-radius: 2px; margin: 20px auto; }
.msg-contact { background: rgba(240,180,41,0.1); border: 1px solid rgba(240,180,41,0.25); border-radius: 10px; padding: 16px; margin-top: 16px; }
.msg-contact p { color: rgba(255,255,255,0.75); font-size: 12px; margin-bottom: 6px; }
.msg-contact strong { color: #fff; font-size: 14px; }

.msg-content h2 { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--blue-deep); margin-bottom: 28px; font-weight: 900; }
.msg-content p { color: var(--text-mid); line-height: 1.85; margin-bottom: 16px; font-size: 15.5px; }
.msg-sig { margin-top: 36px; padding-top: 28px; border-top: 2px solid var(--border); }
.msg-sig strong { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--text-dark); display: block; }
.msg-sig span { color: var(--blue-mid); font-size: 13px; font-weight: 700; }

/* ── APPLY PAGE ── */
.apply-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.elig-box { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 28px; margin-bottom: 20px; }
.elig-box h3 { font-size: 15px; font-weight: 800; color: var(--blue-deep); margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.elig-box ul { list-style: none; }
.elig-box li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-mid); padding: 8px 0; border-bottom: 1px solid var(--border); }
.elig-box li:last-child { border-bottom: none; }
.elig-box li i { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ── FOOTER ── */
.footer {
  background: linear-gradient(160deg, var(--blue-deep) 0%, #07163d 100%);
  padding: 72px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 56px; }
.f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.f-brand-logo {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(240,180,41,0.15); border: 2px solid rgba(240,180,41,0.3);
  display: flex; align-items: center; justify-content: center; font-size: 20px; overflow: hidden;
}
.f-brand-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.f-brand-name { font-family: 'Playfair Display', serif; font-size: 17px; color: #fff; font-weight: 800; line-height: 1.2; }
.f-col p { font-size: 13.5px; color: rgba(184,200,240,0.75); line-height: 1.7; margin-bottom: 5px; }
.f-col h4 { color: var(--gold-bright); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.f-col ul li a { color: rgba(184,200,240,0.7); font-size: 13.5px; transition: color .2s; }
.f-col ul li a:hover { color: var(--gold-bright); }
.f-social { display: flex; gap: 10px; margin-top: 20px; }
.f-soc-btn {
  width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center;
  justify-content: center; font-size: 16px; color: rgba(184,200,240,0.7);
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  transition: all .2s; text-decoration: none;
}
.f-soc-btn:hover { background: rgba(240,180,41,0.2); color: var(--gold-bright); border-color: rgba(240,180,41,0.3); }
.btn-footer-cta {
  display: inline-block; background: linear-gradient(135deg,var(--gold-bright),var(--gold));
  color: var(--blue-deep); padding: 10px 22px; border-radius: 9px;
  font-weight: 800; font-size: 13.5px; margin-top: 16px; transition: all .2s;
}
.btn-footer-cta:hover { transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(184,200,240,0.45); }
.gold-strip { height: 4px; background: linear-gradient(90deg, var(--blue-mid), var(--gold), var(--gold-bright), var(--gold), var(--blue-mid)); }
/* ══════════════════════════════════════════════════════
   SDSCOP — COMPLETE MOBILE RESPONSIVE FIX
   Replaces all previous responsive rules
   Fixes: horizontal scroll, hidden images, card overflow
══════════════════════════════════════════════════════ */

/* ── GLOBAL overflow prevention ── */
html { overflow-x: hidden; box-sizing: border-box; }
body { overflow-x: hidden; width: 100%; position: relative; }
*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════
   TABLET  ≤ 1024px
══════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }

  /* HERO */
  .hero { padding: 56px 0 0; min-height: auto; }
  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 36px;
    text-align: center;
    padding-bottom: 0 !important;
    align-items: center;
  }
  .hero-content { width: 100%; }
  .hero-pills, .hero-ctas { justify-content: center; }
  .hero-sub { max-width: 100%; }

  /* HERO IMAGE — visible on tablet */
  .hero-img-wrap {
    display: block !important;
    width: 100% !important;
    position: relative !important;
    padding: 0 20px 20px !important;
  }
  .hero-stat-card { display: none !important; }
  .hero-img-frame { width: 100%; max-width: 600px; margin: 0 auto; border-radius: 16px; }
  .hero-img-frame img { height: 320px !important; }

  /* ABOUT */
  .about-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .about-img-side { display: block !important; width: 100%; }
  .about-main-img { height: 360px !important; }
  .about-badge-float {
    position: relative !important;
    bottom: auto !important; right: auto !important;
    display: inline-flex;
    gap: 10px;
    margin-top: 14px;
    border-radius: 12px;
  }

  /* LEADERS */
  .leader-full { display: flex !important; flex-direction: column !important; }
  .leader-full.reverse { display: flex !important; flex-direction: column !important; }
  .leader-photo-side { min-height: 380px !important; order: 0 !important; width: 100%; }
  .leader-content-side { order: 1 !important; width: 100%; padding: 44px 32px !important; }
  .leader-photo-side img { min-height: 380px !important; }

  /* COURSE */
  .course-hero-card { grid-template-columns: 1fr !important; padding: 36px 28px !important; gap: 28px !important; }
  .course-meta-cards { grid-template-columns: repeat(3, 1fr) !important; }

  /* FEATURES */
  .features-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }

  /* FORM */
  .form-wrapper { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* WHY */
  .wc-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .wc-cta .container { flex-wrap: wrap; gap: 16px; }

  /* MAP */
  .map-fullwidth-grid { grid-template-columns: 1fr !important; }
  .map-info-panel { padding: 44px 24px !important; }
  .map-embed-panel iframe { min-height: 320px !important; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }

  /* INNER PAGES */
  .msg-grid { grid-template-columns: 1fr !important; }
  .apply-grid { grid-template-columns: 1fr !important; }
  .contact-grid-v2 { grid-template-columns: 1fr !important; }
}

/* ══════════════════
   MOBILE  ≤ 768px
══════════════════ */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }

  /* TOPBAR — hide to save space */
  .topbar { display: none !important; }

  /* NAVBAR */
  .navbar .nav-inner { padding: 12px 16px; }
  .logo-crest { width: 40px !important; height: 40px !important; font-size: 18px !important; }
  .logo-name { font-size: 12px !important; line-height: 1.3 !important; }
  .logo-tagline { display: none !important; }
  .nav-menu {
    display: none;
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    right: 0 !important; bottom: 0 !important;
    width: 100vw !important; height: 100vh !important;
    background: #fff !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    gap: 6px !important;
    padding: 24px !important;
    overflow: hidden;
  }
  .nav-menu.open { display: flex !important; }
  .nav-menu a {
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    width: 100%;
    text-align: center;
    border-radius: 10px;
  }
  .hamburger { display: flex !important; z-index: 10000 !important; }
  .btn-apply-nav {
    display: block !important;
    font-size: 11px !important;
    padding: 7px 12px !important;
    border-radius: 7px !important;
  }

  /* HERO */
  .hero { padding: 48px 0 0 !important; min-height: auto !important; }
  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    text-align: center !important;
    padding-bottom: 0 !important;
  }
  .hero-content { width: 100%; padding: 0 !important; }
  .hero-h1 { font-size: clamp(24px, 7vw, 36px) !important; }
  .hero-sub { font-size: 14px !important; max-width: 100%; }
  .hero-badge { font-size: 10px !important; padding: 5px 12px !important; letter-spacing: 0.5px !important; }
  .hero-pills { gap: 7px !important; flex-wrap: wrap !important; justify-content: center !important; }
  .hero-pill { font-size: 11px !important; padding: 5px 11px !important; }
  .hero-ctas { gap: 10px !important; justify-content: center !important; flex-wrap: wrap !important; }
  .btn-gold { padding: 11px 20px !important; font-size: 13px !important; }
  .btn-ghost-white { padding: 11px 20px !important; font-size: 13px !important; }

  /* HERO IMAGE — full-width strip below text */
  .hero-img-wrap {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .hero-img-frame {
    width: 100% !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 3px solid rgba(240,180,41,0.5) !important;
    border-bottom: 3px solid rgba(240,180,41,0.5) !important;
    box-shadow: none !important;
  }
  .hero-img-frame img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
  }
  .img-ribbon { padding: 20px 14px 12px !important; gap: 8px !important; }
  .img-ribbon-badge { font-size: 10px !important; padding: 4px 10px !important; }
  .img-ribbon-text { font-size: 11px !important; }
  .hero-stat-card { display: none !important; }

  /* STATS STRIP */
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr) !important; }
  .strip-stat {
    padding: 18px 10px !important;
    border-right: 1px solid rgba(255,255,255,0.1) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  }
  .strip-stat:nth-child(2) { border-right: none !important; }
  .strip-stat:nth-child(3) { border-bottom: none !important; }
  .strip-stat:nth-child(4) { border-right: none !important; border-bottom: none !important; }
  .strip-num { font-size: 30px !important; }
  .strip-label { font-size: 10px !important; }

  /* ABOUT SECTION — image fully visible */
  .about-section { overflow: visible !important; }
  .about-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  .about-img-side {
    display: block !important;
    width: 100% !important;
    position: relative !important;
  }
  .about-main-img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    display: block !important;
    box-shadow: 0 8px 24px rgba(10,31,92,0.15) !important;
  }
  .about-badge-float {
    position: relative !important;
    bottom: auto !important; right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 12px !important;
    padding: 12px 18px !important;
    border-radius: 12px !important;
  }
  .about-badge-float strong { font-size: 22px !important; }
  .about-text { width: 100% !important; }
  .about-text p { font-size: 14px !important; line-height: 1.7 !important; }
  .about-checks { grid-template-columns: 1fr !important; gap: 8px !important; }
  .check-item { font-size: 13px !important; }

  /* LEADERS — photo visible, stacked */
  .leader-section { overflow: visible !important; }
  .leader-full,
  .leader-full.reverse {
    display: flex !important;
    flex-direction: column !important;
  }
  .leader-photo-side {
    width: 100% !important;
    min-height: 280px !important;
    max-height: 320px !important;
    order: 0 !important;
    flex-shrink: 0;
  }
  .leader-photo-side img {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 280px !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    opacity: 1 !important;
  }
  .leader-content-side {
    order: 1 !important;
    width: 100% !important;
    padding: 28px 18px !important;
  }
  .leader-content-side::before { display: none !important; }
  .leader-name { font-size: 22px !important; }
  .leader-title-line { font-size: 11px !important; margin-bottom: 16px !important; }
  .leader-divider { margin-bottom: 16px !important; }
  .leader-quote { font-size: 13px !important; line-height: 1.65 !important; padding-left: 12px !important; margin-bottom: 20px !important; }
  .btn-gold-outline { padding: 10px 18px !important; font-size: 12px !important; }

  /* COURSE */
  .course-section { overflow: visible !important; }
  .course-hero-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 22px 16px !important;
    gap: 20px !important;
    border-radius: 14px !important;
  }
  .course-icon-wrap { width: 56px !important; height: 56px !important; font-size: 26px !important; margin-bottom: 12px !important; }
  .course-card-title { font-size: 20px !important; margin-bottom: 10px !important; }
  .course-card-desc { font-size: 13px !important; margin-bottom: 18px !important; }
  .course-meta-cards { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .course-meta-item { padding: 12px 10px !important; gap: 8px !important; border-radius: 10px !important; }
  .cm-icon { font-size: 18px !important; }
  .cm-label { font-size: 10px !important; }
  .cm-value { font-size: 13px !important; }

  /* FEATURES */
  .features-section { overflow: visible !important; }
  .features-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; margin-top: 28px !important; }
  .feat-card-v2 { padding: 18px 12px !important; border-radius: 12px !important; }
  .feat-icon-v2 { width: 44px !important; height: 44px !important; font-size: 18px !important; margin-bottom: 10px !important; border-radius: 10px !important; }
  .feat-card-v2 h4 { font-size: 12px !important; margin-bottom: 5px !important; }
  .feat-card-v2 p { font-size: 11px !important; line-height: 1.5 !important; }

  /* FORM SECTION — fix card overflow */
  .form-section { overflow: visible !important; }
  .form-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .form-why-box {
    width: 100% !important;
    padding: 22px 18px !important;
    border-radius: 16px !important;
    overflow: visible !important;
  }
  .form-why-box::after { display: none !important; }
  .form-why-box h3 { font-size: 18px !important; margin-bottom: 16px !important; }
  .why-list li { font-size: 13px !important; padding: 8px 0 !important; }
  .helpline-box { padding: 14px !important; }
  .helpline-box p { font-size: 14px !important; }
  .form-card {
    width: 100% !important;
    padding: 22px 18px !important;
    border-radius: 16px !important;
  }
  .form-card-header h3 { font-size: 20px !important; }
  .f-group input, .f-group select, .f-group textarea {
    font-size: 16px !important; /* prevents iOS zoom */
    padding: 11px 12px !important;
  }
  .btn-submit-main { font-size: 15px !important; padding: 14px !important; }

  /* GALLERY SLIDER */
  #glSlider { border-radius: 12px !important; }
  .gl-panel img { height: 200px !important; }
  .gl-caption { font-size: 12px !important; padding: 16px 12px 10px !important; }
  .gl-thumb-strip {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    margin-top: 10px !important;
  }
  .gl-thumb img { height: 52px !important; }
  .gl-thumb > div { font-size: 9px !important; padding: 3px 2px !important; }

  /* WHY CHOOSE */
  .why-choose-section { overflow: visible !important; }
  .wc-header { padding: 40px 0 28px !important; }
  .wc-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 !important;
  }
  .wc-card {
    width: 100% !important;
    padding: 22px 18px !important;
    border-radius: 14px !important;
  }
  .wc-num { font-size: 36px !important; top: 14px !important; right: 16px !important; }
  .wc-icon { width: 44px !important; height: 44px !important; font-size: 18px !important; margin-bottom: 12px !important; }
  .wc-card h3 { font-size: 16px !important; margin-bottom: 8px !important; }
  .wc-card p { font-size: 13px !important; line-height: 1.65 !important; }
  .wc-cta { margin-top: 28px !important; padding: 22px 0 !important; }
  .wc-cta .container {
    flex-direction: column !important;
    text-align: center !important;
    gap: 14px !important;
    padding: 0 16px !important;
  }
  .wc-cta .container > div > div:first-child { font-size: 18px !important; }
  .wc-cta .container > div > div:last-child { font-size: 13px !important; }

  /* MAP */
  .map-fullwidth-section { border-top: 3px solid var(--gold); }
  .map-fullwidth-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .map-info-panel { padding: 32px 16px !important; }
  .map-detail-card { overflow: visible !important; }
  .map-det-row { padding: 12px 14px !important; gap: 10px !important; }
  .map-det-icon { width: 34px !important; height: 34px !important; font-size: 14px !important; flex-shrink: 0 !important; }
  .map-det-label { font-size: 10px !important; }
  .map-det-val { font-size: 12px !important; }
  .map-embed-panel iframe { min-height: 260px !important; }

  /* FOOTER */
  .footer { padding: 40px 0 0 !important; overflow: visible !important; }
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    padding-bottom: 28px !important;
  }
  .f-col p { font-size: 13px !important; }
  .f-col ul li a { font-size: 13px !important; }
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    padding: 14px 16px !important;
    gap: 4px !important;
  }
  .footer-bottom p { font-size: 11px !important; }

  /* SEC TITLE */
  .sec-title { font-size: clamp(20px, 5.5vw, 30px) !important; }
  .eyebrow { font-size: 10px !important; letter-spacing: 2px !important; }

  /* INNER PAGE */
  .page-hero { padding: 44px 0 32px !important; }
  .page-hero h1 { font-size: clamp(22px, 6vw, 34px) !important; }
  .page-hero p { font-size: 14px !important; }
  .msg-grid { display: flex !important; flex-direction: column !important; gap: 24px !important; }
  .msg-portrait-card { position: static !important; padding: 28px 20px !important; }
  .msg-content h2 { font-size: 22px !important; }
  .msg-content p { font-size: 14px !important; }
}

/* ══════════════════
   SMALL MOBILE ≤ 400px
══════════════════ */
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  .hero-h1 { font-size: 22px !important; }
  .hero-ctas { flex-direction: column !important; width: 100% !important; }
  .btn-gold, .btn-ghost-white { width: 100% !important; justify-content: center !important; }
  .hero-img-frame img { height: 180px !important; }
  .leader-photo-side { min-height: 240px !important; max-height: 280px !important; }
  .leader-photo-side img { min-height: 240px !important; }
  .about-main-img { height: 180px !important; }
  .features-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .course-meta-cards { grid-template-columns: repeat(2, 1fr) !important; }
  .wc-grid { flex-direction: column !important; }
  .footer-grid { flex-direction: column !important; }
}

/* ══════════════════════════════════════════════════════════
   SDSCOP v3 additions — components not present in the base
   navy & gold design: notices board, popup, admin panels,
   single-column form variant.
   ══════════════════════════════════════════════════════════ */

.form-wrapper.single { grid-template-columns: 1fr; }

/* ── NOTICE BOARD ── */
.notices-section { background: var(--off); }
.notice-list-v3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
@media (max-width: 900px) { .notice-list-v3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .notice-list-v3 { grid-template-columns: 1fr; } }
.notice-card-v3 {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 26px; border-left: 4px solid var(--gold); position: relative;
  transition: box-shadow .2s, transform .2s;
}
.notice-card-v3:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.notice-date-v3 {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.notice-card-v3 h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 800; color: var(--blue-deep); margin-bottom: 8px; }
.notice-card-v3 p { color: var(--text-mid); font-size: 14.5px; margin-bottom: 14px; white-space: pre-line; line-height: 1.6; }
.notice-attach-v3 {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700;
  color: var(--blue-deep); background: var(--blue-light); padding: 8px 14px; border-radius: 50px;
}
.notice-attach-v3:hover { background: var(--blue-deep); color: #fff; }
.notice-empty-v3 {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  color: var(--text-muted); padding: 56px 20px; background: #fff;
  border: 2px dashed var(--border); border-radius: 18px; margin-top: 30px;
}
.notice-empty-v3 i { font-size: 40px; color: var(--border); }

/* ── ADMISSION ENQUIRY POPUP ── */
.popup-overlay-v3 {
  position: fixed; inset: 0; background: rgba(9,18,43,0.65); z-index: 3000;
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.popup-overlay-v3.open { display: flex; }
.popup-box-v3 {
  position: relative; max-width: 460px; width: 100%; max-height: 92vh; overflow-y: auto;
  animation: popupInV3 .25s ease; border-radius: 22px;
}
.popup-box-v3 .form-card { box-shadow: var(--shadow-lg); border-radius: 22px; }
@keyframes popupInV3 { from{ opacity:0; transform:translateY(14px) scale(.98);} to{ opacity:1; transform:none;} }
.popup-close-v3 {
  position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--blue-deep); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; font-size: 16px; z-index: 2; border: 2px solid var(--gold);
}
.popup-close-v3:hover { background: var(--gold-light); }

/* ── AUTH PAGES (admin / admission login) ── */
.auth-page-v3 {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0d2875 50%, var(--blue-mid) 100%);
  padding: 24px; position: relative; overflow: hidden;
}
.auth-page-v3::before {
  content: ''; position: absolute; top: -120px; right: -120px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,180,41,0.08) 0%, transparent 70%); border-radius: 50%;
}
.auth-card-v3 {
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 44px; max-width: 420px; width: 100%; position: relative; z-index: 1;
  border-top: 4px solid var(--gold);
}
.auth-card-v3 .logo { justify-content: center; margin-bottom: 22px; }
.auth-card-v3 h1 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--blue-deep); text-align: center; margin-bottom: 6px; font-weight: 900; }
.auth-sub-v3 { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 26px; }
.auth-error-v3 { background: #fff0f0; color: #9b1c1c; border: 1.5px solid #fc8181; padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.auth-ok-v3 { background: var(--blue-light); color: var(--blue-deep); padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.auth-lock-v3 {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  border: 2px solid var(--gold); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}

/* ── DASHBOARD SHELL (admin / admission) ── */
.dash-shell-v3 { min-height: 100vh; background: var(--off); }
.dash-header-v3 {
  background: #fff; border-bottom: 3px solid var(--gold); padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 74px;
  box-shadow: var(--shadow-sm);
}
.dash-header-v3 .logo-name { font-size: 15px; }
.dash-user-v3 { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--text-muted); }
.dash-user-v3 a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-deep); font-weight: 700; }
.dash-body-v3 { padding: 36px 28px; max-width: 1200px; margin: 0 auto; }
.dash-title-v3 { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--blue-deep); font-weight: 900; margin-bottom: 4px; }
.dash-sub-v3 { color: var(--text-muted); font-size: 14.5px; margin-bottom: 28px; }

.dash-stats-v3 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 30px; }
@media (max-width: 860px) { .dash-stats-v3 { grid-template-columns: repeat(2,1fr); } }
.stat-card-v3 {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px;
  border-top: 3px solid var(--gold);
}
.stat-card-v3 .num { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--blue-deep); font-weight: 900; }
.stat-card-v3 .lbl { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; font-weight: 600; }

.dash-tabs-v3 { display: flex; gap: 6px; margin-bottom: 24px; border-bottom: 2px solid var(--border); }
.dash-tab-v3 {
  padding: 12px 22px; font-weight: 700; font-size: 14.5px; color: var(--text-muted);
  border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all .2s;
}
.dash-tab-v3.active { color: var(--blue-deep); border-bottom-color: var(--gold); }
.dash-tab-v3 .count { background: var(--blue-light); color: var(--blue-deep); border-radius: 50px; padding: 1px 9px; font-size: 12px; margin-left: 7px; font-weight: 700; }

.dash-table-wrap-v3 { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow-x: auto; box-shadow: var(--shadow-sm); }
table.dash-table-v3 { width: 100%; border-collapse: collapse; min-width: 760px; }
table.dash-table-v3 th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted); padding: 15px 18px; border-bottom: 2px solid var(--border);
  background: var(--off); white-space: nowrap; font-weight: 800;
}
table.dash-table-v3 td { padding: 15px 18px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: top; color: var(--text-mid); }
table.dash-table-v3 tr:last-child td { border-bottom: none; }
table.dash-table-v3 tr.unread { background: var(--gold-light); }
table.dash-table-v3 td a { color: var(--blue-deep); font-weight: 600; }
.badge-new-v3 { background: var(--gold); color: var(--blue-deep); font-size: 10.5px; font-weight: 800; padding: 2px 9px; border-radius: 50px; margin-left: 8px; }
.table-empty-v3 { padding: 56px 20px; text-align: center; color: var(--text-muted); }

.dash-toolbar-v3 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.dash-toolbar-v3 h3 { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--blue-deep); font-weight: 800; }
.dash-form-card-v3 { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin-bottom: 26px; border-top: 3px solid var(--blue-mid); }
.dash-form-card-v3 h3 { font-family: 'Playfair Display', serif; color: var(--blue-deep); font-weight: 800; margin-bottom: 18px; font-size: 18px; }
.dash-form-card-v3 .f-group { margin-bottom: 16px; }
.notice-row-actions-v3 { display: flex; gap: 8px; }
.icon-btn-v3 {
  width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--off); color: var(--text-muted); border: 1px solid var(--border); font-size: 13px;
}
.icon-btn-v3:hover { background: var(--blue-light); color: var(--blue-deep); }
.icon-btn-v3.danger:hover { background: #fff0f0; color: #9b1c1c; }

/* ── WHY CHOOSE US — numbered cards (v4: redesigned for clarity & contrast) ── */
.why-choose-section { background: var(--off); }
.wc-header { background: linear-gradient(135deg, var(--blue-deep), #0d2875, var(--blue-mid)); padding: 72px 0 50px; position: relative; overflow: hidden; }
.wc-header::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  border-radius: 50%; background: radial-gradient(circle, rgba(240,180,41,0.10) 0%, transparent 70%);
}
.wc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: -48px; padding-bottom: 60px; position: relative; z-index: 2; }
.wc-card {
  background: #fff; border-radius: 16px; padding: 30px 26px 26px; position: relative;
  box-shadow: var(--shadow-md); border: 1px solid var(--border); border-top: 4px solid var(--gold);
  transition: transform .25s, box-shadow .25s;
}
.wc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.wc-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.wc-icon {
  width: 54px; height: 54px; border-radius: 13px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid)); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0;
}
.wc-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--gold-light); color: var(--gold);
  font-family: 'Playfair Display', serif; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1.5px solid var(--gold-line);
}
.wc-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 800; color: var(--blue-deep); margin-bottom: 10px; }
.wc-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.wc-cta { background: #fff; padding: 40px 0; border-top: 1px solid var(--border); }

/* ── Gallery items with real images (grid uses .gallery-grid-v2 container) ── */
.gallery-item-v3 {
  position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.gallery-item-v3:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item-v3 img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery-item-v3:hover img { transform: scale(1.06); }
.gallery-item-v3 .gi-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(0deg, rgba(10,31,92,0.85), transparent);
  color: #fff; font-size: 13.5px; font-weight: 700; opacity: 0; transition: opacity .25s;
}
.gallery-item-v3:hover .gi-cap { opacity: 1; }
