/* ==========================================================================
   Krishna Chandra College – Complete Homepage Stylesheet
   ========================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  --clr-primary: #0b2a4a;
  --clr-primary-light: #1e4a7a;
  --clr-accent: #c9962e;
  --clr-accent-hover: #b08220;
  --clr-bg: #f6f4ef;
  --clr-surface: #ffffff;
  --clr-text: #1a1a2e;
  --clr-text-muted: #5a6270;
  --clr-border: #e2ddd3;

  --ff-base: 'Inter', system-ui, -apple-system, sans-serif;
  --ff-display: Verdana, sans-serif, Georgia, serif;
  --fs-sm: 0.8125rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.5rem;
  --fs-hero: clamp(1.75rem, 5vw, 3.5rem);

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 18px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);

  --container-max: 1240px;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-base);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---------- 3. UTILITY ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.section { padding-block: var(--space-2xl); }
.section-head {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}
.section-tag {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-xs);
}
.section-head h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: 1.2;
  color: var(--clr-primary);
  margin-bottom: var(--space-sm);
}
.section-head p { color: var(--clr-text-muted); font-size: var(--fs-base); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: var(--fs-base);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--clr-accent); color: #fff; }
.btn-primary:hover { background: var(--clr-accent-hover); }

/* ---------- 4. TOP BAR ---------- */
.top-bar {
  background: var(--clr-primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  padding-block: 0.4rem;
}
.top-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  text-align: center;
}
.top-contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}
.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  transition: color 0.2s;
}
.top-contact a:hover { color: var(--clr-accent); }
.top-contact i,
.top-meta i { color: var(--clr-accent); }
.top-meta { opacity: 0.85; }

@media (min-width: 480px) {
  .top-bar-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .top-contact { justify-content: flex-start; }
}

/* ---------- 5. HEADER — ROW 1 ---------- */
.site-header {
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  padding-block: 0.75rem;
  position: relative;
  z-index: 20;
}
.header-row { display: flex; align-items: center; gap: 0.75rem; }
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.9; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
  color: var(--clr-accent);
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 10px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(11, 42, 74, 0.18);
}
.logo-info { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; min-width: 0; }
.logo-name {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-primary);
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.logo-details {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 2px solid var(--clr-primary);
  border-radius: 8px;
  padding: 10px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(11, 42, 74, 0.06); }
.nav-toggle:active { background: rgba(11, 42, 74, 0.12); }
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--clr-primary);
  border-radius: 2px;
}

/* ---------- 6. NAVIGATION ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  height: 100dvh;
  background: var(--clr-primary);
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--clr-accent);
}
.site-nav.is-open { transform: translateX(0); }

.nav-drawer-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--clr-primary-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: sticky;
  top: 0;
  z-index: 2;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.drawer-brand .logo-mark {
  width: 38px;
  height: 38px;
  font-size: 0.85rem;
  border-radius: 6px;
  box-shadow: none;
}
.nav-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-close:hover { background: rgba(255, 255, 255, 0.2); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1050;
}
.nav-overlay.is-visible { opacity: 1; visibility: visible; }

.nav-container { padding-inline: 0; }
.nav-list { display: flex; flex-direction: column; padding-block: var(--space-xs); }
.nav-list > li { width: 100%; position: relative; }
.nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
  background: rgba(255, 255, 255, 0.06);
  color: var(--clr-accent);
  padding-left: 1.45rem;
}
.nav-list > li > a i {
  font-size: 0.65rem;
  opacity: 0.75;
  transition: transform 0.25s;
}
.has-dropdown.open > a i { transform: rotate(180deg); }

.dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
}
.has-dropdown.open > .dropdown { max-height: 400px; }
.dropdown li a {
  display: block;
  padding: 0.7rem 1.25rem 0.7rem 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s, padding-left 0.2s, background 0.2s;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover {
  color: var(--clr-accent);
  padding-left: 2.2rem;
  background: rgba(255, 255, 255, 0.04);
}

/* Desktop nav */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-drawer-head { display: none !important; }
  .nav-overlay { display: none !important; }

  .site-nav {
    position: sticky;
    top: 0;
    left: auto;
    width: 100%;
    max-width: none;
    height: auto;
    background: var(--clr-surface);
    color: var(--clr-text);
    transform: none;
    transition: none;
    overflow: visible;
    z-index: 1000;
    display: block;
    border-right: none;
    border-bottom: 2px solid var(--clr-accent);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }
  .site-nav.scrolled { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }

  .nav-container { padding-inline: var(--space-md); }
  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    padding-block: 0.15rem;
    gap: 0;
  }
  .nav-list > li { width: auto; position: relative; }
  .nav-list > li > a {
    padding: 0.7rem 0.75rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--clr-primary);
    white-space: nowrap;
    border-bottom: none;
    justify-content: flex-start;
    gap: 0.3rem;
  }
  .nav-list > li > a:hover,
  .nav-list > li > a.active {
    color: var(--clr-accent);
    background: rgba(11, 42, 74, 0.05);
    padding-left: 0.75rem;
  }
  .nav-list > li > a i { font-size: 0.6rem; }

  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    max-width: 280px;
    max-height: none;
    overflow: visible;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-top: 2px solid var(--clr-accent);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 0.35rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 100;
  }
  .dropdown li a {
    padding: 0.55rem 1rem;
    color: var(--clr-text);
    font-size: 0.82rem;
    border-bottom: 1px solid var(--clr-border);
  }
  .dropdown li:last-child a { border-bottom: none; }
  .dropdown li a:hover {
    background: var(--clr-bg);
    color: var(--clr-accent);
    padding-left: 1.2rem;
  }
  .nav-list > li.has-dropdown:nth-last-child(-n+4) .dropdown {
    left: auto;
    right: 0;
  }
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-list > li > a {
    padding: 0.65rem 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }
}

@media (max-width: 767px) {
  .site-header { padding-block: 0.6rem; }
  .logo { gap: 0.7rem; }
  .logo-mark { width: 46px; height: 46px; font-size: 1.05rem; border-radius: 8px; }
  .logo-name { font-size: 1rem; letter-spacing: 0.01em; }
  .logo-details { font-size: 0.68rem; line-height: 1.45; }
  .nav-drawer-head { display: flex; }
  .site-header { z-index: 10; }
}

@media (min-width: 1024px) {
  .nav-list > li > a {
    padding: 0.8rem 0.6rem;
    font-size: 0.76rem;
    letter-spacing: 0.03em;
  }
  .logo-mark { width: 68px; height: 68px; font-size: 1.55rem; }
  .logo-name { font-size: 1.45rem; }
  .logo-details { font-size: 0.82rem; }
}

body.no-scroll { overflow: hidden; }

/* ---------- 7. SLIDER ---------- */
.slider {
  position: relative;
  min-height: 68vh;
  overflow: hidden;
  background: var(--clr-primary);
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; position: relative; }
.slide-content { position: relative; z-index: 2; color: #fff; padding-block: var(--space-3xl); max-width: 640px; }
.slide-tag {
  display: inline-block;
  background: rgba(201,150,46,0.9);
  color: #fff;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
}
.slide h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}
.slide p { font-size: var(--fs-lg); opacity: 0.9; margin-bottom: var(--space-lg); }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.3);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.slider-arrow:hover { background: rgba(0,0,0,0.55); }
.slider-arrow.prev { left: var(--space-sm); }
.slider-arrow.next { right: var(--space-sm); }

.slider-dots {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  transition: background 0.2s, transform 0.2s;
}
.slider-dots button.active { background: var(--clr-accent); transform: scale(1.3); }

/* ---------- 8. FOUNDER ---------- */
.founder { background: var(--clr-surface); }
.founder-grid { display: grid; gap: var(--space-xl); align-items: center; }
.founder-image { display: flex; justify-content: center; }
.image-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--clr-accent);
  font-size: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.image-frame::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(201,150,46,0.35);
  border-radius: var(--radius-md);
  pointer-events: none;
}
.image-frame span { font-size: var(--fs-base); font-weight: 600; color: rgba(255,255,255,0.7); }

.founder-text h2 { font-family: var(--ff-display); font-size: var(--fs-2xl); color: var(--clr-primary); margin-bottom: var(--space-xs); }
.founder-sub { color: var(--clr-accent); font-weight: 600; margin-bottom: var(--space-md); }
.founder-text p { color: var(--clr-text-muted); margin-bottom: var(--space-md); }

.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.founder-stats div {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
}
.founder-stats strong { display: block; font-size: var(--fs-xl); font-weight: 800; color: var(--clr-primary); }
.founder-stats span { font-size: var(--fs-sm); color: var(--clr-text-muted); }

/* ---------- 9. VIRTUAL TOUR (video façade) ---------- */
.virtual-tour { background: var(--clr-bg); }
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
  overflow-anchor: none; /* prevents Chrome scroll-anchoring jumps to this element */
}
.video-wrapper iframe,
.video-wrapper .video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Click-to-play facade */
.video-facade {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  overflow: hidden;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-facade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,42,74,0) 0%, rgba(11,42,74,0.35) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s;
}
.video-facade:hover img { transform: scale(1.04); }
.video-facade:focus-visible { outline: 3px solid var(--clr-accent); outline-offset: 2px; }

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(201, 150, 46, 0.95);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 2;
  transition: transform 0.25s, background 0.25s;
  pointer-events: none;
}
.video-facade:hover .video-play-btn,
.video-facade:focus-visible .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--clr-accent-hover);
}

/* ---------- 10. FIXED LINKS ---------- */
.fixed-links {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
  padding-block: var(--space-xl);
}
.fixed-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}
.fixed-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: var(--space-md) var(--space-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  text-align: center;
  transition: background 0.25s, transform 0.25s;
}
.fixed-link-card:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.fixed-link-card i { font-size: var(--fs-xl); color: var(--clr-accent); }
.fixed-link-card span { font-size: 0.75rem; font-weight: 600; line-height: 1.3; }

/* ---------- 11. NOTICES ---------- */
.notices { background: var(--clr-surface); }
.notice-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.notice-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.notice-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.notice-date {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--clr-text-muted);
  line-height: 1.2;
}
.notice-date span { display: block; font-size: var(--fs-xl); font-weight: 800; color: var(--clr-primary); }
.notice-body { flex: 1; }
.notice-body h3 { font-size: var(--fs-sm); font-weight: 600; color: var(--clr-text); margin-bottom: 0.25rem; line-height: 1.4; }
.notice-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-accent);
  background: rgba(201,150,46,0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}
.notice-item > i { align-self: center; color: var(--clr-accent); font-size: var(--fs-sm); }
.notice-cta { text-align: center; margin-top: var(--space-xl); }

/* ---------- 12. IMPORTANT LINKS ---------- */
.important-links { background: var(--clr-bg); }
.important-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}
.important-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.important-link:hover { border-color: var(--clr-accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.important-link i { color: var(--clr-accent); font-size: var(--fs-base); flex-shrink: 0; }

/* ---------- 13. PRINCIPAL ---------- */
.principal { background: var(--clr-surface); }
.principal-grid { display: grid; gap: var(--space-xl); align-items: center; }
.principal-image { text-align: center; }
.principal-frame {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  background: linear-gradient(160deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.35);
  font-size: 4rem;
  box-shadow: var(--shadow-lg);
}
.principal-caption { margin-top: var(--space-sm); font-size: var(--fs-sm); color: var(--clr-text-muted); line-height: 1.4; }
.principal-caption strong { color: var(--clr-primary); }
.principal-text h2 { font-family: var(--ff-display); font-size: var(--fs-2xl); color: var(--clr-primary); margin-bottom: var(--space-md); }
.principal-text blockquote {
  border-left: 4px solid var(--clr-accent);
  padding-left: var(--space-md);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--clr-primary-light);
  margin-bottom: var(--space-md);
}
.principal-text p { color: var(--clr-text-muted); margin-bottom: var(--space-md); }

/* ---------- 14. ABOUT ---------- */
.about { background: var(--clr-bg); }
.about-content { max-width: 820px; margin-inline: auto; }
.about-content p { color: var(--clr-text-muted); margin-bottom: var(--space-md); }
.about-content p strong { color: var(--clr-primary); }
.about-highlight {
  background: var(--clr-surface);
  border-left: 4px solid var(--clr-accent);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--clr-primary) !important;
}

/* ---------- 15. VISION / MISSION / OBJECTIVE ---------- */
.vision { background: var(--clr-surface); }
.vision-grid { display: grid; gap: var(--space-md); margin-bottom: var(--space-xl); }
.vision-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.vision-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vision-icon {
  width: 56px; height: 56px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  color: var(--clr-accent);
  font-size: var(--fs-xl);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}
.vision-card h3 { font-size: var(--fs-lg); font-weight: 700; color: var(--clr-primary); margin-bottom: var(--space-xs); }
.vision-card p { font-size: var(--fs-sm); color: var(--clr-text-muted); }
.vision-image-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm); }
.vision-image-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  padding: var(--space-sm);
}
.vision-image-item i { font-size: var(--fs-xl); color: var(--clr-accent); }

/* ---------- 16. FOOTER ---------- */
.site-footer {
  background: var(--clr-primary);
  color: rgba(255,255,255,0.8);
  padding-top: var(--space-2xl);
}
.footer-grid { display: grid; gap: var(--space-xl); padding-bottom: var(--space-xl); }
.footer-logo { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.footer-logo .logo-mark { width: 44px; height: 44px; font-size: var(--fs-base); }
.footer-logo strong { font-family: var(--ff-display); font-size: 0.95rem; color: #fff; line-height: 1.2; }
.footer-tagline { color: var(--clr-accent); font-weight: 600; font-size: var(--fs-sm); margin-bottom: var(--space-sm); }
.footer-brand p { font-size: var(--fs-sm); line-height: 1.7; opacity: 0.8; }
.footer-address { margin-top: var(--space-sm); display: flex; gap: 0.4rem; align-items: flex-start; }
.footer-address i { color: var(--clr-accent); margin-top: 0.2rem; }
.footer-col h4 { color: #fff; font-size: var(--fs-base); font-weight: 700; margin-bottom: var(--space-sm); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { font-size: var(--fs-sm); opacity: 0.8; transition: opacity 0.2s, color 0.2s; }
.footer-col ul a:hover { opacity: 1; color: var(--clr-accent); }
.footer-contact li { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); opacity: 0.85; }
.footer-contact i { color: var(--clr-accent); width: 16px; text-align: center; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--space-md);
  font-size: var(--fs-sm);
  opacity: 0.65;
}
.footer-bottom-inner { display: flex; flex-direction: column; gap: 0.25rem; text-align: center; }

/* ---------- 17. BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--clr-accent);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  font-size: var(--fs-base);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--clr-accent-hover); }

/* ---------- 18. RESPONSIVE ---------- */
@media (min-width: 480px) {
  .fixed-links-grid { grid-template-columns: repeat(3, 1fr); }
  .important-links-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) {
  .founder-grid { grid-template-columns: 280px 1fr; }
  .principal-grid { grid-template-columns: 260px 1fr; }
  .vision-grid { grid-template-columns: repeat(3, 1fr); }
  .fixed-links-grid { grid-template-columns: repeat(4, 1fr); }
  .important-links-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 768px) {
  .slider { min-height: 72vh; }
  .section { padding-block: var(--space-3xl); }
}
@media (min-width: 1024px) {
  .container { padding-inline: var(--space-xl); }
  .fixed-links-grid { grid-template-columns: repeat(7, 1fr); }
  .important-links-grid { grid-template-columns: repeat(4, 1fr); }
  .founder-grid { grid-template-columns: 340px 1fr; gap: var(--space-2xl); }
  .principal-grid { grid-template-columns: 300px 1fr; gap: var(--space-2xl); }
  .about-content { max-width: 900px; }
}

/* ---------- 19. ACCESSIBILITY & PRINT ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
:focus-visible { outline: 3px solid var(--clr-accent); outline-offset: 2px; }

@media print {
  .top-bar, .site-header, .site-nav, .nav-overlay, .nav-toggle,
  .slider, .slider-arrow, .slider-dots, .back-to-top,
  .fixed-links, .video-wrapper { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1rem; }
}