/* CSS Reset and Variables */
:root {
    --primary-color: #1A6B3C; /* Forest Green */
    --accent-color: #7BC242; /* Lime Green */
    --text-color: #333333;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --dark-green: #114B29;
    
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

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

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

.btn-accent:hover {
    background-color: #6AB035;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

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

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

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98); /* Slightly transparent white for glass effect */
    backdrop-filter: blur(10px); /* Clean glassmorphism */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Softer, broader shadow */
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 18px 0;
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); /* Slightly deeper shadow on scroll */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px; /* Slightly wider for modern feel */
    margin: 0 auto;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.6rem; /* Slightly smaller, more refined */
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px; /* More breathing room between links */
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #333; /* Softer black */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

/* Stunning underline animation for nav links */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-link:hover {
    color: var(--accent-color);
}

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

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    padding-bottom: 25px; /* Bridge gap so hover doesn't break */
    margin-bottom: -25px;
}

/* For the dropdown toggle, we don't want the full width underline */
.dropdown .nav-link::after {
    display: none; 
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    background-color: var(--white);
    min-width: 280px; /* Slightly wider */
    box-shadow: 0 12px 30px rgba(0,0,0,0.08); /* Softer, elegant shadow */
    border-radius: 8px; /* Smoother corners */
    padding: 12px 0;
    z-index: 1000;
    list-style: none;
    border-top: 3px solid var(--accent-color); /* Changed to accent color for pop */
    border-bottom: 1px solid rgba(0,0,0,0.03);
    border-left: 1px solid rgba(0,0,0,0.03);
    border-right: 1px solid rgba(0,0,0,0.03);
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: dropDownReveal 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

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

.dropdown-link {
    display: block;
    padding: 12px 24px;
    color: #444;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent; /* Prepare for hover effect */
}

.dropdown-link:hover {
    background-color: #f8fbf4; /* Very light accent background */
    color: var(--primary-color);
    padding-left: 30px; /* stronger indent hover effect */
    border-left: 3px solid var(--accent-color); /* Elegant left border on hover */
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    /* Richer, darker gradient for a more cinematic, high-contrast look */
    background: linear-gradient(rgba(10, 45, 24, 0.85), rgba(20, 80, 45, 0.95)), url('./stock-vancouver.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    padding-top: 80px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
}

.badge-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    margin-bottom: 1.5rem;
    /* Smoother, wider spread shadow for elegance */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    line-height: 1.1;
}

.hero .subtext {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.hero-buttons .btn {
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: #E2E8F0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Stats Bar */
.stats-bar {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 40px 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.card-image {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.bg-sidewalk {
    background-image: url('./pressure washing curb.jpeg');
    background-position: center 65%;
}

.bg-squeegee {
    background-image: url('./window-cleaning-home.png');
    background-position: center 65%;
}

.bg-painting {
    background-image: url('https://images.unsplash.com/photo-1562259949-e8e7689d7828?auto=format&fit=crop&q=80');
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.card-content p {
    flex-grow: 1;
    margin-bottom: 20px;
}

.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

/* Gradient Background Utility */
.bg-gradient-green {
    background: linear-gradient(135deg, #f8fbf4 0%, #eef5e5 100%); /* Premium subtle green tint */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-col {
    background: var(--white);
    padding: 25px 20px; /* Reduced from 40px 30px */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft, elevated shadow */
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--accent-color); /* Grounding anchor line */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.feature-col:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 107, 60, 0.1); /* Slighly tinted hover shadow */
}

.feature-icon {
    font-size: 2.2rem; /* Reduced from 3rem */
    margin-bottom: 12px; /* Reduced from 20px */
    background: #f0f7ea; /* Soft green circle */
    width: 65px; /* Reduced from 90px */
    height: 65px; /* Reduced from 90px */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.feature-col:hover .feature-icon {
    transform: scale(1.1);
}

.feature-col h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.3rem; /* Reduced from 1.5rem */
    margin-bottom: 10px; /* Reduced from 15px */
}

.feature-col p {
    color: #555;
    line-height: 1.6;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Hide gallery items after the 8th one by default */
.gallery-grid .gallery-item:nth-child(n+9) {
    display: none;
}

/* Show all items when the show-all class is applied */
.gallery-grid.show-all .gallery-item:nth-child(n+9) {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f4ef;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 107, 60, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--white);
    padding: 10px 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 5px 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
}

/* Split Image Before/After Labels */
.split-labels {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none; /* Let hover pass through to the image/overlay */
    z-index: 2;
}

/* Specific position variation: Top/Bottom */
.split-labels.top-bottom {
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 20px;
    top: 0;
}

.split-labels.top-bottom .label-before {
    align-self: flex-start;
}

.split-labels.top-bottom .label-after {
    align-self: flex-end;
}




/* Service List Floating Badges */
.service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.service-badge {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(26, 107, 60, 0.1);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-badge.more {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.service-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}
.label-before, .label-after {
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* About Section Redesign */
.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-text .badge {
    margin-bottom: 20px;
}

.about-text .about-subtitle {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    max-width: 800px;
}

.about-checklist {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-checklist li {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-checklist li span {
    background: rgba(123, 194, 66, 0.1);
    color: var(--accent-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
}

.about-values {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.value-tag {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    border: 1px solid rgba(26, 107, 60, 0.1);
    transition: var(--transition);
}

.value-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stars {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

/* Contact CTA Buttons */
.contact-cta-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.contact-cta-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 0;
}

.contact-cta-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.contact-cta-call {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-cta-email {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border: 2px solid rgba(26, 107, 60, 0.15);
}

.contact-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

.contact-cta-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.contact-cta-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-cta-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.75;
}

.contact-cta-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
}

.contact-cta-note {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    text-align: center;
}

.service-areas {
    margin-top: 30px;
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-tagline {
    color: #E2E8F0;
}

.footer h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #E2E8F0;
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-hover);
    z-index: 999;
    transition: var(--transition);
}

@media (min-width: 769px) {
    .floating-call-btn {
        display: none;
    }
}

.floating-call-btn:hover {
    transform: scale(1.1);
    background-color: #6AB035;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 60px; /* More space when stacked */
        text-align: center;
    }

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

    .about-checklist li {
        justify-content: center;
    }

    .about-values {
        justify-content: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        width: 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .nav-item {
        margin: 16px 0;
    }
    
    .dropdown {
        padding-bottom: 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: transparent;
        border-top: none;
        padding: 10px 0 0 0;
        display: none;
        width: 100%;
        text-align: center;
    }
    
    .dropdown-link {
        padding: 12px 10px;
    }
    
    .dropdown-link:hover {
        padding-left: 10px; /* Reset so it doesn't horizontally shift when tapped on mobile */
    }
    
    /* On mobile, disable the hover rules to avoid sticky double-taps */
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .dropdown-menu.show {
        display: block !important;
        animation: fadeIn 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .trust-row {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .stat-item {
        width: 100%;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    animation-name: zoom;
    animation-duration: 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@keyframes zoom {
    from {transform:scale(0.8); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    text-align: center;
    color: #fff;
    padding: 15px 0;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media only screen and (max-width: 700px){
    .modal-content {
        width: 95%;
    }
}
