/* ==========================================================================
   SuAst Global Care - Global Stylesheet (style.css)
   Brand Colors, Typography, Reset, Shared Components, Header & Footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (DESIGN SYSTEM TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette derived from SuAst Logo */
  --color-navy: #16326E;
  --color-navy-dark: #0F224A;
  --color-navy-light: #204593;
  --color-sky-blue: #29ABE2;
  --color-sky-light: #EBF8FF;
  --color-magenta: #E5027F;
  --color-magenta-hover: #C5006C;
  --color-green: #8DC63F;
  --color-green-light: #F2F9E8;
  --color-orange: #F7941E;
  --color-orange-light: #FEF4E8;
  --color-red: #ED1C24;
  --color-red-light: #FDE8E9;
  --color-yellow: #FFD200;

  /* Neutral Surface & Background Colors */
  --bg-white: #FFFFFF;
  --bg-offwhite: #F7FAFC;
  --bg-subtle: #EDF2F7;
  --bg-dark-footer: #0E1F45;

  /* Typography Colors */
  --text-main: #2E2E38;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --text-white: #FFFFFF;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #16326E 0%, #29ABE2 100%);
  --gradient-accent: linear-gradient(135deg, #16326E 0%, #E5027F 100%);
  --gradient-ring: linear-gradient(135deg, #29ABE2, #8DC63F, #F7941E, #E5027F);
  --gradient-subtle: linear-gradient(180deg, #F7FAFC 0%, #FFFFFF 100%);
  --gradient-hero: linear-gradient(135deg, rgba(22, 50, 110, 0.03) 0%, rgba(41, 171, 226, 0.08) 100%);

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

  /* Elevation / Shadows */
  --shadow-sm: 0 2px 8px rgba(22, 50, 110, 0.05);
  --shadow-md: 0 8px 24px rgba(22, 50, 110, 0.08);
  --shadow-lg: 0 16px 36px rgba(22, 50, 110, 0.12);
  --shadow-hover: 0 20px 40px rgba(22, 50, 110, 0.16);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container Widths */
  --container-max: 1240px;
  --container-narrow: 840px;
  --header-height: 82px;
}

/* --------------------------------------------------------------------------
   2. 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);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg-white);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Accessibility: Skip to main content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--color-navy);
  color: var(--text-white);
  padding: 12px 20px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 20px;
}

/* Accessibility: Focus outlines */
:focus-visible {
  outline: 3px solid var(--color-sky-blue);
  outline-offset: 3px;
}

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

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-magenta);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1.2rem;
  color: var(--text-main);
}
p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. LAYOUT CONTAINERS & 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: var(--container-narrow);
}

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

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

.bg-offwhite {
  background-color: var(--bg-offwhite);
}
.bg-navy {
  background-color: var(--color-navy);
  color: var(--text-white);
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.section-header {
  margin-bottom: 3rem;
}
.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Section Eyebrow Badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: var(--color-sky-light);
  color: var(--color-navy);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(41, 171, 226, 0.2);
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-magenta);
}

/* --------------------------------------------------------------------------
   4. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.875rem 2.25rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius-full);
  border: 0;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal), color var(--transition-normal);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  background-origin: border-box;
  text-align: center;
  min-width: 140px;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-white);
  border: 0;
  box-shadow: 0 4px 14px rgba(229, 2, 127, 0.3);
}
.btn-primary:hover {
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(229, 2, 127, 0.45);
  background: linear-gradient(135deg, #102656 0%, #C5006C 100%);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  padding: calc(0.875rem - 2px) calc(2.25rem - 2px);
}
.btn-secondary:hover {
  background-color: var(--color-navy);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--color-navy);
  border: 0;
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background-color: var(--color-sky-light);
  color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

/* --------------------------------------------------------------------------
   5. HEADER & STICKY NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: box-shadow var(--transition-normal), background-color var(--transition-normal);
  border-bottom: 1px solid rgba(22, 50, 110, 0.06);
}

.site-header .container {
  max-width: 1100px;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

/* Logo Block */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-img {
  height: 62px;
  max-height: 64px;
  width: auto;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand-title .accent-a {
  color: var(--color-magenta);
}
.brand-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-sky-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-ring);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-navy);
}

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

/* Header Action Button */
.header-cta {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header-cta .btn {
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: max-content;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
  aria-expanded: false;
}
.hamburger-icon {
  width: 26px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger-line {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Mobile Nav Open State */
.mobile-nav-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.mobile-nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. FOOTER STYLES
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-dark-footer);
  color: var(--bg-subtle);
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  margin-top: auto;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo-img {
  height: 64px;
  max-height: 70px;
  width: auto;
  object-fit: contain;
}
.footer-brand-title {
  color: var(--text-white);
  font-size: 1.35rem;
  font-weight: 800;
}
.footer-brand-title .accent-a {
  color: var(--color-magenta);
}
.footer-description {
  color: #A0AEC0;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.footer-motto {
  display: inline-block;
  color: var(--color-sky-blue);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.footer-heading {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-magenta);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  color: #CBD5E0;
  font-size: 0.9375rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--color-sky-blue);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9375rem;
  color: #CBD5E0;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.footer-contact-icon {
  width: 20px;
  height: 20px;
  color: var(--color-sky-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Footer Emergency Disclaimer Banner */
.footer-emergency-note {
  background-color: rgba(237, 28, 36, 0.12);
  border-left: 4px solid var(--color-red);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-emergency-note p {
  color: #FEB2B2;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}
.footer-emergency-icon {
  width: 24px;
  height: 24px;
  color: var(--color-red);
  flex-shrink: 0;
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: #718096;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: all var(--transition-fast);
}
.social-icon:hover {
  background-color: var(--color-sky-blue);
  color: var(--text-white);
  transform: translateY(-2px);
}
.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   7. COMMON CARDS & REUSABLE COMPONENTS
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(22, 50, 110, 0.06);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-sky-light);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.icon-box svg {
  width: 28px;
  height: 28px;
  stroke-width: 2px;
}
.icon-box.accent-magenta {
  background: rgba(229, 2, 127, 0.1);
  color: var(--color-magenta);
}
.icon-box.accent-green {
  background: var(--color-green-light);
  color: var(--color-green);
}
.icon-box.accent-orange {
  background: var(--color-orange-light);
  color: var(--color-orange);
}

/* Trust Bar / Feature Strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(22, 50, 110, 0.06);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-sky-light);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 22px;
  height: 22px;
}
.trust-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.trust-text p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* Disclaimer Callout Box */
.notice-box {
  background-color: var(--color-sky-light);
  border: 1px solid rgba(41, 171, 226, 0.3);
  border-left: 5px solid var(--color-sky-blue);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.notice-box.warning {
  background-color: var(--color-orange-light);
  border-color: rgba(247, 148, 30, 0.3);
  border-left-color: var(--color-orange);
}
.notice-box.danger {
  background-color: var(--color-red-light);
  border-color: rgba(237, 28, 36, 0.3);
  border-left-color: var(--color-red);
}
.notice-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-navy);
  margin-top: 2px;
}
.notice-box.warning .notice-icon { color: var(--color-orange); }
.notice-box.danger .notice-icon { color: var(--color-red); }
.notice-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.notice-content p {
  font-size: 0.9375rem;
  color: var(--text-main);
  margin: 0;
  line-height: 1.6;
}

/* Floating Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--text-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-magenta);
  transform: translateY(-4px);
}
.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   REUSABLE TWO-WAY SCROLL REVEAL & INTERACTION SYSTEM
   ========================================================================== */

/* 1. Hero / Page Load Entrance Animations */
@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-entrance {
  animation: heroFadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-entrance-delay-1 { animation-delay: 0.1s; }
.hero-entrance-delay-2 { animation-delay: 0.2s; }
.hero-entrance-delay-3 { animation-delay: 0.3s; }
.hero-entrance-delay-4 { animation-delay: 0.4s; }

/* 2. Safe Fallback: Default State is Fully Visible unless JS is Active */
.scroll-reveal,
.scroll-reveal-left,
.scroll-reveal-right,
.scroll-reveal-scale,
.animate-on-scroll,
.animate-fade-up {
  opacity: 1;
  transform: none;
}

/* When JS initializes, apply initial hidden states for smooth two-way reveal */
html.js-ready .scroll-reveal,
html.js-ready .scroll-reveal-left,
html.js-ready .scroll-reveal-right,
html.js-ready .scroll-reveal-scale,
html.js-ready .animate-on-scroll,
html.js-ready .animate-fade-up,
html.js-ready .section-header,
html.js-ready .container-narrow-centered,
html.js-ready .cta-banner,
html.js-ready .question-list-card,
html.js-ready .card,
html.js-ready .step-card,
html.js-ready .service-card-grid-item,
html.js-ready .contact-audience-card,
html.js-ready .mission-card,
html.js-ready .vision-card,
html.js-ready .value-card-item {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-ready .scroll-reveal,
html.js-ready .animate-on-scroll,
html.js-ready .animate-fade-up,
html.js-ready .section-header,
html.js-ready .container-narrow-centered,
html.js-ready .cta-banner,
html.js-ready .question-list-card,
html.js-ready .card,
html.js-ready .step-card,
html.js-ready .service-card-grid-item,
html.js-ready .contact-audience-card,
html.js-ready .mission-card,
html.js-ready .vision-card,
html.js-ready .value-card-item {
  transform: translateY(50px);
}

html.js-ready .scroll-reveal-left {
  transform: translateX(-50px);
}

html.js-ready .scroll-reveal-right {
  transform: translateX(50px);
}

html.js-ready .scroll-reveal-scale,
html.js-ready .animate-fade-scale {
  opacity: 0;
  transform: scale(0.90);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Two-Way Visible State (is-visible or revealed) */
html.js-ready .scroll-reveal.is-visible,
html.js-ready .scroll-reveal-left.is-visible,
html.js-ready .scroll-reveal-right.is-visible,
html.js-ready .scroll-reveal-scale.is-visible,
html.js-ready .section-header.is-visible,
html.js-ready .container-narrow-centered.is-visible,
html.js-ready .cta-banner.is-visible,
html.js-ready .question-list-card.is-visible,
html.js-ready .card.is-visible,
html.js-ready .step-card.is-visible,
html.js-ready .service-card-grid-item.is-visible,
html.js-ready .contact-audience-card.is-visible,
html.js-ready .mission-card.is-visible,
html.js-ready .vision-card.is-visible,
html.js-ready .value-card-item.is-visible,
html.js-ready .scroll-reveal.revealed,
html.js-ready .scroll-reveal-left.revealed,
html.js-ready .scroll-reveal-right.revealed,
html.js-ready .scroll-reveal-scale.revealed,
html.js-ready .animate-on-scroll.animated,
html.js-ready .animate-fade-up.animated,
html.js-ready .animate-fade-scale.animated {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Reusable Subtle Staggered Delays (0ms, 100ms, 200ms, 300ms, 400ms) */
.scroll-reveal-delay-1, .stagger-1 { transition-delay: 0.10s !important; }
.scroll-reveal-delay-2, .stagger-2 { transition-delay: 0.20s !important; }
.scroll-reveal-delay-3, .stagger-3 { transition-delay: 0.30s !important; }
.scroll-reveal-delay-4, .stagger-4 { transition-delay: 0.40s !important; }
.scroll-reveal-delay-5, .stagger-5 { transition-delay: 0.50s !important; }

/* 3. Separate Mouse / Hover Interaction Micro-Effects */
.hover-lift {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.hover-zoom {
  overflow: hidden;
}
.hover-zoom img {
  transition: transform var(--transition-slow);
}
.hover-zoom:hover img {
  transform: scale(1.03);
}

.btn, .btn-primary, .btn-secondary, .btn-outline {
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.btn:hover, .btn-primary:hover, .btn-secondary:hover, .btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 50, 110, 0.12);
}
.btn:active, .btn-primary:active, .btn-secondary:active, .btn-outline:active {
  transform: translateY(0);
}

/* 4. Accessibility: Reduced Motion Support */
@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;
  }
  .scroll-reveal,
  .scroll-reveal-left,
  .scroll-reveal-right,
  .scroll-reveal-scale,
  .animate-on-scroll,
  .animate-fade-up,
  .animate-fade-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE BREAKPOINTS (480px, 768px, 1024px, 1280px)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

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

  .logo-img {
    height: 56px;
    max-height: 58px;
  }
  
  .mobile-nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    margin-left: 0;
    flex: none;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    position: static;
    left: auto;
    transform: none;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 1.25rem;
    margin-left: 0;
    margin-right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-subtle);
  }

  .header-cta {
    width: 100%;
    margin-top: 1rem;
  }
  .header-cta .btn {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   8. EXTERNAL UTILITY & HELPER CLASSES (For Clean Style Offloading)
   -------------------------------------------------------------------------- */
.text-navy-bold {
  font-weight: 700;
  color: var(--color-navy);
}
.text-navy-semibold {
  font-weight: 600;
  color: var(--color-navy);
}
.text-navy-title {
  color: var(--color-navy);
  font-weight: 700;
}
.text-navy-subheading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
}
.text-navy-tagline {
  color: var(--color-sky-blue);
  font-size: 1.1rem;
  font-weight: 600;
}
.text-magenta-motto {
  color: var(--color-magenta);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.text-white-bold {
  font-weight: 700;
  color: var(--text-white);
}
.text-red-bold {
  font-weight: 700;
  color: var(--color-red);
}
.text-muted-sm {
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.text-muted-xs {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.btn-group-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.btn-full-width {
  width: 100%;
}

.btn-compact-disclaimer {
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
}

.container-narrow-centered {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.container-medium-centered {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.container-wide-centered {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.section-header-compact {
  margin-bottom: 1.75rem;
  text-align: center;
}

.section-header-flush {
  margin-bottom: 0;
  text-align: center;
}

.footer-adjacent-closing {
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  background-color: var(--bg-dark-footer);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-closing-title {
  color: var(--text-white);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.footer-closing-motto {
  color: var(--color-magenta);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.footer-closing-copy {
  color: var(--text-white);
  opacity: 0.85;
  font-size: 0.9rem;
  margin: 0;
}

.badge-magenta-soft {
  background: rgba(229, 2, 127, 0.08);
}

/* Step Tags & Color Utilities */
.step-tag {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.35rem;
}
.text-sky { color: var(--color-sky-blue); }
.text-magenta { color: var(--color-magenta); }
.text-green { color: var(--color-green); }
.text-orange { color: var(--color-orange); }

.border-sky-top { border-top-color: var(--color-sky-blue) !important; }

.question-list-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(22, 50, 110, 0.08);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.question-item {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-navy);
  margin: 0;
}

/* Margin Spacing Utilities */

.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }


