/* ==========================================================================
   KRISHNA INTERNATIONAL SCHOOL — MAIN STYLESHEET
   A pure CSS, framework-free responsive design system for Krishna International School.
   Colors: Traditional Deep Maroon, Warm Amber Gold, and Cream/Off-White.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary: #7A1228;
  --primary-dark: #580B1C;
  --primary-light: #9E1B36;
  --primary-subtle: #FDF3F5;
  --primary-rgb: 122, 18, 40;

  --accent: #C58B1B;
  --accent-light: #E3A634;
  --accent-dark: #98680C;
  --accent-subtle: #FDF8ED;
  --accent-rgb: 197, 139, 27;

  /* Neutral Surface Colors */
  --bg-main: #FBF9F5;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F6F1E8;
  --bg-surface-muted: #EDE6D8;
  --bg-overlay: rgba(25, 4, 8, 0.75);

  /* Typography Colors */
  --text-main: #231916;
  --text-muted: #5C4F4A;
  --text-light: #857670;
  --text-inverse: #FFFFFF;
  --text-on-accent: #FFFFFF;

  /* Borders & Dividers */
  --border-subtle: #EFE8DC;
  --border-default: #E2D7C5;
  --border-strong: #C4B59F;

  /* Typography Stack */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing */
  --container-max: 1200px;
  --header-height: 84px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(43, 25, 18, 0.04);
  --shadow-sm: 0 2px 6px rgba(43, 25, 18, 0.06);
  --shadow-md: 0 6px 18px rgba(43, 25, 18, 0.08);
  --shadow-lg: 0 16px 36px rgba(43, 25, 18, 0.12);
  --shadow-xl: 0 24px 50px rgba(43, 25, 18, 0.16);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--primary-dark);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* Accessible focus states */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

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

.section-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-inverse);
}

.section-primary h1,
.section-primary h2,
.section-primary h3 {
  color: var(--text-inverse);
}

.section-header {
  margin-bottom: 3rem;
  max-width: 760px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background-color: var(--accent-subtle);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 139, 27, 0.25);
  margin-bottom: 1rem;
}

.section-tag.tag-primary {
  background-color: var(--primary-subtle);
  color: var(--primary);
  border-color: rgba(122, 18, 40, 0.2);
}

.section-tag.tag-inverse {
  background-color: rgba(255, 255, 255, 0.15);
  color: #F8E7C5;
  border-color: rgba(255, 255, 255, 0.25);
}

/* --------------------------------------------------------------------------
   5. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(122, 18, 40, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(122, 18, 40, 0.35);
}

.btn-accent {
  background-color: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(197, 139, 27, 0.25);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(197, 139, 27, 0.35);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-inverse {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-inverse:hover {
  background-color: #FFFFFF;
  color: var(--primary-dark);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   6. HEADER & PRIMARY NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-default);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Brand Identity */
.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  padding: 2px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* Navigation Menu */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-subtle);
}

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

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

.header-cta {
  margin-left: 0.5rem;
}

/* Mobile Nav Toggle Button */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--primary-dark);
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
  background-color: var(--bg-surface-alt);
}

.nav-toggle-icon {
  width: 24px;
  height: 2px;
  background-color: var(--primary-dark);
  position: relative;
  transition: background-color var(--transition-fast);
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-dark);
  transition: transform var(--transition-fast);
}

.nav-toggle-icon::before { top: -7px; }
.nav-toggle-icon::after { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. HERO SECTION (HOME PAGE)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--text-inverse);
  padding: 5rem 0;
  background-color: var(--primary-dark);
  background-image: linear-gradient(to right, rgba(88, 11, 28, 0.92) 0%, rgba(88, 11, 28, 0.82) 50%, rgba(88, 11, 28, 0.65) 100%),
                    url('../assets/images/hero-school-building.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(229, 169, 60, 0.45);
  color: #F8E7C5;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-badge span.dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-light);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-light);
}

.hero-title {
  color: #FFFFFF;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #F8ECEE;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.hero-subtext {
  font-size: 1.05rem;
  color: #E8D5D8;
  margin-bottom: 2.25rem;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Page Header Banner (for inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #FFFFFF;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--accent);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(229, 169, 60, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #F3E3E6;
  font-size: 1.15rem;
  max-width: 700px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #E0C7CC;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a:hover {
  color: var(--accent-light);
}

/* --------------------------------------------------------------------------
   8. NOTICE & ALERT BANNERS
   -------------------------------------------------------------------------- */
.notice-card {
  background-color: var(--bg-surface);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.notice-card.notice-urgent {
  border-left-color: #C0392B;
  background-color: #FFFDFD;
}

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

.notice-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background-color: #C0392B;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
}

.notice-badge.badge-gold {
  background-color: var(--accent);
  color: #FFFFFF;
}

.notice-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 0;
}

.notice-body {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.notice-signature {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   9. CARDS, GRIDS & CONTENT BLOCKS
   -------------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.card-icon {
  width: 52px;
  height: 52px;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  border: 1px solid rgba(122, 18, 40, 0.15);
}

.card-icon.icon-gold {
  background-color: var(--accent-subtle);
  color: var(--accent-dark);
  border-color: rgba(197, 139, 27, 0.2);
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.card-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex-grow: 1;
}

/* Course Cards */
.course-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}

.course-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.course-title {
  font-size: 1.45rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.course-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Toppers Grid */
.topper-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.topper-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--accent-light));
}

.topper-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.topper-avatar {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, var(--primary-subtle), var(--accent-subtle));
  border: 3px solid var(--accent);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(197, 139, 27, 0.2);
}

.topper-name {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.topper-score {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.topper-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

/* Achievement Counters */
.stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.stat-box:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. FEE STRUCTURE TABLE
   -------------------------------------------------------------------------- */
.fee-table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.fee-table thead {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #FFFFFF;
}

.fee-table th {
  padding: 1.1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--accent);
  white-space: nowrap;
}

.fee-table th:not(:first-child),
.fee-table td:not(:first-child) {
  text-align: right;
}

.fee-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-fast);
}

.fee-table tbody tr:nth-child(even) {
  background-color: var(--bg-main);
}

.fee-table tbody tr:hover {
  background-color: var(--accent-subtle);
}

.fee-table td {
  padding: 0.95rem 1.25rem;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

.fee-table td:first-child {
  font-weight: 700;
  color: var(--primary-dark);
}

.fee-table .class-pill {
  display: inline-block;
  font-weight: 700;
  color: var(--primary-dark);
}

.fee-notes {
  background-color: var(--accent-subtle);
  border: 1px solid rgba(197, 139, 27, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.fee-notes-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fee-notes-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}

.fee-notes-list li {
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fee-notes-list li::before {
  content: '•';
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   11. MESSAGES & TESTIMONIALS (ABOUT PAGE)
   -------------------------------------------------------------------------- */
.message-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
  margin-bottom: 3rem;
}

.message-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-family: var(--font-heading);
  font-size: 7rem;
  line-height: 1;
  color: var(--border-default);
  opacity: 0.6;
  pointer-events: none;
}

.message-header {
  margin-bottom: 1.75rem;
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 1.25rem;
}

.message-title {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.message-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
}

.message-content {
  color: var(--text-main);
  font-size: 1.02rem;
  line-height: 1.8;
}

.message-content p {
  margin-bottom: 1.25rem;
}

.poem-lines {
  background-color: var(--bg-surface-alt);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--primary-dark);
  line-height: 1.8;
}

.quote-highlight {
  background-color: var(--primary-subtle);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-weight: 500;
}

.message-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* Accordion Component */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast);
}

.accordion-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.accordion-trigger:hover {
  background-color: var(--bg-surface-alt);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background-color: var(--accent);
  color: #FFFFFF;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. CONTACT PAGE COMPONENTS
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-detail-group {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(122, 18, 40, 0.15);
}

.contact-detail-item h4 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
}

.contact-detail-item p,
.contact-detail-item a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-detail-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Form Styling */
.form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-label .required {
  color: #C0392B;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(122, 18, 40, 0.12);
  outline: none;
}

.form-control.error {
  border-color: #C0392B;
}

.form-error {
  color: #C0392B;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.form-error.visible {
  display: block;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-success-message {
  display: none;
  background-color: #E8F5E9;
  border: 1px solid #A5D6A7;
  color: #1B5E20;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.form-success-message.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Map Embed Wrapper */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
  height: 400px;
  background-color: var(--bg-surface-alt);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------------------------------------------------
   13. LEGAL / POLICY CONTENT STYLES
   -------------------------------------------------------------------------- */
.policy-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.policy-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-light);
}

.policy-content h2 {
  font-size: 1.6rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.policy-content h3 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.policy-content p {
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.policy-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-main);
  line-height: 1.7;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   14. FOOTER (SHARED LAYOUT)
   -------------------------------------------------------------------------- */
.site-footer {
  background: #1C050B;
  color: #E6D8DB;
  margin-top: auto;
  border-top: 4px solid var(--accent);
  position: relative;
}

.footer-top {
  padding: 4.5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr;
  gap: 3.5rem;
}

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

.footer-brand .brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.footer-brand .brand-logo {
  width: 58px;
  height: 58px;
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 2px;
}

.footer-brand .brand-name {
  color: #FFFFFF;
  font-size: 1.35rem;
}

.footer-brand .brand-sub {
  color: var(--accent-light);
}

.footer-desc {
  font-size: 0.92rem;
  color: #D3BFC3;
  line-height: 1.65;
  margin-top: 0.5rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--accent);
}

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

.footer-links a {
  color: #D3BFC3;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--accent-light);
  transform: translateX(3px);
}

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

.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: #D3BFC3;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #D3BFC3;
}

.footer-contact-item a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.88rem;
  color: #A89599;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #A89599;
  font-size: 0.85rem;
}

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

.footer-credit {
  font-size: 0.85rem;
  color: #A89599;
}

.footer-credit a {
  color: var(--accent-light);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-credit a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   14.5. GALLERY & LIGHTBOX COMPONENTS
   -------------------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.75rem;
}

.filter-btn {
  padding: 0.55rem 1.35rem;
  background-color: var(--bg-surface);
  color: var(--text-muted);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

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

.filter-btn.active {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(122, 18, 40, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.gallery-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item.hidden {
  display: none;
}

.gallery-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.gallery-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--bg-surface-muted);
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.07);
}

.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background-color: rgba(88, 11, 28, 0.88);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(25, 4, 8, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: scale(0.85);
  transition: transform var(--transition-fast);
}

.gallery-card:hover .gallery-zoom-icon {
  transform: scale(1);
}

.gallery-card-body {
  padding: 1.25rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.gallery-card-title {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.gallery-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background-color: rgba(18, 3, 7, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-dialog {
  position: relative;
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-box {
  position: relative;
  max-height: 70vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  background-color: #000;
}

.lightbox-img-box img {
  max-height: 70vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-caption {
  margin-top: 1.25rem;
  text-align: center;
  color: #FFFFFF;
}

.lightbox-caption h3 {
  color: #FFFFFF;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.lightbox-caption p {
  color: #D3BFC3;
  font-size: 0.92rem;
}

.lightbox-close-btn {
  position: absolute;
  top: -2.75rem;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color var(--transition-fast);
}

.lightbox-close-btn:hover {
  color: var(--accent-light);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.lightbox-nav-btn.prev {
  left: -4rem;
}

.lightbox-nav-btn.next {
  right: -4rem;
}

@media (max-width: 1100px) {
  .lightbox-nav-btn.prev { left: 1rem; }
  .lightbox-nav-btn.next { right: 1rem; }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-modal {
    padding: 1rem;
  }

  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }
}

/* --------------------------------------------------------------------------
   15. ANIMATIONS & KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

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

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border-bottom: 2px solid var(--accent);
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-xl);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    z-index: 999;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    background-color: var(--primary-subtle);
  }

  .header-cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  .header-cta .btn {
    width: 100%;
  }

  .hero {
    padding: 3.5rem 0;
    min-height: auto;
  }

  .message-card {
    padding: 2rem 1.5rem;
  }

  .policy-container {
    padding: 2rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.05rem;
  }

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

  .btn {
    width: 100%;
  }

  .fee-table th,
  .fee-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
  }
}
