/* FLT Brand Variables */
:root {
  /* FLT Brand Colors */
  --flt-purple: #90278e;
  --flt-orange: #f05a28;
  --flt-teal: #00a69c;
  --flt-yellow: #fad940;
  --flt-yellow-light: rgba(250, 217, 64, 0.25);
  --flt-gray: #58595b;
  --flt-black: #000000;
  --flt-white: #ffffff;
  
  /* Brand color variations */
  --flt-purple-light: #a33fa4;
  --flt-purple-dark: #7a1f78;
  --flt-orange-light: #f26d41;
  --flt-orange-dark: #d14720;
  --flt-teal-light: #1ab5ab;
  --flt-teal-dark: #008a81;
  
  /* Background colors */
  --bg-primary: #fafafa;
  --bg-secondary: #f5f5f5;
  --bg-white: #ffffff;
  --bg-overlay: rgba(0, 0, 0, 0.5);
  
  /* Text colors */
  --text-primary: var(--flt-black);
  --text-secondary: var(--flt-gray);
  --text-light: rgba(255, 255, 255, 0.9);
  --text-white: var(--flt-white);
  
  /* Typography */
  --font-heading: 'Fredoka', system-ui, -apple-system, sans-serif;
  --font-body: 'Fira Sans', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;  /* 8px */
  --space-sm: 1rem;    /* 16px */
  --space-md: 1.5rem;  /* 24px */
  --space-lg: 2rem;    /* 32px */
  --space-xl: 3rem;    /* 48px */
  --space-2xl: 4rem;   /* 64px */
  --space-3xl: 6rem;   /* 96px */
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.1);
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 50px;
  
  /* Transitions */
  --transition-fast: 0.2s ease-out;
  --transition-normal: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
  
  /* Layout */
  --container-max-width: 1200px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: calc(var(--nav-height) + var(--space-md));
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body.lightbox-open {
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
  max-width: 65ch; /* Improves readability */
}

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

a:hover {
  color: var(--flt-purple-dark);
}

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

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(144, 39, 142, 0.1);
  z-index: 1000;
  height: var(--nav-height);
  transition: all var(--transition-normal);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  min-width: 0;
}

.nav__logo {
  height: 50px;
  width: auto;
}

.nav__tagline {
  font-size: 1.6rem;
  color: var(--flt-purple);
  font-weight: 600;
  font-family: var(--font-heading);
  white-space: nowrap;
}

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

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  margin: 0;
}

.nav__link {
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--flt-purple);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--flt-purple);
  border-radius: 1px;
}

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

.language-toggle {
  background: var(--flt-teal);
  color: white;
  border: none;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
  font-family: var(--font-heading);
}

.language-toggle:hover {
  background: var(--flt-teal-dark);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001; /* Ensure it's above other nav content */
}

.nav__toggle span {
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
  transform-origin: center;
}

.nav-menu-open .nav__toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-menu-open .nav__toggle span:nth-child(2) {
    opacity: 0;
}
.nav-menu-open .nav__toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Dropdown Navigation Styles */
.nav__item--dropdown {
  position: relative;
}

.nav__link--dropdown {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__dropdown-icon {
  transition: transform var(--transition-fast);
}

.nav__item--dropdown:hover .nav__dropdown-icon,
.nav__item--dropdown.active .nav__dropdown-icon {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  background: white;
  border: 1px solid rgba(144, 39, 142, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 1000;
  list-style: none;
  padding: var(--space-xs) 0;
  margin: 0;
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown.active .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-item {
  margin: 0;
}

.nav__dropdown-link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-weight: 500;
  white-space: nowrap;
}

.nav__dropdown-link:hover {
  background: var(--flt-yellow-light);
  color: var(--flt-purple);
}

.nav__dropdown-link.active {
  background: var(--flt-purple);
  color: white;
}

/* Main Content */
.main {
  margin-top: var(--nav-height);
}

.section {
  display: none;
  min-height: calc(100vh - var(--nav-height));
}

.section--home {
    padding: 0;
}

.section.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--flt-purple) 0%, var(--flt-teal) 100%);
  color: white;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__title {
  margin-bottom: 0;
  line-height: 1.1;
}

.hero__title--accent {
  color: var(--flt-yellow);
  display: block;
}

.hero__subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__stats {
  display: flex;
  gap: var(--space-xl);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--flt-yellow);
  line-height: 1;
}

.stat__label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Image Scroller */
.hero__scroller-container {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.hero__scroller {
    display: flex;
    width: max-content;
    animation: scroll 45s linear infinite;
}

.hero__scroller img {
    width: 300px; /* Fixed width for each image */
    height: 225px; /* 4:3 aspect ratio */
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin: 0 var(--space-sm);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* (width + margin-right) * number of original images */
        transform: translateX(calc(-1 * (300px + (2 * var(--space-sm))) * 6));
    }
}

.hero__scroller-container:hover .hero__scroller {
    animation-play-state: paused;
}


/* CTA Section */
.cta-section {
  padding: var(--space-3xl) 0;
  background: var(--flt-yellow);
  position: relative;
  z-index: 2;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.cta-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  border: 2px solid transparent;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  transition: left var(--transition-normal);
}

.cta-card--facilitator::before { background: var(--flt-purple); }
.cta-card--volunteer::before { background: var(--flt-orange); }
.cta-card--sponsor::before { background: var(--flt-teal); }

.cta-card:hover::before {
  left: 0;
}

.cta-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.cta-card--facilitator:hover { border-color: var(--flt-purple); }
.cta-card--volunteer:hover { border-color: var(--flt-orange); }
.cta-card--sponsor:hover { border-color: var(--flt-teal); }

.cta-card__icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.cta-card__title {
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.cta-card__description {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  min-width: 160px;
  box-sizing: border-box;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-normal);
}

.btn:hover::before {
  left: 100%;
}

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

.btn--secondary { background: var(--flt-orange); color: white; }
.btn--secondary:hover { background: var(--flt-orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--accent { background: var(--flt-teal); color: white; }
.btn--accent:hover { background: var(--flt-teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--full-width { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Values Section */
.values-section {
  padding: var(--space-3xl) 0;
  position: relative;
  background-image: url('media/4.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.values-section .container {
    position: relative;
    z-index: 2;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  color: var(--text-primary);
}

.values-section .section-title {
    color: var(--flt-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.value-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  transition: left var(--transition-normal);
}

.value-card:hover::before {
    left: 0;
}

/* Card-specific hover colors */
.values-grid .value-card:nth-of-type(1)::before { background: var(--flt-purple); }
.values-grid .value-card:nth-of-type(1):hover { border-color: var(--flt-purple); }

.values-grid .value-card:nth-of-type(2)::before { background: var(--flt-orange); }
.values-grid .value-card:nth-of-type(2):hover { border-color: var(--flt-orange); }

.values-grid .value-card:nth-of-type(3)::before { background: var(--flt-teal); }
.values-grid .value-card:nth-of-type(3):hover { border-color: var(--flt-teal); }


.value-card__header {
  margin-bottom: var(--space-md);
}

.value-card__icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.value-card__title {
  color: var(--flt-purple);
  margin-bottom: var(--space-md);
}

.value-card__description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* About Section */
#about,
#facilitators,
#volunteers,
#sponsors,
#gallery,
#contact {
    padding: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.about-grid:last-child {
    margin-bottom: 0;
}

.about-grid--reversed .about-grid__text {
    order: 2;
}

.about-grid--reversed .about-grid__visual {
    order: 1;
}

.about-grid__text {
    background: var(--bg-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.about-grid__text h3 {
    color: var(--flt-purple);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.about-grid__text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--flt-yellow);
}

.about-grid__visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Page Hero */
.page-hero {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero__title {
  color: var(--flt-purple);
  margin-bottom: var(--space-md);
}

.page-hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 100%; /* Override default p max-width */
}

/* Page Hero Banner */
.page-hero-banner {
    background: linear-gradient(135deg, var(--flt-purple) 0%, var(--flt-teal) 100%);
    padding: var(--space-2xl) 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.page-hero-banner .page-hero {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

.page-hero-banner .page-hero__title {
    color: var(--flt-yellow);
}

.page-hero-banner .page-hero__subtitle {
    color: var(--flt-white);
}

/* Content Area with Yellow Bars */
.content-area {
    padding: var(--space-2xl) 0;
    position: relative;
    background-color: var(--bg-white);
}

.content-area::before,
.content-area::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px; /* Width of the yellow strips */
    background-color: var(--flt-yellow);
    z-index: 0;
}

.content-area::before {
    left: 0;
}

.content-area::after {
    right: 0;
}

.content-area .container {
    position: relative;
    z-index: 2;
}

/* Get Involved Section Layout */
.get-involved-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: stretch;
}

.get-involved-layout__content, 
.get-involved-layout__form {
    display: flex;
    flex-direction: column;
}

.get-involved-layout .content-card,
.get-involved-layout .form-section {
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.get-involved-layout .form-section {
    margin: 0;
}

.get-involved-layout .contact-form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.content-card {
  background: var(--bg-secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.content-card__actions {
    margin-top: auto;
    padding-top: var(--space-lg);
    text-align: center;
}

.content-card__actions .btn {
    width: 100%;
}

.content-card__title {
  color: var(--flt-purple);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--flt-yellow);
}

.content-list {
  list-style: none;
}

.content-list li {
  padding: var(--space-xs) 0;
  padding-left: var(--space-xl);
  position: relative;
  line-height: 1.6;
  color: var(--text-secondary);
}

.content-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--flt-teal);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Forms */
.form-section {
  background: var(--bg-secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  max-width: 600px;
  margin: 0 auto;
}

.form-section__title {
  text-align: center;
  color: var(--flt-purple);
  margin-bottom: var(--space-xl);
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

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

.form-control {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid #e1e5e9;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--flt-purple);
  box-shadow: 0 0 0 3px rgba(144, 39, 142, 0.1);
}

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

select.form-control {
  cursor: pointer;
}

/* --- NEW GRID GALLERY STYLES --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.gallery-grid-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-grid-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 90%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    transform: scale(0.95);
}

.lightbox.active #lightbox-img {
    transform: scale(1);
}

.lightbox__caption {
    color: var(--text-light);
    margin-top: var(--space-sm);
    font-weight: 500;
}

.lightbox__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.lightbox__close:hover {
    transform: scale(1.1);
    color: var(--flt-yellow);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    background: rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
    z-index: 2001;
}

.lightbox__nav:hover {
    background: rgba(0,0,0,0.6);
    color: var(--flt-yellow);
}

.lightbox__nav--prev {
    left: var(--space-md);
}

.lightbox__nav--next {
    right: var(--space-md);
}
/* --- END GRID GALLERY STYLES --- */


/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: stretch;
}

.contact-info .contact-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-card {
  background: var(--bg-secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.contact-card__title {
  color: var(--flt-purple);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--flt-yellow);
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-item__icon {
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
  color: var(--flt-teal);
  flex-shrink: 0;
}

.contact-item__icon svg {
    stroke: var(--flt-teal);
}

.contact-item__content {
  flex: 1;
}

.contact-item__label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item__value {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 2px;
}

.contact-form-section {
  background: var(--bg-secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.social-embed-block {
    margin-top: auto;
    padding-top: var(--space-lg);
}

.social-embed__video-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #ddd;
    background-color: #000;
}

.social-embed__video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Footer */
.footer {
  background: var(--flt-teal);
  color: white;
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.footer__brand {
  max-width: 400px;
}

.footer__title {
  font-family: var(--font-heading);
  color: var(--flt-yellow);
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  color: var(--flt-white);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

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

.footer__social-icons a {
    color: var(--flt-white);
    transition: transform var(--transition-fast);
}

.footer__social-icons a:hover {
    transform: scale(1.1);
    color: var(--flt-yellow);
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  grid-column: 2 / -1;
}

.footer__section-title {
  color: var(--flt-yellow);
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: var(--space-sm);
}

.footer__list a {
  color: var(--flt-white);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer__list a:hover {
  color: var(--flt-yellow);
}

.footer__bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__bottom p {
    max-width: 100%;
    color: var(--flt-white);
    font-weight: 600;
}

/* Event Placeholder */
.event-placeholder {
  background: var(--flt-yellow-light);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* =================================== */
/* MOBILE OPTIMIZATIONS & RESPONSIVE   */
/* =================================== */

@media (max-width: 992px) {
    .get-involved-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer__content {
        grid-template-columns: 1fr 1fr;
    }
    .footer__brand {
        grid-column: 1 / -1;
        text-align: center;
        max-width: none;
    }
    .footer__social-icons {
        justify-content: center;
    }
}


@media (max-width: 768px) {
  :root {
    --space-xs: 0.25rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: var(--space-3xl) var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
    align-items: flex-start;
  }

  .nav__menu.active {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__tagline {
    font-size: 1rem;
    font-weight: 500;
  }
  
  .nav__item--dropdown.active .nav__dropdown {
    max-height: 200px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  
  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--flt-yellow-light);
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    width: 100%;
    padding: 0;
  }
  .nav__dropdown-link {
    padding: var(--space-sm) var(--space-xl);
    font-size: 0.9rem;
  }
  
  .hero__content p {
      margin-left: auto;
      margin-right: auto;
  }

  .hero__stats {
    justify-content: center;
    gap: var(--space-lg);
  }

  .hero__scroller img {
    width: 250px;
    height: 187.5px;
  }

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * (250px + (2 * var(--space-sm))) * 6)); }
  }
  
  .content-area::before,
  .content-area::after {
    width: 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid--reversed .about-grid__text,
  .about-grid--reversed .about-grid__visual {
    order: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-row {
    grid-template-columns: 1fr;
  }
  
  .lightbox__nav {
    padding: var(--space-md);
    font-size: 2rem;
  }
  .lightbox__nav--prev { left: var(--space-sm); }
  .lightbox__nav--next { right: var(--space-sm); }
  
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__links {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .hero {
    padding: var(--space-2xl) 0;
  }
  
  .nav__tagline {
    display: none;
  }

  .hero__scroller img {
    width: 200px;
    height: 150px;
  }

  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * (200px + (2 * var(--space-sm))) * 6)); }
  }
  
  .content-area::before,
  .content-area::after {
    width: 15px;
  }

  .cta-section,
  .values-section {
    padding: var(--space-2xl) 0;
  }

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

  .stat__number {
    font-size: 2rem;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
}

/* Hidden class for JavaScript */
.hidden {
  display: none !important;
}

/* Focus styles for accessibility */
.btn:focus-visible,
.form-control:focus-visible,
.nav__link:focus-visible {
  outline: 3px solid var(--flt-yellow);
  outline-offset: 2px;
}

/* Page-specific background colors */
#about,
#facilitators,
#volunteers,
#sponsors,
#gallery,
#contact {
  background-color: var(--bg-white);
  padding: 0;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    animation-delay: -0.01ms !important;
    scroll-behavior: auto !important;
  }
}
