/* ==========================================================================
   DIVINE MANDATE BIBLE INSTITUTE (DIMABIN)
   Official Master Stylesheet — Pure Vanilla CSS (Zero Framework Dependencies)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  --primary-blue: #1F3C82;
  --primary-blue-hover: #172F68;
  --primary-blue-subtle: #EEF3FD;

  --dark-navy: #122452;
  --dark-navy-deep: #0A1430;
  --dark-navy-hover: #192f68;

  --gold: #F5B800;
  --gold-hover: #DF9B00;
  --gold-subtle: #FEF8E7;

  --white: #FFFFFF;
  --bg-light: #F6F7FB;

  --text-primary: #122452;
  --text-secondary: #5A6A85;
  --text-muted: #8896AB;
  --text-light: #F6F7FB;

  --border-subtle: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.12);

  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-family: var(--font-family-primary);
  --container-max-width: 1280px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Reset & Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family-primary);
  font-size: 16px;
  color: var(--text-primary);
  background-color: var(--bg-light);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family-primary);
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Heading Hierarchy using Inter weights */
h1, .h1 {
  font-family: var(--font-family-primary);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--dark-navy);
  line-height: 1.2;
}

h2, .h2 {
  font-family: var(--font-family-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark-navy);
  line-height: 1.25;
}

h3, .h3 {
  font-family: var(--font-family-primary);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--dark-navy);
  line-height: 1.3;
}

h4, .h4 {
  font-family: var(--font-family-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--dark-navy);
  line-height: 1.35;
}

h5, .h5, h6, .h6 {
  font-family: var(--font-family-primary);
  font-weight: 600;
  color: var(--dark-navy);
  line-height: 1.4;
}

p, span, li, a, td, th, label {
  font-family: var(--font-family-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea, optgroup, option {
  font-family: var(--font-family-primary);
  font-size: inherit;
  color: inherit;
}

/* Accessibility Focus Indicator */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  background-color: var(--gold);
  color: var(--dark-navy);
  font-weight: 700;
  border-radius: var(--radius-sm);
  clip: auto;
}

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

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

.section-light {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-navy {
  background-color: var(--dark-navy);
  color: var(--white);
}

/* --- Section Typography Utilities --- */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.625rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--dark-navy);
  margin-bottom: 0.75rem;
}

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

@media (min-width: 768px) {
  .section-title {
    font-size: 2.35rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

.section-navy .section-subtitle {
  color: var(--gold);
  font-weight: 500;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.75rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--dark-navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-outline-blue {
  background-color: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline-blue:hover {
  background-color: var(--primary-blue-subtle);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  min-height: 36px;
}

.btn-lg {
  padding: 0.95rem 2.25rem;
  font-size: 0.9375rem;
  min-height: 50px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background-color: rgba(18, 36, 82, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 0.75rem 0;
}

.site-header.header-scrolled {
  background-color: var(--dark-navy);
  border-bottom: 1px solid rgba(245, 184, 0, 0.4);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand Lockup */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  outline: none;
}

.brand-emblem {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  background: #FFFFFF;
  padding: 2px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-link:hover .brand-emblem {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-sub {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.brand-subtitle-gold {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-separator {
  color: var(--gold);
  font-size: 0.625rem;
  line-height: 1;
}

.brand-tagline {
  font-size: 0.625rem;
  font-weight: 600;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

@media (min-width: 640px) {
  .brand-title {
    font-size: 1.125rem;
  }
  .brand-subtitle-gold {
    font-size: 0.75rem;
  }
}

@media (max-width: 440px) {
  .site-header .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .header-container {
    gap: 0.45rem;
  }
  .brand-link {
    gap: 0.45rem;
  }
  .brand-emblem {
    width: 34px;
    height: 34px;
  }
  .brand-title {
    font-size: 0.8125rem;
  }
  .brand-subtitle-gold {
    font-size: 0.625rem;
  }
  .brand-tagline,
  .brand-separator {
    display: none;
  }
  .mobile-header-actions {
    gap: 0.4rem;
  }
  .mobile-apply-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.6875rem;
    min-height: 34px;
  }
  .hamburger-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 340px) {
  .site-header .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .brand-title {
    font-size: 0.75rem;
  }
  .brand-subtitle-gold {
    font-size: 0.58rem;
  }
  .mobile-apply-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.65rem;
    min-height: 32px;
  }
}

/* Desktop Navigation Links */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav .nav-link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  padding: 0.5rem 0.2rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.5;
}

.desktop-nav .nav-link:hover {
  color: var(--gold);
}

.desktop-nav .nav-link.active {
  color: var(--gold);
  font-weight: 700;
}

.desktop-nav .nav-link.active::after,
.desktop-nav .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--gold);
  border-radius: var(--radius-full);
}

/* Desktop Portal Dropdown inside Nav */
.desktop-portal-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.portal-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.portal-nav-toggle .dropdown-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--gold);
}

.desktop-portal-wrapper.is-open .portal-nav-toggle .dropdown-chevron {
  transform: rotate(180deg);
}

.desktop-portal-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 220px;
  background-color: var(--dark-navy);
  border: 1px solid rgba(245, 184, 0, 0.35);
  border-radius: var(--radius-md);
  padding: 0.45rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  display: none;
  flex-direction: column;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.desktop-portal-wrapper.is-open .desktop-portal-menu {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.desktop-portal-header {
  padding: 0.35rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.25rem;
}

.desktop-portal-item {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.desktop-portal-item:hover {
  background-color: var(--primary-blue);
  color: var(--gold);
  padding-left: 0.95rem;
}

/* Mobile Header Controls */
.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

@media (min-width: 1024px) {
  .mobile-header-actions {
    display: none;
  }
}

.mobile-apply-btn {
  display: inline-flex;
}

.desktop-apply-btn {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-apply-btn {
    display: inline-flex;
    margin-left: 0.5rem;
  }
}

/* Hamburger button & dynamic transformation into Close/X icon */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 0.35rem;
  cursor: pointer;
  position: relative;
  z-index: 2100;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hamburger-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}

.hamburger-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.h-line {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

/* Morph Hamburger to Close/X icon when drawer is open */
.hamburger-btn.is-active {
  background-color: rgba(245, 184, 0, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.hamburger-btn.is-active .line-1 {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-btn.is-active .line-2 {
  opacity: 0;
}

.hamburger-btn.is-active .line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE SIDE NAVIGATION DRAWER (Dark Navy #122452, Slide from Left)
   ========================================================================== */

/* Dark translucent overlay over the rest of the page with subtle background blur */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 20, 48, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Prevent body scrolling while drawer is open */
body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Drawer covers approx 1/3 screen width, remaining page visible behind with blur */
.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0; /* SLIDE IN FROM THE LEFT */
  width: clamp(235px, 35vw, 320px);
  max-width: 80vw;
  background-color: var(--dark-navy); /* #122452 */
  color: var(--white);
  z-index: 2005;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.5);
  transform: translateX(-100%); /* Slides from left */
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid rgba(245, 184, 0, 0.25);
}

.mobile-drawer.active {
  transform: translateX(0);
}

/* Drawer Header */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(0, 0, 0, 0.15);
}

.drawer-brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.drawer-brand-emblem {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
  background: #FFFFFF;
  padding: 2px;
  flex-shrink: 0;
}

.drawer-brand-text {
  display: flex;
  flex-direction: column;
}

.drawer-brand-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.drawer-brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.drawer-brand-tagline {
  font-size: 0.5625rem;
  font-weight: 600;
  color: #CBD5E1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.close-drawer-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: #CBD5E1;
  cursor: pointer;
  transition: var(--transition);
}

.close-drawer-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  border-color: var(--gold);
}

/* Drawer Body (Ordered Navigation Items) */
.mobile-drawer-body {
  padding: 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.8rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
  line-height: 1.4;
}

.mobile-nav-link:hover {
  color: var(--gold);
  background-color: rgba(255, 255, 255, 0.05);
  padding-left: 1.05rem;
}

/* Active page with gold underline/accent */
.mobile-nav-link.active {
  color: var(--gold);
  font-weight: 800;
  background-color: rgba(245, 184, 0, 0.08);
}

.mobile-nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  bottom: 0.25rem;
  width: 28px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 1px;
}

/* Mobile Portal Dropdown Accordion */
.mobile-portal-dropdown {
  display: flex;
  flex-direction: column;
}

.mobile-portal-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-portal-toggle .dropdown-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--gold);
}

.mobile-portal-dropdown.is-open .mobile-portal-toggle .dropdown-chevron {
  transform: rotate(180deg);
}

.mobile-portal-submenu {
  display: none;
  flex-direction: column;
  padding: 0.25rem 0 0.5rem 0.85rem;
  margin-left: 0.5rem;
  border-left: 2px solid rgba(245, 184, 0, 0.35);
  gap: 0.2rem;
}

.mobile-portal-dropdown.is-open .mobile-portal-submenu {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.mobile-sublink {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #CBD5E1;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, padding-left 0.15s ease, background-color 0.15s ease;
}

.mobile-sublink .sublink-dot {
  color: var(--gold);
  font-weight: 700;
}

.mobile-sublink:hover {
  color: var(--gold);
  background-color: rgba(255, 255, 255, 0.06);
  padding-left: 0.85rem;
}

/* Mobile Apply Now Button (Prominent Gold Button) */
.mobile-apply-wrapper {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  box-shadow: 0 4px 14px rgba(245, 184, 0, 0.3);
}

/* Drawer Footer */
.mobile-drawer-footer {
  padding: 0.85rem 1.25rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(0, 0, 0, 0.1);
}

.drawer-motto-gold {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.4;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: clamp(4.5rem, 9vh, 5.5rem);
  padding-bottom: clamp(1.75rem, 4vh, 2.75rem);
  background-color: var(--dark-navy);
  overflow: hidden;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 75vh;
    padding-top: 7rem;
    padding-bottom: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    min-height: 80vh;
    padding-top: 7.5rem;
    padding-bottom: 5rem;
  }
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92);
}

/* Dark Navy Overlay Gradient for strict legibility with rich depth */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 36, 82, 0.86) 0%,
    rgba(18, 36, 82, 0.72) 45%,
    rgba(18, 36, 82, 0.90) 100%
  );
  mix-blend-mode: normal;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 54rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

/* Gold Outlined Motto Label */
.hero-motto-label {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold);
  background-color: rgba(18, 36, 82, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--gold);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.625rem;
}

@media (min-width: 640px) {
  .hero-motto-label {
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero-motto-label {
    padding: 0.4rem 1.1rem;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
  }
}

/* Main Institute Heading */
.hero-title {
  font-size: clamp(1.4rem, 4.5vw, 2.1rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.hero-title-accent {
  color: var(--gold);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 0.65rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.25rem;
    line-height: 1.12;
    margin-bottom: 0.875rem;
  }
}

/* Gold Italic Subtitle */
.hero-subtitle {
  font-size: clamp(0.875rem, 2.8vw, 1.0625rem);
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 1.125rem;
  }
}

/* Description Prose */
.hero-desc {
  font-size: clamp(0.8125rem, 2.4vw, 0.9375rem);
  color: #E2E8F0;
  line-height: 1.5;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.125rem;
}

@media (min-width: 640px) {
  .hero-desc {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 2.25rem;
  }
}

/* Hero CTA Button Cluster */
.hero-cta-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .hero-cta-group {
    gap: 1.25rem;
  }
}

.hero-cta-group .btn {
  width: auto;
  padding: 0.6rem 1.25rem;
  font-size: 0.8125rem;
  min-height: 42px;
}

@media (max-width: 380px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    max-width: 260px;
  }
}

@media (min-width: 640px) {
  .hero-cta-group .btn {
    padding: 0.85rem 1.85rem;
    font-size: 0.875rem;
    min-height: 46px;
  }
}

@media (min-width: 1024px) {
  .hero-cta-group .btn {
    padding: 0.95rem 2.25rem;
    font-size: 0.9375rem;
    min-height: 50px;
  }
}

/* Bottom Gold Accent Line */
.hero-bottom-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  z-index: 20;
}

/* ==========================================================================
   WELCOME & RECTOR'S DESK
   ========================================================================== */
.welcome-prose {
  max-width: 52rem;
  margin: 0 auto 3rem auto;
}

.welcome-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Rector's Desk Card */
.rector-card {
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 54rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .rector-card {
    padding: 2.25rem;
  }
}

.rector-card-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background-color: var(--gold);
}

.rector-card-quote-mark {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(31, 60, 130, 0.08);
  user-select: none;
  pointer-events: none;
}

.rector-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .rector-card-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
}

/* Profile Initials Monogram */
.rector-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .rector-profile {
    flex-direction: column;
    text-align: center;
    width: 170px;
  }
}

.rector-avatar-circle {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  background-color: var(--dark-navy);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.rector-avatar-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background-color: var(--gold);
  color: var(--dark-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 900;
}

.rector-info-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1.2;
}

.rector-info-title {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-top: 0.2rem;
}

.rector-quote-block {
  flex: 1;
}

.rector-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rector-heading-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--gold);
}

.rector-quote-text {
  font-size: 0.9375rem;
  font-style: italic;
  color: #1E293B;
  line-height: 1.75;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin: 0.5rem 0 1rem 0;
}

@media (min-width: 640px) {
  .rector-quote-text {
    font-size: 1rem;
  }
}

.rector-footer-motto {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   VISION & MISSION
   ========================================================================== */
.cards-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 58rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cards-grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.foundation-card {
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.foundation-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-accent-gold {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background-color: var(--gold);
}

.card-accent-blue {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background-color: var(--primary-blue);
}

.card-header-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.icon-box-gold {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--gold-subtle);
  color: var(--gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  border: 1px solid rgba(245, 184, 0, 0.3);
  flex-shrink: 0;
}

.icon-box-blue {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-blue-subtle);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  border: 1px solid rgba(31, 60, 130, 0.15);
  flex-shrink: 0;
}

.card-title-blue {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.card-body-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-checklist {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.checklist-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark-navy);
  margin-bottom: 0.25rem;
  display: block;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-glyph {
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
}

/* ==========================================================================
   PROGRAMS OF STUDY
   ========================================================================== */
.program-feature-card {
  max-width: 54rem;
  margin: 0 auto;
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.program-card-top-blue {
  height: 6px;
  background-color: var(--primary-blue);
}

.program-card-main {
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .program-card-main {
    padding: 2.5rem;
  }
}

.program-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.program-category-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background-color: var(--gold-subtle);
  color: var(--gold-hover);
  border: 1px solid rgba(245, 184, 0, 0.4);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-duration-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.program-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .program-title {
    font-size: 2.15rem;
  }
}

.program-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 900px) {
  .program-split-grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }
}

.program-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 52rem;
}

.program-thumb-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 3;
}

.program-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-features-list {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .program-features-list {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-pill-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-navy);
}

.feature-pill-check {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background-color: var(--gold-subtle);
  color: var(--gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Bottom Dark-Blue Scripture Panel */
.scripture-panel {
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 1.5rem;
  border-top: 2px solid var(--gold);
}

@media (min-width: 768px) {
  .scripture-panel {
    padding: 1.75rem 2.5rem;
  }
}

.scripture-panel-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .scripture-panel-inner {
    flex-direction: row;
    align-items: center;
  }
}

.scripture-degree {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.scripture-quote {
  font-size: 0.9375rem;
  font-style: italic;
  color: #E2E8F0;
  line-height: 1.5;
}

.scripture-ref-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ==========================================================================
   WHY CHOOSE DIMABIN (6 FEATURES)
   ========================================================================== */
.features-grid-6 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .features-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid-6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature-box {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 60, 130, 0.25);
}

.feature-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--primary-blue-subtle);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(31, 60, 130, 0.1);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.feature-box:hover .feature-icon-box {
  background-color: var(--gold-subtle);
  color: var(--gold-hover);
  border-color: rgba(245, 184, 0, 0.3);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.625rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   ADMISSION CTA SECTION
   ========================================================================== */
.admission-cta-section {
  position: relative;
  background-color: var(--dark-navy);
  color: var(--white);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
  text-align: center;
  border-top: 2px solid var(--primary-blue);
}

@media (min-width: 768px) {
  .admission-cta-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.admission-glow-top {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.admission-glow-bottom {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(31, 60, 130, 0.45) 0%, transparent 70%);
  pointer-events: none;
}

.admission-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
}

.admission-desc {
  font-size: 1rem;
  color: #E2E8F0;
  line-height: 1.7;
  max-width: 40rem;
  margin: 1.25rem auto 2.25rem auto;
}

@media (min-width: 640px) {
  .admission-desc {
    font-size: 1.125rem;
  }
}

/* Interactive Fast Admission Starter Modal / Drawer */
.admission-inquiry-box {
  margin-top: 2.5rem;
  background-color: var(--white);
  color: var(--dark-navy);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: left;
  box-shadow: var(--shadow-xl);
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  display: none;
}

.admission-inquiry-box.show {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

.inquiry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.inquiry-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--dark-navy);
}

.inquiry-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--dark-navy);
  background-color: var(--white);
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(31, 60, 130, 0.15);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 500px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--dark-navy);
  color: var(--white);
  border-top: 4px solid var(--gold);
  padding-top: 2.75rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .site-footer {
    padding-top: 4rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
    padding-bottom: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-motto-gold {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.footer-desc {
  font-size: 0.875rem;
  color: #CBD5E1;
  line-height: 1.65;
  max-width: 24rem;
}

.footer-social-cluster {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.06);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background-color: var(--gold);
  color: var(--dark-navy);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  font-size: 0.875rem;
  color: #CBD5E1;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact-block {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contact-label {
  color: #94A3B8;
  font-weight: 600;
}

.footer-bottom-bar {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: #94A3B8;
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   ABOUT US PAGE SPECIFIC STYLES
   ========================================================================== */
.citadel-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.citadel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.citadel-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--primary-blue-subtle);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(31, 60, 130, 0.15);
}

.citadel-content h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.35rem;
}

.citadel-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Guiding Motto Banner */
.motto-banner-section {
  position: relative;
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 4rem 1rem;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--primary-blue);
  border-bottom: 1px solid var(--primary-blue);
}

@media (min-width: 768px) {
  .motto-banner-section {
    padding: 5.5rem 2rem;
  }
}

.motto-banner-inner {
  position: relative;
  z-index: 10;
  max-width: 50rem;
  margin: 0 auto;
}

.motto-large-heading {
  font-size: 2.15rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .motto-large-heading {
    font-size: 2.85rem;
  }
}

@media (min-width: 1024px) {
  .motto-large-heading {
    font-size: 3.25rem;
  }
}

.motto-desc-text {
  font-size: 1rem;
  color: #E2E8F0;
  line-height: 1.8;
  max-width: 44rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .motto-desc-text {
    font-size: 1.0625rem;
  }
}

.motto-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Rector's Desk Section Styles */
.rector-desk-section {
  background-color: var(--white);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .rector-desk-section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

.rector-bio-header {
  max-width: 52rem;
  margin: 0 auto 2.5rem auto;
}

.rector-name-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.25rem;
}

.rector-designation {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-blue);
  display: block;
  margin-bottom: 1rem;
}

.rector-bio-paragraph {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

@media (min-width: 640px) {
  .rector-bio-paragraph {
    font-size: 1rem;
  }
}

.rector-quote-placeholder {
  background-color: var(--bg-light);
  border: 1px dashed #CBD5E1;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  font-style: italic;
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.7;
  margin: 1.25rem 0;
}

/* ==========================================================================
   ADMISSIONS PAGE STYLES — WORKFLOW CARDS & MULTI-STEP FORM
   ========================================================================== */

/* Admission Process 5-Step Cards Grid */
.process-grid-5 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 540px) {
  .process-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .process-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .process-grid-5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }
}

.process-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 60, 130, 0.2);
}

.process-number-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 1.125rem;
  flex-shrink: 0;
}

.process-badge-blue {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(31, 60, 130, 0.25);
}

.process-badge-gold {
  background-color: var(--gold);
  color: var(--dark-navy);
  box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.22);
}

.process-card-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}

.process-card-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Multi-Step Admissions Form Container */
.admissions-form-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* ==========================================================================
   ADMISSION AVAILABILITY & REAL-TIME STATUS STYLES (OPEN / CLOSED)
   ========================================================================== */

.admission-status-banner {
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.admission-status-banner.open {
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.admission-status-banner.closed {
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.status-banner-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-pill-open {
  background-color: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.status-pill-closed {
  background-color: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FCA5A5;
}

.status-banner-text {
  font-size: 0.875rem;
  font-weight: 600;
}

.status-banner-meta {
  font-size: 0.8125rem;
  opacity: 0.9;
}

/* Admissions Closed Announcement Pane */
.admissions-closed-pane {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
  animation: fadeIn 0.3s ease-out forwards;
}

.admissions-closed-pane.active {
  display: block;
}

.closed-seal-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px dashed #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2rem;
  color: #64748B;
}

.closed-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.65rem;
}

.closed-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 36rem;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

.closed-info-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  max-width: 36rem;
  margin: 0 auto 2rem auto;
  text-align: left;
}

.closed-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed #CBD5E1;
}

.closed-info-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.closed-info-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark-navy);
}

.closed-contact-note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.closed-contact-note a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: underline;
}

.closed-actions-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .admissions-form-card {
    padding: 2.25rem 2rem;
  }
}

@media (min-width: 768px) {
  .admissions-form-card {
    padding: 2.75rem 2.5rem;
  }
}

.form-intro-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem auto;
}

/* 5-Step Horizontal Progress Indicator */
.step-progress-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
  padding: 0 0.5rem;
}

.step-indicator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  cursor: default;
  flex: 1;
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background-color: var(--white);
  border: 2px solid #CBD5E1;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all 0.25s ease;
  margin-bottom: 0.35rem;
}

@media (min-width: 640px) {
  .step-circle {
    width: 38px;
    height: 38px;
    font-size: 0.875rem;
  }
}

.step-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  text-align: center;
  white-space: nowrap;
  transition: color 0.25s ease;
}

@media (min-width: 640px) {
  .step-label {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
  }
}

/* Step States */
.step-indicator-item.active .step-circle {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(31, 60, 130, 0.2);
}

.step-indicator-item.active .step-label {
  color: var(--primary-blue);
  font-weight: 800;
}

.step-indicator-item.completed .step-circle {
  background-color: var(--dark-navy);
  border-color: var(--dark-navy);
  color: var(--gold);
}

.step-indicator-item.completed .step-label {
  color: var(--dark-navy);
}

.step-connector-line {
  position: absolute;
  top: 17px;
  left: 8%;
  right: 8%;
  height: 2px;
  background-color: #E2E8F0;
  z-index: 1;
}

@media (min-width: 640px) {
  .step-connector-line {
    top: 19px;
  }
}

.step-connector-fill {
  position: absolute;
  top: 17px;
  left: 8%;
  height: 2px;
  background-color: var(--primary-blue);
  z-index: 1;
  transition: width 0.3s ease;
  width: 0%;
}

@media (min-width: 640px) {
  .step-connector-fill {
    top: 19px;
  }
}

/* Validation Error Panel */
.form-error-panel {
  display: none;
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-left: 5px solid #DC2626;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  color: #991B1B;
  animation: fadeIn 0.2s ease-out;
}

.form-error-panel.show {
  display: block;
}

.form-error-title {
  font-weight: 800;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.form-error-list {
  font-size: 0.8125rem;
  line-height: 1.5;
  padding-left: 1.25rem;
}

/* Step Content Panes */
.form-step-pane {
  display: none;
}

.form-step-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

.step-pane-header {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.step-pane-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.25rem;
}

.step-pane-sub {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Input error highlight */
.form-input.input-error, .form-select.input-error, .form-textarea.input-error {
  border-color: #DC2626 !important;
  background-color: #FFFDFD !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

/* Form Action Buttons Bar */
.form-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* Declaration Checkbox Style */
.declaration-box {
  background-color: var(--bg-light);
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.declaration-terms-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.declaration-terms-text p {
  margin-bottom: 0.75rem;
}

.declaration-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-navy);
  line-height: 1.5;
}

.declaration-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary-blue);
  cursor: pointer;
  flex-shrink: 0;
}

/* Submission Success Banner */
.admission-success-pane {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}

.admission-success-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.success-circle-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: #DCFCE7;
  color: #15803D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 auto 1.25rem auto;
  border: 3px solid #BBF7D0;
}

.success-badge-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  background-color: var(--gold-subtle);
  color: var(--gold-hover);
  border: 1px solid rgba(245, 184, 0, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.success-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.75rem;
}

.success-summary-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: left;
  max-width: 32rem;
  margin: 1.5rem auto;
  font-size: 0.875rem;
  line-height: 1.6;
}

.success-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #CBD5E1;
}

.success-summary-row:last-child {
  border-bottom: none;
}

.success-notice-note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-style: italic;
  max-width: 34rem;
  margin: 1.25rem auto;
  line-height: 1.6;
}

/* Keyframe Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   CONTACT US PAGE SPECIFIC STYLES
   ========================================================================== */

/* 1. Contact Hero */
.contact-hero {
  position: relative;
  background-color: var(--dark-navy);
  background-image: linear-gradient(rgba(18, 36, 82, 0.84), rgba(18, 36, 82, 0.90)), url('../assets/images/hero-library.jpg');
  background-size: cover;
  background-position: center center;
  min-height: 36vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(4.5rem, 8.5vh, 5.5rem);
  padding-bottom: clamp(1.75rem, 3.8vh, 2.5rem);
  text-align: center;
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}

@media (min-width: 768px) {
  .contact-hero {
    min-height: 45vh;
    padding-top: 7.5rem;
    padding-bottom: 4rem;
  }
}

.hero-eyebrow-boxed {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .hero-eyebrow-boxed {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }
}

.contact-hero-title {
  font-size: clamp(1.6rem, 4.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.45rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .contact-hero-title {
    font-size: 3rem;
    margin-bottom: 0.75rem;
  }
}

.contact-hero-intro {
  font-size: clamp(0.8125rem, 2.4vw, 0.9375rem);
  color: #E2E8F0;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.55;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .contact-hero-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
  }
}

/* 1b. Controlled Responsive Page Banner Hero (Admissions, Portals) */
.page-banner-hero {
  position: relative;
  background-color: var(--dark-navy);
  color: var(--white);
  text-align: center;
  padding-top: clamp(4.5rem, 8.5vh, 5.5rem);
  padding-bottom: clamp(1.75rem, 3.8vh, 2.5rem);
  border-bottom: 3px solid var(--gold);
}

@media (min-width: 768px) {
  .page-banner-hero {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
  }
}

.page-banner-hero .section-eyebrow {
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}

.page-banner-hero .section-title {
  font-size: clamp(1.65rem, 4.5vw, 2.5rem);
  margin-bottom: 0.45rem;
  color: var(--white);
}

.page-banner-hero .section-subtitle {
  font-size: clamp(0.85rem, 2.5vw, 1.0625rem);
  max-width: 38rem;
  margin: 0 auto;
  color: #E2E8F0;
  line-height: 1.55;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* 2. Contact Information Cards Grid */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 900px) {
  .contact-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-info-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 60, 130, 0.25);
}

.contact-card-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-blue);
}

.contact-info-card:nth-child(2) .contact-card-top-accent {
  background: var(--gold);
}

.contact-info-card:nth-child(3) .contact-card-top-accent {
  background: var(--dark-navy);
}

.contact-card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background-color: var(--primary-blue-subtle);
  color: var(--primary-blue);
  border: 1px solid rgba(31, 60, 130, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.contact-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}

.contact-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.contact-card-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #F1F5F9;
}

.contact-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  word-break: break-all;
}

.contact-card-link:hover {
  color: var(--gold-hover);
  text-decoration: underline;
  transform: translateX(2px);
}

.contact-address-text {
  font-size: 0.9375rem;
  color: var(--dark-navy);
  line-height: 1.65;
  font-weight: 500;
  margin-bottom: 1.25rem;
  font-style: normal;
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  width: fit-content;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.contact-map-link:hover {
  color: var(--gold-hover);
  border-color: var(--gold-hover);
}

/* 3. Inquiry & Message Portal Form */
.inquiry-form-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.25rem 1.5rem;
  max-width: 54rem;
  margin: 0 auto 3.5rem auto;
}

@media (min-width: 640px) {
  .inquiry-form-card {
    padding: 3rem 2.5rem;
  }
}

.inquiry-form-header {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.25rem auto;
}

.inquiry-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-error-box {
  display: none;
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-left: 5px solid #DC2626;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #991B1B;
  animation: fadeIn 0.2s ease-out;
}

.contact-error-box.show {
  display: block;
}

.contact-error-title {
  font-weight: 800;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.contact-error-list {
  font-size: 0.8125rem;
  line-height: 1.5;
  padding-left: 1.25rem;
}

.contact-success-pane {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}

.contact-success-pane.show {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.contact-submit-btn {
  width: 100%;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 1rem 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 14px rgba(31, 60, 130, 0.25);
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31, 60, 130, 0.35);
}

/* 4. Office Hours Card */
.office-hours-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem 1.75rem;
  max-width: 54rem;
  margin: 0 auto 3.5rem auto;
}

@media (min-width: 640px) {
  .office-hours-card {
    padding: 2.75rem 2.5rem;
  }
}

.office-hours-header {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.office-hours-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.35rem;
}

.office-hours-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.office-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px dashed #E2E8F0;
  font-size: 0.9375rem;
}

.office-hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 700;
  color: var(--dark-navy);
}

.hours-time {
  font-weight: 600;
  color: #475569;
}

.hours-closed {
  color: var(--gold-hover);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--gold-subtle);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 184, 0, 0.3);
}

/* 5. Map Container Card */
.map-container-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 54rem;
  margin: 0 auto 4.5rem auto;
  overflow: hidden;
}

.map-header-bar {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: #F8FAFC;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .map-header-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.map-address-display {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.map-pin-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.map-address-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-navy);
  line-height: 1.5;
}

.map-visual-placeholder {
  position: relative;
  height: 260px;
  background: radial-gradient(circle at 50% 50%, #EEF2F6 0%, #E2E8F0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.map-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(31, 60, 130, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 60, 130, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.map-center-pin-badge {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(31, 60, 130, 0.2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 20rem;
}

.map-badge-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.map-badge-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--dark-navy);
}

/* 6. FAQ Section */
.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.faq-item.is-open {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-navy);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s ease;
}

.faq-question-btn:hover {
  color: var(--primary-blue);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--primary-blue);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold-hover);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.35rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  border-top: 1px solid #F1F5F9;
  padding-top: 1rem;
}

.faq-item.is-open .faq-answer {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

/* 7. Connect CTA Section */
.connect-cta-section {
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 5rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(245, 184, 0, 0.3);
}

.connect-cta-inner {
  max-width: 44rem;
  margin: 0 auto;
}

.connect-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .connect-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   PORTAL LOGIN INTERFACES (Student, Lecturer, Administrator)
   ========================================================================== */

.portal-login-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--dark-navy);
  background-image: 
    linear-gradient(135deg, rgba(18, 36, 82, 0.94) 0%, rgba(31, 60, 130, 0.90) 100%),
    url('../assets/images/hero-library.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: var(--font-family-primary);
  color: var(--text-primary);
  position: relative;
}

.portal-login-topbar {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.portal-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
}

.portal-topbar-title {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.2;
}

.portal-topbar-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  display: block;
}

.portal-topbar-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.portal-topbar-back-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--gold);
  border-color: var(--gold);
  transform: translateX(-2px);
}

.portal-login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 2rem 1rem;
  width: 100%;
  position: relative;
  z-index: 5;
}

.portal-login-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  padding: 2.5rem 2rem 2.25rem 2rem;
  border-top: 4px solid var(--gold);
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}

.portal-login-card.admin-card-accent {
  border-top: 4px solid var(--primary-blue);
}

.portal-login-card.lecturer-card-accent {
  border-top: 4px solid var(--primary-blue);
}

.portal-login-emblem-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.portal-login-emblem-box img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.portal-institution-name {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.portal-motto-line {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gold-hover);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.portal-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark-navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.portal-supporting-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

/* Alert Notification Panes (Error and Info) */
.portal-alert-box {
  display: none;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: left;
  animation: fadeIn 0.2s ease-out;
}

.portal-alert-box.show {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.portal-alert-box.error {
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-left: 4px solid #DC2626;
  color: #991B1B;
}

.portal-alert-box.info {
  background-color: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-left: 4px solid var(--primary-blue);
  color: #1E40AF;
}

.portal-alert-box.success {
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-left: 4px solid #16A34A;
  color: #15803D;
}

.portal-alert-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Modal Dialog for Administrator Forgot Password */
.portal-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 20, 45, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999;
  animation: fadeIn 0.2s ease-out;
}

.portal-modal-dialog {
  background: var(--white);
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  border-top: 4px solid var(--gold);
  overflow: hidden;
  position: relative;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.portal-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.portal-modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-top: 0.25rem;
  line-height: 1.3;
}

.portal-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #64748B;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}

.portal-modal-close:hover {
  color: var(--dark-navy);
}

.portal-modal-body {
  padding: 1.5rem;
}

.portal-modal-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.portal-badge-gold {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--gold-hover);
  background-color: var(--gold-subtle);
  border: 1px solid rgba(245, 184, 0, 0.4);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-security-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #64748B;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  text-align: left;
  line-height: 1.4;
}

.admin-security-badge svg {
  color: var(--primary-blue);
  flex-shrink: 0;
}


/* Form Layout */
.portal-form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.portal-form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dark-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}

.portal-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.portal-form-input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  background-color: #FFFFFF;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 46px;
  box-sizing: border-box;
}

.portal-form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(31, 60, 130, 0.12);
}

.portal-form-input.input-error {
  border-color: #DC2626 !important;
  background-color: #FFFDFD !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.password-input-field {
  padding-right: 2.75rem;
}

.password-toggle-btn {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #64748B;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
  line-height: 1;
}

.password-toggle-btn:hover {
  color: var(--primary-blue);
}

.password-toggle-btn:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 1px;
}

/* Auxiliary Row: Forgot Password & Remember */
.portal-form-aux-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: -0.25rem;
  margin-bottom: 1.5rem;
}

.forgot-password-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-blue);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: color 0.15s ease;
}

.forgot-password-link:hover {
  color: var(--gold-hover);
  text-decoration: underline;
}

/* Portal Login Action Buttons */
.btn-portal-login {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-student-login {
  background-color: var(--primary-blue);
  color: var(--white);
  border: 1px solid rgba(245, 184, 0, 0.4);
  box-shadow: 0 4px 12px rgba(31, 60, 130, 0.3);
}

.btn-student-login:hover {
  background-color: var(--dark-navy);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(18, 36, 82, 0.4);
}

.btn-lecturer-login {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(31, 60, 130, 0.3);
}

.btn-lecturer-login:hover {
  background-color: var(--dark-navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(18, 36, 82, 0.4);
}

.btn-admin-login {
  background-color: var(--primary-blue);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(18, 36, 82, 0.35);
}

.btn-admin-login:hover {
  background-color: var(--dark-navy);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(18, 36, 82, 0.45);
}

/* Back to Main Website Link inside Card */
.portal-card-back-wrapper {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #F1F5F9;
  text-align: center;
}

.portal-card-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.portal-card-back-link:hover {
  color: var(--primary-blue);
  transform: translateX(-2px);
}

.portal-switcher-box {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #94A3B8;
  line-height: 1.6;
}

.portal-switcher-box a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
}

.portal-switcher-box a:hover {
  color: var(--gold-hover);
  text-decoration: underline;
}

/* Security / Institutional Footer */
.portal-login-footer {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: center;
  color: #CBD5E1;
  font-size: 0.75rem;
  position: relative;
  z-index: 10;
}

.portal-login-footer p {
  margin: 0.25rem 0;
}

.portal-footer-motto {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
}

@media (max-width: 480px) {
  .portal-login-card {
    padding: 2rem 1.25rem 1.75rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .portal-heading {
    font-size: 1.45rem;
  }

  .portal-supporting-text {
    font-size: 0.8125rem;
    margin-bottom: 1.35rem;
  }

  .portal-login-topbar {
    padding: 1rem 1rem 0.5rem 1rem;
  }
}

@media (max-width: 440px) {
  .portal-login-topbar {
    padding: 0.75rem 0.75rem;
    gap: 0.5rem;
  }

  .portal-topbar-title {
    font-size: 0.8125rem;
  }

  .portal-topbar-tag {
    font-size: 0.625rem;
  }

  .portal-topbar-back-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .portal-topbar-back-btn span {
    display: none;
  }

  .portal-topbar-back-btn::after {
    content: "Main Site";
  }

  .portal-login-main {
    padding: 1.25rem 0.75rem;
  }

  .portal-login-card {
    padding: 1.75rem 1rem 1.5rem 1rem;
  }

  .portal-login-emblem-box img {
    width: 58px;
    height: 58px;
  }
}

/* ==========================================================================
   15B. PROMINENT HOMEPAGE PUBLIC ANNOUNCEMENT (CLEAN LIGHT GREEN THEME)
   Palette:
   - Background: Soft light green (#E8F5E9)
   - Main heading: Dark green (#1B5E20)
   - Body text: Dark charcoal green (#263A2B)
   - Borders & accents: Medium green (#66BB6A)
   - Buttons: Medium green (#2E7D32 / #388E3C) with crisp white text
   - Complementary accents: DIMABIN Gold (#D4AF37) and Navy (#0A192F)
   ========================================================================== */

.prominent-announcement-section {
  position: relative;
  width: 100%;
  margin-top: 60px;
  z-index: 85;
  background-color: #E8F5E9;
  border-bottom: 2px solid #66BB6A;
  border-top: 1px solid rgba(102, 187, 106, 0.4);
  box-shadow: 0 4px 16px -2px rgba(27, 94, 32, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
  animation: annSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (min-width: 768px) {
  .prominent-announcement-section {
    margin-top: 68px;
  }
}

.prominent-ann-card {
  position: relative;
  z-index: 2;
  padding: 0.95rem 0;
}

@media (min-width: 768px) {
  .prominent-ann-card {
    padding: 1.15rem 0;
  }
}

/* Header row: Meta badges + Dismiss button */
.prominent-ann-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.prominent-ann-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.prominent-ann-badge {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  color: #1B5E20;
  border: 1px solid #66BB6A;
  border-left: 3.5px solid #d4af37; /* DIMABIN Gold complementary accent */
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(27, 94, 32, 0.06);
}

.prominent-ann-category {
  color: #1B5E20;
  font-size: 0.8125rem;
  font-weight: 700;
}

.prominent-ann-dot {
  color: #66BB6A;
  font-weight: 700;
  font-size: 0.875rem;
}

.prominent-ann-date {
  color: #3d5a41;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Clean Dismiss button */
.prominent-ann-dismiss-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #ffffff;
  border: 1px solid rgba(102, 187, 106, 0.6);
  color: #263A2B;
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 32px;
  transition: all 0.2s ease;
  font-family: inherit;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.prominent-ann-dismiss-btn:hover {
  background-color: #E8F5E9;
  color: #1B5E20;
  border-color: #2E7D32;
  box-shadow: 0 2px 6px rgba(27, 94, 32, 0.12);
}

.prominent-ann-dismiss-btn:focus-visible {
  outline: 2px solid #1B5E20;
  outline-offset: 2px;
}

/* Main Heading: Bold & Clearly Visible in Dark Green (#1B5E20) */
.prominent-ann-title {
  color: #1B5E20;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 0 0 0.45rem 0;
}

/* Prose Message in Dark Charcoal Green (#263A2B) */
.prominent-ann-prose {
  margin-bottom: 0.65rem;
}

.prominent-ann-summary,
.prominent-ann-full {
  color: #263A2B;
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  line-height: 1.6;
  font-weight: 400;
  white-space: pre-line;
  max-width: 85ch;
  margin: 0;
}

/* Actions Row */
.prominent-ann-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-top: 0.35rem;
}

/* Medium Green Button with Crisp White Text */
.prominent-ann-btn {
  background-color: #2E7D32;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.8125rem;
  border: 1px solid #1B5E20;
  border-radius: 5px;
  padding: 0.45rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: inherit;
  box-shadow: 0 2px 6px rgba(46, 125, 50, 0.25);
}

.prominent-ann-btn:hover {
  background-color: #1B5E20;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(27, 94, 32, 0.32);
  transform: translateY(-1px);
}

.prominent-ann-btn:focus-visible {
  outline: 2px solid #1B5E20;
  outline-offset: 2px;
}

.prominent-ann-count-note {
  color: #2e5936;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Dismiss Animation */
.prominent-announcement-section.is-dismissing {
  animation: annSlideUp 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}

@keyframes annSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes annSlideUp {
  from {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
  }
}

/* Body adjustment when announcement is present to balance Hero vertical rhythm */
body.has-prominent-announcement .hero-section {
  padding-top: clamp(2rem, 4vh, 3.25rem);
}

@media (min-width: 768px) {
  body.has-prominent-announcement .hero-section {
    padding-top: 3.5rem;
    min-height: 65vh;
  }
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .prominent-ann-card {
    padding: 0.85rem 0;
  }
  .prominent-ann-header {
    margin-bottom: 0.4rem;
  }
  .prominent-ann-title {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }
  .prominent-ann-summary,
  .prominent-ann-full {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .prominent-ann-actions {
    padding-top: 0.25rem;
  }
}

/* ==========================================================================
   16. DIMABIN NOTICE BOARD / LATEST ANNOUNCEMENTS STYLES
   Matching Exact DIMABIN Visual Identity: Navy, Blue, Gold, White, Inter
   ========================================================================== */

.notice-board-section {
  position: relative;
  background-color: var(--white);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.notice-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .notice-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

.notice-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(18, 36, 82, 0.04);
}

.notice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--primary-blue) 100%);
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.notice-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 12px 24px -6px rgba(18, 36, 82, 0.12);
}

.notice-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark-navy);
  background-color: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 9999px;
}

.notice-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.notice-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.notice-card-body {
  flex: 1;
  margin-bottom: 1.25rem;
}

.notice-summary,
.notice-full-text {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.65;
  white-space: pre-line;
}

.notice-card-footer {
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notice-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  color: var(--primary-blue);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
  font-family: inherit;
}

.notice-read-more-btn:hover {
  color: var(--navy);
  text-decoration: underline;
}

.notice-official-seal {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #64748B;
  text-transform: uppercase;
}

.notice-board-action-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.25rem;
}

/* Loading & Empty States */
.notice-board-loading,
.notice-board-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background-color: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
}

.notice-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(18, 36, 82, 0.15);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: noticeSpin 0.8s linear infinite;
  margin: 0 auto 1rem auto;
}

@keyframes noticeSpin {
  to { transform: rotate(360deg); }
}

.notice-board-loading p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.notice-empty-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.notice-empty-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 0.35rem;
}

.notice-empty-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 28rem;
  margin: 0 auto 0.75rem auto;
}

.notice-empty-sub {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-hover);
  text-transform: uppercase;
}

/* ==========================================================================
   DIMABIN ADMISSION STATUS CHECKER & ONBOARDING STYLES
   ========================================================================== */
.admission-checker-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: 0 10px 30px rgba(18, 36, 82, 0.08);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--gold);
}

.checker-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .checker-form-grid {
    grid-template-columns: 1fr;
  }
  .admission-checker-card {
    padding: 1.75rem 1.25rem;
  }
}

.admission-result-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 1.75rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.3s ease-out;
}

.admission-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary-blue-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.result-status-pill {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-status-pill.approved {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.result-status-pill.pending {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FCD34D;
}

.result-status-pill.rejected {
  background: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FCA5A5;
}

.admission-result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: var(--bg-light);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

@media (min-width: 480px) {
  .admission-result-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
}

.result-field-block {
  display: flex;
  flex-direction: column;
}

.result-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.result-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark-navy);
}

.onboarding-approved-box {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #F0FDF4;
  border: 2px solid #86EFAC;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
}

.onboarding-approved-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #15803D;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
}

.onboarding-approved-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #15803D;
  margin-bottom: 0.25rem;
}

.onboarding-approved-next {
  font-size: 0.9375rem;
  color: #166534;
  line-height: 1.5;
  font-weight: 500;
}

.result-notice-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
}

.result-notice-box.pending {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
}

.result-notice-box.rejected {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.result-notice-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.result-notice-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.result-notice-desc {
  font-size: 0.84rem;
  line-height: 1.5;
}

.result-slip-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--dark-navy);
  border: 1.5px solid var(--dark-navy);
}

.btn-outline-navy:hover {
  background-color: var(--dark-navy);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--dark-navy);
}

/* ==========================================================================
   OFFICIAL ONE-PAGE A4 ADMISSION APPLICATION FORM & PRINT SYSTEM
   ========================================================================== */

/* Screen container for print-only root: Hidden on screen */
#dimabin-print-root {
  display: none;
}

/* Exact A4 Sheet Layout (used for both html2canvas rendering & browser print) */
.dimabin-a4-sheet {
  width: 100%;
  max-width: 794px;
  min-height: 1115px;
  max-height: 1123px;
  box-sizing: border-box;
  padding: 16px 20px 14px 20px;
  background: #ffffff;
  color: #1e293b;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #cbd5e1;
  position: relative;
  overflow: hidden;
}

/* Header */
.a4-header {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid #1F3C82;
  padding-bottom: 8px;
  margin-bottom: 6px;
}

.a4-logo-wrap {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.a4-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.a4-header-text {
  flex: 1;
  text-align: center;
}

.a4-inst-title {
  font-size: 17px;
  font-weight: 800;
  color: #1F3C82;
  letter-spacing: 0.02em;
  margin: 0 0 2px 0;
  line-height: 1.15;
}

.a4-inst-subtitle {
  font-size: 9.5px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.a4-motto {
  font-size: 9px;
  font-weight: 800;
  color: #B45309;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.a4-contact-bar {
  font-size: 8.5px;
  color: #64748B;
  line-height: 1.2;
}

/* Document Title Bar */
.a4-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1F3C82;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.a4-doc-badge {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #F5B800;
  color: #0F172A;
  padding: 2px 6px;
  border-radius: 2px;
}

.a4-doc-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.a4-meta-pills {
  display: flex;
  gap: 8px;
  font-size: 9px;
}

.a4-pill-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 6px;
  border-radius: 3px;
}

.a4-status-pill {
  background: #16A34A;
  color: #ffffff;
  font-weight: 700;
}

/* Academic Banner Grid */
.a4-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.4fr;
  gap: 6px;
  margin-bottom: 6px;
}

.a4-banner-cell {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 3px;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
}

.a4-banner-cell.highlight-cell {
  background: #EEF3FF;
  border-color: #BFDBFE;
}

.a4-cell-lbl {
  font-size: 7.5px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1px;
}

.a4-cell-val {
  font-size: 9.5px;
  color: #1F3C82;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section Container */
.a4-section {
  border: 1px solid #E2E8F0;
  border-radius: 3px;
  margin-bottom: 6px;
  background: #ffffff;
  overflow: hidden;
}

.a4-sec-hdr {
  background: #F1F5F9;
  color: #1F3C82;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-bottom: 1px solid #E2E8F0;
  text-transform: uppercase;
}

/* Grid & Cell Styles */
.a4-table-grid {
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.a4-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.a4-row.full-width {
  width: 100%;
}

.a4-row-split {
  display: flex;
  width: 100%;
  gap: 8px;
}

.a4-row-split .a4-cell {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
}

.a4-row-split-2 {
  display: flex;
  width: 100%;
  gap: 8px;
}

.a4-cell-60 {
  flex: 1.4;
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
}

.a4-cell-40 {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
}

.a4-lbl {
  font-size: 8px;
  font-weight: 700;
  color: #64748B;
  white-space: nowrap;
  flex-shrink: 0;
}

.a4-val {
  font-size: 9px;
  color: #0F172A;
  word-break: break-word;
}

.font-bold {
  font-weight: 700;
}

.font-primary {
  color: #1F3C82;
  font-size: 9.5px;
}

/* Declaration & Signatures */
.a4-decl-sec {
  background: #FAFAFA;
}

.a4-decl-text {
  font-size: 7.8px;
  color: #475569;
  line-height: 1.35;
  padding: 4px 8px;
  border-bottom: 1px dashed #E2E8F0;
}

.a4-sign-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 8px 12px 6px 12px;
  gap: 12px;
}

.a4-sign-col {
  flex: 1;
  text-align: center;
}

.a4-sign-line {
  border-bottom: 1px solid #334155;
  width: 80%;
  margin: 0 auto 3px auto;
}

.a4-sign-label {
  font-size: 7.5px;
  font-weight: 700;
  color: #1F3C82;
  text-transform: uppercase;
}

.a4-sign-sub {
  font-size: 7.5px;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.a4-sign-stamp-col {
  flex: 0.9;
  display: flex;
  justify-content: center;
}

.a4-official-stamp {
  border: 1.5px dashed #B45309;
  color: #92400E;
  padding: 3px 8px;
  border-radius: 4px;
  text-align: center;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: #FFFBEB;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.stamp-line-2 {
  font-size: 7.5px;
  color: #B45309;
}

.stamp-line-3 {
  font-size: 8px;
  color: #1F3C82;
}

/* Footer */
.a4-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #CBD5E1;
  padding-top: 4px;
  margin-top: 4px;
  font-size: 7.5px;
  color: #64748B;
}

/* ==========================================================================
   FLOATING SPONSOR US BUTTON & SPONSORSHIP MODAL
   ========================================================================== */

/* Wrapper keeps floating button accessible and non-intrusive */
.floating-sponsor-wrapper {
  position: fixed;
  right: 24px;
  bottom: 96px; /* Positioned safely above standard floating elements (e.g. WhatsApp at bottom: 24px) */
  z-index: 1050;
  pointer-events: none; /* Container doesn't intercept clicks, child button does */
}

/* Floating Sponsor Us Button */
.floating-sponsor-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background-color: #16a34a; /* Vibrant, trustworthy green */
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.25rem;
  min-height: 48px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.42), 0 2px 6px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              box-shadow 0.2s ease,
              border-color 0.2s ease;
}

.floating-sponsor-btn:hover {
  background-color: #15803d; /* Darker green on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.48), 0 3px 8px rgba(0, 0, 0, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
}

.floating-sponsor-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
}

.floating-sponsor-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.floating-sponsor-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-sponsor-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.floating-sponsor-btn:hover .floating-sponsor-icon {
  transform: scale(1.1);
}

.floating-sponsor-text {
  line-height: 1;
}

/* Mobile Responsiveness for Floating Sponsor Us Button */
@media (max-width: 640px) {
  .floating-sponsor-wrapper {
    right: 16px;
    bottom: 88px; /* Safe distance above bottom mobile widgets */
  }

  .floating-sponsor-btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    min-height: 44px;
    gap: 0.5rem;
  }

  .floating-sponsor-icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 380px) {
  .floating-sponsor-wrapper {
    right: 12px;
    bottom: 84px;
  }

  .floating-sponsor-btn {
    padding: 0.55rem 0.875rem;
    font-size: 0.8125rem;
  }
}

/* --- Sponsorship Modal Dialog --- */
.sponsorship-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 20, 48, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sponsorship-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Prevent document body scrolling while modal is open */
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}

.sponsorship-modal-dialog {
  background: var(--white);
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(10, 20, 48, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-top: 5px solid var(--gold);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2.5rem);
  position: relative;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sponsorship-modal-overlay.active .sponsorship-modal-dialog {
  transform: scale(1) translateY(0);
}

/* Modal Header */
.sponsorship-modal-header {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.sponsorship-modal-header-content {
  flex: 1;
}

.sponsorship-modal-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-hover);
  margin-bottom: 0.25rem;
}

.sponsorship-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

.sponsorship-modal-close {
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-light);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  margin-top: -2px;
}

.sponsorship-modal-close:hover {
  background-color: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.sponsorship-modal-close:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Modal Body */
.sponsorship-modal-body {
  padding: 1.35rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.sponsorship-message-card {
  background: var(--bg-light);
  border-left: 4px solid var(--gold);
  padding: 0.875rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.sponsorship-message-text {
  font-style: italic;
  color: var(--dark-navy);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
}

.sponsorship-accounts-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sponsorship-accounts-label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.sponsorship-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Individual Bank Cards */
.bank-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.125rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.bank-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.bank-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.bank-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
}

.bank-firstbank {
  background-color: #0b2545; /* First Bank signature deep navy */
  color: #f5b800; /* Gold */
  border: 1px solid rgba(245, 184, 0, 0.4);
}

.bank-gtb {
  background-color: #dd4f05; /* GTBank signature orange */
  color: #ffffff;
}

.bank-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bank-detail-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bank-detail-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.bank-account-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark-navy);
  letter-spacing: 0.01em;
}

.bank-number-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bank-account-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: 0.08em;
  background: var(--bg-light);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: inline-block;
  user-select: all;
  -webkit-user-select: all;
}

/* Copy Account Number Action Button */
.bank-card-footer {
  margin-top: 0.125rem;
}

.btn-copy-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 42px;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--primary-blue);
  background-color: var(--white);
  color: var(--primary-blue);
  font-family: var(--font-family);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.btn-copy-account:hover {
  background-color: var(--primary-blue-subtle);
  color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
}

.btn-copy-account:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-copy-account.copied {
  background-color: #16a34a !important;
  color: #ffffff !important;
  border-color: #16a34a !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.btn-copy-account .copy-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-copy-account.copied .copy-icon {
  transform: scale(1.1);
}

/* Footer note & modal close action */
.sponsorship-footer-note {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  background: #f8fafc;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.sponsorship-footer-note p {
  margin: 0;
}

.sponsorship-modal-footer {
  padding: 0.875rem 1.5rem;
  background: var(--bg-light);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Ensure modal content fits comfortably on small height screens */
@media (max-height: 680px) {
  .sponsorship-modal-dialog {
    max-height: calc(100vh - 1rem);
  }

  .sponsorship-modal-header {
    padding: 1rem 1.25rem;
  }

  .sponsorship-modal-body {
    padding: 1rem 1.25rem;
    gap: 0.875rem;
  }

  .bank-card {
    padding: 0.875rem 1rem;
  }
}


@page {
  size: A4 portrait;
  margin: 6mm 8mm;
}

@media print {
  /* Strictly isolate print output to #dimabin-print-root */
  html, body {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  body > *:not(#dimabin-print-root) {
    display: none !important;
  }

  /* Show ONLY the print container */
  #dimabin-print-root {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  #dimabin-print-root,
  #dimabin-print-root * {
    visibility: visible !important;
  }

  .dimabin-a4-sheet {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    page-break-after: avoid !important;
    page-break-inside: avoid !important;
    break-after: avoid !important;
    break-inside: avoid !important;
  }
}




