/* Landing Page Specific Light Theme */
:root {
    --primary-color: #5a7c64;
    /* Sage green from mockup */
    --primary-hover: #4a6851;
    --text-color: #333333;
    --text-muted: #666666;
    --bg-color: #ffffff;
    --bg-light: #f4f7f5;
    --border-color: #e5e7eb;
}

body.light-theme {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Navbar */
.light-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.light-navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.light-navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

.light-navbar .nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s;
}

.light-navbar .nav-links a:hover {
    color: var(--primary-color);
}

/* Base Utility */
.light-section {
    padding: 5rem 5%;
    scroll-margin-top: 100px;
}

.bg-light-green {
    background-color: var(--bg-light);
}

.bg-dark-green {
    background-color: #4a6352;
    color: white !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Buttons */
.light-theme .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.light-theme .btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.light-theme .btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 124, 100, 0.3);
}

.light-theme .btn-primary-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.light-theme .btn-primary-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.light-theme .btn-white {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
}

.light-theme .btn-white:hover {
    background: #f0f0f0;
}

.light-theme .w-100 {
    width: 100%;
}

/* Form Group for light theme modals */
.light-form-group label {
    color: #555 !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.light-form-group input {
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #333 !important;
}

.light-form-group input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(90, 124, 100, 0.2) !important;
    background: #fff !important;
}

/* Hero */
.light-hero {
    position: relative;
    padding: 6rem 5%;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1540317580384-e5d43616b9aa?auto=format&fit=crop&q=80&w=1920') center/cover;
    z-index: 0;
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.1) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.light-hero-content {
    max-width: 600px;
}

.light-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #222;
    line-height: 1.2;
    font-weight: 800;
}

.light-hero-content p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.light-hero-content .hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-badge {
    background: #5a7c64;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #222;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: #444;
}

.feature-list li i {
    margin-top: 0.3rem;
}

.feature-list.small li {
    font-size: 0.9rem;
    color: #555;
}

/* Features Row */
.features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
    margin-top: 2rem;
}

.feature-item .icon-wrapper {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: #eef3f0;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.feature-item h4 {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

/* Services Grid */
.section-title-light {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: #fff;
    padding: 1.8rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-card .card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    background: #eef3f0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.1rem;
    color: #222;
}

/* Events Grid for Public Events */
.event-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

.event-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #333;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.event-card-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.event-card-header .icon-box {
    font-size: 2rem;
    color: var(--primary-color);
    background: #eef3f0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.event-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.upcoming-events-section {
    padding-bottom: 2rem;
    position: relative;
    padding: 6rem 5%;
}

.upcoming-events-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1542831371-29b0f74f9713?auto=format&fit=crop&q=80&w=1920') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.upcoming-events-section>* {
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .features-row {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-cards-grid {
        grid-template-columns: 1fr;
    }

    .light-navbar .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
        border-top: 1px solid var(--border-color);
    }

    .light-navbar .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Stack Contact Grid on Mobile */
    #contact>.container>div:last-child {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .light-hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.upcoming-events-section {
    padding-bottom: 2rem !important;
}

/* Footer Styles */
.footer {
    padding: 60px 0 40px;
    background: #020617;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    color: #94a3b8;
    margin-top: auto;
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer p {
    color: #94a3b8;
    margin: 0;
    font-size: 15px;
    opacity: 0.8;
}

.footer-bottom-links {
    margin-top: 5px;
}

.footer-bottom-links a {
    color: #38bdf8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin: 0 15px;
    transition: all 0.3s ease;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
}

.footer-bottom-links a:hover,
.footer-bottom-links a.active {
    color: #fff;
    border-bottom: 1px solid #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}