/* Reset & Modern CSS Custom Properties */
:root {
    /* Brand Colors */
    --brand-primary: #1d672f;      /* Updated to match logo color */
    --brand-primary-dark: #155022;
    --brand-primary-light: #2e9a4a;
    --brand-accent: #FFF6D7;       /* Logo color */
    --brand-accent-dark: #E6DDB8;  /* Darker version of logo color */
    --brand-accent-light: #FFFAEB; /* Lighter version of logo color */
    
    /* Neutral Colors */
    --neutral-100: #FFFFFF;
    --neutral-200: #F8F9FA;
    --neutral-300: #E9ECEF;
    --neutral-400: #DEE2E6;
    --neutral-500: #ADB5BD;
    --neutral-600: #6C757D;
    --neutral-700: #495057;
    --neutral-800: #343A40;
    --neutral-900: #212529;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Spacing System (8pt grid) */
    --space-1: 0.25rem;    /* 8px */
    --space-2: 0.5rem;      /* 16px */
    --space-3: 1rem;        /* 24px */
    --space-4: 1.5rem;      /* 32px */
    --space-5: 2rem;        /* 48px */
    --space-6: 3rem;        /* 64px */
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 1rem;
    
    /* 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);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
}

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

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--brand-primary);
    background: var(--brand-accent);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--brand-accent-dark);
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Layout */
.container {
    width: min(1280px, 100% - var(--space-4));
    margin-inline: auto;
}

/* Header/Navigation */
.header {
    position: fixed;
    width: calc(100% - 4rem);
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--brand-accent);
    padding: 0.1rem 1rem;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 1400px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    background: var(--brand-accent);
    border-radius: 50%;
    padding: 0.25rem;
}

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

.nav-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--brand-accent);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-link:hover {
    color: var(--brand-primary-dark);
}

.header .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.header .btn-primary {
    background: var(--brand-primary);
    color: var(--brand-accent);
    border: none;
}

.header .btn-primary:hover {
    background: var(--brand-primary-dark);
    color: var(--brand-accent-dark);
}

.header .btn-outline {
    background: transparent;
    color: var(--neutral-100);
    border: 2px solid var(--neutral-100);
}

.header .btn-outline:hover {
    background-color: var(--neutral-100);
    color: var(--brand-primary);
    transform: translateY(-2px);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--brand-accent);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--brand-primary);
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--brand-primary);
    transition: all 0.3s ease;
}

.mobile-menu-btn span::before {
    top: -6px;
}

.mobile-menu-btn span::after {
    bottom: -6px;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .header {
        width: calc(100% - 2rem);
        top: 1rem;
        padding: 0.4rem 1.5rem;
    }
    .logo-img {
        height: 65px;
    }
}

@media (max-width: 768px) {
    .header {
        width: calc(100% - 1rem);
        top: 0.5rem;
        padding: 0.3rem 1rem;
    }
    .logo-img {
        height: 50px;
    }
    .desktop-nav {
        display: none !important;
    }
    .mobile-nav-overlay {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1.2rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background: var(--brand-accent);
        z-index: 2000;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.77,0,0.175,1), opacity 0.3s ease;
        margin: 0;
        padding-top: 0;
    }
    .mobile-nav-overlay.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-nav-overlay .mobile-nav-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 1.2rem;
        margin-top: 50px;
        padding-top: 0;
    }
    .mobile-nav-overlay .mobile-nav-logo img {
        height: 100px;
        width: auto;
        background: var(--brand-accent);
        border-radius: 50%;
        padding: 0.25rem;
    }
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--brand-primary);
        cursor: pointer;
        padding: 0.5rem;
        z-index: 2100;
        position: absolute;
        top: 1.2rem;
        right: 1.2rem;
    }
    .mobile-nav-overlay .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.7rem 0;
        font-size: 1.1rem;
        color: var(--brand-primary);
        border-radius: 10px;
        transition: background 0.2s, color 0.2s;
        font-weight: 600;
        letter-spacing: 1px;
    }
    .mobile-nav-overlay .nav-link:hover {
        background: var(--brand-accent-light);
        color: var(--brand-primary-dark);
    }
    .mobile-nav-overlay .btn {
        width: 90%;
        margin: 0.5rem auto 0 auto;
        text-align: center;
        display: block;
        font-size: 1.1rem;
        border-radius: 100vw !important;
    }
    body.mobile-menu-open {
        overflow: hidden;
    }
    .contact-info li i {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .desktop-nav {
        display: flex !important;
    }
    .mobile-nav-overlay,
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    color: var(--brand-primary);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: var(--brand-accent);
    border: none;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--brand-primary-dark);
    color: var(--brand-accent-dark);
    text-decoration: none;
}

.btn-outline {
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    background: transparent;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: var(--brand-primary);
    color: var(--brand-accent);
    text-decoration: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--brand-accent);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 140px;
    padding-bottom: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.75));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1024px, 90%);
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(3.5rem, 5vw, 4.75rem);
    font-weight: 700;
    color: var(--brand-accent);
    margin-bottom: var(--space-4);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: var(--space-4);
    color: #FFF6D7;
    font-weight: 500;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    margin-bottom: var(--space-5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description p {
    color: #FFF6D7;
    font-size: 1.125rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-buttons .btn-primary {
    background-color: var(--brand-accent);
    color: var(--brand-primary);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--neutral-100);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
        min-height: 90vh;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        margin-bottom: var(--space-3);
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: var(--space-3);
        padding: 0 0.5rem;
    }

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

    .hero-description p {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }

    .hero-buttons .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: min(280px, 90%);
        margin: 0 auto;
    }

    br {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-description p {
        font-size: 0.9375rem;
    }

    .hero-buttons .btn {
        padding: 0.75rem 1.75rem;
    }
}

/* Membership Cards */
.membership-section {
    padding: var(--space-6) 0;
    background: var(--neutral-100);
}

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

.membership-card {
    background: var(--neutral-100);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--brand-primary) !important;
    border: 1px solid var(--brand-primary);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.membership-price {
    text-align: center;
    margin-bottom: var(--space-4);
    padding: var(--space-3) 0;
    border-bottom: 2px solid var(--brand-primary-light);
}

.price-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1;
}

.price-period {
    display: block;
    font-size: 1rem;
    color: var(--brand-primary-light);
    margin-top: 0.25rem;
    font-weight: 500;
}

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

.membership-card h2, .membership-card h3, .membership-card p, .membership-card li {
    color: var(--brand-primary) !important;
}

.membership-card h3 {
    margin-bottom: var(--space-3);
    font-size: 2rem;
    font-weight: 700;
}

.membership-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--space-3);
}

.membership-features {
    list-style: none;
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

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

.membership-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: bold;
}

/* Section Headings */
.section-title {
    color: var(--brand-primary);
    text-align: center;
    margin-bottom: var(--space-5);
    font-size: 2.5rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--brand-primary);
    text-align: center;
    margin-bottom: var(--space-6);
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Dark Background Text */
[class*="bg-primary"],
[class*="bg-dark"] {
    color: var(--neutral-100);
}

[class*="bg-primary"] h1,
[class*="bg-primary"] h2,
[class*="bg-primary"] h3,
[class*="bg-primary"] h4,
[class*="bg-primary"] h5,
[class*="bg-primary"] h6,
[class*="bg-dark"] h1,
[class*="bg-dark"] h2,
[class*="bg-dark"] h3,
[class*="bg-dark"] h4,
[class*="bg-dark"] h5,
[class*="bg-dark"] h6 {
    color: var(--brand-accent);
}

/* Footer */
.footer {
    background: var(--brand-accent);
    color: var(--brand-primary);
    padding: 4rem 0 2rem;
    width: 100%;
    overflow: visible;
    border-top: none;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 0;
}

.footer-logo {
    display: block;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    background: var(--brand-accent);
    border-radius: 50%;
    padding: 0.5rem;
    max-width: 180px;
    height: auto;
}

.footer-tagline {
    color: var(--brand-primary);
    font-weight: 600;
    margin-top: 0.5rem;
}

.footer-section {
    margin-bottom: 2rem;
    min-width: 0;
    align-items: flex-start;
}

.footer-section h4 {
    color: var(--brand-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 1;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links li a {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0.9;
    display: block;
}

.footer-links li a:hover {
    color: var(--brand-primary);
    opacity: 1;
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    width: 100%;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    width: 100%;
}

.contact-info li i {
    color: var(--brand-primary);
    font-size: 1.3rem;
    width: 1.5em;
    height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    margin-right: 0.25em;
}

.contact-info li a,
.contact-info li span {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    flex: 1;
    display: block;
    opacity: 0.9;
}

.contact-info li a:hover {
    opacity: 1;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--brand-primary);
    border-radius: 50%;
    color: var(--brand-accent);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--brand-accent);
    color: var(--brand-primary);
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px var(--brand-accent);
}

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

.footer-bottom p {
    color: var(--brand-primary);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem;
    }
    .footer .container {
        padding: 0 1.5rem;
    }
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        text-align: center;
    }
    .footer-brand {
        text-align: center;
        align-items: center;
        width: 100%;
    }
    .footer-logo {
        display: inline-block;
        margin-bottom: 1rem;
    }
    .footer-logo img {
        max-width: 160px;
    }
    .footer-section {
        text-align: center;
        align-items: center;
        width: 100%;
        margin-bottom: 2rem;
    }
    .footer-section h4 {
        margin-bottom: 1rem;
        font-size: 1.1rem;
        padding-left: 0;
        text-align: center;
        width: 100%;
    }
    .footer-links {
        margin: 0 auto;
        padding-left: 0;
        text-align: center;
        width: 100%;
    }
    .footer-links li {
        margin-bottom: 0.75rem;
    }
    .footer-links li a {
        font-size: 0.95rem;
    }
    .contact-info {
        margin-bottom: 1.5rem;
        text-align: center;
        align-items: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    .contact-info li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        width: 100%;
        text-align: center;
    }
    .contact-info li i {
        display: none !important;
    }
    .contact-info li a,
    .contact-info li span {
        font-size: 0.95rem;
        text-align: center;
        width: auto;
        margin: 0 auto;
    }
    .social-links {
        margin-top: 1rem;
        justify-content: center;
        gap: 1rem;
        width: 100%;
        display: flex;
    }
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
    }
    .footer-bottom p {
        font-size: 0.85rem;
        text-align: center;
        margin: 0 auto;
    }
    .footer-bottom-links {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
    }
    .footer-bottom-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer .container {
        padding: 0 1rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Add animation for content */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
}

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

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: var(--neutral-100);
}

.gallery-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--brand-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 4rem 0;
    }

    .gallery-title {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .gallery-item {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Benefits Section */
.benefits-section {
    background: var(--brand-primary);
    padding: 5rem 0;
}

.benefits-title {
    color: var(--brand-accent);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefit-card {
    background: var(--neutral-100);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card h3 {
    color: var(--brand-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card p {
    color: var(--brand-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.sport-card, .membership-card, .benefit-card {
    background: var(--neutral-100);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
}

.sport-card h3, .membership-card h3, .benefit-card h3 {
    color: var(--brand-primary);
}

.sport-card .btn-outline, .membership-card .btn-outline, .benefit-card .btn-outline {
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    background: transparent;
}

.sport-card .btn-outline:hover, .membership-card .btn-outline:hover, .benefit-card .btn-outline:hover {
    background: var(--brand-primary);
    color: var(--brand-accent);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--neutral-100);
    padding: 5rem 0;
    text-align: center;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.newsletter-title {
    color: var(--brand-primary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.newsletter-description {
    color: var(--brand-primary);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--neutral-300);
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.newsletter-form button {
    background: var(--brand-primary);
    color: var(--brand-accent);
    padding: 1rem 2rem;
    border: 2px solid var(--brand-primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.newsletter-form button:hover {
    background: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .benefit-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        padding: 0 1rem;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
    }

    .newsletter-form button {
        padding: 0.875rem 1.5rem;
    }
}

/* Sports Section */
.sports-section {
    background: var(--brand-primary);
    padding: 5rem 0;
    text-align: center;
}

.sports-title {
    color: var(--brand-accent);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.sports-subtitle {
    color: var(--brand-primary);
    font-size: 1.4rem;
    margin-bottom: 4rem;
    opacity: 0.95;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sport-card {
    background: var(--neutral-100);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    position: relative;
}

.sport-icon {
    width: 120px;
    height: 120px;
    min-height: unset;
    max-height: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}
.sport-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
}

.sport-card h3 {
    color: var(--brand-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.sport-card p {
    color: var(--brand-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.sport-card .btn-outline {
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.sport-card .btn-outline:hover {
    background: var(--brand-primary);
    color: var(--brand-accent);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sports-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .sports-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .sports-title {
        font-size: 2.5rem;
    }
    
    .sports-subtitle {
        font-size: 1.2rem;
        margin-bottom: 3rem;
    }
    
    .sport-card {
        min-height: 350px;
        padding: 2rem;
    }
}

/* Hero Banner Styles */
.subpages-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
    padding-top: 60px;
    padding-bottom: 60px;
}

.subpages-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: center 20%/cover no-repeat;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.subpages-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 103, 47, 0.55);
    z-index: 2;
}

.subpages-hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    padding: 3rem 1rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.subpages-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.subpages-hero-content p {
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

/* Main About Content */
.about-main {
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: #1d672f;
    font-size: 1.15rem;
    max-width: 900px;
}

.about-section {
    margin-bottom: 2.5rem;
}

.about-section h2 {
    color: #155022;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-section ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.about-section li {
    margin-bottom: 0.7rem;
    color: #1d672f;
    font-size: 1.1rem;
}

/* Ensure header does not cover content */
@media (min-width: 768px) {
    .about-main {
        margin-top: 2.5rem;
    }
}

@media (max-width: 768px) {
    .subpages-hero-content h1 {
        font-size: 2.1rem;
    }
    .about-main {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

.mobile-menu-close {
    display: none;
}
@media (max-width: 768px) {
    .mobile-menu-close {
        display: block;
        position: absolute;
        top: 1.2rem;
        right: 1.2rem;
        background: none;
        border: none;
        font-size: 2.5rem;
        color: var(--brand-primary);
        cursor: pointer;
        z-index: 2200;
        padding: 0.25rem 0.75rem;
        line-height: 1;
        border-radius: 50%;
        transition: background 0.2s;
    }
    .mobile-menu-close:hover,
    .mobile-menu-close:focus {
        background: var(--brand-accent-light);
        outline: none;
    }
}

.about-cards-scroll {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
    margin-left: -1rem;
    margin-right: -1rem;
}
.about-cards-scroll::-webkit-scrollbar {
    display: none;
}
.about-card {
    min-width: 260px;
    max-width: 320px;
    flex: 0 0 auto;
    background: var(--neutral-100);
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 1.5rem;
    text-align: center;
    margin: 0.5rem 0;
}
@media (max-width: 600px) {
    .about-card {
        min-width: 80vw;
        max-width: 90vw;
    }
    .about-cards-scroll {
        gap: 1rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
}

@keyframes about-autoscroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.about-cards-scroll.autoscroll {
    animation: about-autoscroll 30s linear infinite;
    will-change: transform;
}

.about-cards-scroll.autoscroll:hover {
    animation-play-state: paused;
}

/* Modern Contact Page Redesign */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px;
    padding-right: 50px;
}

/* Add a subtle vertical divider for desktop */
.contact-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--neutral-300);
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0.7;
}

.contact-form, .contact-details {
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.contact-form h1 {
    color: var(--brand-primary);
    font-size: 2.7rem;
    margin-bottom: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
    background: none;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.contact-form input,
.contact-form textarea {
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    border: 1.5px solid var(--neutral-300);
    color: var(--brand-primary);
    font-size: 1.08rem;
    background: var(--neutral-200);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: var(--font-primary);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px var(--brand-primary-light);
}

.contact-form button {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-details {
    color: var(--brand-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 2.5rem;
}

.contact-details h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--brand-primary);
    font-weight: 800;
    letter-spacing: -1px;
}

.contact-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    font-size: 1.15rem;
}

.contact-details li {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.contact-details li strong {
    font-weight: 700;
    color: var(--brand-primary-dark);
}

.contact-details a {
    color: var(--brand-primary-light);
    text-decoration: underline;
    font-weight: 600;
    font-size: 1.08rem;
    transition: color 0.2s;
}

.contact-details a:hover {
    color: var(--brand-primary);
}

.contact-details i {
    color: var(--brand-primary-light);
    font-size: 1.25rem;
    margin-right: 0.7rem;
    vertical-align: middle;
    display: inline-block;
    width: 1.5em;
    text-align: center;
    opacity: 0.85;
    transition: color 0.2s;
}

.contact-details li:hover i {
    color: var(--brand-primary);
    opacity: 1;
}

.contact-details .contact-address {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

@media (max-width: 600px) {
    .contact-details .contact-address {
        white-space: normal;
    }
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-grid::before {
        display: none;
    }
    .contact-details {
        padding-left: 0;
        margin-top: 1.5rem;
    }
}

.book-court-hero {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.book-court-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(29, 103, 47, 0.65);
    z-index: 1;
}
.book-court-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.book-court-hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.book-court-hero-content p {
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
@media (max-width: 768px) {
    .book-court-hero-content h1 {
        font-size: 2.2rem;
    }
    .book-court-hero-content p {
        font-size: 1.2rem;
    }
} 

/* Fix sports icons for mobile */
.sport-icon img {
  max-width: 90px;
  max-height: 90px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.sport-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
}
.sport-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
@media (max-width: 600px) {
  .sports-grid {
    grid-template-columns: 1fr !important;
  }
  /* Remove the .sport-icon img size override so it matches desktop */
  .sport-card {
    padding: 1.2rem 0.5rem;
  }
} 