/* ============================================
   SOTE - Soldiers of the Environment
   Premium Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* CSS Custom Properties */

:root {
    /* Colors */
    --primary: #1B4D3E;
    --primary-light: #2D7A5F;
    --primary-dark: #0F2E25;
    --secondary: #4A9C6D;
    --accent: #E8A849;
    --accent-light: #F4C77A;
    --gold: #D4AF37;
    /* Backgrounds */
    --bg-light: #F7FAF8;
    --bg-cream: #FDFCF9;
    --bg-dark: #0A1A14;
    --bg-glass: rgba(255, 255, 255, 0.08);
    /* Text */
    --text-dark: #1A1A1A;
    --text-light: #F8F8F8;
    --text-muted: #6B7280;
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1B4D3E 0%, #2D7A5F 50%, #4A9C6D 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4C77A 100%);
    --gradient-dark: linear-gradient(180deg, #0A1A14 0%, #1B4D3E 100%);
    --gradient-hero: linear-gradient(135deg, rgba(27, 77, 62, 0.95) 0%, rgba(10, 26, 20, 0.9) 100%);
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(74, 156, 109, 0.3);
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Reset & Base */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
    list-style: none;
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

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

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

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

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Container */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}


/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.navbar.scrolled .nav-logo {
    color: var(--primary);
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-logo span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-logo .logo-sub {
    font-size: 0.65rem;
    font-family: var(--font-primary);
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 0.5rem 0;
}

.navbar.scrolled .nav-link {
    color: #1A1A1A;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-smooth);
}

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

.nav-cta {
    padding: 0.75rem 1.75rem;
    background: var(--accent);
    color: var(--text-dark);
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* Mobile Menu */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-toggle span {
    background: var(--text-dark);
}

@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--gradient-dark);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-smooth);
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-menu .nav-link {
        font-size: 1.5rem;
        color: var(--text-light);
    }
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}


/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

.btn-accent:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary);
}

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

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--text-light);
}


/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 6rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}


/* Floating Elements */

.hero-float {
    position: absolute;
    z-index: 2;
    opacity: 0.15;
    pointer-events: none;
}

.hero-float-1 {
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    border-radius: 50%;
    filter: blur(100px);
    animation: float 8s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 20%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

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


/* ============================================
   SECTIONS
   ============================================ */

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

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-cream {
    background: var(--bg-cream);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-dark .section-label {
    color: var(--accent);
}

.section-title {
    margin-bottom: 1rem;
}

.section-dark .section-title {
    color: var(--text-light);
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.section-dark .section-text {
    color: rgba(255, 255, 255, 0.7);
}


/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--text-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

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

.card-image {
    height: 250px;
    overflow: hidden;
}

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

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
}

.card-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.card-link:hover {
    color: var(--secondary);
    gap: 0.75rem;
}


/* Thematic Cards */

.thematic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.thematic-card {
    position: relative;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(27, 77, 62, 0.03) 0%, rgba(74, 156, 109, 0.05) 100%);
    border: 1px solid rgba(27, 77, 62, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.thematic-card:hover {
    background: var(--text-light);
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.thematic-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.thematic-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.thematic-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}


/* Project Cards Grid */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--text-light);
    box-shadow: var(--shadow-md);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 26, 20, 0.9) 0%, transparent 60%);
}

.project-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-xl);
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.project-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}


/* ============================================
   ABOUT SECTION
   ============================================ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 200px;
    height: 200px;
    background: var(--gradient-gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-list {
    margin-bottom: 2rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.about-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--secondary);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 0.75rem;
    flex-shrink: 0;
}


/* Mission/Vision Cards */

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mv-card {
    padding: 2.5rem;
    background: var(--text-light);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.mv-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.mv-card p {
    color: var(--text-muted);
}


/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info>p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 77, 62, 0.1);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

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


/* Contact Form */

.contact-form-wrap {
    background: var(--text-light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    background: #f9fafb;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--text-light);
    box-shadow: 0 0 0 4px rgba(27, 77, 62, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}


/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 1.5rem 0;
    max-width: 300px;
}

.footer-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
}

.newsletter-btn {
    padding: 0.875rem 1.5rem;
    background: var(--accent);
    color: var(--text-dark);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    background: var(--accent-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}


/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */

.page-hero {
    padding: 10rem 0 5rem;
    background: var(--gradient-dark);
    text-align: center;
}

.page-hero h1 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--accent);
}


/* ============================================
   NEWS/BLOG
   ============================================ */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.news-card {
    background: var(--text-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

.news-image {
    height: 220px;
    overflow: hidden;
}

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

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

.news-content {
    padding: 1.75rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}


/* ============================================
   EVENTS
   ============================================ */

.events-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.event-card {
    display: flex;
    background: var(--text-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

.event-date-badge {
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 1.5rem;
    text-align: center;
}

.event-day {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.event-content {
    flex: 1;
    padding: 1.5rem 2rem;
}

.event-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.event-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.event-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.no-events {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
    }
    .event-date-badge {
        flex-direction: row;
        gap: 0.5rem;
        padding: 1rem;
    }
    .event-day {
        font-size: 1.5rem;
    }
    .event-content {
        padding: 1.5rem;
    }
    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}


/* ============================================
   ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-image-accent {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .thematic-grid,
    .projects-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .mv-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .cta-buttons {
        flex-direction: column;
    }
    /* Ensures bios look good on mobile */
    @media (max-width: 768px) {
        .about-grid {
            display: flex;
            flex-direction: column !important;
        }
        .about-content {
            order: 2 !important;
        }
        .about-image {
            order: 1 !important;
            margin-bottom: 2rem;
        }
    }
    /* Optional: Make the bio titles pop more */
    .about-content h2 {
        color: var(--primary-color);
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
}