/* 
    Green Nature Garden and Landscaping 
    Premium Design System
*/

:root {
    --primary: #0B3D2E;
    --primary-rgb: 11, 61, 46;
    --secondary: #4CAF50;
    --secondary-rgb: 76, 175, 80;
    --accent: #A5D6A7;
    --white: #ffffff;
    --black: #050b09;
    --bg-dark: #050b09;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
}

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

.reveal {
    transition: var(--transition);
}

.reveal.active {
    /* No-op for now to ensure visibility */
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Glassmorphism utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Base Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 4px; /* Rectangular style matching header CTA */
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background: var(--secondary);
    color: #050b09; /* Deep dark green/black for excellent WCAG AA contrast */
    border: none;
    font-weight: 700;
}

.btn-primary:hover {
    background: #ffffff; /* Transition to white for perfect readability */
    color: #050b09;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}



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

.btn-outline:hover {
    background: var(--secondary);
    color: #050b09; /* Dark text on green for WCAG AA */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.25);
}

/* Header & Nav */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Top Header Bar */
.top-header {
    background-color: var(--white) !important;
    color: var(--black);
    height: 85px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #cbd5e1;
    transition: var(--transition);
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

/* Force logo text to be charcoal/black and prevent default purple/blue link colors */
.header-logo,
.header-logo *,
.header-logo:visited,
.header-logo:hover,
.header-logo:active {
    color: #0c141d !important;
    text-decoration: none !important;
}

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

.header-logo-img {
    height: 55px;
    width: 55px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1.5px solid var(--secondary);
    object-fit: contain;
    background: #050b18;
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.brand-highlight {
    color: var(--primary) !important;
}

/* Search Bar */
.search-bar-container {
    position: relative;
    width: 380px;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input-wrapper input {
    width: 100%;
    height: 40px;
    padding: 0 45px 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background-color: #f8fafc;
    color: #0c141d;
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

/* Search suggestions dropdown */
.search-results-dropdown {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 280px;
    overflow-y: auto;
    z-index: 1002;
}

.search-result-item {
    display: block;
    padding: 10px 16px;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f1f5f9;
    color: var(--primary);
}

.search-no-results {
    padding: 12px 16px;
    color: #64748b;
    font-size: 0.85rem;
    text-align: center;
}

/* Right Side Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-action-box {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 8px 16px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.phone-action-box:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background-color: rgba(76, 175, 80, 0.05);
}

.phone-action-icon {
    width: 16px;
    height: 16px;
}

.btn-header-cta {
    background-color: var(--secondary);
    color: #050b09; /* Deep dark text for WCAG AA contrast on green */
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-header-cta:hover {
    background-color: #ffffff;
    color: #050b09;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
}

/* Bottom Nav Bar */
.bottom-nav {
    background-color: #0c141d; /* Dark navy */
    height: 52px;
    border-bottom: 2px solid var(--secondary); /* Thin rust orange line */
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.bottom-nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: var(--transition);
}

/* Bottom Logo showing on Scroll */
.bottom-logo {
    display: flex;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transform: translateX(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.bottom-logo img {
    height: 34px;
    width: 34px;
    border-radius: 50%;
    border: 1px solid var(--secondary);
    object-fit: contain;
    background: #050b18;
}

.bottom-logo span {
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.main-header.scrolled .bottom-logo {
    opacity: 1;
    width: 180px;
    transform: translateX(0);
    pointer-events: auto;
}

.main-header.scrolled .bottom-nav-container {
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    gap: 2.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: var(--transition);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 6px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu li.nav-dropdown:hover > a {
    color: var(--secondary); /* Hover accent */
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-chevron {
    width: 12px;
    height: 12px;
    transition: var(--transition);
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #0c141d;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    list-style: none;
    transition: var(--transition);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
    width: 100%;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 8px 18px;
    font-size: 0.78rem;
    font-weight: 500;
    text-align: left;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-dropdown-menu li:last-child a {
    border-bottom: none;
}

.nav-dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--secondary);
    padding-left: 22px;
}

/* Scroll classes */
.main-header.scrolled .top-header {
    margin-top: -85px;
    opacity: 0;
    pointer-events: none;
}

.main-header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Mobile search & actions hidden on desktop */
.mobile-search-item,
.mobile-actions-item {
    display: none;
}

.mobile-nav-toggle {
    display: none;
}

body {
    padding-top: 137px; /* Account for desktop split header height */
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(5, 11, 9, 0.7), rgba(5, 11, 9, 0.5)), 
                url('images/hero.webp') center/cover no-repeat;
    z-index: -1;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.trust-line {
    margin-top: 3rem;
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.quick-nav {
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Services */
.section-padding {
    padding: 8rem 0;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

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

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(5, 11, 9, 0.9));
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.service-card:hover .service-overlay {
    background: linear-gradient(transparent, var(--primary));
}

.service-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Why Choose Us */
.why-us {
    background: radial-gradient(circle at top right, #0a1f18, #050b09);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-item {
    position: relative;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: default;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
                0 0 20px rgba(76, 175, 80, 0.1);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-image-container {
    width: 100%;
    height: 180px;
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.feature-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-item:hover .feature-image-container img {
    transform: scale(1.15) rotate(1deg);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.feature-item:hover p {
    color: var(--text-light);
}

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

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

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    display: none !important;
}

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

.gallery-item:hover .gallery-overlay i {
    display: none !important;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 3rem 2rem;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.client {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
}

/* Final CTA */
.final-cta {
    position: relative;
    padding: 10rem 0;
    text-align: center;
    background: linear-gradient(rgba(5, 11, 9, 0.8), rgba(5, 11, 9, 0.8)), 
                url('images/hero.webp') center/cover fixed;
}

.final-cta h2 {
    font-size: 4rem;
    margin-bottom: 2.5rem;
}

/* Footer */
footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

/* Visually hidden but accessible to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-5px);
}




@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-padding { padding: 5rem 0; }

    /* Hero */
    .hero {
        min-height: 600px;
        height: auto;
        padding: 8rem 0 4rem;
    }

    .hero h1 { 
        font-size: 2.2rem; 
        margin-bottom: 1.2rem;
        line-height: 1.2;
    }

    h2 { font-size: 2rem !important; }
    h3 { font-size: 1.5rem !important; }

    .quick-nav {
        display: none;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .trust-line {
        flex-direction: column;
        gap: 0.8rem;
        letter-spacing: 1px;
    }

    /* Services Grid Fix */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 350px;
    }

    /* Sections stacking */
    .features, .testimonials-grid, .gallery-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem;
    }

    /* Final CTA - Fixing the user's reported issue */
    .final-cta {
        padding: 6rem 0;
    }

    .final-cta h2 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 2rem;
    }

    /* Footer Optimization */
    .footer-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 2.5rem 1rem; 
        text-align: center;
    }

    .footer-col:nth-child(1),
    .footer-col:nth-child(4) {
        grid-column: 1 / span 2;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col p {
        margin: 0 auto;
    }

    /* Header & Nav */
    .mobile-menu-header {
        display: none !important;
    }
    
    .mobile-nav-toggle {
        display: block !important;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        color: #0c141d;
        z-index: 1002;
    }
    
    .mobile-nav-toggle i {
        width: 26px;
        height: 26px;
        transition: var(--transition);
    }
    
    .mobile-nav-toggle:hover {
        color: var(--secondary);
    }
    
    .top-header {
        height: 70px;
    }
    
    .top-header-container {
        padding: 0 1.5rem;
    }
    
    .header-logo-img {
        height: 42px;
        width: 42px;
    }
    
    .brand-text {
        font-size: 1.15rem;
    }
    
    .search-bar-container,
    .header-actions {
        display: none !important;
    }
    
    .bottom-nav {
        display: block !important;
        background: none !important;
        border: none !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
    }
    
    .bottom-logo {
        display: none !important;
    }
    
    /* Responsive Side Drawer Nav */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background-color: #0c141d;
        flex-direction: column;
        gap: 0;
        padding: 85px 1.5rem 40px 1.5rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
        backdrop-filter: blur(15px);
        border-left: 1px solid var(--glass-border);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateY(15px);
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Staggered mobile nav animations */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.35s; }
    .nav-menu.active li:nth-child(8) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(9) { transition-delay: 0.45s; }
    .nav-menu.active li:nth-child(10) { transition-delay: 0.5s; }
    .nav-menu.active li:nth-child(11) { transition-delay: 0.55s; }

    .nav-menu a {
        display: block;
        padding: 14px 8px;
        font-size: 0.9rem;
        color: var(--text-light);
        letter-spacing: 0.05em;
    }
    
    .nav-menu a:hover {
        color: var(--secondary);
        padding-left: 14px;
    }
    
    /* Mobile Search Bar inside Drawer */
    .mobile-search-item {
        display: block !important;
        padding: 0 8px 15px 8px !important;
    }
    
    .search-bar-container-mobile {
        width: 100%;
    }
    
    .search-bar-container-mobile input {
        width: 100%;
        height: 38px;
        padding: 0 40px 0 12px;
        border: 1px solid var(--glass-border);
        border-radius: 4px;
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--text-light);
        font-size: 0.85rem;
    }
    
    .search-bar-container-mobile input:focus {
        outline: none;
        border-color: var(--secondary);
        background-color: rgba(255, 255, 255, 0.08);
    }
    
    /* Mobile Dropdown */
    .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        background-color: rgba(255, 255, 255, 0.02);
        box-shadow: none;
        border: none;
        border-radius: 0;
        width: 100%;
        padding: 5px 0 10px 0;
        margin: 0;
    }
    
    .nav-dropdown-menu li {
        opacity: 1 !important;
        transform: none !important;
        border-bottom: none !important;
        transition: none !important;
    }
    
    .nav-dropdown-menu li a {
        display: block;
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
        color: var(--text-light) !important;
        text-transform: capitalize !important;
        letter-spacing: 0.02em !important;
        text-align: left !important;
    }

    .nav-dropdown-menu li a:hover {
        color: var(--secondary) !important;
        padding-left: 25px !important;
    }
    
    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }
    
    .nav-dropdown.open .nav-chevron {
        transform: rotate(180deg);
    }
    
    /* Mobile Actions inside Drawer */
    .mobile-actions-item {
        display: block !important;
        border-bottom: none !important;
        padding: 20px 8px 10px 8px !important;
    }
    
    .mobile-actions-wrapper .phone-action-box {
        color: var(--text-light);
        border-color: var(--glass-border);
        background-color: rgba(255, 255, 255, 0.02);
    }
    
    .mobile-actions-wrapper .phone-action-box:hover {
        background-color: rgba(76, 175, 80, 0.05);
        border-color: var(--secondary);
        color: var(--secondary);
    }
    
    body {
        padding-top: 70px; /* Account for mobile header height */
    }
.hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

    .logo-img {
        height: 75px;
        width: 75px;
    }
    
    nav {
        padding: 1rem 0;
    }


}

/* Extra small devices optimization */
@media (max-width: 380px) {
    .hero h1 { font-size: 2.2rem; }
    .final-cta h2 { font-size: 1.8rem; }
    .section-header h2 { font-size: 2rem; }
    .brand-text {
        font-size: 1rem !important;
    }
    .header-logo-img {
        height: 36px !important;
        width: 36px !important;
    }
}

/* Blog Section Redesign */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.blog-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.blog-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--secondary);
    color: #050b09; /* Deep dark green/black for excellent WCAG AA contrast */
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

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

.blog-card h3 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: white;
    transition: var(--transition);
}

.blog-card:hover h3 {
    color: var(--secondary);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    margin-top: auto;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.blog-read-more i {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.blog-card:hover .blog-read-more {
    gap: 0.8rem;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .blog-card h3 {
        font-size: 1.25rem;
    }
}

/* Location Section */
#location {
    scroll-margin-top: 100px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.map-container {
    padding: 1rem;
    height: 500px;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: 0;
}

.location-details {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.details-content h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.details-list {
    list-style: none;
}

.details-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.details-list i {
    color: var(--secondary);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 5px;
}

.details-list span {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.details-list strong {
    color: var(--text-light);
}

@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 400px;
    }
    
    .location-details {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .map-container {
        height: 280px;
        padding: 0;
    }
    
    .location-details {
        padding: 2rem 1.2rem;
        text-align: center;
        align-items: center;
    }

    .details-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .details-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .details-list li {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .details-list i {
        width: 20px;
        height: 20px;
    }

    .details-list span {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 250px;
    }
    
    #location .section-header h2 {
        font-size: 1.8rem !important;
    }
    
    .location-details {
        padding: 1.5rem 1rem;
    }

    .brand-highlight {
        display: none !important;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}



.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 11, 9, 0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: var(--transition);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

#lightbox-caption {
    margin-top: 1.5rem;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
}





/* ==========================================================================
   Split Section Styles (Merged from later layouts)
   ========================================================================== */
/* Split Section Layout (Liquid) */
.split-section {
    width: 100%;
    padding: 120px 0;
    overflow: hidden;
}

.split-container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.split-section.reverse .split-container {
    flex-direction: row-reverse;
}

.split-image-wrapper {
    flex: 1;
    position: relative;
    min-width: 450px;
}

.split-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.split-image-wrapper:hover .split-img {
    transform: scale(1.04);
}

.floating-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--secondary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.split-content {
    flex: 1;
    padding: 40px 0;
}

.split-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 550px;
    line-height: 1.8;
}

.features-list {
    list-style: none !important;
    margin: 2.5rem 0;
    padding: 0 !important;
    display: grid;
    gap: 1.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.features-list i {
    color: var(--secondary);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, #52b788 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 1024px) {
    .split-container {
        flex-direction: column !important;
        gap: 50px;
        padding: 0 20px;
    }
    
    .split-image-wrapper {
        min-width: 100%;
        width: 100%;
    }
    
    .split-img {
        height: 450px;
        border-radius: 24px;
    }
    
    .split-content {
        text-align: center;
    }
    
    .split-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-list {
        justify-content: center;
    }
    
    .features-list li {
        justify-content: center;
    }
    
    .floating-badge {
        top: 20px;
        right: 20px;
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   Contact Form and Details Styles (Merged & Adjusted for Dark Theme)
   ========================================================================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    padding: 0.85rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--glass-border) !important;
    font-family: var(--font-body);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}

#contact-form select {
    height: 47px;
}

#contact-form select option {
    background-color: #0c141d !important;
    color: var(--text-light) !important;
}

#contact-form textarea {
    resize: vertical;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12) !important;
}

#contact-form button[type="submit"] {
    transition: var(--transition);
}

#contact-form button[type="submit"]:hover {
    background-color: var(--accent) !important;
    transform: translateY(-2px);
}

#contact-form button[type="submit"]:active {
    transform: scale(0.98);
}

.contact-form-wrapper {
    padding: 3.5rem;
    height: auto;
    align-self: start;
}

@media (max-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    #contact-form-section .contact-form-wrapper {
        padding: 2rem 1.25rem !important;
        height: auto !important;
    }
    
    #contact-form-section .form-row-custom {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    #contact-form-section .form-group {
        margin-bottom: 0.5rem;
    }
}

/* â”€â”€ Premium Contact details card â”€â”€ */
.contact-details-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details-card .details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-details-card .details-list li {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
    text-align: left !important;
    margin-bottom: 0 !important;
    width: 100%;
}

.contact-details-card .details-list i {
    color: var(--secondary) !important;
    margin-top: 4px !important;
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

.contact-details-card .details-list span {
    text-align: left !important;
    display: block !important;
    color: var(--text-light) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .contact-details-card {
        padding: 2.5rem 1.5rem !important;
        align-items: flex-start !important;
    }
}

/* ==========================================================================
   Portfolio Showcase Section (Client Request)
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.filter-btn:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.portfolio-item {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.gallery-overlay {
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 1.5rem !important;
    text-align: center !important;
}

.overlay-text {
    display: none !important;
}

.overlay-text h3,
.overlay-text h4 {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.25rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.overlay-text p {
    font-size: 0.85rem !important;
    color: var(--secondary) !important;
    margin-bottom: 0 !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   Service Landing Page Custom Styles
   ========================================================================== */

/* Hero bullet list styling */
.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 1.5rem auto 2.5rem auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    max-width: fit-content;
}

.hero-bullets li {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-bullets li i {
    color: var(--secondary);
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* Page subtitle styling override for hero */
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Service problem section */
.problem-box {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 1.5rem;
    position: relative;
}

.problem-box h3 {
    color: #ef4444;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.problem-box p {
    margin-bottom: 1rem;
}

.problem-box p:last-child {
    margin-bottom: 0;
}

/* Service solution & process */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.solution-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.solution-card:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.solution-card i {
    color: var(--secondary);
    margin-bottom: 1rem;
    width: 32px;
    height: 32px;
    display: block;
}

.solution-card h4 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

/* Steps list */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.process-step {
    position: relative;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.process-step h4 {
    color: var(--white);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

/* USP comparison table */
.usp-table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.usp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: rgba(255, 255, 255, 0.01);
}

.usp-table th, .usp-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.usp-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    font-weight: 700;
}

.usp-table tr:last-child td {
    border-bottom: none;
}

.usp-table .us-column {
    background: rgba(76, 175, 80, 0.05);
    color: var(--white);
    font-weight: 600;
}

.usp-table .competitor-column {
    color: var(--text-muted);
}

.usp-table th.us-column-header {
    background: rgba(76, 175, 80, 0.1);
    color: var(--white);
}

.badge-green {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #4caf50;
    font-weight: 600;
}

.badge-red {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #ef4444;
    font-weight: 500;
}

.badge-green i, .badge-red i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* FAQs component styling */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.faq-item-custom {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
}

.faq-item-custom:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question-custom {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.faq-answer-custom {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Restoration box */
.restoration-box {
    background: rgba(76, 175, 80, 0.02);
    border: 1px solid rgba(76, 175, 80, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.restoration-box h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.restoration-box p {
    margin-bottom: 1rem;
}

.restoration-box p:last-child {
    margin-bottom: 0;
}

/* Trust section layout */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.trust-card i {
    color: var(--secondary);
    margin-bottom: 0.75rem;
    width: 28px;
    height: 28px;
    display: inline-block;
}

.trust-card h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.trust-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Service bullet list */
.service-check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-check-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.service-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Final CTA Section Enhancement */
.cta-banner {
    background: linear-gradient(135deg, rgba(11, 61, 46, 0.95), rgba(5, 11, 9, 0.98)), url('../assets/service-bg.webp') center/cover;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem auto;
    position: relative;
    overflow: hidden;
    max-width: 900px;
}

.cta-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-banner p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2rem auto;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .hero-bullets {
        align-items: flex-start;
        padding-left: 1rem;
    }
    .hero-bullets li {
        font-size: 1.05rem;
    }
    .problem-box, .restoration-box {
        padding: 1.5rem;
    }
    .cta-banner {
        padding: 3rem 1.5rem;
        margin: 3rem auto;
    }
    .cta-banner h2 {
        font-size: 1.8rem;
    }
    .usp-table th, .usp-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Page Banner (MLS Style) */
.page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 10rem 0 5rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}
.page-banner-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.page-breadcrumbs {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    z-index: 2;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}
.page-breadcrumbs a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.page-breadcrumbs a:hover {
    color: var(--white);
}
.page-breadcrumbs span.current-item {
    color: var(--text-muted);
}
.page-breadcrumbs .divider {
    color: rgba(255, 255, 255, 0.2);
}

/* Page Default Content Container */
.page-default-layout {
    padding: 5rem 0;
    background: var(--bg-dark);
    color: var(--text-light);
}
.page-default-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2.5rem;
    border-left: 5px solid var(--secondary);
    padding-left: 1.25rem;
}

/* Two-Column split for Image & Text */
.split-content-container {
    display: flex;
    gap: 3.5rem;
    align-items: flex-start;
    margin-bottom: 4rem;
}
.split-image-block {
    flex: 1.1;
    position: sticky;
    top: 150px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.split-image-block img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.split-image-block img:hover {
    transform: scale(1.03);
}
.split-text-block {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}
.split-text-block h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--secondary);
    padding-left: 0.75rem;
}
.split-text-block h2:first-of-type {
    margin-top: 0;
}
.split-text-block p {
    margin-bottom: 1.5rem;
}
.split-text-block ul.service-check-list {
    margin: 1.5rem 0;
}

@media (max-width: 991px) {
    .split-content-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    .split-image-block {
        position: relative;
        top: 0;
        max-width: 100%;
        width: 100%;
    }
    .page-default-title {
        font-size: 2.2rem;
    }
}

/* View Our Work Carousel styling */
.view-our-work-carousel-section {
    margin-top: 5rem;
    padding: 4rem 0;
    background: transparent;
    border: none;
    overflow: hidden;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    margin-bottom: 3rem;
}

.carousel-section-title {
    color: var(--white);
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.carousel-filter-container {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-filter-select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--white);
    padding: 0.8rem 2.5rem 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.carousel-filter-select:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(76, 175, 80, 0.1);
}

.filter-dropdown-icon {
    position: absolute;
    right: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    width: 18px;
    height: 18px;
}

/* Container Wrapper & Navigation */
.carousel-container-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1.5rem;
    position: relative;
}

.carousel-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    user-select: none;
}

.carousel-nav-btn:hover {
    color: var(--secondary);
}

.carousel-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Symmetrical Custom Leaf Shapes */
.leaf-shape {
    width: 52px;
    height: 52px;
    background-color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-nav-btn:hover .leaf-shape {
    background-color: #3d8b3f;
    transform: scale(1.05) rotate(var(--leaf-hover-rotate));
}

.left-leaf {
    --leaf-hover-rotate: -45deg;
    border-radius: 100% 0 100% 0;
    transform: rotate(-45deg);
}

.right-leaf {
    --leaf-hover-rotate: 45deg;
    border-radius: 0 100% 0 100%;
    transform: rotate(45deg);
}

/* Ensure Icons stay horizontal */
.left-leaf .arrow-icon {
    transform: rotate(45deg);
    color: var(--white);
    width: 20px;
    height: 20px;
}

.right-leaf .arrow-icon {
    transform: rotate(-45deg);
    color: var(--white);
    width: 20px;
    height: 20px;
}

/* Viewport and Slides */
.carousel-viewport {
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.carousel-viewport::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel-track {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
}

.carousel-slide {
    flex: 0 0 32%; /* Fits 3 slides nicely, showing edges of next/prev on larger viewports */
    min-width: 300px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.carousel-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.carousel-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);
    transition: filter 0.4s ease;
}

.carousel-slide:hover img {
    filter: brightness(0.95);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(5, 11, 9, 0.95));
    padding: 1.5rem;
    text-align: left;
}

.slide-caption h4 {
    color: var(--white);
    margin: 0;
    font-size: 1.15rem;
    font-family: 'Outfit', sans-serif;
}

.slide-caption p {
    color: var(--secondary);
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .carousel-slide {
        flex: 0 0 45%; /* Show 2 slides */
    }
    .carousel-header {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .carousel-nav-btn {
        display: none !important;
    }
    .carousel-container-wrapper {
        padding: 0 1rem;
    }
    .carousel-slide {
        flex: 0 0 80%; /* Show 1 slide with edges */
        min-width: 260px;
    }
    .carousel-slide img {
        height: 200px !important; /* Prevent squished/tall aspect ratio on mobile */
    }
    .carousel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    .carousel-section-title {
        font-size: 1.8rem;
    }
    .carousel-filter-select {
        width: 100%;
    }
}

/* Blog Post Author Box & Image styles */
.author-box {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-top: 60px;
    box-shadow: var(--shadow-premium);
}

.author-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    object-fit: contain;
    background: #050b18;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
}

/* Pricing Guide Table styling in Blogs */
.price-guide-table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
    background: #ffffff !important;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: var(--shadow-premium);
}

.price-guide-table th, .price-guide-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.price-guide-table th {
    background: rgba(76, 175, 80, 0.08) !important;
    color: var(--secondary) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.price-guide-table td, .price-guide-table td strong {
    color: #050b09 !important; /* Forces dark green-black text on white background */
}

.price-guide-table tr:hover {
    background: rgba(7, 33, 23, 0.02) !important;
}

@media (max-width: 768px) {
    .price-guide-table {
        display: block;
        overflow-x: auto;
    }
}
