:root {
  /* Brand Colors from Logo */
  --color-primary-red: #ED1C24;
  --color-primary-orange: #F7931E;
  --color-primary-blue: #2E3192;
  --color-light-blue: #00AEEF;
  --color-teal: #00A79D;
  --color-lime: #8CC63F;

  /* Modern Palette for the Bento Design */
  --color-bg-gradient-start: #FFE4CC;
  --color-bg-gradient-end: #FFFFFF;
  --color-card-bg: #FFFFFF;
  
  /* Accent stat box colors */
  --color-stat-purple: var(--color-primary-blue);
  --color-stat-orange: var(--color-primary-orange);
  --color-stat-blue: var(--color-light-blue);
  --color-stat-yellow: var(--color-lime);

  /* Text Colors */
  --color-text-dark: #000000;
  --color-text-gray: #000000;
  --color-text-light: #FFFFFF;

  /* Typography */
  --font-heading: 'Lato', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 48px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;

  /* Shadows */
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.1);
  --shadow-floating: 0 30px 60px rgba(247, 147, 30, 0.15);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: #FFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: -10;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 245, 214, 0.4) 0%, rgba(237, 28, 36, 0.04) 25%, #ffffff 50%, rgba(140, 198, 63, 0.04) 75%, rgba(255, 245, 214, 0.4) 100%);
  transform: translateZ(0); /* Cache the underlying huge gradient texture */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  color: var(--color-text-gray);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

/* App Wrapper styling */
.app-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  background-color: transparent;
  width: 100%;
  position: relative;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 1440px;
  width: 100%;
  padding: 24px var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  top: 16px;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: none; /* Prevent lenis inherited offsets */
  width: calc(100% - 32px);
  max-width: 1400px; /* Increased to house all 7 links safely */
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* White pill sticky shadow */
  border-radius: var(--radius-full);
}

.logo-container {
  display: flex;
  align-items: center;
  background: transparent;
}

.header-nav {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  background: transparent;
  padding: 8px 16px;
  white-space: nowrap;
}

.nav-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: color 0.2s;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
}

.btn-primary {
  background: var(--color-primary-orange);
  color: var(--color-text-dark);
}

.btn-primary:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 10px 20px rgba(247, 147, 30, 0.3), 0 0 15px rgba(247, 147, 30, 0.5); /* Lift + Glow */
}

.btn-secondary {
  background: var(--color-primary-blue);
  color: var(--color-text-light);
}

.btn-secondary:hover {
  background: #1f2770;
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 10px 20px rgba(46, 49, 146, 0.3), 0 0 15px rgba(46, 49, 146, 0.5); /* Glow */
}

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

.btn-outline:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Fix CSS Containing Block bug on mobile menu */
.site-header.reveal.active {
  transform: none !important;
}

/* Utility Layout */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Dynamic Hero Section */
.hero {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: var(--space-3xl);
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  display: flex;
  align-items: center;
  padding: var(--space-3xl);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
  z-index: -1;
}

.hero-content {
  width: 100%;
  max-width: 60%;
  z-index: 10;
  color: var(--color-text-light);
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
  line-height: 1.1;
}

.hero-title span {
  color: var(--color-primary-orange);
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-lg);
}

/* Floating Donate Widget Overlay */
.floating-widget {
  position: absolute;
  right: var(--space-sm);
  bottom: -220px;
  left: auto;
  background: var(--color-card-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-xl) var(--space-xl) 56px;
  width: 440px;
  max-width: 100%;
  box-shadow: var(--shadow-floating);
  z-index: 50;
}

.widget-tabs {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid #eee;
  padding-bottom: var(--space-xs);
}

.widget-tab {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-gray);
  cursor: pointer;
}

.widget-tab.active {
  color: var(--color-text-dark);
  border-bottom: 2px solid var(--color-primary-orange);
}

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
  margin: var(--space-md) 0;
}

.amt-btn {
  background: #FFF5E5;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-weight: 600;
  color: var(--color-primary-orange);
  cursor: pointer;
  transition: all 0.2s;
}

.amt-btn.active, .amt-btn:hover {
  background: var(--color-primary-orange);
  color: var(--color-text-dark);
}

/* Support Inline Title */
.support-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: var(--space-xl);
}

.support-inline h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  max-width: 600px;
  line-height: 1.15;
}

.drawn-arrow {
  width: 100px;
  height: auto;
  color: var(--color-primary-orange);
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: var(--space-md);
  margin-bottom: 0;
}

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

.bento-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
  transform: translateY(-4px) perspective(1000px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15); /* Lift + Shadow */
}

.card-span-2 { grid-column: span 2; }
.card-span-3 { grid-column: span 3; }
.card-span-4 { grid-column: span 4; }
.row-span-2 { grid-row: span 2; }

.card-image-full {
  padding: 0;
}

.card-image-full img, .bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-image-full .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* Stat Cards */
.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.stat-card.purple { background: var(--color-stat-purple); }
.stat-card.orange { background: var(--color-stat-orange); }
.stat-card.blue { background: var(--color-stat-blue); }
.stat-card.yellow { background: var(--color-stat-yellow); color: var(--color-text-dark); }

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-weight: 500;
  opacity: 0.9;
}

/* Special Impact Card Layout */
.impact-hero-card {
  background: var(--color-primary-blue);
  color: white;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-0); /* Use image on one side */
}

.ih-content {
  padding: var(--space-xl);
  flex: 1;
}

.ih-content h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.ih-image {
  flex: 1;
  height: 100%;
}
.ih-image img {
  height: 100%;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

/* Programs section inside Bento framework */
.program-pill {
  display: inline-flex;
  background: var(--color-bg-gradient-start);
  color: var(--color-primary-orange);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.bento-card h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-xs);
}

.bento-card p {
  font-size: 0.95rem;
}

/* Footer modern look */
.footer-bento {
  background: #000;
  color: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-top: 0;
}

.footer-bento h4 {
  color: white;
  margin-bottom: var(--space-md);
}

.footer-bento p, .footer-bento a {
  color: #fff;
  font-size: 0.95rem;
}

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

/* Decorative Shapes */
@keyframes ambient-drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -60px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -3;
  transform: translateZ(0); /* Hardware composite layer to isolate blur repaint cost */
}
.blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(237, 28, 36, 0.09);
  top: 10%;
  left: -100px;
}
.blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(140, 198, 63, 0.09);
  bottom: 20%;
  right: -200px;
  animation-delay: -10s;
  animation-duration: 25s;
}

/* Icon Frame Animations */
.icon-frame {
  width: 56px;
  height: 56px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}

@keyframes blob-morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  67% { border-radius: 50% 50% 30% 70% / 50% 70% 30% 50%; }
  100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

@keyframes pulse-soft {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.pulse-anim {
  animation: blob-morph 6s ease-in-out infinite, pulse-soft 3s infinite ease-in-out;
}

/* Responsive Grid */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .get-involved-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-span-3, .card-span-4 {
    grid-column: span 2;
  }
  .floating-widget {
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
    margin-top: var(--space-lg);
  }
  .hero {
    flex-direction: column;
    align-items: flex-start;
    margin-right: 0;
  }
  #about {
    padding-top: var(--space-3xl) !important;
  }
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-text-dark);
  cursor: pointer;
  padding: 4px;
}

/* Transform Navigation into a Mobile Drawer/Modal at 1200px and below */
@media (max-width: 1200px) {
  .mobile-toggle {
    display: flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001; /* Stay above the menu */
    align-items: center;
    justify-content: center;
  }
  .header-nav {
    display: flex !important; /* Enable layout for transition */
    position: fixed;
    top: 0; left: 0;
    width: 100%; /* Use 100% instead of 100vw to avoid scrollbar overflow */
    height: 100vh;
    background: rgba(255, 255, 255, 0.98); /* Full screen frosted or solid */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-2xl) 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .header-nav.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }
  .header-nav .nav-link {
    font-size: 1.7rem;
    padding: 16px 0;
    border-bottom: none;
    text-align: center;
    width: auto;
  }
}


@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .get-involved-grid {
    grid-template-columns: 1fr;
  }
  .card-span-2, .card-span-3, .card-span-4 {
    grid-column: 1 / -1;
  }
  .row-span-2 {
    grid-row: auto;
  }
  .footer-bento {
    grid-template-columns: 1fr;
    padding: var(--space-xl);
  }
  .ih-image {
    display: none; /* Hide image on mobile for layout */
  }
  .container {
    padding: 0 var(--space-sm);
  }
  .section {
    padding: var(--space-xl) 0;
  }
  .hero, .hero-slide {
    padding: var(--space-xl) var(--space-md);
    min-height: 75vh;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .bento-card {
    padding: var(--space-lg) !important;
  }
  .bento-card[style*="padding: 0"] {
    padding: 0 !important;
  }
  .bento-card > div[style*="padding: var(--space-xl)"] {
    padding: var(--space-lg) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .floating-widget {
    padding: var(--space-lg) !important;
  }
  .support-inline {
    flex-direction: column;
    text-align: center;
  }
  .support-inline h2 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }
  .drawn-arrow {
    display: none;
  }
  .site-header {
    padding: 16px var(--space-md);
  }
  .site-header.scrolled {
    padding: 12px 20px;
    width: calc(100% - 24px);
  }
  .site-header .logo-container img {
    height: 40px !important;
  }
  .ih-content {
    padding: var(--space-lg) !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .bento-card h3 {
    font-size: 1.35rem !important;
  }
  .bento-card h2 {
    font-size: 1.8rem !important;
  }
  .donation-amounts {
    grid-template-columns: 1fr;
  }
  .bento-card > div[style*="padding: var(--space-xl)"] {
    padding: var(--space-md) !important;
  }
  .support-inline h2 {
    font-size: 1.8rem !important;
  }
  .btn {
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

/* Input Focus States */
input, textarea, select {
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(46, 49, 146, 0.5); /* Primary Blue */
  box-shadow: 0 0 10px rgba(46, 49, 146, 0.3); /* Soft Glow */
  border-color: var(--color-primary-blue) !important;
  transform: scale(1.01);
}

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

/* Premium Master Footer */
.premium-footer {
    background: #000;
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    margin-bottom: var(--space-3xl);
    position: relative;
    overflow: hidden;
    /* Soft top glow for dark theme integration */
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
}

.footer-mega-cta {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
}

.footer-mega-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
}

.footer-brand p {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 350px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 1.25rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-socials a:hover {
    background: var(--color-primary-orange);
    color: #fff;
    transform: translateY(-4px);
    border-color: var(--color-primary-orange);
}

.footer-links h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    margin-left: -16px;
    color: var(--color-primary-orange);
    transition: all 0.3s ease;
    display: inline-block;
    padding-right: 8px;
    transform: translateX(-10px);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(12px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a.active {
    color: var(--color-primary-orange);
}

/* Newsletter */
.nl-form {
    position: relative;
    margin-top: 16px;
}

.nl-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 16px 20px;
    border-radius: var(--radius-full);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nl-input:focus {
    outline: none;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.3);
}

.nl-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.nl-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #000;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nl-submit:hover {
    background: var(--color-primary-orange);
    color: #fff;
}

.footer-bottom {
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    color: #fff;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

@media (max-width: 768px) {
    .premium-footer {
        border-radius: var(--radius-2xl);
        padding: var(--space-xl) var(--space-lg);
    }
    .footer-mega-cta {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        gap: var(--space-lg);
    }
    .footer-mega-cta h2 {
        font-size: 1.5rem; /* Ensures the text fits perfectly into exactly 2 lines on small screens */
        line-height: 1.3;
    }
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl) var(--space-md);
    }
    .footer-brand {
        grid-column: span 2;
    }
    .footer-brand p {
        margin-bottom: 16px;
        font-size: 1.15rem; /* Increased size to not look small */
        max-width: 100%;
        line-height: 1.6;
    }
    .footer-links h4 {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    .footer-links a {
        font-size: 1.1rem;
        padding: 4px 0;
    }
    .footer-main-grid > div:last-child {
        grid-column: span 2;
    }
    .footer-main-grid > div:last-child p {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }
    .nl-input {
        padding: 18px 24px;
        font-size: 1.1rem;
    }
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        font-size: 1.05rem;
        gap: 24px;
        margin-top: var(--space-2xl);
    }
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

