/**
 * RANI JAI HSS NIRMALAGIRI ALUMNI PORTAL
 * Official Stylesheet - Modern, Clean, Professional Redesign
 * Uses Strict Official Brand Color Palette
 */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Primary Brand Colors – Deep Royal Navy */
  --primary-navy: #0a254a;
  --primary-light: #163d74;
  --primary-dark: #06162c;

  /* Accent Colors – Warm Academic Gold */
  --accent-gold: #e59b0f;
  --accent-light: #ffb72b;
  --accent-dark: #b87802;
  --gold-gradient: linear-gradient(135deg, #f5ad24 0%, #d47e00 100%);

  /* Secondary Color */
  --secondary-teal: #0e8388;

  /* Background Colors */
  --bg-white: #ffffff;
  --bg-body: #f8fafc;
  --bg-alternate: #f1f5f9;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  /* Border Colors */
  --border-standard: #e2e8f0;
  --border-dark-surface: rgba(255, 255, 255, 0.15);

  /* System Feedback Colors */
  --color-success: #16a34a;
  --color-success-bg: #f0fdf4;
  --color-danger: #dc2626;
  --color-danger-bg: #fef2f2;
  --color-warning: #d97706;
  --color-warning-bg: #fffbeb;
  --color-info: #0284c7;
  --color-info-bg: #eff6ff;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(10, 37, 74, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(10, 37, 74, 0.08), 0 2px 4px -1px rgba(10, 37, 74, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(10, 37, 74, 0.1), 0 4px 6px -2px rgba(10, 37, 74, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(10, 37, 74, 0.12), 0 10px 10px -5px rgba(10, 37, 74, 0.04);

  /* Typography Families */
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

main {
  flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6,
.font-serif {
  font-family: var(--font-serif);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.3;
}

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

a:hover {
  color: var(--accent-gold);
}

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

/* ==========================================================================
   Top Announcement Bar & Header
   ========================================================================== */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-dark-surface);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-bar-quote {
  font-style: italic;
  color: #cbd5e1;
}

.top-bar-quote span {
  color: var(--accent-light);
  font-weight: 600;
}

.top-bar-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.top-bar-links a {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-bar-links a:hover {
  color: var(--accent-light);
}

/* Main Navigation Bar */
.site-header {
  background-color: var(--primary-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(6, 22, 44, 0.25);
  border-bottom: 2px solid var(--accent-gold);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-link.active {
  color: #ffffff;
  background-color: var(--primary-light);
}

.nav-link.active {
  border-bottom: 2px solid var(--accent-gold);
}

/* Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-dark);
  min-width: 250px;
  box-shadow: var(--shadow-xl);
  border-radius: 8px;
  border: 1px solid var(--border-dark-surface);
  padding: 8px 0;
  display: none;
  flex-direction: column;
  z-index: 1010;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-item:hover .dropdown-menu {
  display: flex;
}

.dropdown-item {
  color: #e2e8f0;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: var(--primary-light);
  color: var(--accent-light);
  padding-left: 22px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 2px;
}

/* Nav CTA Button */
.nav-btn {
  background: var(--gold-gradient);
  color: var(--primary-dark) !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: 50px !important;
  box-shadow: 0 2px 8px rgba(229, 155, 15, 0.4);
  margin-left: 10px;
}

.nav-btn:hover {
  background: linear-gradient(135deg, #ffb72b 0%, #e59b0f 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 155, 15, 0.5);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-dark-surface);
  color: #ffffff;
  font-size: 1.4rem;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* ==========================================================================
   Hero Banners & Page Headers
   ========================================================================== */
.hero-banner {
  position: relative;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 90px 20px;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(6, 22, 44, 0.82) 0%, rgba(10, 37, 74, 0.90) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: rgba(229, 155, 15, 0.15);
  color: var(--accent-light);
  border: 1px solid rgba(229, 155, 15, 0.4);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.75rem;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.25;
}

.hero-lead {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 30px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Banner */
.page-header {
  position: relative;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  color: #ffffff;
  border-bottom: 3px solid var(--accent-gold);
}

.page-header .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(6, 22, 44, 0.88) 0%, rgba(10, 37, 74, 0.85) 100%);
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.page-header h1 {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  color: #cbd5e1;
}

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

/* ==========================================================================
   Buttons & CTA Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(229, 155, 15, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffb72b 0%, #e59b0f 100%);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 155, 15, 0.4);
}

.btn-navy {
  background-color: var(--primary-navy);
  color: #ffffff;
}

.btn-navy:hover {
  background-color: var(--primary-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 37, 74, 0.3);
}

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

.btn-outline-navy:hover {
  background-color: var(--primary-navy);
  color: #ffffff;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

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

.btn-teal {
  background-color: var(--secondary-teal);
  color: #ffffff;
}

.btn-teal:hover {
  background-color: #0b6c70;
  color: #ffffff;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.1rem;
  border-radius: 10px;
}

/* ==========================================================================
   Section Layouts & Containers
   ========================================================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
}

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

.section-navy {
  background-color: var(--primary-navy);
  color: #ffffff;
}

.section-navy h2, 
.section-navy h3, 
.section-navy h4 {
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  color: var(--accent-gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: 15px auto;
  border-radius: 2px;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.section-navy .section-description {
  color: #cbd5e1;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

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

/* ==========================================================================
   Cards & Content Components
   ========================================================================== */
.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-standard);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229, 155, 15, 0.4);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-alternate);
  height: 220px;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.card-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gold-gradient);
  color: var(--primary-dark);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
}

.card-body {
  padding: 24px;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  align-items: center;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.card-title a {
  color: var(--primary-navy);
}

.card-title a:hover {
  color: var(--accent-gold);
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.card-footer {
  padding: 16px 24px;
  background-color: var(--bg-alternate);
  border-top: 1px solid var(--border-standard);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Leadership Card */
.leader-card {
  text-align: center;
  background: var(--bg-white);
  border-radius: 12px;
  padding: 25px 20px;
  border: 1px solid var(--border-standard);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.leader-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px auto;
  border: 4px solid var(--primary-navy);
  box-shadow: 0 4px 10px rgba(10, 37, 74, 0.15);
  transition: var(--transition);
}

.leader-card:hover .leader-avatar {
  border-color: var(--accent-gold);
  transform: scale(1.03);
}

.leader-name {
  font-size: 1.2rem;
  font-family: var(--font-serif);
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.leader-role {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.leader-badge {
  display: inline-block;
  background-color: var(--bg-alternate);
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}

/* Patron Feature Section */
.patron-feature {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-standard);
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.patron-img {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  object-fit: cover;
  border: 4px solid var(--accent-gold);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.patron-info h3 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.patron-role {
  font-size: 1.05rem;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 15px;
}

.patron-quote {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Quote/Poem Block */
.poem-box {
  background: linear-gradient(135deg, rgba(10, 37, 74, 0.04) 0%, rgba(229, 155, 15, 0.06) 100%);
  border-left: 4px solid var(--accent-gold);
  padding: 30px;
  border-radius: 0 12px 12px 0;
  margin: 30px 0;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--primary-navy);
}

.poem-box cite {
  display: block;
  margin-top: 15px;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Gallery & Lightbox
   ========================================================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 35px;
}

.filter-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-standard);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary-navy);
  background-color: var(--bg-alternate);
}

.filter-btn.active {
  background: var(--gold-gradient);
  color: var(--primary-dark);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(229, 155, 15, 0.35);
}

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

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-alternate);
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 22, 44, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #ffffff;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-caption {
  font-size: 0.95rem;
  font-weight: 600;
}

.gallery-tag {
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(6, 22, 44, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

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

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 15px;
  font-size: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 37, 74, 0.7);
  color: #ffffff;
  border: 1px solid var(--border-dark-surface);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ==========================================================================
   Forms & Controls
   ========================================================================== */
.form-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border-standard);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

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

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

.form-label .required {
  color: var(--color-danger);
}

.form-control,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-body);
  border: 1px solid var(--border-standard);
  border-radius: 8px;
  transition: var(--transition);
  outline: none;
}

.form-control:focus,
.form-select:focus {
  background-color: #ffffff;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(229, 155, 15, 0.2);
}

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

.form-radio-group {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}

.form-radio-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.form-help {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* System Alerts */
.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  border-left: 4px solid transparent;
}

.alert-success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border-color: var(--color-success);
}

.alert-danger {
  background-color: var(--color-danger-bg);
  color: var(--color-danger);
  border-color: var(--color-danger);
}

.alert-warning {
  background-color: var(--color-warning-bg);
  color: var(--color-warning);
  border-color: var(--color-warning);
}

.alert-info {
  background-color: var(--color-info-bg);
  color: var(--color-info);
  border-color: var(--color-info);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding-top: 60px;
  border-top: 3px solid var(--accent-gold);
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr;
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-navy);
  border: 1px solid var(--border-dark-surface);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.footer-bottom {
  background-color: #040e1c;
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title { font-size: 2.2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .patron-feature { flex-direction: column; text-align: center; }
  
  .mobile-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    padding: 20px;
    box-shadow: var(--shadow-xl);
    border-top: 1px solid var(--border-dark-surface);
  }
  .main-nav.active { display: block; }
  .nav-list { flex-direction: column; width: 100%; gap: 10px; }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; }
  .dropdown-menu {
    position: static;
    display: none;
    background-color: rgba(10, 37, 74, 0.5);
    box-shadow: none;
    border: none;
    padding-left: 15px;
  }
  .nav-item.dropdown-open .dropdown-menu { display: flex; }
  .nav-btn { margin-left: 0; margin-top: 10px; width: 100%; text-align: center; }
}

@media (max-width: 640px) {
  .top-bar-inner { flex-direction: column; gap: 6px; text-align: center; }
  .hero-title { font-size: 1.8rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .gallery-item { height: 160px; }
}
