/* =============================================
   SHRAMIK SHANTI CAMPUS — Main Stylesheet
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:   #0B2545;
  --navy2:  #1a3a6b;
  --gold:   #D9A05B;
  --gold2:  #c4893e;
  --white:  #ffffff;
  --light:  #f4f6fb;
  --gray:   #6b7280;
  --dark:   #1a1a2e;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(11,37,69,.10);
  --radius: 14px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Plus Jakarta Sans', system-ui, sans-serif;
  --transition: .25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--dark); background: var(--white); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1,h2,h3,h4,h5 { font-family: var(--font-serif); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { color: var(--gray); }
.text-white p { color: rgba(255,255,255,.80); }

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

/* --- Section Spacing --- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { color: var(--navy); margin-bottom: 14px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.badge {
  display: inline-block; background: rgba(217,160,91,.15); color: var(--gold2);
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(217,160,91,.3); margin-bottom: 16px;
}
.badge-navy {
  background: rgba(11,37,69,.08); color: var(--navy); border-color: rgba(11,37,69,.15);
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition);
}
.btn-navy  { background: var(--navy); color: var(--white); }
.btn-navy:hover  { background: var(--navy2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,37,69,.25); }
.btn-gold  { background: var(--gold); color: var(--white); }
.btn-gold:hover  { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,160,91,.35); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-outline-white { color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 16px 0;
}
.navbar.scrolled, .navbar.always-solid {
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(11,37,69,.08); padding: 10px 0;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.navbar-brand img { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-serif); font-weight: 700; font-size: 1rem;
  line-height: 1.2; transition: color var(--transition);
}
.brand-sub {
  font-size: .65rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; opacity: .8; transition: color var(--transition);
}
/* Hero page: white text */
.navbar:not(.scrolled):not(.always-solid) .brand-name,
.navbar:not(.scrolled):not(.always-solid) .brand-sub { color: var(--white); }
.navbar.scrolled .brand-name, .navbar.always-solid .brand-name { color: var(--navy); }
.navbar.scrolled .brand-sub, .navbar.always-solid .brand-sub  { color: var(--gold2); }

.navbar-links {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px;
}
.navbar.scrolled .navbar-links, .navbar.always-solid .navbar-links {
  background: var(--light); border-color: var(--border);
}
.navbar-links a {
  padding: 8px 18px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  transition: var(--transition); color: rgba(255,255,255,.9);
}
.navbar.scrolled .navbar-links a, .navbar.always-solid .navbar-links a { color: var(--gray); }
.navbar-links a:hover,
.navbar.scrolled .navbar-links a:hover,
.navbar.always-solid .navbar-links a:hover { color: var(--navy); background: var(--white); }
.navbar-links a.active { background: var(--white); color: var(--navy); }
.navbar.scrolled .navbar-links a.active,
.navbar.always-solid .navbar-links a.active { background: var(--navy); color: var(--white); }
.navbar-cta { flex-shrink: 0; }
.navbar-cta .btn { padding: 10px 24px; font-size: .88rem; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; z-index: 1100;
}
.hamburger span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: var(--white); transition: var(--transition);
}
.navbar.scrolled .hamburger span, .navbar.always-solid .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 1050;
  background: var(--white); flex-direction: column;
  padding: 100px 32px 40px; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600;
  color: var(--navy); padding: 18px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--gold2); }
.mobile-nav a.active { color: var(--gold2); }
.mobile-nav-cta { margin-top: 32px; }
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy); color: var(--white); padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
}
.footer-brand img { height: 56px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.7; margin-top: 8px; }
.footer h4 {
  font-family: var(--font-sans); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold); margin-bottom: 20px;
}
.footer-links ul, .footer-programs ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-programs a {
  color: rgba(255,255,255,.65); font-size: .9rem; transition: var(--transition);
}
.footer-links a:hover, .footer-programs a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact-item .icon {
  width: 36px; height: 36px; background: rgba(255,255,255,.08);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
}
.footer-contact-item p, .footer-contact-item a { color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 56px; padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,.45); font-size: .85rem; }
.footer-bottom a { color: var(--gold); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--navy); padding: 160px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 600px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.breadcrumb a { color: var(--gold); font-size: .85rem; font-weight: 600; }
.breadcrumb span { color: rgba(255,255,255,.4); font-size: .85rem; }

/* =============================================
   HOME — HERO
   ============================================= */
.hero {
  min-height: 100vh; background: var(--navy);
  display: flex; align-items: center; position: relative; overflow: hidden;
}
.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.04'%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-glow {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(217,160,91,.15) 0%, transparent 70%);
  right: -100px; top: 50%; transform: translateY(-50%);
}
.hero-inner {
  position: relative; display: grid;
  grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 120px 0 80px;
}
.hero-content {}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(217,160,91,.15); border: 1px solid rgba(217,160,91,.3);
  color: var(--gold); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 28px;
}
.hero-tag::before { content: '✦'; }
.hero h1 { color: var(--white); margin-bottom: 12px; }
.hero h1 span { color: var(--gold); }
.hero-sub { color: rgba(255,255,255,.72); font-size: 1.1rem; max-width: 480px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { display: flex; justify-content: center; align-items: center; }
.hero-logo-wrap {
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 80px rgba(217,160,91,.15);
}
.hero-logo-wrap img { width: 270px; height: 270px; object-fit: contain; }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.4); font-size: .78rem;
}
.scroll-dot {
  width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.25); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-dot::after {
  content: ''; width: 4px; height: 8px; background: rgba(255,255,255,.5);
  border-radius: 2px; animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0%,100%{opacity:1;transform:translateY(0)} 50%{opacity:.3;transform:translateY(6px)} }

/* --- Stats Bar --- */
.stats-bar { background: var(--gold); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item {
  padding: 32px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.25);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85); margin-top: 4px; text-transform: uppercase; letter-spacing: .08em; }

/* --- Programs Section --- */
.programs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.program-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px 32px;
  border-top: 4px solid var(--navy); transition: var(--transition);
  display: flex; flex-direction: column;
}
.program-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(11,37,69,.16); }
.program-card:nth-child(2) { border-top-color: var(--gold); }
.program-card:nth-child(3) { border-top-color: var(--navy2); }
.program-icon {
  width: 56px; height: 56px; background: var(--navy); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.program-card:nth-child(2) .program-icon { background: var(--gold); }
.program-tag {
  display: inline-block; background: var(--light); color: var(--navy);
  font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.program-card h3 { color: var(--navy); margin-bottom: 12px; }
.program-card p { flex: 1; margin-bottom: 24px; font-size: .93rem; }
.program-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--navy); }
.meta-item span { font-size: 1rem; }
.program-card .btn { align-self: flex-start; }

/* --- Notice Board --- */
.notices-list { display: flex; flex-direction: column; gap: 16px; }
.notice-item {
  background: var(--white); border-radius: var(--radius); padding: 24px 28px;
  box-shadow: var(--shadow); border-left: 4px solid transparent;
  display: flex; gap: 20px; align-items: flex-start; transition: var(--transition);
}
.notice-item.pinned { border-left-color: var(--gold); }
.notice-item:hover { transform: translateX(6px); }
.notice-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--border);
  flex-shrink: 0; margin-top: 7px;
}
.notice-item.pinned .notice-dot { background: var(--gold); }
.notice-body { flex: 1; }
.notice-category {
  font-size: .73rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--gold2); margin-bottom: 4px;
}
.notice-title { font-family: var(--font-serif); font-size: 1.05rem; color: var(--navy); font-weight: 600; margin-bottom: 4px; }
.notice-date { font-size: .82rem; color: var(--gray); }
.notice-pin { font-size: .72rem; font-weight: 700; background: var(--gold); color: var(--white); padding: 2px 10px; border-radius: 999px; flex-shrink: 0; margin-top: 4px; }

/* --- Why Us / Features --- */
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  text-align: center; box-shadow: var(--shadow); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); }
.feature-icon {
  width: 64px; height: 64px; background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 20px;
}
.feature-card:nth-child(2) .feature-icon { background: var(--gold); }
.feature-card:nth-child(3) .feature-icon { background: #10b981; }
.feature-card:nth-child(4) .feature-icon { background: #6366f1; }
.feature-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 10px; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 80px 0;
}
.cta-inner { text-align: center; }
.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,.72); max-width: 540px; margin: 0 auto 40px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-story img { border-radius: var(--radius); }
.about-story-content h2 { color: var(--navy); margin-bottom: 16px; }
.about-story-content p { margin-bottom: 16px; }
.mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.mvv-card {
  background: var(--white); border-radius: var(--radius); padding: 40px 32px;
  box-shadow: var(--shadow); border-bottom: 4px solid transparent; transition: var(--transition);
}
.mvv-card:nth-child(1) { border-bottom-color: var(--navy); }
.mvv-card:nth-child(2) { border-bottom-color: var(--gold); }
.mvv-card:nth-child(3) { border-bottom-color: #10b981; }
.mvv-card:hover { transform: translateY(-6px); }
.mvv-icon { font-size: 2.4rem; margin-bottom: 16px; }
.mvv-card h3 { color: var(--navy); margin-bottom: 12px; }
.mvv-card ul { display: flex; flex-direction: column; gap: 8px; }
.mvv-card ul li { font-size: .9rem; color: var(--gray); padding-left: 16px; position: relative; }
.mvv-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.affiliation-box {
  background: var(--navy); border-radius: var(--radius); padding: 56px;
  display: flex; gap: 48px; align-items: center; flex-wrap: wrap;
}
.affiliation-box img { height: 80px; filter: brightness(0) invert(1); }
.affiliation-content h2 { color: var(--white); margin-bottom: 12px; }
.affiliation-content p { color: rgba(255,255,255,.72); }
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 24px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-icon { font-size: 1.5rem; flex-shrink: 0; }
.value-item h4 { color: var(--white); font-size: .95rem; margin-bottom: 4px; }
.value-item p { color: rgba(255,255,255,.6); font-size: .85rem; margin: 0; }

/* =============================================
   PROGRAMS PAGE
   ============================================= */
.program-detail {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; margin-bottom: 40px;
}
.program-detail-header {
  background: var(--navy); padding: 40px 48px;
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px;
}
.program-detail:nth-child(2) .program-detail-header { background: var(--gold2); }
.program-detail:nth-child(3) .program-detail-header { background: var(--navy2); }
.program-detail-header h2 { color: var(--white); }
.program-detail-header p { color: rgba(255,255,255,.75); max-width: 500px; margin-top: 8px; }
.program-detail-badge {
  background: rgba(255,255,255,.2); color: var(--white);
  font-size: .8rem; font-weight: 700; padding: 6px 16px; border-radius: 999px;
}
.program-detail-body { padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.program-highlights h3 { color: var(--navy); margin-bottom: 20px; }
.highlights-list { display: flex; flex-direction: column; gap: 12px; }
.highlight-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--light); border-radius: 10px; padding: 14px 16px;
}
.highlight-item .bullet { color: var(--gold); font-weight: 700; flex-shrink: 0; font-size: 1.1rem; }
.highlight-item span { font-size: .92rem; color: var(--dark); }
.program-specs { }
.program-specs h3 { color: var(--navy); margin-bottom: 20px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spec-item { background: var(--light); border-radius: 10px; padding: 18px 20px; }
.spec-label { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold2); margin-bottom: 4px; }
.spec-value { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.program-careers { margin-top: 24px; }
.program-careers h3 { color: var(--navy); margin-bottom: 14px; }
.career-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.career-tag { background: var(--navy); color: var(--white); font-size: .8rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; }

/* =============================================
   FACULTY PAGE
   ============================================= */
.faculty-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.faculty-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: var(--transition);
}
.faculty-card:hover { transform: translateY(-8px); box-shadow: 0 20px 56px rgba(11,37,69,.16); }
.faculty-photo { height: 220px; overflow: hidden; }
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; }
.faculty-info { padding: 24px; }
.faculty-info h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 4px; }
.faculty-designation { color: var(--gold2); font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.faculty-dept {
  display: inline-block; background: var(--light); color: var(--navy);
  font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.faculty-qual { font-size: .85rem; color: var(--gray); }

/* =============================================
   ADMISSIONS PAGE
   ============================================= */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--gold)); z-index: 0;
}
.step-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow); position: relative; z-index: 1; transition: var(--transition);
}
.step-card:hover { transform: translateY(-6px); }
.step-num {
  width: 56px; height: 56px; background: var(--navy); color: var(--white);
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--navy);
}
.step-card:nth-child(2) .step-num { background: var(--gold2); box-shadow: 0 0 0 2px var(--gold2); }
.step-card:nth-child(3) .step-num { background: #10b981; box-shadow: 0 0 0 2px #10b981; }
.step-card:nth-child(4) .step-num { background: #6366f1; box-shadow: 0 0 0 2px #6366f1; }
.step-card h3 { color: var(--navy); font-size: 1rem; margin-bottom: 10px; }
.docs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.doc-item {
  background: var(--white); border-radius: 10px; padding: 18px 20px;
  box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start;
}
.doc-icon { font-size: 1.4rem; flex-shrink: 0; }
.doc-item h4 { color: var(--navy); font-size: .92rem; margin-bottom: 4px; }
.doc-item p { font-size: .83rem; margin: 0; }
.dates-table { width: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dates-table thead { background: var(--navy); color: var(--white); }
.dates-table th { padding: 16px 20px; text-align: left; font-size: .85rem; font-weight: 600; }
.dates-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: .9rem; }
.dates-table tr:last-child td { border-bottom: none; }
.dates-table tr:nth-child(even) td { background: var(--light); }
.inquiry-form {
  background: var(--white); border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow);
}
.inquiry-form h3 { color: var(--navy); margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full-width { grid-column: 1/-1; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 2px solid var(--border); border-radius: 10px;
  font-size: .93rem; transition: var(--transition); background: var(--white);
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,37,69,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* =============================================
   NOTICES PAGE
   ============================================= */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 22px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  border: 2px solid var(--border); background: var(--white); color: var(--gray);
  cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.notice-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 32px;
  box-shadow: var(--shadow); border-left: 4px solid var(--border);
  display: flex; gap: 24px; transition: var(--transition); margin-bottom: 16px;
}
.notice-card.pinned { border-left-color: var(--gold); }
.notice-card:hover { transform: translateX(6px); box-shadow: 0 8px 32px rgba(11,37,69,.12); }
.notice-card-icon { font-size: 2rem; flex-shrink: 0; }
.notice-card-body { flex: 1; }
.notice-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.notice-card-body h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 8px; }
.notice-card-body p { font-size: .92rem; }
.notice-card-footer { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.notice-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 12px; border-radius: 999px;
}
.tag-academic  { background: #dbeafe; color: #1d4ed8; }
.tag-exam      { background: #fef9c3; color: #b45309; }
.tag-event     { background: #d1fae5; color: #065f46; }
.tag-scholarship { background: #ede9fe; color: #6d28d9; }
.tag-general   { background: var(--light); color: var(--gray); }
.tag-pinned    { background: var(--gold); color: var(--white); }
.notice-date-text { font-size: .82rem; color: var(--gray); }

/* =============================================
   GALLERY PAGE
   ============================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 10px; cursor: pointer; aspect-ratio: 1; background: var(--light); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,37,69,.85) 0%, transparent 60%);
  opacity: 0; transition: var(--transition); display: flex; flex-direction: column;
  justify-content: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { color: var(--white); font-size: .85rem; font-weight: 600; }
.gallery-cat { color: var(--gold); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.95); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  color: var(--white); font-size: 2rem; background: none; border: none;
  cursor: pointer; line-height: 1; transition: var(--transition);
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-caption { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--white); font-size: .9rem; text-align: center; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--white); font-size: 2.5rem; background: rgba(255,255,255,.1);
  border: none; cursor: pointer; padding: 12px 20px; border-radius: 8px; transition: var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info-cards { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); display: flex; gap: 20px; align-items: flex-start;
}
.contact-card-icon {
  width: 52px; height: 52px; background: var(--navy); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.contact-card h4 { color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.contact-card p, .contact-card a { font-size: .9rem; color: var(--gray); display: block; margin-bottom: 2px; }
.contact-card a:hover { color: var(--gold2); }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { display: block; width: 100%; height: 300px; border: none; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.contact-form-wrap h3 { color: var(--navy); margin-bottom: 28px; }
.success-msg {
  display: none; background: #d1fae5; color: #065f46;
  border-radius: 10px; padding: 16px 20px; margin-top: 16px;
  font-weight: 600; font-size: .93rem;
}

/* =============================================
   UTILITIES
   ============================================= */
.bg-light { background: var(--light); }
.bg-navy  { background: var(--navy); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }

/* Fade-in animation */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .faculty-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .program-detail-body { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 100px 0 60px; }
  .hero-btns { justify-content: center; }
  .hero-image { display: none; }
  .hero-sub { margin: 0 auto 40px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .navbar-links, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .affiliation-box { padding: 32px; }
  .program-detail-header { padding: 32px; }
  .program-detail-body { padding: 32px; }
  .inquiry-form { padding: 28px; }
  .contact-form-wrap { padding: 28px; }
  .spec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .btn { padding: 12px 24px; font-size: .88rem; }
  .hero-logo-wrap { width: 240px; height: 240px; }
  .hero-logo-wrap img { width: 180px; height: 180px; }
}
