/* ═══════════════════════════════════════════════════
   RGIT — Radha Vallabh Group of Institutions
   Main Stylesheet
   ═══════════════════════════════════════════════════ */

:root {
  --navy:       #032B5B;
  --navy2:      #0A3D7A;
  --navy-dark:  #021428;
  --gold:       #D8A431;
  --gold-light: #F0C050;
  --gold-dim:   rgba(216,164,49,.12);
  --bg:         #F7F9FC;
  --bg2:        #EEF4FF;
  --text:       #111827;
  --muted:      #6B7280;
  --white:      #ffffff;
  --radius:     24px;
  --radius-sm:  14px;
  --shadow:     0 8px 40px rgba(3,43,91,.09);
  --shadow-lg:  0 20px 60px rgba(3,43,91,.13);
  --shadow-gold:0 8px 32px rgba(216,164,49,.32);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; cursor: pointer !important; }
ul { list-style: none; }
button { cursor: pointer !important; font-family: inherit; border: none; }
a, button, [role="button"], .course-card, .gallery-cell { cursor: pointer !important; }

/* Custom cursor removed */
/* Hard reset — ensures no cursor:none ever applies */
*, *::before, *::after,
html, body, a, button, input, select, textarea, label {
  cursor: auto !important;
}

/* ─── SCROLL PROGRESS ─── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 10000; width: 0%; transition: width .1s linear;
}

/* ─── PAGE LOADER ─── */
#page-loader {
  position: fixed; inset: 0; background: var(--navy); z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity .7s ease, visibility .7s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { font-family: 'Poppins', sans-serif; color: #fff; font-size: 1.5rem; font-weight: 800; letter-spacing: .1em; }
.loader-sub { color: rgba(255,255,255,.35); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; }
.loader-track { width: 180px; height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.loader-bar { height: 100%; background: var(--gold); width: 0%; border-radius: 2px; animation: loaderFill 2s ease forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* ─── TYPOGRAPHY ─── */
.font-poppins { font-family: 'Poppins', sans-serif; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }
.section-label.center::after { content: ''; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-title {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  color: var(--navy); line-height: 1.1;
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
}
.section-title.white { color: #fff; }
.text-gold-grad {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 12px;
  font-size: .88rem; font-weight: 700; letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy2); transform: translateY(-2px); }
.btn-outline {
  background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost {
  background: transparent; border: 1.5px solid rgba(3,43,91,.2); color: var(--navy);
}
.btn-ghost:hover { border-color: var(--navy); background: rgba(3,43,91,.04); }
.btn-lg { padding: 14px 36px; font-size: .95rem; border-radius: 14px; }
.btn-pill { border-radius: 50px; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-1 { animation: fadeUp .8s .00s both; }
.anim-2 { animation: fadeUp .8s .15s both; }
.anim-3 { animation: fadeUp .8s .28s both; }
.anim-4 { animation: fadeUp .8s .42s both; }
.anim-5 { animation: fadeUp .8s .56s both; }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.d1 { transition-delay: .10s; }
.fade-in.d2 { transition-delay: .20s; }
.fade-in.d3 { transition-delay: .30s; }

@keyframes floatUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.float-btn { animation: floatUp .6s 2.2s both; opacity: 0; }

/* ─── TOP STRIP ─── */
.top-strip {
  background: var(--navy); padding: 8px 0;
  position: relative; z-index: 300;
}
.top-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.strip-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.strip-nav a {
  color: rgba(255,255,255,.65); font-size: .68rem;
  letter-spacing: .06em; text-transform: uppercase; font-weight: 500;
  position: relative; padding-bottom: 2px; transition: color .2s;
}
.strip-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold); transition: width .3s;
}
.strip-nav a:hover { color: var(--gold); }
.strip-nav a:hover::after { width: 100%; }
.strip-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); padding: 6px 18px; border-radius: 6px;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.strip-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }

/* ─── NAVBAR ─── */
#navbar {
  position: fixed; left: 0; right: 0; z-index: 290;
  padding: 14px 0; transition: all .4s ease;
}
#navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#navbar.scrolled {
  background: rgba(255,255,255,.93) !important;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 2px 32px rgba(3,43,91,.09);
  top: 0 !important;
}
#navbar.scrolled .nav-link { color: var(--navy) !important; }
#navbar.scrolled .nav-link:hover { color: var(--gold) !important; }
#navbar.scrolled .nav-social a { color: var(--navy2) !important; }
#navbar.scrolled .nav-logo-text { color: var(--navy) !important; }

.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; }
.nav-logo-text {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  color: #fff; font-size: .85rem; line-height: 1.25;
  transition: color .3s;
}
.nav-menu { display: flex; gap: 24px; align-items: center; }
.nav-link {
  color: rgba(255,255,255,.9); font-size: .84rem; font-weight: 500;
  letter-spacing: .02em; position: relative; padding-bottom: 4px;
  transition: color .2s;
}
.nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 2px; background: var(--gold); border-radius: 2px;
  transition: width .3s, left .3s;
}
.nav-link:hover::after { width: 100%; left: 0; }
.nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-social { display: flex; gap: 14px; }
.nav-social a { color: rgba(255,255,255,.65); font-size: .85rem; transition: color .2s; }
.nav-social a:hover { color: var(--gold); }
.hamburger {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: .95rem; transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,.18); }

/* Mobile drawer */
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(3,43,91,.97); backdrop-filter: blur(20px);
  border-radius: 0 0 20px 20px; overflow: hidden;
  max-height: 0; transition: max-height .4s ease;
}
.mobile-menu.open { display: block; max-height: 700px; }
.mobile-menu-inner { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a {
  color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s; display: block;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; }
.mobile-quick { display: flex; gap: 16px; flex-wrap: wrap; }
.mobile-quick a { color: rgba(255,255,255,.45); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
.mobile-quick a:hover { color: var(--gold); }
.mobile-socials { display: flex; gap: 14px; }
.mobile-socials a { color: rgba(255,255,255,.55); font-size: 1.1rem; transition: color .2s; }
.mobile-socials a:hover { color: var(--gold); }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #021e42 0%, #032B5B 55%, #0a3d7a 100%);
}
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(10,61,122,.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(216,164,49,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 70%, rgba(3,43,91,.8) 0%, transparent 70%);
  animation: meshShift 12s ease-in-out infinite alternate;
}
@keyframes meshShift { from { opacity: .7; } to { opacity: 1; } }
.hero-dots {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,43,91,.5) 0%, rgba(3,43,91,.88) 100%);
}
.hero-video {
  position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%;
  opacity: .28;
}
.hero-content { position: relative; z-index: 10; text-align: center; max-width: 860px; padding: 100px 20px 80px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(216,164,49,.14); border: 1px solid rgba(216,164,49,.3);
  padding: 6px 18px; border-radius: 100px;
  color: var(--gold); font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 26px;
}
.hero-title {
  font-family: 'Poppins', sans-serif; font-weight: 900; color: #fff;
  line-height: 1.2; margin-bottom: 22px;
  font-size: clamp(1rem, 5vw, 4rem);
  text-shadow: 0 0 80px rgba(216,164,49,.14);
}
.hero-sub {
  color: rgba(255,255,255,.72); line-height: 1.75; max-width: 560px;
  margin: 0 auto 36px; font-size: clamp(.88rem, 2vw, 1.06rem);
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  margin-top: 52px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat { text-align: center; }
.hero-stat-num { font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--gold); display: block; }
.hero-stat-lbl { font-size: .65rem; color: rgba(255,255,255,.55); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.stat-divider { width: 1px; background: rgba(255,255,255,.14); align-self: stretch; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint { color: rgba(255,255,255,.35); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: sPulse 2s ease-in-out infinite;
}
@keyframes sPulse { 0%,100%{opacity:.4;} 50%{opacity:1;} }

/* ─── FLOATING CARDS ─── */
.floating-cards-wrap { position: relative; z-index: 20; margin-top: -64px; padding: 0 0 72px; }
.floating-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.f-card {
  background: rgba(255,255,255,.94); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.65); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  transition: transform .3s, box-shadow .3s;
}
.f-card:hover { transform: translateY(-8px); box-shadow: 0 36px 80px rgba(3,43,91,.2); }
.f-card-icon {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.2rem;
}
.f-card-title { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy); font-size: 1.02rem; margin-bottom: 6px; }
.f-card-badge {
  display: inline-block; background: var(--gold-dim); color: #9A7020;
  font-size: .64rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 100px; margin-bottom: 10px;
}
.f-card-text { font-size: .84rem; color: var(--muted); line-height: 1.68; }

/* ─── ANNOUNCEMENT TICKER ─── */
.announce-bar {
  background: #fff; box-shadow: 0 2px 24px rgba(3,43,91,.06);
  overflow: hidden;
}
.announce-inner { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.announce-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px;
  padding-right: 22px; border-right: 2px solid var(--gold);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  color: var(--navy); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
}
.pulse-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pDot 1.5s ease-in-out infinite; }
@keyframes pDot { 0%,100%{transform:scale(1);} 50%{transform:scale(1.5);} }
.ticker-wrap { flex: 1; overflow: hidden; min-width: 0; }
.ticker-track {
  display: flex; gap: 48px; width: max-content;
  animation: ticker 30s linear infinite;
}
@keyframes ticker { from{transform:translateX(0);} to{transform:translateX(-50%);} }
.ticker-item { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); white-space: nowrap; }
.ticker-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.announce-view-all { flex-shrink: 0; color: var(--gold); font-weight: 700; font-size: .78rem; display: flex; align-items: center; gap: 5px; transition: opacity .2s; }
.announce-view-all:hover { opacity: .7; }

/* ─── ABOUT ─── */
.about-img-box {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
}
.about-img-box img { width: 100%; height: 100%; object-fit: cover; }
.about-img-overlay { position: absolute; inset: 0; background: rgba(3,43,91,.25); }
.about-img-badge {
  position: absolute; bottom: -18px; right: -18px;
  background: #fff; border-radius: 18px; padding: 18px 22px;
  text-align: center; box-shadow: var(--shadow);
}
.about-img-badge-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.2rem; color: var(--navy); }
.about-img-badge-lbl { font-size: .68rem; color: var(--muted); font-weight: 500; }
.about-img-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
}
.about-img-placeholder i { font-size: 5rem; color: rgba(216,164,49,.25); }
.about-img-placeholder span { color: rgba(255,255,255,.3); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.about-feat { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: .86rem; font-weight: 600; }
.feat-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ─── COURSES ─── */
.course-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.course-card:hover { transform: translateY(-10px); box-shadow: 0 28px 64px rgba(3,43,91,.16); }
.course-card-img {
  height: 180px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.course-card-img i { font-size: 3.5rem; color: rgba(255,255,255,.2); transition: transform .4s; }
.course-card:hover .course-card-img i { transform: scale(1.1) rotate(-5deg); }
.course-card-body { padding: 24px 22px; }
.course-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-dim); color: #9A7020;
  font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
}
.course-name { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy); font-size: .98rem; margin-bottom: 11px; }
.course-list { display: flex; flex-direction: column; gap: 6px; }
.course-list li { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.course-list li::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.course-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid #F1F5F9;
  font-size: .78rem; font-weight: 700; color: var(--navy);
}
.course-footer i { color: var(--gold); transition: transform .2s; }
.course-card:hover .course-footer i { transform: translateX(5px); }

/* ─── IMPACT ─── */
.impact-section {
  background: linear-gradient(135deg, var(--navy) 0%, #042050 60%, var(--navy2) 100%);
  position: relative; overflow: hidden;
}
.impact-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(216,164,49,.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(10,61,122,.4) 0%, transparent 60%);
}

/* ── Two-column impact layout — LEFT: text+stats  RIGHT: placement card ── */
.impact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* ── 2×3 stat grid that ALWAYS fits inside the left column ── */
.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);   /* 2 columns, not 3 — avoids overflow */
  gap: 12px;
  margin-top: 28px;
  width: 100%;
}
.stat-box {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 20px 16px;
  transition: background .3s, transform .25s;
  min-width: 0; /* prevent grid blowout */
  word-break: break-word;
}
.stat-box:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.stat-num {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  color: var(--gold); font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 4px; line-height: 1.1;
  display: block;
}
.stat-desc { font-size: .76rem; color: rgba(255,255,255,.58); font-weight: 500; line-height: 1.4; }

/* ── Placement card ── */
.placement-card {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius); padding: 32px 28px;
  border-top: 3px solid var(--gold);
  min-width: 0;
}
.placement-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 24px;
}
.p-stat-wrap { text-align: center; padding: 14px 10px; background: rgba(255,255,255,.05); border-radius: 14px; }
.p-stat-num {
  font-family: 'Poppins', sans-serif; font-weight: 800; color: var(--gold);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.1;
  display: block;
}
.p-stat-lbl { font-size: .69rem; color: rgba(255,255,255,.55); margin-top: 4px; line-height: 1.35; }

/* ── Recruiter ticker ── */
.recruiter-label {
  color: rgba(255,255,255,.4); font-size: .67rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px;
}
.recruiter-track { overflow: hidden; border-radius: 8px; }
.recruiter-inner {
  display: flex; gap: 10px; width: max-content;
  animation: recTick 18s linear infinite;
}
@keyframes recTick { from{transform:translateX(0);} to{transform:translateX(-50%);} }
.recruiter-pill {
  flex-shrink: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  padding: 6px 16px; border-radius: 8px; font-size: .75rem; font-weight: 700;
  color: rgba(255,255,255,.72); letter-spacing: .04em; white-space: nowrap;
}

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  gap: 14px;
}
.gallery-cell { border-radius: 18px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-cell.big { grid-column: span 2; grid-row: span 2; }
.gallery-cell.wide { grid-column: span 2; }
.gallery-cell-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
  transition: transform .5s ease;
}
.gallery-cell:hover .gallery-cell-bg { transform: scale(1.04); }
.gallery-cell-bg img { width: 100%; height: 100%; object-fit: cover; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(3,43,91,0); display: flex; align-items: flex-end; padding: 18px;
  transition: background .3s;
}
.gallery-cell:hover .gallery-overlay { background: rgba(3,43,91,.72); }
.gallery-title {
  color: #fff; font-size: .86rem; font-weight: 700;
  opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s;
}
.gallery-cell:hover .gallery-title { opacity: 1; transform: translateY(0); }
.gallery-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.gallery-placeholder i { color: rgba(255,255,255,.14); font-size: 3.5rem; }
.gallery-cell.big .gallery-placeholder i { font-size: 6rem; }
.gallery-placeholder span { color: rgba(255,255,255,.2); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

/* ─── TESTIMONIALS ─── */
.testi-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(3,43,91,.12); }
.testi-quote { font-family: Georgia, serif; font-size: 3rem; color: rgba(216,164,49,.28); line-height: 1; margin-bottom: 10px; }
.testi-text { font-size: .87rem; color: var(--muted); line-height: 1.75; margin-bottom: 22px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 800; font-size: 1.1rem; font-family: 'Poppins', sans-serif;
}
.testi-name { font-weight: 700; color: var(--navy); font-size: .88rem; }
.testi-course { color: var(--muted); font-size: .74rem; margin-top: 2px; }
.testi-stars { color: var(--gold); font-size: .72rem; margin-top: 4px; }

/* ─── INQUIRY FORM ─── */
.inquiry-section {
  background: linear-gradient(135deg, var(--navy) 0%, #042050 100%);
  position: relative; overflow: hidden;
}
.inquiry-mesh {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(216,164,49,.05) 0%, transparent 70%);
}
.glass-input {
  width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 15px 20px; color: #fff;
  font-size: .88rem; font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none; transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.glass-input::placeholder { color: rgba(255,255,255,.4); }
.glass-input:focus { border-color: var(--gold); background: rgba(255,255,255,.12); }
.glass-input option { background: var(--navy); color: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── CONTACT STRIP ─── */
.contact-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border-radius: var(--radius); padding: 28px 26px;
  border: 1px solid #E8EDF5; box-shadow: 0 4px 24px rgba(3,43,91,.05);
  transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: rgba(3,43,91,.06); display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.1rem;
}
.contact-label { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.contact-value { font-size: .86rem; color: var(--text); font-weight: 500; line-height: 1.7; word-break: break-all; }

/* ─── FOOTER ─── */
.site-footer {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding-top: 70px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-gold-bar { width: 36px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 16px; }
.footer-brand-name { font-family: 'Poppins', sans-serif; font-weight: 800; color: #fff; font-size: .9rem; line-height: 1.3; margin-bottom: 14px; }
.footer-desc { color: rgba(255,255,255,.5); font-size: .8rem; line-height: 1.75; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .82rem; transition: all .2s;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.footer-col h4 { font-family: 'Poppins', sans-serif; font-weight: 700; color: #fff; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,.52); font-size: .8rem; display: flex; align-items: center; gap: 6px; transition: color .2s;
}
.footer-links a::before { content: '›'; color: var(--gold); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; flex-wrap: wrap;
}
.footer-copyright { color: rgba(255,255,255,.3); font-size: .72rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.3); font-size: .72rem; transition: color .2s; }
.footer-legal a:hover { color: var(--gold); }

/* ─── FLOATING BUTTONS ─── */
.whatsapp-float {
  position: fixed; bottom: 28px; left: 22px; z-index: 1000;
  width: 52px; height: 52px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .2s;
  animation: waPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes waPulse { 0%,100%{box-shadow:0 0 0 0 rgba(37,211,102,.4);} 50%{box-shadow:0 0 0 12px rgba(37,211,102,0);} }
.sticky-apply {
  position: fixed; bottom: 28px; right: 22px; z-index: 1000;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); padding: 12px 24px; border-radius: 50px;
  font-size: .84rem; font-weight: 800; letter-spacing: .03em;
  box-shadow: var(--shadow-gold);
  transition: transform .2s, box-shadow .2s;
}
.sticky-apply:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(216,164,49,.5); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  padding: 140px 0 60px; position: relative; overflow: hidden;
}
.page-hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero h1 { font-family: 'Poppins', sans-serif; font-weight: 800; color: #fff; font-size: clamp(1.6rem, 4vw, 2.8rem); }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.breadcrumb a { color: rgba(255,255,255,.55); font-size: .82rem; transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,.35); font-size: .8rem; }
.breadcrumb .current { color: var(--gold); font-size: .82rem; font-weight: 600; }

/* ─── INNER CONTENT LAYOUT ─── */
.page-content { padding: 80px 0; }

/* ─── FORMS (Contact, Apply) ─── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--navy); }
.form-control {
  width: 100%; border: 1.5px solid #E2E8F0; border-radius: 12px;
  padding: 13px 16px; font-size: .88rem; font-family: inherit;
  color: var(--text); outline: none; transition: border-color .2s;
  background: #fff;
}
.form-control:focus { border-color: var(--navy); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ─── NOTICE BOARD ─── */
.notice-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; border-radius: 14px; background: #fff;
  border-left: 3px solid var(--gold); box-shadow: 0 2px 16px rgba(3,43,91,.05);
  transition: box-shadow .2s, transform .2s;
}
.notice-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.notice-date { font-size: .7rem; font-weight: 700; color: var(--gold); white-space: nowrap; margin-top: 2px; }
.notice-title { font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.notice-excerpt { font-size: .78rem; color: var(--muted); }

/* ─── COURSE DETAIL ─── */
.program-badge {
  display: inline-flex; gap: 10px; align-items: center;
  background: var(--bg); border: 1px solid #E2E8F0; border-radius: 12px;
  padding: 12px 18px; font-size: .84rem; color: var(--navy); font-weight: 500;
}
.program-badge i { color: var(--gold); }

/* ─── TEAM CARD ─── */
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; transition: transform .3s, box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card-img { height: 220px; background: linear-gradient(135deg, var(--navy), var(--navy2)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card-img i { font-size: 4rem; color: rgba(255,255,255,.2); }
.team-card-body { padding: 20px 18px; }
.team-name { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy); font-size: .96rem; }
.team-role { color: var(--gold); font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
.team-qual { color: var(--muted); font-size: .78rem; margin-top: 6px; }

/* ─── UTILITIES ─── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mt-6 { margin-top: 24px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }

/* ─── ACTIVE NAV ─── */
.nav-link.active::after { width: 100%; left: 0; }

/* ─── BACK TO TOP ─── */
#back-top {
  position: fixed; bottom: 90px; right: 22px; z-index: 999;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(3,43,91,.85); backdrop-filter: blur(8px);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: .85rem; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
}
#back-top.visible { opacity: 1; pointer-events: all; }
#back-top:hover { transform: translateY(-3px); background: var(--navy); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1199px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .impact-inner { gap: 36px; }
  .placement-card { padding: 26px 22px; }
}
@media (max-width: 1023px) {
  .nav-menu, .nav-right { display: none; }
  .hamburger { display: flex; }
  .top-strip .strip-nav a:nth-child(n+4) { display: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .floating-cards { grid-template-columns: 1fr 1fr; }
  .floating-cards .f-card:last-child { grid-column: span 2; }
  .form-grid-2 { grid-template-columns: 1fr; }
  /* Impact: stack on tablet */
  .impact-inner { grid-template-columns: 1fr; gap: 40px; }
  .impact-stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .top-strip { display: none; }
  #navbar { top: 0 !important; }
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 44px 0; }
  .hero-stats { gap: 18px; }
  .stat-divider { display: none; }
  .floating-cards { grid-template-columns: 1fr; }
  .floating-cards .f-card:last-child { grid-column: span 1; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-cell.big { grid-column: span 2; height: 180px; }
  .gallery-cell.wide { grid-column: span 2; height: 150px; }
  .gallery-cell { height: 150px; }
  .placement-grid { grid-template-columns: 1fr 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .whatsapp-float { bottom: 20px; left: 14px; width: 46px; height: 46px; font-size: 1.2rem; }
  .sticky-apply { bottom: 20px; right: 14px; padding: 10px 18px; font-size: .78rem; }
  .hero-content { padding: 90px 16px 70px; }
  /* Impact mobile */
  .impact-inner { grid-template-columns: 1fr; gap: 32px; }
  .impact-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-box { padding: 16px 12px; }
  .placement-card { padding: 22px 18px; }
  .placement-grid { gap: 12px; }
}
@media (max-width: 479px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 300px; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-cell, .gallery-cell.big, .gallery-cell.wide { grid-column: span 1; height: 160px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: span 1; }
  .about-img-badge { right: 8px; bottom: 8px; }
  /* Impact smallest screens */
  .impact-stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-num { font-size: 1.4rem; }
  .placement-grid { grid-template-columns: 1fr 1fr; }
  .p-stat-num { font-size: 1.3rem; }
  .placement-card { padding: 18px 14px; }
}
