/* ╔════════════════════════════════════════════════════════════════════════════╗ */
/* ║  🚨 STOP! AI AGENT: READ .agent/workflows/marriage-workshop.md FIRST 🚨  ║ */
/* ║  Do NOT edit this file without reading the workflow rules.               ║ */
/* ╚════════════════════════════════════════════════════════════════════════════╝ */
/* =====================================================
   THE MARRIAGE WORKSHOP - Design System
   ===================================================== */

/* CSS Custom Properties */
:root {
  /* Colors */
  --color-primary: #722F37;
  --color-primary-dark: #5a252c;
  --color-primary-light: #8a3941;
  --color-secondary: #C9A227;
  --color-secondary-dark: #a8871f;
  --color-secondary-light: #d4b43a;
  --color-background: #FFFFFF;
  --color-background-alt: #FFFFFF;
  --color-background-dark: #722F37;
  /* Burgundy */
  /* Restricted to White */
  --color-text: #722F37;
  /* Replaced #2D2D2D with Burgundy */
  --color-text-light: #722F37;
  /* Mapping to Burgundy */
  --color-text-muted: #722F37;
  /* Mapping to Burgundy */
  --color-white: #FFFFFF;
  --color-black: #722F37;
  /* Mapping Black to Burgundy */

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Shadows - Subtle Burgundy Tint */
  --shadow-sm: 0 1px 2px rgba(114, 47, 55, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(114, 47, 55, 0.08), 0 2px 4px -2px rgba(114, 47, 55, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(114, 47, 55, 0.08), 0 4px 6px -4px rgba(114, 47, 55, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(114, 47, 55, 0.08), 0 8px 10px -6px rgba(114, 47, 55, 0.08);
  --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.3);

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Container */
  --container-max: 1200px;
  --container-padding: var(--space-6);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
  /* Default to Burgundy */
}

/* Ensure White text on all Dark backgrounds */
.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero p,
.hero span,
.hero .hero__subtitle,
.videos-hero h1,
.videos-hero h2,
.videos-hero p,
.videos-hero span,
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p,
.section--dark span,
.services-hero h1,
.services-hero h2,
.services-hero p,
.services-hero span,
.about-hero h1,
.about-hero h2,
.about-hero p,
.about-hero span,
.booking-hero h1,
.booking-hero h2,
.booking-hero p,
.booking-hero span,
.shop-hero h1,
.shop-hero h2,
.shop-hero p,
.shop-hero span,
.donate-hero h1,
.donate-hero h2,
.donate-hero p,
.donate-hero span,
.contact-hero h1,
.contact-hero h2,
.contact-hero p,
.contact-hero span {
  color: var(--color-white) !important;
}


h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-4);
}

.text-gold {
  color: var(--color-secondary);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Sections */
.section {
  padding: var(--space-20) 0;
}

.section--alt {
  background-color: var(--color-background);
  border-top: 1px solid var(--color-secondary);
  border-bottom: 1px solid var(--color-secondary);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p,
.section--dark .section__description {
  color: var(--color-white);
}


.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section__subtitle {
  display: inline-block;
  color: var(--color-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.section__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.section__description {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  /* Removed backdrop-filter to eliminate potential blue glow */
  border-bottom: 1px solid var(--color-secondary);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header__logo img {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition-base);
}

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

.nav__link:hover::after {
  width: 100%;
}

.nav__link--active {
  color: var(--color-primary);
}

.nav__link--active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle-bar {
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition-fast);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  /* Changed from Gold to Burgundy */
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background: var(--color-white);
  /* Changed to White for contrast on Burgundy */
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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


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

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

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background: url('../images/HomeHeroBanner.jpeg') center center / cover no-repeat;
}

/* Maroon overlay - solid center, fading outward */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
      rgba(114, 47, 55, 1) 0%,
      rgba(114, 47, 55, 1) 30%,
      rgba(114, 47, 55, 0.80) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-12) var(--space-6);
  max-width: 900px;
}

.hero__logo-wrapper {
  margin-bottom: var(--space-6);
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero__logo-full {
  max-width: 500px;
  width: 80%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {

  /* Pure color background on mobile - hide background image */
  .hero__bg-pattern {
    display: none;
  }

  .hero::before {
    background: var(--color-primary);
  }

  .hero {
    min-height: auto;
    padding: calc(80px + var(--space-8)) 0 var(--space-12);
  }

  /* Logo fills width on mobile */
  .hero__logo-full {
    max-width: 100%;
    width: 100%;
  }

  /* Smaller headline on mobile */
  .hero__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
  }

  /* Smaller description text on mobile */
  .hero__description {
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
  }

  /* Smaller buttons on mobile */
  .hero__buttons {
    gap: var(--space-3);
  }

  .hero__buttons .btn {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
  }
}


.hero__subtitle {
  display: inline-block;
  color: var(--color-white);
  /* Changed from Gold for better visibility */
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: var(--space-6);
  opacity: 1;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__title .text-gold {
  color: var(--color-white);
  /* No gold background/text in hero title if it's too much */
}

.hero__description {
  font-size: var(--text-xl);
  color: var(--color-white) !important;
  margin-bottom: var(--space-10);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  opacity: 1;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  /* animation: fadeInUp 0.8s ease 0.8s both; */
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  opacity: 0.7;
  animation: bounce 2s infinite;
  cursor: pointer;
}

/* =====================================================
   CARDS
   ===================================================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card--glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  /* Changed from Gold */
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  color: var(--color-primary);
  font-size: var(--text-2xl);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card__description {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}

/* Mobile: Horizontal card layout for professional look */
@media (max-width: 768px) {
  .services-grid {
    gap: var(--space-4);
  }

  .services-grid .card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    text-align: left;
  }

  .services-grid .card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-bottom: 0;
    font-size: var(--text-lg);
  }

  .services-grid .card__content {
    flex: 1;
    min-width: 0;
  }

  .services-grid .card__title {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
  }

  .services-grid .card__description {
    font-size: var(--text-sm);
    line-height: 1.5;
  }
}

/* =====================================================
   VIDEO GALLERY
   ===================================================== */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}

.video-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.video-card__thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

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

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.video-card:hover .video-card__play {
  opacity: 1;
}

.video-card__play-btn {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: var(--text-xl);
  transition: transform var(--transition-fast);
}

.video-card:hover .video-card__play-btn {
  transform: scale(1.1);
}

.video-card__content {
  padding: var(--space-6);
}

.video-card__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
  margin-bottom: var(--space-2);
}

.video-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card__meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Video Filter Tabs */
.video-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-10);
}

.video-filter {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.video-filter:hover,
.video-filter.active {
  background: var(--color-primary);
  color: var(--color-white);
}

/* =====================================================
   PRODUCT CARDS (SHOP)
   ===================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-8);
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.product-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-background-warm);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

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

.product-card__content {
  padding: var(--space-6);
}

.product-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
  margin-bottom: var(--space-2);
}

.product-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.product-card__price {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

/* =====================================================
   BOOKING CALENDAR
   ===================================================== */
.booking-calendar {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.calendar-nav {
  display: flex;
  gap: var(--space-2);
}

.calendar-nav-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calendar-nav-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-2);
}

.calendar-weekday {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  padding: var(--space-2);
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calendar-day:hover:not(.calendar-day--disabled) {
  background: var(--color-background-warm);
}

.calendar-day--disabled {
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.calendar-day--available {
  background: rgba(114, 47, 55, 0.05);
  /* Very light burgundy tint instead of gold */
  color: var(--color-primary);
  font-weight: 600;
}

.calendar-day--selected {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Time Slots */
.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.time-slot {
  padding: var(--space-3) var(--space-4);
  text-align: center;
  font-size: var(--text-sm);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.time-slot:hover,
.time-slot.selected {
  background: var(--color-primary);
  color: var(--color-white);
}

/* =====================================================
   FORMS
   ===================================================== */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.1);
}

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

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-primary);
  /* Changed from Gold */
  opacity: 0.15;
}

.testimonial-card__content {
  position: relative;
  z-index: 1;
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: var(--space-6);
  padding-left: var(--space-8);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  /* Changed from Gold to Burgundy */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 600;
}

.testimonial-card__name {
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.testimonial-card__role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--color-primary);
  /* Burgundy footer */
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
}

.footer__logo img {
  height: 50px;
  width: auto;
  filter: brightness(1.2);
}

.footer__heading {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  color: var(--color-white);
  /* Changed from Gold */
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-secondary);
  transform: translateY(-3px);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .footer {
    padding: var(--space-10) 0 var(--space-6);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
  }

  /* Hide nav columns on mobile but keep social/connect */
  .footer__grid>div:nth-child(2),
  .footer__grid>div:nth-child(3) {
    display: none;
  }

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

  .footer__brand p {
    max-width: 280px;
  }

  .footer__logo img {
    height: 40px;
  }

  .footer__social {
    justify-content: center;
    margin-top: var(--space-4);
  }

  .footer__social-link {
    width: 36px;
    height: 36px;
    font-size: var(--text-base);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
    padding-top: var(--space-6);
  }

  .footer__legal {
    justify-content: center;
    gap: var(--space-4);
  }

  .footer__copyright {
    text-align: center;
    font-size: var(--text-xs);
  }
}


.footer__copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--color-secondary);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.fade-in {
  opacity: 1;
  /* Force visible for recovery */
  transform: translateY(0);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }

  .header__inner {
    height: 70px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--space-8);
    gap: var(--space-6);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
  }

  .nav__list.active {
    right: 0;
  }

  .nav__link {
    font-size: var(--text-lg);
  }

  .hero__content {
    padding: var(--space-24) var(--space-4) var(--space-16);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

  .hero__buttons .btn {
    width: 100%;
  }

  .section {
    padding: var(--space-12) 0;
  }
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mt-0 {
  margin-top: 0;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-8 {
  margin-top: var(--space-8);
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =====================================================
   FOUNDERS SECTION
   ===================================================== */
.founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-12);
  margin-top: var(--space-12);
}

.founder-card {
  text-align: center;
}

.founder-card__image {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-full);
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-primary);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.founder-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-card__name {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.founder-card__role {
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.founder-card__qualifications {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  text-align: left;
  max-width: 300px;
  margin: 0 auto;
}

.founder-card__qualifications li {
  margin-bottom: var(--space-2);
  position: relative;
  padding-left: var(--space-4);
}

.founder-card__qualifications li::before {
  content: "•";
  color: var(--color-secondary);
  position: absolute;
  left: 0;
  font-weight: bold;
}