/* 
  National Honor Society — Chattahoochee High School Chapter
  Design System & Stylesheet
  Colors: Yellow, NHS Royal Blue, White
*/

:root {
  /* Core Color Palette */
  --color-bg: #050e1d;              /* Deep Midnight Navy Background */
  --color-bg-secondary: #091a35;    /* Medium Navy for sections/containers */
  --color-bg-card: rgba(10, 27, 56, 0.72);
  --color-bg-light: #0e274e;        /* Elevated Navy Tone */
  
  /* NHS Official Theme Colors */
  --color-primary: #f5b324;         /* NHS Golden Yellow Accent */
  --color-primary-hover: #e09e14;
  --color-primary-glow: rgba(245, 179, 36, 0.28);
  
  --color-nhs-blue: #0b4ea2;        /* NHS Emblem Royal Blue */
  --color-nhs-blue-light: #206edb;
  --color-nhs-blue-glow: rgba(11, 78, 162, 0.45);
  
  --color-text-main: #f8faff;       /* Crisp White Text */
  --color-text-muted: #a4b7d4;      /* Soft Slate Blue Text */
  --color-border-subtle: rgba(255, 255, 255, 0.08);

  /* Glassmorphism */
  --glass-bg: rgba(10, 27, 56, 0.65);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(245, 179, 36, 0.4);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: auto; /* Handled smoothly via JS */
  scroll-padding-top: 85px;
}

/* Lenis Smooth Scroll Integration */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: auto !important;
}

/* Page Content Wrapper for End Bounce Effect */
#scroll-bounce-wrapper {
  will-change: transform;
  transform-origin: center top;
  backface-visibility: hidden;
}

/* Toast Notification Styling */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-bg-secondary);
  color: #ffffff;
  border: 1px solid var(--color-primary);
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.toast-notice svg {
  color: var(--color-primary);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Fixed decorative gradient — uses position:fixed so it never repaints on scroll */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(11, 78, 162, 0.32) 0%, transparent 70%),
    radial-gradient(circle at 10% 60%, rgba(245, 179, 36, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(11, 78, 162, 0.12) 0%, transparent 40%);
}

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

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

/* Utility Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.highlight {
  color: var(--color-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(245, 179, 36, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(245, 179, 36, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 620px;
  text-align: center;
  margin-bottom: 3.5rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #f7c355 100%);
  color: #050e1d;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(245, 179, 36, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffa000 0%, var(--color-primary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 179, 36, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(245, 179, 36, 0.18);
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 179, 36, 0.35);
}

.btn-outline-blue {
  background: rgba(11, 78, 162, 0.15);
  color: #a7ccff;
  border: 1px solid rgba(32, 110, 219, 0.4);
}

.btn-outline-blue:hover {
  background: rgba(245, 179, 36, 0.18);
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.9rem 0;
  z-index: 1000;
  border-bottom: 2px solid rgba(245, 179, 36, 0.4);
  transition: all var(--transition-fast);
  background: rgba(5, 14, 29, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar.scrolled {
  background: rgba(5, 14, 29, 0.94);
  border-bottom-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.brand-logos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-contrast-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(245, 179, 36, 0.3);
  transition: transform var(--transition-fast);
}

.brand:hover .logo-contrast-box {
  transform: scale(1.05);
}

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

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.76rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-text-main);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
  transition: width var(--transition-smooth);
}

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

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 26px;
  height: 2.5px;
  background-color: #fff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 14, 29, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

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

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  text-align: center;
  width: 80%;
  max-width: 320px;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  padding: 0.5rem;
}

.mobile-link:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

#intro-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4.5rem;
  width: 100%;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff;
}

.hero-title .highlight {
  display: block;
  background: linear-gradient(135deg, #ffd700 0%, #f5b324 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.65;
}

/* Two Primary Hero Action Cards/Buttons */
.hero-actions-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  max-width: 520px;
}

.hero-link-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.6rem;
  background: rgba(10, 27, 56, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  color: var(--color-text-main);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.hero-link-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--card-accent, var(--color-primary));
  transition: width var(--transition-smooth);
}

.hero-link-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent, var(--color-primary));
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 15px var(--card-glow, rgba(245, 179, 36, 0.25));
}

.hero-link-card:hover::before {
  width: 7px;
}

.card-forms-accent {
  --card-accent: #f5b324;
  --card-glow: rgba(245, 179, 36, 0.35);
}

.card-officers-accent {
  --card-accent: #2570d4;
  --card-glow: rgba(37, 112, 212, 0.35);
}

.hero-card-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--card-accent, var(--color-primary));
  transition: all var(--transition-smooth);
}

.hero-link-card:hover .hero-card-icon-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--card-accent, var(--color-primary));
  transform: scale(1.08);
}

.hero-card-content {
  flex: 1;
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
  transition: color var(--transition-fast);
}

.hero-link-card:hover .hero-card-title {
  color: var(--card-accent, var(--color-primary));
}

.hero-card-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.hero-card-arrow {
  flex-shrink: 0;
  opacity: 0.4;
  transition: all var(--transition-smooth);
}

.hero-link-card:hover .hero-card-arrow {
  opacity: 1;
  transform: translateX(5px);
  color: var(--card-accent, var(--color-primary));
}

/* Hero Visual: High-Contrast Showcase for Logos */
.hero-visual-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.8rem 2rem;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08) 0%, rgba(10, 27, 56, 0.75) 100%);
  border: 1px solid rgba(245, 179, 36, 0.25);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(11, 78, 162, 0.25);
}

.showcase-logos-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin-bottom: 1.8rem;
}

.showcase-badge-box {
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fb 100%);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.showcase-badge-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), 0 0 20px rgba(245, 179, 36, 0.3);
}

.showcase-logo-chs {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.showcase-logo-nhs {
  width: 125px;
  height: 125px;
  object-fit: contain;
}

.showcase-divider {
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
  opacity: 0.6;
}

.showcase-caption {
  text-align: center;
}

.showcase-school-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.showcase-pills {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.pill-item {
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
  border: 1px solid var(--border-subtle);
}

.pill-item.active {
  background: rgba(11, 78, 162, 0.25);
  color: #cde1ff;
  border-color: rgba(37, 112, 212, 0.5);
}

/* ==========================================================================
   Section 2: Hours Embed Section
   ========================================================================== */
.hours-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 50%, var(--color-bg) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.hours-header-wrapper {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hours-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  width: 100%;
  flex-wrap: wrap;
  gap: 1rem;
}

.hours-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #2ed573;
  border-radius: 50%;
  box-shadow: 0 0 10px #2ed573;
}

.sheet-frame-card {
  width: 100%;
  height: 700px;
  border-radius: 22px;
  border: 1px solid rgba(245, 179, 36, 0.25);
  background: #ffffff;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
}

.sheet-frame-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ==========================================================================
   Section 3: Contact Us / Officers
   ========================================================================== */
.officers-section {
  position: relative;
}

.featured-email-banner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 4rem;
  padding: 2.2rem 2.5rem;
  background: linear-gradient(135deg, rgba(11, 78, 162, 0.25) 0%, rgba(10, 27, 56, 0.8) 100%);
  border: 1px solid rgba(245, 179, 36, 0.35);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.featured-email-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.featured-email-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(245, 179, 36, 0.15);
  border: 1px solid rgba(245, 179, 36, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.featured-email-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.featured-email-address {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.featured-email-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.copy-btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
}

/* Officers Grid */
.officers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  width: 100%;
}

.officer-card {
  padding: 2.6rem 2rem;
  text-align: center;
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition-fast), background var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.officer-avatar-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 179, 36, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  transition: all var(--transition-smooth);
}

.officer-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  transition: color var(--transition-smooth);
}

.officer-title {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition-smooth);
}

.officer-school {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
}

.officer-contact-wrap {
  width: 100%;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.officer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  background: rgba(11, 78, 162, 0.25);
  border: 1px solid rgba(32, 110, 219, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  word-break: break-all;
}

.officer-email-link:hover {
  background: rgba(245, 179, 36, 0.18);
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 179, 36, 0.3);
}

.officer-placeholder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.84rem;
}

.officer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 179, 36, 0.45);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 179, 36, 0.25);
}

.officer-card:hover .officer-avatar-box {
  transform: scale(1.1);
  background: rgba(245, 179, 36, 0.2);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 2rem 2rem;
  background-color: #030812;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand-text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand-text p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-email-box a,
.footer-email-box button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.footer-email-box a:hover,
.footer-email-box button:hover {
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1240px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--color-text-muted);
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Toast Notification for Copy Action
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-primary);
  color: #050e1d;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.4rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero-text-block {
    align-items: center;
  }

  .badge {
    align-self: center;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-actions-container {
    margin: 0 auto;
    width: 100%;
  }

  .sheet-frame-card {
    height: 600px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-wrapper {
    padding: 7rem 0 4rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .featured-email-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .featured-email-info {
    flex-direction: column;
    text-align: center;
  }

  .featured-email-actions {
    flex-direction: column;
    width: 100%;
  }

  .featured-email-actions .btn {
    width: 100%;
  }

  .sheet-frame-card {
    height: 520px;
  }
}

@media (max-width: 480px) {
  .showcase-logos-container {
    gap: 1rem;
  }
  
  .showcase-badge-box {
    padding: 1rem;
  }
  
  .showcase-logo-chs {
    width: 85px;
    height: 85px;
  }

  .showcase-logo-nhs {
    width: 95px;
    height: 95px;
  }

  .featured-email-address {
    font-size: 1.25rem;
  }
}
