/* ==========================================================================
   North Bucks Breathe Easy Group - Premium CSS Design System
   A modern, accessible design for respiratory health support
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Primary Colors - Teal/Blue for respiratory health theme */
    --primary-50: #e6f7f7;
    --primary-100: #b3e8e8;
    --primary-200: #80d9d9;
    --primary-300: #4dc9c9;
    --primary-400: #26bdbd;
    --primary-500: #00b0b0;
    --primary-600: #009999;
    --primary-700: #007a7a;
    --primary-800: #005c5c;
    --primary-900: #003d3d;

    /* Secondary Colors - Warm Orange for CTAs */
    --secondary-50: #fff7ed;
    --secondary-100: #ffedd5;
    --secondary-200: #fed7aa;
    --secondary-300: #fdba74;
    --secondary-400: #fb923c;
    --secondary-500: #f97316;
    --secondary-600: #ea580c;
    --secondary-700: #c2410c;
    --secondary-800: #9a3412;
    --secondary-900: #7c2d12;

    /* Neutral Colors */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', 'Inter', 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;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(0, 176, 176, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

/* --------------------------------------------------------------------------
   2. 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-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--primary-700);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
}

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);
}

ul,
ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

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

.section--alt {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--neutral-100) 100%);
}

.section--dark {
    background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
    color: white;
}

.grid {
    display: grid;
    gap: var(--space-8);
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid--4,
    .grid--3,
    .grid--2 {
        grid-template-columns: 1fr;
    }

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

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

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

.flex {
    display: flex;
}

.flex--center {
    align-items: center;
    justify-content: center;
}

.flex--between {
    align-items: center;
    justify-content: space-between;
}

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

/* --------------------------------------------------------------------------
   4. Top Utility Bar
   -------------------------------------------------------------------------- */
.utility-bar {
    background: linear-gradient(90deg, var(--primary-800) 0%, var(--primary-700) 100%);
    color: white;
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
}

.utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

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

.utility-bar__contact a {
    color: white;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.utility-bar__contact a:hover {
    opacity: 1;
    color: white;
}

.utility-bar__charity {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.15);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
}

@media (max-width: 768px) {
    .utility-bar .container {
        justify-content: center;
        text-align: center;
    }

    .utility-bar__contact {
        flex-direction: column;
        gap: var(--space-2);
    }
}

/* --------------------------------------------------------------------------
   5. Header & Navigation
   -------------------------------------------------------------------------- */
.header {
    background: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.header__main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    gap: var(--space-4);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.header__logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-2xl);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

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

.header__logo-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-700);
    line-height: 1.2;
    white-space: nowrap;
}

.header__logo-tagline {
    font-size: var(--text-xs);
    color: var(--neutral-500);
    white-space: nowrap;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.nav__list {
    display: flex;
    gap: 0;
}

.nav__link {
    display: block;
    padding: var(--space-2) 0.625rem;
    color: var(--neutral-700);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
    background: var(--primary-50);
    color: var(--primary-600);
}

.nav__cta {
    background: linear-gradient(135deg, var(--secondary-500) 0%, var(--secondary-600) 100%);
    color: white !important;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
}

/* Mobile Menu Toggle */
.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    color: var(--neutral-700);
}

.nav__toggle svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 1200px) {
    .nav__list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--space-4);
        box-shadow: var(--shadow-lg);
        gap: var(--space-1);
    }

    .nav__list.active {
        display: flex;
    }

    .nav__toggle {
        display: block;
    }

    .nav__cta {
        display: none;
    }

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

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
    color: white;
    padding: var(--space-24) 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    opacity: 0.5;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
}

.hero__title {
    font-size: var(--text-5xl);
    color: white;
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero__title span {
    color: var(--secondary-400);
}

.hero__description {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-8);
    max-width: 500px;
}

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

.hero__image {
    position: relative;
}

.hero__image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.hero__image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--secondary-400) 0%, var(--primary-400) 100%);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0.3;
    filter: blur(30px);
}

@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero__description {
        max-width: none;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
    box-shadow: var(--shadow-md), 0 4px 14px rgba(0, 176, 176, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 6px 20px rgba(0, 176, 176, 0.5);
    color: white;
}

.btn--secondary {
    background: white;
    color: var(--primary-700);
    box-shadow: var(--shadow-md);
}

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

.btn--outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.btn--cta {
    background: linear-gradient(135deg, var(--secondary-500) 0%, var(--secondary-600) 100%);
    color: white;
    box-shadow: var(--shadow-md), 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn--cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 6px 20px rgba(249, 115, 22, 0.5);
    color: white;
}

.btn--lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--primary-600);
    font-size: var(--text-2xl);
}

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

.card__text {
    color: var(--neutral-600);
    margin-bottom: var(--space-4);
}

.card--feature {
    text-align: center;
    padding: var(--space-8);
}

.card--feature .card__icon {
    margin: 0 auto var(--space-4);
}

/* --------------------------------------------------------------------------
   9. Section Headers
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-12);
}

.section-header__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--primary-100);
    color: var(--primary-700);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

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

.section-header__description {
    color: var(--neutral-600);
    font-size: var(--text-lg);
}

/* --------------------------------------------------------------------------
   10. Stats Section
   -------------------------------------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.stat {
    text-align: center;
    padding: var(--space-6);
}

.stat__number {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--primary-600);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat__label {
    font-size: var(--text-base);
    color: var(--neutral-600);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* --------------------------------------------------------------------------
   11. Testimonials
   -------------------------------------------------------------------------- */
.testimonial {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    left: var(--space-6);
    font-size: 80px;
    font-family: Georgia, serif;
    color: var(--primary-200);
    line-height: 1;
}

.testimonial__text {
    font-size: var(--text-lg);
    color: var(--neutral-700);
    margin-bottom: var(--space-6);
    padding-top: var(--space-8);
    font-style: italic;
}

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

.testimonial__avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-weight: 600;
}

.testimonial__name {
    font-weight: 600;
    color: var(--neutral-800);
}

.testimonial__role {
    font-size: var(--text-sm);
    color: var(--neutral-500);
}

/* --------------------------------------------------------------------------
   12. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    color: white;
    padding: var(--space-16) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section__content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section__title {
    color: white;
    margin-bottom: var(--space-4);
}

.cta-section__text {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-8);
}

.cta-section__buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding-top: var(--space-16);
}

.footer__main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid var(--neutral-800);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer__logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-xl);
}

.footer__logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: white;
}

.footer__description {
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

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

.footer__social a {
    width: 40px;
    height: 40px;
    background: var(--neutral-800);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-400);
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    background: var(--primary-600);
    color: white;
}

.footer__column h4 {
    color: white;
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
}

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

.footer__links a {
    color: var(--neutral-400);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--primary-400);
}

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

.footer__newsletter-form {
    display: flex;
    gap: var(--space-2);
}

.footer__newsletter-form input {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--neutral-700);
    border-radius: var(--radius-md);
    background: var(--neutral-800);
    color: white;
    font-family: var(--font-primary);
}

.footer__newsletter-form input::placeholder {
    color: var(--neutral-500);
}

.footer__newsletter-form button {
    padding: var(--space-3) var(--space-5);
    background: var(--primary-600);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.footer__newsletter-form button:hover {
    background: var(--primary-500);
}

.footer__bottom {
    padding: var(--space-6) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer__copyright {
    font-size: var(--text-sm);
}

.footer__charity-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--neutral-800);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.footer__charity-badge svg {
    color: var(--primary-400);
}

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

@media (max-width: 768px) {
    .footer__main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__brand {
        max-width: none;
    }

    .footer__social {
        justify-content: center;
    }

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

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

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

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
    background: white;
}

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

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

/* --------------------------------------------------------------------------
   15. Page Headers
   -------------------------------------------------------------------------- */
.page-header {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
    color: white;
    padding: var(--space-16) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
}

.page-header__content {
    position: relative;
    z-index: 1;
}

.page-header__title {
    color: white;
    margin-bottom: var(--space-4);
}

.page-header__breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    opacity: 0.8;
}

.page-header__breadcrumb a {
    color: white;
    opacity: 0.8;
}

.page-header__breadcrumb a:hover {
    opacity: 1;
    color: white;
}

/* --------------------------------------------------------------------------
   16. Content Sections
   -------------------------------------------------------------------------- */
.content-section {
    padding: var(--space-12) 0;
}

.content-section--alt {
    background: var(--neutral-100);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.content-grid--reverse {
    direction: rtl;
}

.content-grid--reverse>* {
    direction: ltr;
}

.content-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.content-image img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    .content-grid,
    .content-grid--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

/* --------------------------------------------------------------------------
   17. Gallery
   -------------------------------------------------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.gallery__item:hover img {
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   18. Events List
   -------------------------------------------------------------------------- */
.event-card {
    display: flex;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.event-card:hover {
    box-shadow: var(--shadow-lg);
}

.event-card__date {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.event-card__day {
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1;
}

.event-card__month {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card__content {
    padding: var(--space-6);
    flex: 1;
}

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

.event-card__meta {
    display: flex;
    gap: var(--space-4);
    font-size: var(--text-sm);
    color: var(--neutral-500);
    margin-bottom: var(--space-3);
}

.event-card__meta span {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

@media (max-width: 600px) {
    .event-card {
        flex-direction: column;
    }

    .event-card__date {
        flex-direction: row;
        gap: var(--space-2);
        padding: var(--space-4);
    }
}

/* --------------------------------------------------------------------------
   19. Info Boxes
   -------------------------------------------------------------------------- */
.info-box {
    background: var(--primary-50);
    border-left: 4px solid var(--primary-500);
    padding: var(--space-6);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: var(--space-6) 0;
}

.info-box--warning {
    background: var(--secondary-50);
    border-left-color: var(--secondary-500);
}

.info-box__title {
    font-weight: 700;
    color: var(--primary-700);
    margin-bottom: var(--space-2);
}

.info-box--warning .info-box__title {
    color: var(--secondary-700);
}

/* --------------------------------------------------------------------------
   20. Resource Links
   -------------------------------------------------------------------------- */
.resource-list {
    display: grid;
    gap: var(--space-4);
}

.resource-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.resource-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.resource-item__icon {
    width: 50px;
    height: 50px;
    background: var(--primary-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    flex-shrink: 0;
}

.resource-item__content {
    flex: 1;
}

.resource-item__title {
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: var(--space-1);
}

.resource-item__description {
    font-size: var(--text-sm);
    color: var(--neutral-500);
}

/* --------------------------------------------------------------------------
   21. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slideUp {
    animation: slideUp 0.6s ease forwards;
}

/* --------------------------------------------------------------------------
   22. Utilities
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

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

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

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

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

.text-primary {
    color: var(--primary-600);
}

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

.text-muted {
    color: var(--neutral-500);
}

.bg-white {
    background: white;
}

.bg-light {
    background: var(--neutral-100);
}