/* ==========================================================================
   1. BASE SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --primary: #182b5c;
  --primary-light: #243d80;
  --primary-dark: #0e1a38;
  --secondary: #c0a467;
  --secondary-light: #d4bc88;
  --secondary-dark: #a8893e;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --light-gray: #f0eeea;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #888;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ==========================================================================
   1b. BOOTSTRAP CONFLICT OVERRIDES
   These rules are loaded after bootstrap.css and override its global resets.
   ========================================================================== */

/* ── Links: Bootstrap 5 sets color via CSS vars; !important guarantees our reset wins ── */
a {
  color: inherit !important;
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
}

/* ── Headings: Bootstrap sets font-weight:500 and shrinks margin ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0;
}

/* ── Paragraphs ── */
p {
  margin-top: 0;
  margin-bottom: 0;
}

/* ── Buttons: Bootstrap adds border-radius, padding, font tweaks ── */
button {
  font-family: 'DM Sans', sans-serif;
}

/* ── Images: Bootstrap sets max-width:100% globally (fine to keep) ── */
img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   2. GLOBAL NAVBAR & FOOTER
   ========================================================================== */
/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: var(--white);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192, 164, 103, 0.25);
  transition: height 0.3s, box-shadow 0.3s;
}

.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
}

.nav-left {
  flex: 0 0 auto;
}

.nav-center {
  flex: 1;
  justify-content: center;
}

.nav-right {
  flex: 0 0 auto;
  gap: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  max-height: 72px;
  display: block;
}

/* — nav-scoped rules (higher specificity than Bootstrap) — */
nav .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

nav .nav-links li {
  list-style: none;
  position: relative;
}

nav .nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

nav .nav-links a:hover {
  color: var(--secondary);
}

/* Custom dropdown — no Bootstrap class names */
nav .nav-dropdown {
  position: relative;
}

nav .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

nav .nav-dropdown-toggle::after {
  content: '▾';
  font-size: 15px;
  color: var(--text-dark);
  transition: transform 0.2s ease;
  display: inline-block;
}

nav .nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

nav .nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  list-style: none;
  background: var(--white);
  border: 1px solid rgba(24, 43, 92, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(24, 43, 92, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1001;
}

nav .nav-dropdown:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav .nav-submenu li {
  list-style: none;
}

nav .nav-submenu a {
  display: block;
  padding: 10px 16px;
  color: var(--text-dark);
  font-size: 13px;
  white-space: nowrap;
}

nav .nav-submenu a:hover {
  background: var(--off-white);
  color: var(--primary);
}

nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary) !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ─── MOBILE NAVIGATION ─── */
@media (max-width: 768px) {
  nav {
    padding: 0 5%;
    height: 64px;
  }

  /* Show hamburger, hide CTA */
  .nav-toggle {
    display: flex;
  }

  nav .nav-cta {
    display: none;
  }

  /* Full-width slide-down menu */
  nav .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid rgba(192, 164, 103, 0.25);
    box-shadow: 0 12px 30px rgba(24, 43, 92, 0.1);
    padding: 12px 0 20px;
    z-index: 999;
  }

  nav .nav-links.open {
    display: flex;
  }

  nav .nav-links li {
    width: 100%;
  }

  nav .nav-links>li>a,
  nav .nav-links>li>.nav-dropdown-toggle {
    display: block;
    padding: 13px 5%;
    font-size: 14px;
    border-bottom: 1px solid rgba(24, 43, 92, 0.06);
    width: 100%;
  }

  /* Mobile submenu — always visible below parent */
  nav .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--off-white);
    padding: 0;
    display: none;
  }

  nav .nav-dropdown.open .nav-submenu {
    display: block;
  }

  nav .nav-submenu a {
    padding: 11px 5% 11px 8%;
    border-bottom: 1px solid rgba(24, 43, 92, 0.04);
    font-size: 13px;
  }

  nav .nav-dropdown-toggle::after {
    margin-left: auto;
    float: right;
  }
}

/* ─── FOOTER ─── */
footer {
  background: var(--white);
  padding: 60px 5% 30px;
}

/* Footer — all link overrides use !important to beat Bootstrap 5 CSS vars */
footer a {
  color: inherit !important;
  text-decoration: none !important;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

/* Slightly increase brand paragraph width so it aligns visually with other columns */
footer .footer-brand p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 360px;
}

/* Center headings and links in the footer columns to match design */
/* footer .footer-col { text-align: center; } */
footer .footer-col ul {
  padding: 0;
  display: inline-block;
  text-align: left;
}

footer .footer-col ul li {
  margin-bottom: 10px;
}

footer .footer-col ul li a {
  display: inline-block;
}

footer .footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
}

footer .footer-col ul {
  list-style: none;
}

footer .footer-col ul li {
  margin-bottom: 10px;
}

footer .footer-col ul li a {
  font-size: 13px;
  color: var(--text-mid) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

footer .footer-col ul li a:hover {
  color: var(--secondary) !important;
}

footer .footer-bottom {
  border-top: 1px solid rgba(24, 43, 92, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .footer-bottom p {
  font-size: 12px;
  color: var(--text-mid);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

footer .social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--secondary);
  display: grid;
  place-items: center;
  color: var(--primary) !important;
  font-size: 18px;
  text-decoration: none !important;
  transition: all 0.2s;
}

footer .social-btn:hover {
  border-color: var(--secondary);
  background: rgba(192, 164, 103, 0.1);
}

/* ==========================================================================
   3. SUBPAGES BASE SHARED ELEMENTS
   ========================================================================== */
/* ─── BREADCRUMB HERO ─── */
.breadcrumb-hero {
  position: relative;
  padding-top: 72px;
  min-height: 360px;
  display: flex;
  align-items: center;
  background: linear-gradient(125deg, #0e1a38 0%, #182b5c 30%, #1e3a6e 52%);
  overflow: hidden;
}

.breadcrumb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(192, 164, 103, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(14, 26, 56, 0.6) 0%, transparent 50%),
    linear-gradient(rgba(192, 164, 103, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 164, 103, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 60px 60px, 60px 60px;
  animation: gridMoveSub 20s linear infinite;
}

@keyframes gridMoveSub {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(60px);
  }
}

.breadcrumb-ring {
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(192, 164, 103, 0.1);
  pointer-events: none;
  z-index: 1;
}

.breadcrumb-ring::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(192, 164, 103, 0.08);
}

.breadcrumb-hero-content {
  position: relative;
  z-index: 2;
  padding: 70px 0 0 0;
}

.bc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192, 164, 103, 0.15);
  border: 1px solid rgba(192, 164, 103, 0.35);
  color: var(--secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.bc-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.breadcrumb-nav a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55) !important;
  text-decoration: none !important;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.breadcrumb-nav a:hover {
  color: var(--secondary);
}

.breadcrumb-sep {
  color: rgba(192, 164, 103, 0.5);
  font-size: 11px;
}

.breadcrumb-nav .current {
  font-size: 12px;
  color: var(--secondary);
  letter-spacing: 0.5px;
}

.breadcrumb-hero h1 {
  font-family: 'Playfair Display', serif;
  /* font-size: clamp(34px, 5vw, 58px); */
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.breadcrumb-hero h1 em {
  font-style: normal;
  color: var(--secondary);
}

.breadcrumb-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 560px;
}

.breadcrumb-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light), var(--secondary));
}

.breadcrumb-deco {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.bc-deco-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(192, 164, 103, 0.2);
  border-radius: 14px;
  padding: 18px 24px;
  width: 220px;
  backdrop-filter: blur(6px);
}

.bc-deco-card .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  color: var(--secondary);
  line-height: 1;
}

.bc-deco-card p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.bc-deco-card.accent {
  background: rgba(192, 164, 103, 0.15);
  border-color: rgba(192, 164, 103, 0.4);
}

/* ─── SECTION BASE & UTILITIES ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--secondary);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ─── CUSTOM BUTTONS ─── */
.btn-primary-custom {
  background: var(--secondary);
  color: var(--primary) !important;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(192, 164, 103, 0.3);
  border: none;
}

.btn-primary-custom:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}

.btn-outline-custom {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--white) !important;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-outline-custom:hover {
  border-color: var(--secondary);
  color: var(--secondary) !important;
}

/* ─── SCROLL ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 100px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(192, 164, 103, 0.1) 0%, transparent 70%);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192, 164, 103, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section .section-label {
  justify-content: center;
  color: var(--secondary);
}

.cta-section .section-title {
  color: var(--white);
}

.cta-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 20px;
}


/* ==========================================================================
   4. HOME PAGE (index.php) SPECIFIC STYLES
   ========================================================================== */
/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.82) 0%, rgba(24, 43, 92, 0.75) 50%, rgba(10, 22, 40, 0.80) 100%);
}

.hero-video-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(192, 164, 103, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(192, 164, 103, 0.06) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(rgba(192, 164, 103, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 164, 103, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(60px);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  padding-top: 72px;
  gap: 40px;
}

.hero-content {
  flex: 1;
  min-width: 0;
  animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192, 164, 103, 0.15);
  border: 1px solid rgba(192, 164, 103, 0.4);
  color: var(--secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '★';
  font-size: 9px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  color: var(--secondary);
  display: block;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary) !important;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(192, 164, 103, 0.3);
}

.btn-primary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--white) !important;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  display: inline-block;
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

/* Enquiry Form */
.enquiry-form-wrap {
  flex-shrink: 0;
  width: 390px;
  animation: fadeUp 1s 0.3s ease both;
}

.enquiry-form {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.enquiry-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 700;
}

.enquiry-form p {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e8e5dd;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
}

.form-group input::placeholder {
  color: #aaa;
}

.form-submit {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 13px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 4px;
}

.form-submit:hover {
  background: var(--primary-light);
}

.form-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 10px;
}

/* Scroll indicator */
.scroll-indicator {
  display: none;
}

/* ─── MARQUEE ─── */
.marquee-wrap {
  background: var(--secondary);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--primary);
  padding: 0 30px;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
}

/* ─── SECTION BASE ─── */
section {
  padding: 90px 5%;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 560px;
}

/* ─── ABOUT ─── */
.about {
  background: var(--off-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 180px;
  gap: 12px;
}

.about-img {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.about-img:first-child {
  grid-row: 1 / 3;
}

.about-img img,
.img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  gap: 8px;
}

.img-placeholder .icon {
  font-size: 32px;
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 43, 92, 0.6) 0%, transparent 60%);
}

.about-img-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-text {
  padding: 10px 0;
}

.about-text .section-subtitle {
  margin-bottom: 20px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(24, 43, 92, 0.08);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.highlight-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.highlight-item span {
  font-size: 12px;
  color: var(--text-light);
}

.founded-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--secondary);
  border-radius: 8px;
  padding: 12px 20px;
  margin-top: 8px;
}

.founded-badge .year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--secondary);
  line-height: 1;
}

.founded-badge .text {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ─── STATS ─── */
.stats {
  background: var(--primary);
}

.stats-header {
  text-align: center;
  margin-bottom: 50px;
}

.stats-header .section-title {
  color: var(--white);
}

.stats-header .section-label {
  color: var(--secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(192, 164, 103, 0.2);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, background 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 54px;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
}

/* ─── COURSES ─── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.course-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(24, 43, 92, 0.18);
}

.course-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.course-img .img-placeholder {
  height: 100%;
}

.course-img .img-placeholder.eng {
  background: linear-gradient(135deg, #182b5c, #243d80);
}

.course-img .img-placeholder.pharm {
  background: linear-gradient(135deg, #1a4a3a, #2d7a5c);
}

.course-img .img-placeholder.nurs {
  background: linear-gradient(135deg, #4a1a1a, #8a3a3a);
}

.course-img .img-placeholder.ahs {
  background: linear-gradient(135deg, #3a2a1a, #7a5a2a);
}

.course-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}

.course-body {
  padding: 24px 22px;
  background: var(--white);
  border-top: none;
  border-radius: 0 0 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 8px;
}

.course-body p {
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.course-programs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.program-tag {
  background: rgba(24, 43, 92, 0.07);
  color: var(--primary);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

.course-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary-dark) !important;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
  margin-top: auto;
}

.course-link:hover {
  gap: 10px;
}

/* ─── ACCREDITATION ─── */
.accreditation {
  background: var(--off-white);
}

.accred-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 50px;
  align-items: stretch;
}

.accred-card {
  background: var(--white);
  border: 1px solid #e8e5dd;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.accred-card:hover {
  box-shadow: 0 8px 30px rgba(24, 43, 92, 0.1);
  transform: translateY(-3px);
  border-color: var(--secondary);
}

.accred-card img {
  height: 95px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}

.accred-card span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  display: block;
  margin-top: auto;
}

/* ─── LIFE @ SENGUNTHAR ─── */
.life-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
  margin-top: 50px;
}

.life-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.life-item:first-child {
  grid-row: 1 / 3;
}

.life-item .img-placeholder {
  height: 100%;
}

.life-item .img-placeholder.l1 {
  background: linear-gradient(135deg, #182b5c 0%, #1e3a7a 100%);
}

.life-item .img-placeholder.l2 {
  background: linear-gradient(135deg, #2d4a1a 0%, #4a7a2a 100%);
}

.life-item .img-placeholder.l3 {
  background: linear-gradient(135deg, #4a2d1a 0%, #7a4a2a 100%);
}

.life-item .img-placeholder.l4 {
  background: linear-gradient(135deg, #1a2d4a 0%, #2a4a7a 100%);
}

.life-item .img-placeholder.l5 {
  background: linear-gradient(135deg, #4a1a2d 0%, #7a2a4a 100%);
}

.life-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 43, 92, 0.85) 0%, transparent 55%);
}

.life-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
}

.life-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--white);
  font-weight: 700;
}

.life-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.life-info.large h4 {
  font-size: 22px;
}

/* ─── EVENTS ─── */
.events {
  background: var(--off-white);
}

.events-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 50px;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  gap: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.event-card:hover {
  box-shadow: 0 8px 30px rgba(24, 43, 92, 0.12);
}

.event-date-box {
  background: var(--primary);
  color: var(--white);
  width: 72px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
}

.event-date-box .day {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  line-height: 1;
  color: var(--secondary);
}

.event-date-box .month {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

.event-body {
  padding: 16px 18px;
}

.event-badge {
  background: rgba(192, 164, 103, 0.15);
  color: var(--secondary-dark);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.event-body h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.event-body p {
  font-size: 12px;
  color: var(--text-light);
}

.news-featured {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(24, 43, 92, 0.15);
}

.news-featured .img-placeholder {
  height: 260px;
}

.news-featured .img-placeholder.news {
  background: linear-gradient(135deg, #182b5c, #c0a467);
}

.news-content {
  padding: 24px;
  background: var(--white);
}

.news-content .event-badge {
  margin-bottom: 10px;
}

.news-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 10px;
}

.news-content p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary-dark);
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
  cursor: pointer;
}

/* ─── WHY CHOOSE US ─── */
.why {
  background: var(--primary);
  overflow: hidden;
  position: relative;
}

.why::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(192, 164, 103, 0.04);
}

.why-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.why .section-title {
  color: var(--white);
}

.why .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 540px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.why-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(192, 164, 103, 0.16);
  border-radius: 18px;
  padding: 24px 20px;
  transition: background 0.3s, transform 0.3s;
  min-height: 170px;
  display: flex;
  flex-direction: column;
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.why-item-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.why-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.why-item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  flex-grow: 1;
}

.why-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.why-central {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(192, 164, 103, 0.2);
  border-radius: 26px;
  padding: 44px 32px;
  text-align: center;
  width: 100%;
  max-width: 420px;
}

.why-central .big-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 96px;
  color: var(--secondary);
  line-height: 1;
}

.why-central p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  margin-top: 12px;
}

.why-central .why-rank {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(192, 164, 103, 0.2);
}

.why-rank-item {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.why-rank-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  margin-top: 6px;
  overflow: hidden;
}

.why-rank-fill {
  height: 100%;
  background: var(--secondary);
  border-radius: 999px;
}

/* ─── PLACEMENTS ─── */
.placements {
  background: var(--off-white);
}

.placement-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.placement-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.p-stat {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 20px;
  border: 1px solid #e8e5dd;
}

.p-stat .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--primary);
  line-height: 1;
}

.p-stat .num span {
  font-size: 24px;
  color: var(--secondary);
}

.p-stat p {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

.recruiters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.recruiter-logo {
  background: var(--white);
  border: 1px solid #e8e5dd;
  border-radius: 10px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s;
  height: 150px;
}

.recruiter-logo img {
  max-width: 150px;
}

.recruiter-logo:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.recruiter-logo .r-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid;
  place-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  color: var(--secondary);
}

.recruiter-logo span {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 500;
}

.placement-img-wrap {
  position: relative;
}

.placement-img {
  border-radius: 20px;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 20px 60px rgba(24, 43, 92, 0.15);
}

.placement-img .img-placeholder {
  height: 100%;
  background: linear-gradient(135deg, #182b5c, #c0a467 80%);
}

.placement-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--secondary);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 12px 30px rgba(192, 164, 103, 0.3);
}

.placement-float .pf-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--primary);
  line-height: 1;
}

.placement-float p {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  background: var(--white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-header .section-subtitle {
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #e8e5dd;
  position: relative;
  transition: all 0.3s;
}

.testi-card:hover {
  box-shadow: 0 12px 40px rgba(24, 43, 92, 0.1);
  transform: translateY(-4px);
  border-color: var(--secondary);
}

.testi-quote {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  color: var(--secondary);
  line-height: 0.8;
  margin-bottom: 16px;
  display: block;
}

.testi-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid;
  place-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--secondary);
  flex-shrink: 0;
}

.testi-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}

.testi-role {
  font-size: 12px;
  color: var(--text-light);
}

.testi-stars {
  color: var(--secondary);
  font-size: 12px;
  margin-top: 3px;
}

/* Scroll indicators & bounce animations */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(192, 164, 103, 0.5);
  border-bottom: 2px solid rgba(192, 164, 103, 0.5);
  transform: rotate(45deg);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ─── RESPONSIVE INDEX ─── */
@media (max-width: 1024px) {
  .hero-content {
    flex: 1;
  }

  .enquiry-form-wrap {
    width: 300px;
  }

  .stats-grid,
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accred-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero-inner {
    flex-direction: column;
    padding-top: 100px;
    padding-bottom: 40px;
    gap: 20px;
  }

  .hero-content {
    width: 100%;
    padding-bottom: 20px;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-btns {
    justify-content: flex-start;
  }

  .enquiry-form-wrap {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(24, 43, 92, 0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 20px 28px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 0;
    font-size: 15px;
    color: var(--white);
  }

  .nav-links a:hover {
    color: var(--secondary);
  }

  .nav-links a.nav-cta {
    margin-top: 6px;
  }

  .dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    min-width: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown-menu a {
    padding-left: 24px;
    text-align: left;
    color: var(--white);
    font-size: 14px;
  }

  .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary);
  }

  .about-inner,
  .why-inner,
  .placement-inner,
  .events-layout {
    grid-template-columns: 1fr;
  }

  .about-images {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 180px);
  }

  .about-img:first-child {
    grid-row: auto;
    height: 180px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .courses-grid,
  .accred-grid,
  .placement-stats,
  .why-grid,
  .testimonials-grid,
  .recruiters-grid {
    grid-template-columns: 1fr;
  }

  .life-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .life-item:first-child {
    grid-row: auto;
  }

  .placement-img {
    height: 320px;
  }

  .news-featured .img-placeholder {
    height: 220px;
  }

  .events-layout {
    gap: 30px;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date-box {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding: 14px 16px;
  }

  .event-body {
    padding: 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  section {
    padding: 60px 4%;
  }

  .marquee-wrap {
    padding: 12px 0;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 85vh;
  }

  nav {
    padding: 0 4%;
  }

  .nav-logo-text strong {
    font-size: 14px;
  }

  .nav-logo-text span {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .hero-title {
    font-size: clamp(30px, 10vw, 42px);
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    padding: 14px 0;
  }

  .enquiry-form {
    padding: 26px 20px;
  }

  .about-images {
    grid-template-rows: repeat(3, 150px);
  }

  .placement-img {
    height: 260px;
  }

  .why-central {
    padding: 28px;
  }

  .placement-float {
    position: static;
    margin-top: 18px;
    box-shadow: 0 12px 30px rgba(192, 164, 103, 0.25);
  }
}


/* ==========================================================================
   5. ABOUT PAGE (about.php) SPECIFIC STYLES
   ========================================================================== */
.who-we-are {
  background: var(--off-white);
  padding: 90px 0;
}

.who-banner {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 380px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: linear-gradient(90deg, rgba(14, 26, 56, 0.88) 0%, rgba(24, 43, 92, 0.7) 45%, rgba(24, 43, 92, 0.15) 100%);
}

.who-banner-left {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
}

.who-banner-overlay {
  position: relative;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 26, 56, 0.88) 0%, rgba(24, 43, 92, 0.7) 45%, rgba(24, 43, 92, 0.15) 100%);
  display: flex;
  align-items: center;
  padding: 40px 56px;
  width: 100%;
}

.who-banner-right {
  width: 100%;
  height: 100%;
}

.who-banner-right img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .who-banner {
    grid-template-columns: 1fr;
    height: auto;
  }

  .who-banner-left {
    padding: 24px;
  }

  .who-banner-overlay {
    padding: 24px;
  }

  .who-banner-right img {
    height: 260px;
  }
}

.who-banner-text {
  max-width: 560px;
}

.who-banner-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 20px;
}

.who-banner-founded {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid rgba(192, 164, 103, 0.5);
  border-radius: 8px;
  padding: 10px 18px;
}

.who-banner-founded .year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--secondary);
  line-height: 1;
}

.who-banner-founded .text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.who-strip {
  background: var(--white);
  border: 1px solid #e8e5dd;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.who-strip:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(24, 43, 92, 0.09);
  border-color: var(--secondary);
}

.who-strip-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.who-strip-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.who-strip-body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

.who-strip-tag {
  display: inline-block;
  margin-top: 10px;
  background: rgba(192, 164, 103, 0.12);
  color: var(--secondary-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.stats-section {
  background: var(--primary);
  padding: 80px 0;
  overflow: hidden;
}

.stats-section .section-title {
  color: var(--white);
}

.stats-section .section-label {
  color: var(--secondary);
}

.stats-hero-row {
  margin-top: 48px;
}

.stat-hero {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(192, 164, 103, 0.25);
  border-radius: 20px;
  padding: 48px 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.stat-hero:hover {
  background: rgba(255, 255, 255, 0.09);
}

.stat-hero::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 164, 103, 0.1), transparent);
}

.stat-hero .big-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 96px;
  color: var(--secondary);
  line-height: 0.9;
  margin-bottom: 12px;
}

.stat-hero .big-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-bottom: 16px;
}

.stat-hero .big-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 280px;
}

.stat-hero-icon {
  font-size: 44px;
  margin-bottom: 20px;
}

.stat-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(192, 164, 103, 0.15);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.stat-tile:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(192, 164, 103, 0.35);
  transform: translateX(4px);
}

.stat-tile-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: rgba(192, 164, 103, 0.12);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.stat-tile-body {
  flex: 1;
}

.stat-tile-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--secondary);
  line-height: 1;
}

.stat-tile-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
  letter-spacing: 0.3px;
}

.stats-divider {
  width: 1px;
  background: rgba(192, 164, 103, 0.15);
  align-self: stretch;
  margin: 0 8px;
}

.vision-mission {
  background: var(--white);
  padding: 90px 0;
}

.vm-card {
  border-radius: 20px;
  padding: 44px 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(24, 43, 92, 0.12);
}

.vm-card.vision {
  background: var(--primary);
}

.vm-card.mission {
  background: var(--off-white);
  border: 1.5px solid #e8e5dd;
}

.vm-card.values {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.vm-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.vm-card.vision .vm-icon {
  background: rgba(255, 255, 255, 0.1);
}

.vm-card.mission .vm-icon {
  background: rgba(24, 43, 92, 0.08);
}

.vm-card.values .vm-icon {
  background: rgba(255, 255, 255, 0.2);
}

.vm-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.vm-card.vision h3,
.vm-card.values h3 {
  color: var(--white);
}

.vm-card.mission h3 {
  color: var(--primary);
}

.vm-card p {
  font-size: 14px;
  line-height: 1.8;
}

.vm-card.vision p,
.vm-card.values p {
  color: rgba(255, 255, 255, 0.75);
}

.vm-card.mission p {
  color: var(--text-mid);
}

.vm-values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 12px;
}

.vm-values-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.vm-values-list li::before {
  content: '✦';
  color: var(--primary);
  font-size: 10px;
  background: rgba(255, 255, 255, 0.3);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.journey {
  background: var(--primary);
  padding: 90px 0;
  overflow: hidden;
}

.journey .section-title {
  color: var(--white);
}

.journey .section-label {
  color: var(--secondary);
}

.journey .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.timeline {
  position: relative;
  margin-top: 56px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(192, 164, 103, 0.25);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(192, 164, 103, 0.18);
  border-radius: 14px;
  padding: 24px 28px;
  transition: background 0.3s;
}

.timeline-content:hover {
  background: rgba(255, 255, 255, 0.08);
}

.timeline-item.right .timeline-content {
  grid-column: 3;
}

.timeline-item.left .timeline-content {
  grid-column: 1;
}

.timeline-item.right .timeline-empty {
  grid-column: 1;
  grid-row: 1;
}

.timeline-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid var(--primary);
  display: grid;
  place-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  color: var(--primary);
  z-index: 2;
  position: relative;
  box-shadow: 0 0 0 6px rgba(192, 164, 103, 0.15);
}

.timeline-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  color: var(--secondary);
  text-align: center;
  margin-top: 8px;
  line-height: 1;
}

.timeline-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.campus {
  background: var(--off-white);
  padding: 90px 0;
}

.facility-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8e5dd;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(24, 43, 92, 0.12);
}

.facility-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.facility-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.facility-card:hover .facility-img img {
  transform: scale(1.05);
}

.facility-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  gap: 8px;
}

.facility-img-label {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.facility-body {
  padding: 24px;
}

.facility-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.facility-body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

.facility-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.facility-tag {
  background: rgba(24, 43, 92, 0.07);
  color: var(--primary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 100px;
}

.campus-overview {
  background: var(--primary);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.campus-overview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192, 164, 103, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

.campus-overview-inner {
  position: relative;
  z-index: 1;
}

.campus-stat {
  text-align: center;
}

.campus-stat .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  color: var(--secondary);
  line-height: 1;
}

.campus-stat p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

@media (max-width: 991px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
  }

  .timeline-item.right .timeline-content,
  .timeline-item.left .timeline-content {
    grid-column: 2;
    grid-row: 1;
  }

  .timeline-item.right .timeline-empty,
  .timeline-item.left .timeline-empty {
    display: none;
  }

  .timeline-dot-col {
    grid-column: 1;
    grid-row: 1;
    padding-top: 20px;
  }

  .timeline-year {
    font-size: 14px;
  }

  .who-img-grid {
    grid-template-rows: 200px 150px;
  }
}

@media (max-width: 767px) {
  .who-img-grid {
    display: none;
  }

  .campus-stat .num {
    font-size: 34px;
  }
}


/* ==========================================================================
   6. TRUST PAGE (trust.php) SPECIFIC STYLES
   ========================================================================== */
.trust-intro {
  background: var(--off-white);
  padding: 90px 0;
}

.trust-pull-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.45;
  border-left: 4px solid var(--secondary);
  padding-left: 24px;
  margin-bottom: 28px;
}

.trust-body-text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}

.trust-est-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--secondary);
  border-radius: 10px;
  padding: 14px 22px;
  margin-top: 8px;
}

.trust-est-badge .yr {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  color: var(--secondary);
  line-height: 1;
}

.trust-est-badge .txt {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
}

.trust-pillar {
  background: var(--white);
  border: 1px solid #e8e5dd;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.trust-pillar:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 36px rgba(24, 43, 92, 0.08);
  border-color: var(--secondary);
}

.trust-pillar:last-child {
  margin-bottom: 0;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid;
  place-items: center;
  font-size: 20px;
}

.pillar-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.pillar-body p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

.commitments {
  background: var(--primary);
  padding: 90px 0;
  overflow: hidden;
  position: relative;
}

.commitments::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192, 164, 103, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.commitments::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 164, 103, 0.07) 0%, transparent 70%);
}

.commitments .section-title {
  color: var(--white);
}

.commitments .section-label {
  color: var(--secondary);
}

.commit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(192, 164, 103, 0.18);
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, transform 0.3s;
}

.commit-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-5px);
}

.commit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.commit-card:hover::before {
  transform: scaleX(1);
}

.commit-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: rgba(192, 164, 103, 0.2);
  line-height: 1;
  margin-bottom: 12px;
  position: absolute;
  top: 20px;
  right: 24px;
}

.commit-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.commit-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.commit-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin: 0;
}

.summary-band {
  background: var(--white);
  padding: 72px 0;
}

.summary-inner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 20px;
  padding: 52px;
  position: relative;
  overflow: hidden;
}

.summary-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192, 164, 103, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.summary-inner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 164, 103, 0.1), transparent);
}

.summary-inner .rel {
  position: relative;
  z-index: 1;
}

.summary-inner blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.65;
  border: none;
  padding: 0;
  margin: 0;
}

.summary-inner blockquote::before {
  content: '"';
  font-size: 80px;
  color: var(--secondary);
  opacity: 0.25;
  font-family: 'Playfair Display', serif;
  line-height: 0.5;
  display: block;
  margin-bottom: 12px;
}

.summary-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 20px;
  line-height: 1.7;
}

.members-section {
  background: var(--off-white);
  padding: 90px 0;
}

.key-member-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid #e8e5dd;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.key-member-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 52px rgba(24, 43, 92, 0.12);
  border-color: var(--secondary);
}

.key-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.key-member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid;
  place-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  color: var(--secondary);
  border: 3px solid var(--secondary);
  box-shadow: 0 8px 24px rgba(24, 43, 92, 0.2);
}

.key-member-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.key-member-role {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-top: 6px;
}

.key-member-qual {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 8px;
  line-height: 1.5;
}

.members-table-wrap {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid #e8e5dd;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(24, 43, 92, 0.06);
}

.members-table-head {
  background: var(--primary);
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.members-table-head h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.members-table-head span {
  font-size: 12px;
  color: var(--secondary);
  letter-spacing: 1px;
}

.members-table {
  width: 100%;
  border-collapse: collapse;
}

.members-table thead tr {
  background: rgba(24, 43, 92, 0.04);
}

.members-table thead th {
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 2px solid #e8e5dd;
  text-align: left;
}

.members-table tbody tr {
  border-bottom: 1px solid #f0eeea;
  transition: background 0.2s;
}

.members-table tbody tr:last-child {
  border-bottom: none;
}

.members-table tbody tr:hover {
  background: rgba(192, 164, 103, 0.05);
}

.members-table td {
  padding: 16px 28px;
  vertical-align: middle;
}

.member-td-idx {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: rgba(24, 43, 92, 0.2);
  width: 48px;
}

.member-td-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.member-td-desg {
  font-size: 13px;
  color: var(--text-mid);
}

.member-role-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.badge-trustee {
  background: rgba(24, 43, 92, 0.07);
  color: var(--primary);
}

.badge-officer {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--secondary);
}

@media (max-width: 991px) {
  .summary-inner {
    padding: 36px 28px;
  }

  .members-table td,
  .members-table th {
    padding: 14px 16px;
  }
}

@media (max-width: 767px) {
  .trust-pull-quote {
    font-size: 18px;
  }

  .member-td-idx {
    display: none;
  }
}


/* ==========================================================================
   7. CHAIRMAN PAGE (chairman.php) SPECIFIC STYLES
   ========================================================================== */
.chairman-section {
  background: var(--off-white);
  padding: 100px 0;
}

.chairman-card {
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(24, 43, 92, 0.08);
}

.chairman-img-col {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: rgba(247, 245, 242, 0.95);
}

.chairman-card .chairman-img-col {
  padding: 0;
  height: 100%;
  background: none;
  display: block;
}

.chairman-card .chairman-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.chairman-msg-col {
  padding: 42px 40px;
}

.chairman-msg-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 20px;
}

.chairman-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chairman-portrait-col {
  position: relative;
}

.chairman-portrait-sticky {
  position: sticky;
  top: 110px;
  z-index: 10;
}

@media (max-width: 767px) {
  .chairman-portrait-sticky {
    position: static;
  }
}

.chairman-msg-col p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 18px;
}

.chairman-msg-col .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  color: var(--secondary);
  opacity: 0.15;
  line-height: 0.7;
  margin-bottom: -10px;
  display: block;
}

.chairman-portrait-wrap {
  /* background: var(--primary); */
  border-radius: 24px;
  /* padding: 50px 36px 40px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(24, 43, 92, 0.2);
}

.chairman-portrait-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192, 164, 103, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.chairman-portrait-wrap::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 164, 103, 0.12), transparent 70%);
}

.chairman-photo {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--secondary);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.chairman-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  color: var(--secondary);
}

.chairman-name-block {
  position: relative;
  z-index: 1;
  text-align: center;
}

.chairman-name-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.chairman-designation {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 24px;
}

.chairman-badge {
  position: relative;
  z-index: 1;
  background: rgba(192, 164, 103, 0.15);
  border: 1px solid rgba(192, 164, 103, 0.4);
  border-radius: 10px;
  padding: 12px 20px;
  width: 100%;
}

.chairman-badge p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.chairman-badge strong {
  font-size: 13px;
  color: var(--secondary-light);
  font-weight: 600;
}

.chairman-pillars {
  margin-top: 24px;
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pillar-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(192, 164, 103, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
}

.pillar-item .pillar-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  color: var(--secondary);
  line-height: 1;
}

.pillar-item p {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.deco-ring {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(192, 164, 103, 0.15);
  pointer-events: none;
}

.deco-ring::after {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 1px solid rgba(192, 164, 103, 0.08);
}

.chairman-content-col {
  padding-left: 20px;
}

.chairman-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  color: var(--secondary);
  opacity: 0.15;
  line-height: 0.7;
  margin-bottom: -10px;
  display: block;
}

.chairman-intro-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 24px;
}

.chairman-intro-title em {
  font-style: italic;
  color: var(--secondary-dark);
}

.chairman-section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 32px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chairman-section-heading::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--secondary);
  flex-shrink: 0;
}

.chairman-para {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 20px;
}

.pull-quote {
  border-left: 3px solid var(--secondary);
  padding: 16px 24px;
  background: rgba(192, 164, 103, 0.06);
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
}

.pull-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--primary);
  line-height: 1.7;
  margin: 0;
}

.chairman-sig {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--light-gray);
}

.sig-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border: 2px solid var(--secondary);
  display: grid;
  place-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--secondary);
  flex-shrink: 0;
}

.sig-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--primary);
  font-style: italic;
  display: block;
}

.sig-text span {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.ventures-section {
  background: var(--white);
  padding: 80px 0;
}

.venture-card {
  background: var(--off-white);
  border: 1px solid #e8e5dd;
  border-radius: 16px;
  padding: 28px 26px;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.venture-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(24, 43, 92, 0.1);
  border-color: var(--secondary);
}

.venture-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid;
  place-items: center;
  font-size: 22px;
}

.venture-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.venture-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

.venture-tag {
  display: inline-block;
  margin-top: 12px;
  background: rgba(192, 164, 103, 0.12);
  color: var(--secondary-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

@media (max-width: 991px) {
  .chairman-content-col {
    padding-left: 0;
    margin-top: 40px;
  }

  .chairman-card .col-lg-4,
  .chairman-card .col-lg-8 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .chairman-img-col {
    padding: 24px;
  }

  .chairman-card .chairman-img-col {
    height: 400px;
    padding: 0;
  }

  .chairman-msg-col {
    padding: 30px 24px;
  }
}


/* ==========================================================================
   8. CAREER PAGE (career.php) SPECIFIC STYLES
   ========================================================================== */
.why-section {
  background: var(--off-white);
  padding: 90px 0;
}

.why-card {
  background: var(--white);
  border: 1px solid #e8e5dd;
  border-radius: 18px;
  padding: 32px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(24, 43, 92, 0.1);
  border-color: var(--secondary);
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 164, 103, 0.06), transparent);
  pointer-events: none;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: grid;
  place-items: center;
  font-size: 24px;
}

.why-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
  margin: 0;
}

.why-tag {
  display: inline-block;
  margin-top: 14px;
  background: rgba(192, 164, 103, 0.12);
  color: var(--secondary-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.jobs-section {
  background: var(--white);
  padding: 90px 0;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--off-white);
  border: 1px solid #e8e5dd;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 40px;
}

.filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-right: 4px;
}

.filter-btn {
  background: none;
  border: 1.5px solid #e0ddd7;
  border-radius: 100px;
  padding: 6px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--secondary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.job-card {
  background: var(--white);
  border: 1px solid #e8e5dd;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  cursor: pointer;
}

.job-card:hover {
  box-shadow: 0 12px 40px rgba(24, 43, 92, 0.09);
  border-color: rgba(192, 164, 103, 0.5);
  transform: translateY(-2px);
}

.job-dept-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.job-dept-badge.eng {
  background: rgba(24, 43, 92, 0.08);
}

.job-dept-badge.pharma {
  background: rgba(192, 164, 103, 0.12);
}

.job-dept-badge.nursing {
  background: rgba(14, 26, 56, 0.07);
}

.job-dept-badge.admin {
  background: rgba(168, 137, 62, 0.1);
}

.job-dept-badge.research {
  background: rgba(36, 61, 128, 0.08);
}

.job-main {
  flex: 1;
  min-width: 200px;
}

.job-main h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-light);
}

.job-meta-item svg {
  width: 13px;
  height: 13px;
  stroke: var(--text-light);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.job-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.job-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.job-tag.type-ft {
  background: rgba(24, 43, 92, 0.08);
  color: var(--primary);
}

.job-tag.type-pt {
  background: rgba(192, 164, 103, 0.12);
  color: var(--secondary-dark);
}

.job-tag.type-contract {
  background: rgba(168, 137, 62, 0.1);
  color: var(--secondary-dark);
}

.job-tag.dept {
  background: rgba(30, 58, 110, 0.07);
  color: var(--primary-light);
}

.job-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.job-apply-btn {
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.job-apply-btn:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-1px);
}

.job-apply-btn.secondary {
  background: none;
  border: 1.5px solid #e0ddd7;
  color: var(--primary);
}

.job-apply-btn.secondary:hover {
  border-color: var(--secondary);
  background: rgba(192, 164, 103, 0.05);
}

.no-jobs {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
  font-size: 15px;
}

.no-jobs span {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}

.process-section {
  background: var(--primary);
  padding: 90px 0;
  overflow: hidden;
}

.process-section .section-title {
  color: var(--white);
}

.process-section .section-label {
  color: var(--secondary);
}

.process-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.process-steps {
  margin-top: 56px;
  position: relative;
}

.process-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(192, 164, 103, 0.18);
  border-radius: 18px;
  padding: 32px 28px;
  height: 100%;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(192, 164, 103, 0.35);
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid var(--primary);
  display: grid;
  place-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(192, 164, 103, 0.15);
}

.process-step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
}

.apply-section {
  background: var(--off-white);
  padding: 90px 0;
}

.apply-form-wrap {
  background: var(--white);
  border: 1px solid #e8e5dd;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(24, 43, 92, 0.07);
  overflow: hidden;
}

.apply-form-header {
  background: var(--primary);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}

.apply-form-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192, 164, 103, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.apply-form-header::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 164, 103, 0.1), transparent);
}

.apply-form-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.apply-form-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
  margin: 0;
}

.apply-form-body {
  padding: 48px;
}

.form-label-custom {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control-custom {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid #e0ddd7;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  resize: none;
}

.form-control-custom:focus {
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(192, 164, 103, 0.12);
}

.form-control-custom::placeholder {
  color: #bbb;
}

.form-select-custom {
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c0a467' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.upload-box {
  border: 2px dashed #e0ddd7;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.upload-box:hover {
  border-color: var(--secondary);
  background: rgba(192, 164, 103, 0.03);
}

.upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.upload-box p {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

.upload-box strong {
  font-size: 13px;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

.submit-btn {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 15px 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(192, 164, 103, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.submit-btn:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(192, 164, 103, 0.4);
}

.form-note {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 14px;
}

.success-banner {
  display: none;
  background: rgba(24, 43, 92, 0.06);
  border: 1.5px solid rgba(192, 164, 103, 0.4);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.success-banner.show {
  display: flex;
}

.success-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

.testimonials-section {
  background: var(--white);
  padding: 90px 0;
}

.testimonial-card {
  background: var(--off-white);
  border: 1px solid #e8e5dd;
  border-radius: 20px;
  padding: 36px 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(24, 43, 92, 0.09);
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  color: rgba(192, 164, 103, 0.1);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.star {
  color: var(--secondary);
  font-size: 14px;
}

.testimonial-card blockquote {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  border: none;
  padding: 0;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--primary);
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}

.testimonial-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-info span {
  font-size: 12px;
  color: var(--text-light);
}

/* Job modal styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 40, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: 24px;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(16px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  background: var(--primary);
  padding: 36px 40px;
  border-radius: 24px 24px 0 0;
  position: relative;
  overflow: hidden;
}

.modal-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192, 164, 103, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--white);
  font-size: 18px;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.modal-body {
  padding: 36px 40px;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.modal-meta-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--off-white);
  border: 1px solid #e8e5dd;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-mid);
}

.modal-meta-pill svg {
  width: 13px;
  height: 13px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 2;
}

.modal-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  margin-top: 24px;
}

.modal-list {
  list-style: none;
  padding: 0;
}

.modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 8px;
}

.modal-list li::before {
  content: '✦';
  color: var(--secondary);
  font-size: 9px;
  margin-top: 4px;
  flex-shrink: 0;
}

.modal-footer {
  padding: 24px 40px;
  border-top: 1px solid var(--light-gray);
  display: flex;
  gap: 12px;
}


/* ==========================================================================
   9. CONTACT PAGE (contact.php) SPECIFIC STYLES
   ========================================================================== */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

.contact-main .row.align-items-stretch>.col-lg-7,
.contact-main .row.align-items-stretch>.col-lg-5 {
  display: flex;
  flex-direction: column;
}

.contact-main .form-card,
.contact-main .contact-sidebar {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.contact-detail-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid #f0eeea;
  transition: background 0.2s;
}

.contact-detail-block:hover {
  background: rgba(192, 164, 103, 0.03);
}

.contact-detail-block.featured-block {
  background: var(--primary);
  border-bottom-color: rgba(192, 164, 103, 0.15);
  position: relative;
  overflow: hidden;
}

.contact-detail-block.featured-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192, 164, 103, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.cdb-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(24, 43, 92, 0.07);
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

.featured-block .cdb-icon {
  background: rgba(192, 164, 103, 0.18);
  border: 1px solid rgba(192, 164, 103, 0.3);
}

.cdb-body {
  flex: 1;
  position: relative;
  z-index: 1;
}

.cdb-body h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.featured-block .cdb-body h5 {
  color: var(--white);
}

.cdb-body p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 0 4px;
}

.featured-block .cdb-body p {
  color: rgba(255, 255, 255, 0.6);
}

.cdb-body a {
  display: block;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  margin-top: 3px;
  transition: color 0.2s;
}

.cdb-body a:hover {
  color: var(--secondary-dark);
}

.featured-block .cdb-body a {
  color: var(--secondary);
}

.featured-block .cdb-body a:hover {
  color: var(--secondary-light);
}

.hours-table-inline {
  width: 100%;
  margin-top: 6px;
}

.hours-table-inline tr td {
  padding: 3px 0;
  color: var(--text-mid);
}

.hours-table-inline tr td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--primary);
}

.closed-txt {
  color: var(--text-light) !important;
  font-weight: 400 !important;
}

.map-section {
  background: var(--off-white);
  padding: 20px 0;
}

.map-embed-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(24, 43, 92, 0.1);
  height: 100%;
}

.reach-card {
  background: var(--primary);
  border-radius: 20px;
  padding: 36px 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(24, 43, 92, 0.15);
  display: flex;
  flex-direction: column;
}

.reach-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(192, 164, 103, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.reach-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.reach-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(192, 164, 103, 0.12);
  position: relative;
  z-index: 1;
}

.reach-icon {
  font-size: 18px;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: rgba(192, 164, 103, 0.14);
  border: 1px solid rgba(192, 164, 103, 0.25);
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.reach-row strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.reach-row p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

.directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  position: relative;
  z-index: 1;
  background: var(--secondary);
  color: var(--primary) !important;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(192, 164, 103, 0.3);
  margin-top: 20px;
}

.directions-btn:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}

.form-card {
  background: var(--white);
  border: 1px solid #e8e5dd;
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 0 20px 60px rgba(24, 43, 92, 0.07);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.form-card h3 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.form-card .form-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label-custom {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control-custom {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid #e0ddd7;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  resize: none;
}

.form-control-custom:focus {
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(192, 164, 103, 0.12);
}

.form-control-custom::placeholder {
  color: #bbb;
}

.form-select-custom {
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c0a467' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 15px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(192, 164, 103, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.submit-btn:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(192, 164, 103, 0.4);
}

.submit-btn svg {
  width: 18px;
  height: 18px;
}

.form-note {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  margin-top: 14px;
}

.contact-main {
  background: var(--white);
  padding: 90px 0;
}

.contact-tag {
  display: inline-block;
  margin-top: 10px;
  background: rgba(192, 164, 103, 0.18);
  color: var(--secondary-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.featured-block .contact-tag {
  background: rgba(192, 164, 103, 0.25);
  color: var(--secondary);
}

.dept-section {
  background: var(--off-white);
  padding: 90px 0;
}

.dept-table-wrap {
  background: var(--white);
  border: 1px solid #e8e5dd;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(24, 43, 92, 0.06);
}

.dept-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.dept-table thead tr {
  background: var(--primary);
}

.dept-table thead th {
  padding: 18px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  border: none;
  white-space: nowrap;
}

.dept-table tbody tr {
  border-bottom: 1px solid #f0eeea;
  transition: background 0.2s;
}

.dept-table tbody tr:last-child {
  border-bottom: none;
}

.dept-table tbody tr:hover {
  background: rgba(192, 164, 103, 0.04);
}

.dept-table tbody td {
  padding: 16px 24px;
  font-size: 13px;
  color: var(--text-mid);
  vertical-align: middle;
}

.dept-table tbody td:first-child {
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
}

.dept-badge {
  display: inline-block;
  background: rgba(24, 43, 92, 0.07);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 100px;
}

.dept-badge.nursing {
  background: rgba(192, 164, 103, 0.12);
  color: var(--secondary-dark);
}

.dept-badge.pharmacy {
  background: rgba(30, 58, 110, 0.1);
  color: var(--primary-light);
}

.dept-badge.allied {
  background: rgba(168, 137, 62, 0.12);
  color: var(--secondary-dark);
}

.table-link {
  color: var(--primary);
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.table-link:hover {
  color: var(--secondary-dark);
}

.faq-section {
  background: var(--white);
  padding: 90px 0;
}

.faq-item {
  border: 1px solid #e8e5dd;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: rgba(192, 164, 103, 0.5);
  box-shadow: 0 8px 24px rgba(24, 43, 92, 0.06);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 16px;
  text-align: left;
}

.faq-question-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  font-family: 'DM Sans', sans-serif;
}

.faq-chevron {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: rgba(192, 164, 103, 0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.3s, background 0.2s;
}

.faq-chevron svg {
  width: 14px;
  height: 14px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 2;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(192, 164, 103, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px;
}

.faq-answer-inner {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  padding-bottom: 20px;
  border-top: 1px solid var(--light-gray);
  padding-top: 16px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}