/* =====================================================================
   STYLE.CSS — Enlight Vocational Institute
   All non-navigation, non-footer, non-responsive styles for every page:
   design tokens, shared components, and each page's unique layout.

   Load order on a page:  style.css → navbar.css → footer.css → responsive.css
   (responsive.css last so it can override desktop rules at each breakpoint)
   ===================================================================== */

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  SELF-HOSTED FONTS
  Zilla Slab is self-hosted below (converted to WOFF2).
  Work Sans is still loaded from Google Fonts until it's
  self-hosted too — replace this @import with matching
  @font-face rules once those files are converted.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/zilla-slab/ZillaSlab-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/zilla-slab/ZillaSlab-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/zilla-slab/ZillaSlab-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/zilla-slab/ZillaSlab-Bold.woff2") format("woff2");
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  GLOBAL TOKENS & RESET
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

:root {
  --navy-deep: #10203f;
  --navy: #1b3b8c;
  --blue-mid: #24509e;
  --blue-tint: #eef2fb;
  --gold: #f0a202;
  --gold-soft: #fbd98a;
  --paper: #f7f9fc;
  --white: #ffffff;
  --ink: #16213a;
  --slate: #5b6478;
  --line: #e2e7f2;

  --display: "Zilla Slab", Georgia, serif;
  --body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-dark {
  color: var(--gold-soft);
}
.eyebrow.on-dark::before {
  background: var(--gold-soft);
}
.eyebrow.center {
  justify-content: center;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  PAGE HERO (interior pages)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* ---------------- HERO (interior pages) ---------------- */
.page-hero {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
  color: var(--white);
  padding: 4rem 1.5rem 4.6rem;
  background-image:
    radial-gradient(
      circle at 85% 15%,
      rgba(240, 162, 2, 0.16),
      transparent 42%
    ),
    radial-gradient(circle at 6% 90%, rgba(36, 80, 158, 0.5), transparent 45%);
}
.page-hero-shield {
  position: absolute;
  right: -50px;
  top: -40px;
  width: 340px;
  height: 370px;
  opacity: 0.07;
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.page-hero p.lede {
  margin-top: 0.9rem;
  color: #c9d2e8;
  font-size: 1.02rem;
  max-width: 56ch;
}
.page-hero .crumbs {
  margin-top: 1.6rem;
  font-size: 0.82rem;
  color: #9facc9;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.page-hero .crumbs a {
  color: #c9d2e8;
}
.page-hero .crumbs a:hover {
  color: var(--gold-soft);
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  opacity: 0.7;
  transition: opacity 0.2s ease;
  z-index: 999;
}
.whatsapp-float:hover {
  opacity: 1;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  SHARED COMPONENTS (section heading, info cards, timeline, cta banner, accordion, forms)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* ---- generic section heading (span/h2/p) reused on inner pages ---- */
.section-heading {
  text-align: center;
  margin-bottom: 2.6rem;
}
.section-heading .eyebrow-txt {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}
.section-heading .eyebrow-txt::before,
.section-heading .eyebrow-txt::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}
.section-heading h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}
.section-heading > p {
  color: var(--slate);
  max-width: 6ch;
  margin: 0.8rem auto 0;
  font-size: 0.97rem;
}

/* ---- info card strip (contact/admissions quick-info) ---- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  max-width: 1180px;
  margin: 0 auto;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: 0.2s;
}
.info-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.info-card .info-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-card .info-icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--navy);
}
.info-card h3 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}
.info-card p,
.info-card a {
  font-size: 0.88rem;
  color: var(--slate);
}
.info-card a:hover {
  color: var(--navy);
}

/* ---- tag pill ---- */
.tag-pill {
  display: inline-block;
  background: var(--blue-tint);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin: 0.25rem 0.35rem 0.25rem 0;
}

/* ---- timeline (process steps) ---- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  max-width: 1180px;
  margin: 0 auto;
  counter-reset: step;
}
.timeline > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.8rem 1.5rem;
  position: relative;
}
.timeline > div::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--gold-soft);
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  opacity: 0.9;
}
.timeline h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}
.timeline p {
  color: var(--slate);
  font-size: 0.88rem;
}

/* ---- cta banner ---- */
.cta-banner {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--navy-deep);
  border-radius: 10px;
  padding: 3.2rem 2rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 85% 15%,
    rgba(240, 162, 2, 0.18),
    transparent 45%
  );
  pointer-events: none;
}
.cta-banner > * {
  position: relative;
  z-index: 1;
}
.cta-banner h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 0.8rem;
}
.cta-banner p {
  color: #c9d2e8;
  max-width: 56ch;
  margin: 0 auto 1.6rem;
  font-size: 0.98rem;
}
.cta-banner .btn,
.cta-banner a.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 0.9rem 1.9rem;
  border-radius: 4px;
  font-size: 0.92rem;
  transition: 0.2s;
}
.cta-banner .btn:hover {
  background: var(--gold-soft);
}

/* ---- accordion (FAQ) ---- */
.accordion {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: 0.2s;
}
.faq-icon.active {
  background: var(--gold);
  color: var(--navy-deep);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}
.faq-answer.active {
  max-height: 600px;
  padding: 0 1.5rem 1.4rem;
}
.faq-answer p {
  color: var(--slate);
  font-size: 0.93rem;
}
.faq-answer ul {
  margin: 0 0 0 1.2rem;
  list-style: disc;
  color: var(--slate);
  font-size: 0.93rem;
}
.faq-answer li {
  margin-bottom: 0.4rem;
}

/* ---- forms ---- */
.form-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.8rem clamp(1.2rem, 3vw, 2.2rem);
  margin-bottom: 1.6rem;
  background: var(--white);
}
.form-block legend {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-deep);
  padding: 0 0.5rem;
  border-left: 4px solid var(--gold);
  padding-left: 0.7rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 1.5rem;
  margin-top: 1.3rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field-wide {
  grid-column: 1/-1;
}
.form-field-sm {
  grid-column: span 1;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.required-mark {
  color: #c0392b;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--body);
  font-size: 0.92rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  transition: 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}
.form-note {
  font-size: 0.83rem;
  color: var(--slate);
  margin-top: 1rem;
}
.form-note-top {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.choice-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.choice-row:first-of-type {
  margin-top: 1.3rem;
}
.academic-block {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px dashed var(--line);
}
.academic-block:first-of-type {
  margin-top: 1.3rem;
  border-top: none;
  padding-top: 0;
}
.academic-block h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--blue-mid);
  font-size: 0.98rem;
  margin-bottom: 0.9rem;
}
.subject-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 1.2rem;
  margin-bottom: 0.7rem;
}
.subject-grid {
  display: grid;
  gap: 0.9rem 1rem;
}
.subject-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.subject-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}
.subject-grid-8 {
  grid-template-columns: repeat(4, 1fr);
}
.form-field-grade label {
  font-size: 0.78rem;
}
.radio-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.4rem;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.form-submit-row {
  text-align: center;
  margin-top: 0.5rem;
}
.submit-btn {
  border: none;
  cursor: pointer;
}
.form-success {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 2.2rem;
  text-align: center;
}
.form-success h3 {
  font-family: var(--display);
  color: var(--navy-deep);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.form-success p {
  color: var(--slate);
  font-size: 0.95rem;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  HOMEPAGE (index.php)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* ================= HOME HERO ================= */

    /*
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
  color: var(--white);
  padding: 6.5rem 1.5rem 7rem;
  background-image:
    radial-gradient(
      circle at 84% 18%,
      rgba(240, 162, 2, 0.18),
      transparent 42%
    ),
    radial-gradient(circle at 6% 88%, rgba(36, 80, 158, 0.5), transparent 45%);
*/
.home-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 6.5rem 1.5rem 7rem;
  background-image:
    linear-gradient(
      rgba(16, 32, 63, 0.75),
      rgba(16, 32, 63, 0.85)
    ),
    url("../img/college/photogrid.webp");

  background-size:cover;
  background-position: center;
  background-repeat: no-repeat;
}
.home-hero-shield {
  position: absolute;
  right: -70px;
  top: -50px;
  width: 460px;
  height: 500px;
  opacity: 0.07;
  pointer-events: none;
}
.home-hero-content {
  max-width: 868px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: left;

}
.home-hero-content h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  max-width: ch;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.home-hero-content > p {
  margin-top: 1.3rem;
  max-width: 54ch;
  color: #c9d2e8;
  font-size: 1.06rem;
}
.home-hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.home-btn {
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 0.9rem 1.7rem;
  border-radius: 4px;
  font-size: 0.92rem;
  transition: 0.2s;
}
.home-btn:hover {
  background: var(--gold-soft);
}
.home-btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-weight: 600;
  padding: 0.9rem 1.7rem;
  border-radius: 4px;
  font-size: 0.92rem;
  transition: 0.2s;
}
.home-btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ================= SECTION HEADING (reused) ================= */
.section-heading {
  text-align: center;
  margin-bottom: 2.8rem;
}
.section-heading > span.eyebrow-txt {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}
.section-heading > span.eyebrow-txt::before,
.section-heading > span.eyebrow-txt::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}
.section-heading h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}
.section-heading > p {
  color: var(--slate);
  max-width: 56ch;
  margin: 0.8rem auto 0;
  font-size: 0.98rem;
}

/* ================= ABOUT SPLIT ================= */
.home-about {
  padding: 5.5rem 1.5rem;
  background: var(--white);
}
.home-about-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}
.home-about-image-carousel {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3.2;
  box-shadow: 0 24px 48px -20px rgba(16, 32, 63, 0.35);
  border: 6px solid var(--white);
  outline: 1px solid var(--line);
}
.home-about-image-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--gold);
  border-radius: 2px;
  margin: 10px;
  pointer-events: none;
  opacity: 0.85;
}
.home-about-image-slides {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.6s ease;
}
.home-about-image-slides img {
  width: 33.333%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}
.home-about-content .eyebrow-txt {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}
.home-about-content .eyebrow-txt::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}
.home-about-content h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  color: var(--navy-deep);
}
.home-about-content p {
  color: var(--slate);
  margin-top: 1.1rem;
  font-size: 1.01rem;
  max-width: 56ch;
}
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  margin-top: 1.5rem;
  transition: 0.2s;
}
.read-more-link:hover {
  color: var(--navy-deep);
  gap: 0.75rem;
}

/* ================= CAROUSEL SHELL (mobile) ================= */
.mobile-carousel {
  position: relative;
}
.mobile-carousel .carousel-arrow {
  background-color: #24509e;
  border: 1px solid var(--line);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px -14px rgba(16, 32, 63, 0.35);
  transition: 0.2s;
  position: absolute;
  top: 38%;
  z-index: 5;
}
.mobile-carousel .carousel-prev {
  left: -1.4rem;
}
.mobile-carousel .carousel-next {
  right: -1.4rem;
}
.mobile-carousel .carousel-arrow:hover {
  background: white;
  border-color: var(--gold);
  color: #24509e;
}
.mobile-carousel .carousel-arrow:disabled {
  opacity: 0.5;
  cursor: default;
}
.carousel-dots {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
}
.carousel-dot.active {
  background: #24509e;
  width: 22px;
  border-radius: 5px;
  transition: 0.2s;
}

/* ================= CORE VALUES / VISION / MISSION ================= */
.home-vision-section {
  background: var(--blue-tint);
  padding: 5rem 1.5rem;
}
.home-vision-section-container {
  max-width: 1180px;
  margin: 0 auto;
}
.home-vision-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.home-vision-card {
  background: var(--white);
  border-radius: 6px;
  padding: 2.2rem 1.9rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 12px 28px -18px rgba(16, 32, 63, 0.25);
}
.home-vision-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy-deep);
  margin-bottom: 0.7rem;
}
.home-vision-card p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* ================= STATS ================= */
.stats-section {
  background: var(--navy-deep);
  padding: 5rem 1.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 90% 10%,
    rgba(240, 162, 2, 0.14),
    transparent 40%
  );
  pointer-events: none;
}
.stats-container {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.stats-section .section-heading h2 {
  color: var(--white);
}
.stats-section .section-heading p {
  color: #b9c3dc;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-card {
  text-align: center;
  padding: 1.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.stat-card .icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(240, 162, 2, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
}
.stat-card h3 {
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--gold);
}
.stat-card p {
  color: #c9d2e8;
  font-size: 0.86rem;
  margin-top: 0.4rem;
}

/* ================= COURSES ================= */
.home-courses {
  padding: 5.5rem 1.5rem;
  background: var(--white);
}
.home-courses-container {
  max-width: 1180px;
  margin: 0 auto;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.courses-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: 0.2s;
}
.courses-card:hover {
  box-shadow: 0 22px 40px -26px rgba(16, 32, 63, 0.32);
  transform: translateY(-4px);
}
.courses-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: linear-gradient(135deg, var(--blue-mid), var(--navy-deep));
}
.courses-content {
  padding: 1.5rem 1.5rem 1.7rem;
}
.courses-content h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy-deep);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.courses-content p {
  color: var(--slate);
  font-size: 0.9rem;
}
.courses-btn {
  text-align: center;
  margin-top: 2.6rem;
}
.btn-more-courses {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: 0.2s;
}
.btn-more-courses:hover {
  background: var(--navy-deep);
}

/* ================= ADMISSION CTA ================= */
.home-admission {
  background: var(--blue-tint);
  padding: 5.5rem 1.5rem;
}
.home-admission-container {
  max-width: 1180px;
  margin: 0 auto;
}
.admission-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
.admission-content .section-heading {
  text-align: left;
  margin-bottom: 0;
}
.admission-content .section-heading h2 {
  margin-top: 0.2rem;
}
.admission-content > .section-heading p {
  margin: 1rem 0 0;
  text-align: left;
  max-width: none;
}
.admission-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.admission-contact p {
  font-size: 0.92rem;
  color: var(--ink);
}
.admission-contact a {
  color: var(--navy);
  font-weight: 600;
}
.admission-buttons {
  margin-top: 1.7rem;
}
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: 0.2s;
}
.btn-read-more:hover {
  background: var(--navy-deep);
}
.admission-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3.4;
  box-shadow: 0 24px 48px -22px rgba(16, 32, 63, 0.3);
}
.admission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
}

/* ================= NEWS ================= */
.home-news {
  padding: 5.5rem 1.5rem;
  background: var(--white);
}
.home-news-container {
  max-width: 1180px;
  margin: 0 auto;
}
.home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}
.home-news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
   min-width: 0;
    width: 100%;
}
.home-news-card:hover {
  box-shadow: 0 22px 40px -26px rgba(16, 32, 63, 0.32);
  transform: translateY(-4px);
}
.home-news-card img {
  width: 100%;
  height: 15rem;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: linear-gradient(135deg, var(--blue-mid), var(--navy-deep));
}
.home-news-content {
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-date {
  font-size: 0.76rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.news-content h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-deep);
  line-height: 1.32;
  margin-bottom: 0.6rem;
}
.news-content p {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  flex: 1;
}
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  width: fit-content;
  transition: 0.2s;
}
.news-link:hover {
  color: var(--navy-deep);
  gap: 0.7rem;
}
.news-button {
  text-align: center;
  margin-top: 2.6rem;
}
.btn-news {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: 0.8rem 1.7rem;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: 0.2s;
}
.btn-news:hover {
  background: var(--navy);
  color: var(--white);
}

/* ================= STUDENT LIFE ================= */
.student-life {
  padding: 5.5rem 1.5rem;
  background: var(--blue-tint);
}
.student-life-container {
  max-width: 1180px;
  margin: 0 auto;
}
.student-life-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1rem;
}
.life-item {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.8rem;
}
.life-item i {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy-deep);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.life-item h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
}
.life-item p {
  color: var(--slate);
  font-size: 0.9rem;
}
.student-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-size: 0.88rem;
  margin-top: 0.4rem;
  transition: 0.2s;
}
.student-btn:hover {
  background: var(--navy-deep);
}
.student-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.student-gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  box-shadow: 0 16px 32px -20px rgba(16, 32, 63, 0.3);
}

/* ================= ALUMNI ================= */
.alumni-success {
  padding: 5.5rem 1.5rem;
  background: var(--white);
}
.alumni-success-container {
  max-width: 1180px;
  margin: 0 auto;
}
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.alumni-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.9rem;
}
.alumni-profile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.alumni-profile img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border: 2px solid var(--gold);
}
.alumni-profile h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-deep);
}
.alumni-profile span {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.alumni-card > p {
  color: var(--ink);
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.65;
}

/* ================= WHY CHOOSE US ================= */
.home-why-us-section {
  padding: 5.5rem 1.5rem;
  background: var(--blue-tint);
}
.home-why-us-container {
  max-width: 1180px;
  margin: 0 auto;
}
.home-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.home-feature-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.3rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: 0.2s;
}
.home-feature-box:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ================= CONTACT ================= */
.home-contact {
  padding: 5.5rem 1.5rem;
  background: var(--white);
}
.home-contact-container {
  max-width: 1180px;
  margin: 0 auto;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: stretch;
}
.contact-details {
  background: var(--navy-deep);
  border-radius: 8px;
  padding: 2.4rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.contact-item i {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(240, 162, 2, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.contact-item h3 {
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.contact-item p {
  font-size: 0.87rem;
  color: #c9d2e8;
  line-height: 1.6;
}
.contact-item a {
  color: #c9d2e8;
}
.contact-item a:hover {
  color: var(--gold);
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  font-size: 0.88rem;
  margin-top: auto;
  width: fit-content;
  transition: 0.2s;
}
.contact-btn:hover {
  background: var(--gold-soft);
}
.contact-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px -24px rgba(16, 32, 63, 0.3);
  min-height: 350px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: block;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  BLOG LISTING (blog.php)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* ---------------- BLOG LISTING ---------------- */
.blog-hero {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
  color: var(--white);
  padding: 5rem 1.5rem 5.5rem;
  background-image:
    radial-gradient(
      circle at 85% 20%,
      rgba(240, 162, 2, 0.16),
      transparent 42%
    ),
    radial-gradient(circle at 6% 90%, rgba(36, 80, 158, 0.5), transparent 45%);
}
.blog-hero-shield {
  position: absolute;
  right: -50px;
  top: -40px;
  width: 380px;
  height: 410px;
  opacity: 0.07;
  pointer-events: none;
}
.blog-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: left;
}
.blog-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
}
.blog-hero p.lede {
  margin-top: 0.9rem;
  color: #c9d2e8;
  font-size: 1.05rem;
  max-width: 52ch;
}

.blog-section {
  padding: 4.5rem 1.5rem 5rem;
}

.category-filter {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}
.category-filter span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--slate);
  background: var(--white);
}
.category-filter span.is-all {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 3.2rem;
  box-shadow: 0 20px 40px -28px rgba(16, 32, 63, 0.3);
}
.featured-post-media {
  position: relative;
  aspect-ratio: 5/4;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}
.featured-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-post-body {
  padding: 1rem 2.6rem 1rem 0;
}
.post-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--blue-tint);
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.featured-post-body h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  color: var(--navy-deep);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.8rem;
}
.featured-post-body p {
  color: var(--slate);
  font-size: 0.98rem;
  margin-bottom: 1.3rem;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 1.4rem;
}
.post-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--slate);
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: 0.2s;
}
.read-more:hover {
  color: var(--navy-deep);
  gap: 0.75rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.blog-card:hover {
  box-shadow: 0 22px 40px -26px rgba(16, 32, 63, 0.32);
  transform: translateY(-4px);
}
.blog-card-media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--blue-mid), var(--navy-deep));
  position: relative;
  overflow: hidden;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-content {
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-content h2 {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.32;
  margin-bottom: 0.6rem;
}
.blog-content .date {
  font-size: 0.76rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.blog-content p {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  flex: 1;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  BLOG ARTICLE (shared by blog_partion_schemes.php & blog_fd_command.php)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* ---------------- BLOG ARTICLE (shared by both article pages) ---------------- */
.article-section {
  padding: 4rem 1.5rem 5rem;
}
.article-shell {
  max-width: 820px;
  margin: 0 auto;
}
.article-shell > .wrap {
  padding: 0;
}

article.post {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2.8rem clamp(1.6rem, 4vw, 3.4rem);
  box-shadow: 0 20px 44px -30px rgba(16, 32, 63, 0.28);
}
article.post h2 {
  font-family: var(--display);
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 1.45rem;
  margin-top: 2.4rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--gold);
  padding-left: 0.9rem;
}
article.post h2:first-child {
  margin-top: 0;
}
article.post h3 {
  font-family: var(--display);
  color: var(--blue-mid);
  font-weight: 600;
  font-size: 1.06rem;
  margin-top: 1.6rem;
  margin-bottom: 0.7rem;
}
article.post p {
  color: var(--ink);
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
}
article.post ul,
article.post ol {
  margin: 0 0 1.2rem 1.4rem;
  color: var(--ink);
  font-size: 0.96rem;
}
article.post ul {
  list-style: disc;
}
article.post ol {
  list-style: decimal;
}
article.post li {
  margin-bottom: 0.5rem;
}
article.post strong {
  color: var(--navy-deep);
}
article.post code {
  background: var(--blue-tint);
  color: var(--navy);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
}

pre {
  background: var(--navy-deep);
  color: #e7ecf7;
  padding: 1.1rem 1.3rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 0 0 1.4rem;
  font-size: 0.88rem;
  line-height: 1.6;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  border-left: 4px solid var(--gold);
}
pre code {
  background: none;
  color: inherit;
  padding: 0;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0 1.8rem;
  font-size: 0.92rem;
}
table.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 600;
}
table.data-table td {
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
}
table.data-table tr:nth-child(even) td {
  background: var(--paper);
}

.callout {
  padding: 1.1rem 1.3rem;
  border-radius: 6px;
  margin: 1.6rem 0;
  font-size: 0.94rem;
}
.callout.note {
  background: #eaf3ff;
  border-left: 4px solid var(--blue-mid);
  color: #173a6b;
}
.callout.tip {
  background: #fff6e2;
  border-left: 4px solid var(--gold);
  color: #7a5300;
}

.post-header-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.83rem;
  color: var(--slate);
  margin-bottom: 1.6rem;
}
.post-header-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--slate);
}

/* Related section */
.related-section {
  background: var(--blue-tint);
  padding: 4.5rem 1.5rem;
  margin-top: 1rem;
}
.related-section .wrap {
  max-width: 1180px;
}
.related-section .section-heading {
  text-align: center;
  margin-bottom: 0.6rem;
}
.related-section .section-heading span {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: var(--navy-deep);
}
.related-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.6rem;
  color: var(--slate);
  font-size: 0.96rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.7rem;
  transition: 0.2s;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px -26px rgba(16, 32, 63, 0.3);
  border-color: var(--gold);
}
.related-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.related-card h3 {
  font-family: var(--display);
  color: var(--navy-deep);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.related-card p {
  color: var(--slate);
  font-size: 0.86rem;
  margin-bottom: 1rem;
}
.related-card span.cta {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  CONTACT PAGE (contact.php)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.contact-section {
  padding: 5rem 1.5rem;
  background: var(--white);
}
.contact-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info {
  background: var(--navy-deep);
  border-radius: 10px;
  padding: 2.6rem;
  color: var(--white);
}
.contact-info h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}
.contact-info p {
  font-size: 0.94rem;
  color: #c9d2e8;
  margin-bottom: 1.1rem;
  line-height: 1.7;
}
.contact-info p strong {
  color: var(--white);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
  color: var(--gold);
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2.6rem;
}
.contact-form h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy-deep);
  margin-bottom: 1.4rem;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--body);
  font-size: 0.94rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  transition: 0.2s;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.contact-form button {
  align-self: flex-start;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  border: none;
  cursor: pointer;
  padding: 0.9rem 2rem;
  border-radius: 5px;
  font-size: 0.92rem;
  transition: 0.2s;
}
.contact-form button:hover {
  background: var(--gold-soft);
}

.map-section {
  padding: 0 1.5rem 5rem;
  background: var(--white);
}
.map-container {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 44px -26px rgba(16, 32, 63, 0.3);
}
.map-container iframe {
  display: block;
  width: 100%;
   height: 30rem;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  COURSES PAGE (courses.php)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.courses-section {
  padding: 1rem 1.5rem 5.5rem;
  background: var(--white);
}
.courses-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  box-shadow: 0 22px 44px -26px rgba(16, 32, 63, 0.32);
  transform: translateY(-4px);
}

.courses_slider {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-mid), var(--navy-deep));
}
.courses_slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.courses_slider img.active {
  opacity: 1;
}

.course-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy-deep);
  margin: 1.3rem 1.5rem 0.6rem;
}
.course-card > p {
  color: var(--slate);
  font-size: 0.9rem;
  margin: 0 1.5rem 1rem;
}
.course-card ul {
  margin: 0 1.5rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
}
.course-card ul li {
  list-style: none;
}
.course-card .btn {
  margin: 0 1.5rem 1.6rem;
  align-self: flex-start;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  transition: 0.2s;
  margin-top: auto;
}
.course-card .btn:hover {
  background: var(--navy-deep);
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  INTERNSHIP PAGE (internship.php)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  max-width: 1180px;
  margin: 0 auto;
}
.icon-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.9rem 1.5rem;
  text-align: center;
  transition: 0.2s;
}
.icon-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.icon-card .ic {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.1rem;
  border-radius: 10px;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-card .ic svg {
  width: 23px;
  height: 23px;
  stroke: var(--gold);
}
.icon-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}
.icon-card p {
  color: var(--slate);
  font-size: 0.88rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1180px;
  margin: 0 auto;
}
.field-card {
  background: var(--blue-tint);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  color: var(--navy-deep);
  font-family: var(--display);
  font-size: 1rem;
}

.inner-section {
  padding: 5rem 1.5rem;
}
.inner-section.alt {
  background: var(--blue-tint);
}
.inner-section .section-intro {
  max-width: 760px;
  margin: 0 auto 2.8rem;
  text-align: center;
  color: var(--slate);
  font-size: 0.98rem;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  STUDENT LIFE PAGE (student-life.php)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.inner-section {
  padding: 5rem 1.5rem;
}
.inner-section.alt {
  background: var(--blue-tint);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.culture-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem 1.7rem;
  border-top: 4px solid var(--gold);
  transition: 0.2s;
}
.culture-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -26px rgba(16, 32, 63, 0.28);
}
.culture-card .icon {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}
.culture-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy-deep);
  margin-bottom: 0.6rem;
}
.culture-card p {
  color: var(--slate);
  font-size: 0.9rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.hub-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: 0.2s;
}
.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -26px rgba(16, 32, 63, 0.28);
}
.hub-banner {
  padding: 1.1rem 1.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
}
.hub-banner.design {
  background: linear-gradient(120deg, #8e5fd1, #5a3b94);
}
.hub-banner.culinary {
  background: linear-gradient(120deg, #e08e2b, #b5661a);
}
.hub-banner.tech {
  background: linear-gradient(120deg, var(--blue-mid), var(--navy-deep));
}
.hub-banner.community {
  background: linear-gradient(120deg, #2fa36b, #1c7a4c);
}
.hub-content {
  padding: 1.6rem 1.7rem;
}
.hub-banner.faith {
  background: linear-gradient(120deg, #2fa36b, #1c7a4c);
}

.hub-content p {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.spaces-list li {
  margin-bottom: 1.5rem;
}
.spaces-list h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-deep);
  margin-bottom: 0.4rem;
}
.spaces-list p {
  color: var(--slate);
  font-size: 0.9rem;
}
.spaces-photo {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 40px -20px rgba(16, 32, 63, 0.3);
}
.spaces-image-mock {

    margin-top:3rem;
    text-align:left;
  height: 10rem;
  border-radius: 8px;
  background-size: contain; /* Scales image to over element, preserving aspect ratio */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents tiling */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #c9d2e8;
  font-size: 0.95rem;
  padding:0;
  box-shadow: 0 24px 48px -22px rgba(16, 32, 63, 0.3);
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  FAQ PAGE (faq.php)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.faq-section {
  padding: 5rem 1.5rem;
  background: var(--white);
}
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}
.faq-container .intro {
  text-align: center;
  color: var(--slate);
  font-size: 0.98rem;
  margin-bottom: 2.6rem;
}
.faq-container .outro {
  margin-top: 2.6rem;
  background: var(--blue-tint);
  border-radius: 8px;
  padding: 1.8rem 2rem;
  text-align: center;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.7;
}
.faq-container .outro a {
  color: var(--navy);
  font-weight: 600;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  ADMISSIONS PAGE (admissions.php)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.admissions-form-section {
  padding: 1rem 1.5rem 5.5rem;
  background: var(--paper);
}
.admissions-form-container {
  max-width: 1180px;
  width: 90%;
  margin: 0 auto;
}
.admission-form {
  margin-top: 1rem;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  GALLERY PAGE (gallery.php)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

.gallery-section {
  padding: 4.5rem 1.5rem 5.5rem;
  background: var(--white);
}
.gallery-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--slate);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.3rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.2s;
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--navy-deep);
}
.filter-btn.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  grid-auto-flow: dense;
}
.gallery-tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
  box-shadow: 0 10px 26px -18px rgba(16, 32, 63, 0.35);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.gallery-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -22px rgba(16, 32, 63, 0.4);
}
.gallery-tile.wide {
  grid-column: span 2;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-tile .fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 1rem;
}
.gallery-tile .fallback svg {
  width: 30px;
  height: 30px;
  stroke: var(--gold);
  opacity: 0.9;
}
.gallery-tile .fallback span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
}
.gallery-tile .tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem 1rem;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(16, 32, 63, 0.85) 100%
  );
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery-tile:hover .tile-overlay {
  opacity: 1;
}
.gallery-tile .tile-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  font-family: var(--display);
}
.gallery-tile .dept-chip {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(16, 32, 63, 0.75);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.6rem;
  border-radius: 30px;
  z-index: 2;
}
.gallery-tile.hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 32, 0.92);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open {
  display: flex;
}
.lightbox-inner {
  max-width: 920px;
  width: 100%;
  text-align: center;
}
.lightbox-media {
  width: 100%;
  max-height: 72vh;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-deep);
  aspect-ratio: 4/3;
}
.lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox-caption {
  color: var(--white);
  margin-top: 1.1rem;
  font-family: var(--display);
  font-size: 1.05rem;
}
.lightbox-dept {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
}
.lightbox-close {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  transition: 0.2s;
}
.lightbox-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.2s;
}
.lightbox-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.lightbox-prev {
  left: 1.2rem;
}
.lightbox-next {
  right: 1.2rem;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  PORTFOLIO PAGE (portfolio.php)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

 .portfolio-intro {
    padding: 2rem;
    width: 80%;
    margin: auto;
  }

  .portfolio-intro h2 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    color: var(--navy-deep);
    margin-bottom: 0.6rem;
  }

.portfolio-section {
  padding: 4.5rem 1.5rem 2rem;
  background: var(--white);
}
.portfolio-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--slate);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.3rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.2s;
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--navy-deep);
}
.filter-btn.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.25s;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -26px rgba(16, 32, 63, 0.32);
  border-color: var(--gold);
}
.portfolio-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portfolio-media .fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 1rem;
}
.portfolio-media .fallback svg {
  width: 30px;
  height: 30px;
  stroke: var(--gold);
  opacity: 0.9;
}
.portfolio-media .fallback span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
}
.portfolio-media .dept-chip {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(16, 32, 63, 0.75);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.6rem;
  border-radius: 30px;
  z-index: 2;
}
.portfolio-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portfolio-body h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
  line-height: 1.32;
}
.portfolio-body p {
  color: var(--slate);
  font-size: 0.9rem;
  flex: 1;
}
.portfolio-card.hidden {
  display: none;
}

.portfolio-cta {
  padding: 4.5rem 1.5rem 5.5rem;
  background: var(--blue-tint);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 32, 0.92);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open {
  display: flex;
}
.lightbox-inner {
  max-width: 820px;
  width: 100%;
  text-align: left;
}
.lightbox-media {
  width: 100%;
  max-height: 56vh;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-deep);
  aspect-ratio: 4/3;
}
.lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox-body {
  margin-top: 1.3rem;
  color: var(--white);
}
.lightbox-dept {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.lightbox-title {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.lightbox-desc {
  color: #c9d2e8;
  font-size: 0.96rem;
  line-height: 1.7;
  max-width: 70ch;
}
.lightbox-close {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  transition: 0.2s;
}
.lightbox-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.2s;
}
.lightbox-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.lightbox-prev {
  left: 1.2rem;
}
.lightbox-next {
  right: 1.2rem;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  ABOUT PAGE (about.php) — now built on the shared nav / page-hero /
  footer system like every other page; only its unique content
  sections live here.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

/* ---------------- WHO WE ARE ---------------- */
.aboutpage-section {
  padding: 5rem 1.5rem;
  background: var(--white);
}
.aboutpage-section-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.aboutpage-content-card p {
  color: var(--slate);
  font-size: 1.02rem;
  margin-top: 1.1rem;
  max-width: 58ch;
}

.aboutpage-image-carousel-container {
  position: relative;
}
.aboutpage-image-carousel {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3.2;
  box-shadow: 0 24px 48px -20px rgba(16, 32, 63, 0.35);
  border: 6px solid var(--white);
  outline: 1px solid var(--line);
}
.aboutpage-image-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--gold);
  border-radius: 2px;
  margin: 10px;
  pointer-events: none;
  opacity: 0.85;
}
.aboutpage-image-slides {
  display: flex;
  width: 300%;
  height: 100%;
  will-change: transform;
  transition: transform 0.6s ease;
}
.aboutpage-image-slides img {
  width: 33.333%;
  height: 100%;
  object-fit: cover;
  background: var(--blue-tint);
}

/* ---------------- MISSION / VISION / OBJECTIVES ---------------- */
.aboutpage-mission-vision {
  background: var(--blue-tint);
  padding: 4.5rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.aboutpage-mission-vision-card {
  background: var(--white);
  border-radius: 6px;
  padding: 2.2rem 1.9rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 12px 28px -18px rgba(16, 32, 63, 0.25);
  position: relative;
}
.mv-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.mv-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
}
.aboutpage-mission-vision-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy-deep);
  margin-bottom: 0.6rem;
}
.aboutpage-mission-vision-card p {
  color: var(--slate);
  font-size: 0.94rem;
}

/* ---------------- WHY CHOOSE US ---------------- */
.aboutpage-why-us-section {
  padding: 5.5rem 1.5rem;
  background: var(--white);
}
.aboutpage-why-us-section-container {
  max-width: 1180px;
  margin: 0 auto;
}
.aboutpage-why-us-section-container .section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.aboutpage-why-us-section-container .eyebrow {
  justify-content: center;
}
.aboutpage-why-choose {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.aboutpage-feature-box {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.aboutpage-feature-box:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  transition: transform 0.5s;
}
.aboutpage-feature-box:hover .feature-icon svg {
  transform: rotate(35deg);
}
.aboutpage-feature-box h3 {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}
.aboutpage-feature-box p {
  color: var(--slate);
  font-size: 0.9rem;
}

/* ---------------- CLIENTS ---------------- */
.our-client-section {
  background: var(--navy-deep);
  padding: 4.5rem 1.5rem;
  color: var(--white);
}
.our-client-section-container {
  max-width: 1180px;
  margin: 0 auto;
}
.our-client-section .section-heading {
  text-align: center;
  margin-bottom: 2.6rem;
}
.our-client-section .section-heading span {
  color: var(--white);
}
.our-client-section .eyebrow {
  justify-content: center;
}
.our-client-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.4rem;
  flex: 1;
}
.our-client-grid::-webkit-scrollbar {
  display: none;
}
.our-client-box {
  background-color:#eeeeee;
  border-radius: 6px;
  padding: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  min-height: 96px;
}
.our-client-box img {
  max-height: 7rem;
  width: auto;
  margin: 0 auto;
}
.our-client-box:hover img {
  filter: none;
  opacity: 1;
}

/* ---------------- TEAM ---------------- */
.team-section {
  padding: 5.5rem 1.5rem;
  background: var(--paper);
}
.team-section-container {
  max-width: 1180px;
  margin: 0 auto;
}
.team-section .section-heading {
  text-align: center;
}
.team-section .eyebrow {
  justify-content: center;
}
.our-team-section {
  text-align: center;
  max-width: 52ch;
  margin: 1rem auto 3rem;
  color: var(--slate);
}
.team-section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.team-section-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.team-section-card:hover {
  box-shadow: 0 20px 36px -22px rgba(16, 32, 63, 0.3);
  transform: translateY(-4px);
}
.team-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: var(--blue-tint);
  border-bottom: 3px solid var(--gold);
}
.team-photo-fallback {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  border-bottom: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-fallback span {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 600;
}
.team-section-card .card-body {
  padding: 1.3rem 1.4rem 1.6rem;
}
.team-section-card h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-deep);
}
.team-section-card span.role {
  display: inline-block;
  margin: 0.35rem 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 162, 2, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}
.team-section-card p {
  color: var(--slate);
  font-size: 0.87rem;
}
/* Events */

.evi-gallery-section {
    padding: 5rem 0;
    background: var(--paper);
}

.evi-gallery-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.evi-gallery-header h2 {
    font-family: var(--display);
    color: var(--navy-deep);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 0.8rem;
}

.evi-gallery-header p {
    color: var(--slate);
    max-width: 600px;
    margin: 0 auto;
}


/* ---------------- GALLERY GRID ---------------- */

.evi-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}


/* ---------------- GALLERY ITEM ---------------- */

.evi-gallery-item {
    position: relative;
    min-width: 0;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--blue-tint);
    cursor: pointer;
    border: 1px solid var(--line);
}

.evi-gallery-item-wide {
    grid-column: 1 / -1;
    height: 360px;
}


/* ---------------- IMAGE ---------------- */

.evi-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* ---------------- HOVER ---------------- */

.evi-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(16, 32, 63, 0.75),
            rgba(16, 32, 63, 0.05) 65%
        );

    opacity: 0;
    transition: opacity 0.35s ease;
}

.evi-gallery-item:hover::after {
    opacity: 1;
}

.evi-gallery-item:hover img {
    transform: scale(1.06);
}


/* ---------------- VIEW ICON / TEXT ---------------- */

.evi-gallery-overlay {
    position: absolute;
    left: 1.2rem;
    bottom: 1.1rem;

    z-index: 2;

    color: var(--white);

    opacity: 0;
    transform: translateY(10px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.evi-gallery-item:hover .evi-gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.evi-gallery-overlay strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.evi-gallery-overlay span {
    font-size: 0.8rem;
    opacity: 0.85;
}


/* ================================================================
   LIGHTBOX
   ================================================================ */

.evi-lightbox {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 2rem;

    background: rgba(16, 32, 63, 0.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.evi-lightbox.active {
    opacity: 1;
    visibility: visible;
}


/* ---------------- LIGHTBOX IMAGE ---------------- */

.evi-lightbox-image {
    max-width: min(1100px, 94vw);
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 8px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);

    transform: scale(0.92);

    transition: transform 0.3s ease;
}

.evi-lightbox.active .evi-lightbox-image {
    transform: scale(1);
}


/* ---------------- CLOSE BUTTON ---------------- */

.evi-lightbox-close {
    position: absolute;

    top: 1.2rem;
    right: 1.5rem;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

    color: var(--white);

    font-size: 1.8rem;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.evi-lightbox-close:hover {
    background: var(--gold);
    color: var(--navy-deep);
    transform: rotate(90deg);
}


/* ---------------- LIGHTBOX CAPTION ---------------- */

.evi-lightbox-caption {
    position: absolute;

    bottom: 1.5rem;
    left: 50%;

    transform: translateX(-50%);

    color: var(--white);

    text-align: center;

    font-size: 0.95rem;

    background: rgba(16, 32, 63, 0.7);

    padding: 0.5rem 1rem;

    border-radius: 6px;

    max-width: 90%;
}
