/* --- CSS Reset & Variables --- */
:root {
    /* Color Palette */
    --primary-blue: #1E40AF;
    --primary-hover: #1e3a8a;
    --text-dark: #0F172A;
    --text-light: #475569;
    
    /* Glassmorphism Engine */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-highlight: rgba(255, 255, 255, 1);
    --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.04);
    --blur-intensity: blur(20px);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    
    /* The Canvas: Subtle ambient background for glass to refract */
    background-color: #F8FAFC;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(30, 64, 175, 0.04), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(30, 64, 175, 0.03), transparent 25%);
    background-attachment: fixed;
}

/* Prevent horizontal scroll without breaking sticky */
body {
    max-width: 100vw;
    overflow-x: clip; /* Modern alternative to overflow-x: hidden that doesn't break sticky */
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

a { 
    text-decoration: none; 
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: 6rem 0; }
.text-center { text-align: center; }

.grid {
    display: grid;
    gap: 2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.btn-outline {
    background-color: var(--glass-bg);
    backdrop-filter: var(--blur-intensity);
    -webkit-backdrop-filter: var(--blur-intensity);
    color: var(--primary-blue);
    border-color: rgba(30, 64, 175, 0.2);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

/* --- Header & Navigation (Sticky + Glass) --- */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-intensity);
    -webkit-backdrop-filter: var(--blur-intensity);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0; /* Locks the header to the top */
    z-index: 1000; /* Ensures it stays above all other content */
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.logo span { color: var(--primary-blue); }

.desktop-nav { display: none; } 
.nav-contact { display: none; } 

.hamburger {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
}

/* =========================================
   PREMIUM GLASSMORPHIC MOBILE MENU ENGINE
   ========================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen right by default */
    width: 85%; /* Asymmetric split-screen view looks sleeker than 100% full cover */
    max-width: 400px;
    height: 100vh;
    
    /* True high-end glassmorphism foundation */
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: -15px 0 40px rgba(15, 23, 42, 0.1);
    z-index: 100000; /* Stacks over everything on the DOM */
    
    /* Layout positioning */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes utility links down to baseline */
    padding: 3rem 2.5rem;
    
    /* Ultra-smooth cubic transition entry */
    transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active trigger class fired via your script.js toggle */
.mobile-menu.active {
    right: 0;
}

/* Close button formatting top right corner */
#close-btn {
    align-self: flex-end;
    background: rgba(15, 23, 42, 0.04);
    border: none;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.2s ease;
    margin-bottom: 2rem;
}

#close-btn:hover {
    background-color: var(--text-dark);
    color: white;
    transform: rotate(90deg); /* Playful micro animation on hover */
}

/* Navigation Links Container Alignment */
.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    width: 100%;
}

/* Individual Link Anchor Items Styling */
.mobile-link {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem; /* Bold, high-contrast display sizing */
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

/* Pseudo indexing counter tags */
.mobile-link::before {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    opacity: 0.6;
    letter-spacing: 1px;
}
.mobile-link[href="#services"]::before { content: '01 //'; }
.mobile-link[href="#about"]::before { content: '02 //'; }
.mobile-link[href="#reviews"]::before { content: '03 //'; }

/* Tactile touch indentation feedback */
.mobile-link:hover,
.mobile-link:active {
    color: var(--primary-blue);
    padding-left: 0.75rem; /* Shifts link right slightly when touched */
}

/* Mobile Call Action Button refinement container */
.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding-top: 2rem;
    margin-top: auto;
}

.mobile-menu .btn {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.1rem;
    font-weight: 600;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.15);
}

/* Extra Quick Sub-Utility Contact Dock details */
.mobile-menu-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.menu-meta-item {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.menu-meta-item i {
    color: var(--primary-blue);
    width: 16px;
    text-align: center;
}

.menu-meta-item a {
    color: var(--text-dark);
    font-weight: 500;
}

/* --- Nexus-Style 50/50 Split Hero with Video --- */
.split-5050 {
    display: grid;
    grid-template-columns: 50% 50%;
    min-height: 88vh; 
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden; /* CRITICAL: Traps the video inside the section */
    background-color: var(--text-dark); /* Fallback if video is slow to load */
}

/* --- The Video Engine --- */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Deepest layer */
}

/* --- The Fade Overlay --- */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark Trade Blue on the left (90% opacity), fading to almost nothing on the right */
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.75) 45%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 1; /* Sits over video, behind text */
}

/* Left Column: Typography & Alignment */
.hero-left {
    display: flex;
    align-items: center;
    padding-left: 6vw; 
    padding-right: 4rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 2; /* Pushes text to the absolute front */
}

.hero-content-inner {
    width: 100%;
    max-width: 550px; 
}

.hero-overline {
    font-size: 0.85rem;
    font-weight: 700;
    color: #93c5fd; /* Softened blue for dark background */
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-overline::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #93c5fd;
}

.hero-left h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: white; /* Forced white for contrast */
}

.hero-left p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #cbd5e1; /* Light slate text over dark background */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

/* Make the outline button look good over dark backgrounds */
.hero-left .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.hero-left .btn-outline:hover {
    background: white;
    color: var(--text-dark);
    border-color: white;
}

/* Nexus Stats Dock */
.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Faded border */
    padding-top: 2rem;
}

.stat-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Right Column: Visual Coverage */
.hero-right {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2; /* Pushes the van to the front */
    pointer-events: none; /* Stops the van image from blocking right-clicks on the video */
}

.hero-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 15% center; 
}

/* =========================================
   MEDIA QUERIES (Mobile Stacking)
   ========================================= */
@media (max-width: 991px) {
    .split-5050 {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    /* On mobile, we want the overlay to cover everything so text is readable over the whole video */
    .hero-video-overlay {
        background: rgba(15, 23, 42, 0.85); 
    }

    .hero-left {
        padding: 6rem 1.5rem 4rem; 
    }

    .hero-content-inner {
        max-width: 100%;
    }
    
    .hero-left h1 { font-size: 3rem; }
    
    .hero-stats { flex-wrap: wrap; gap: 2rem; }

    .hero-right {
        min-height: 400px;
    }
    
    .hero-cover-img { object-position: center; }
}

/* --- Trust Bar (Dark Glass) --- */
.trust-bar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: var(--blur-intensity);
    -webkit-backdrop-filter: var(--blur-intensity);
    color: white;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.trust-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item i { font-size: 1.1rem; }
.trust-item .fa-star, .trust-item .fa-check-circle, .trust-item .fa-bolt { color: #facc15; }
.trust-item .fa-google { color: #ea4335; }

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 { 
    font-size: 2.5rem; 
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.section-header p {
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* --- Service Cards (Glassmorphism Upgrade) --- */
.services-grid { 
    grid-template-columns: 1fr; 
    padding-top: 1rem;
}

.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: var(--blur-intensity);
    -webkit-backdrop-filter: var(--blur-intensity);
    border: 1px solid rgba(226, 232, 240, 0.8);
    
    /* Keeps cards perfectly identical in size even if text length varies */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    
    padding: 3.5rem 2rem;
    border-radius: 16px; /* Smoother, more modern rounded corner */
    text-align: center;
    position: relative;
    overflow: hidden; /* Traps the hover glow effect */
    
    /* Strict hardware-accelerated transition curves */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

/* The Secret Interactive Layer: Top Edge Accent Accent Glow */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), #3b82f6);
    transform: scaleX(0); /* Hidden by default */
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* High-Grade Hover Responses */
.card:hover { 
    transform: translateY(-8px); /* Snappy vertical lift */
    border-color: rgba(30, 64, 175, 0.15);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06); /* Rich, premium depth shadow */
    background: rgba(255, 255, 255, 0.9);
}

/* Activate the top accent bar on hover */
.card:hover::before {
    transform: scaleX(1);
}

/* Icon Shell Enhancements */
.icon-wrapper {
    width: 80px; /* Marginally scaled up */
    height: 80px;
    background: rgba(30, 64, 175, 0.04);
    border-radius: 14px; /* Matches the square-to-round modern iOS aesthetic */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(30, 64, 175, 0.05);
}

.card:hover .icon-wrapper {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.05) rotate(4deg); /* Micro-rotation adds immediate tactile playfulness */
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.2);
}

.card .icon { 
    font-size: 2.2rem; 
    color: var(--primary-blue); 
    transition: color 0.3s ease;
}

.card:hover .icon { 
    color: white; 
}

/* Text Tweaks inside the Cards */
.card h3 {
    font-size: 1.6rem;
    letter-spacing: 0px;
    margin-bottom: 0.85rem;
    color: var(--text-dark);
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 280px; /* Keeps text columns tidy and highly readable */
}

/* =========================================
   MEDIA QUERIES (Grid Scaling Overrides)
   ========================================= */
@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

/* --- About & Hours --- */
.about-grid { grid-template-columns: 1fr; }

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Hours Card (Dark Glassmorphism) */
.hours-card {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: var(--blur-intensity);
    -webkit-backdrop-filter: var(--blur-intensity);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
}

.hours-card h3 { 
    color: white; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    padding-bottom: 1rem; 
    margin-bottom: 1.5rem; 
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.hours-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* --- Reviews (Glassmorphism) --- */
.reviews-grid { grid-template-columns: 1fr; }

.review-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-intensity);
    -webkit-backdrop-filter: var(--blur-intensity);
    border: 1px solid var(--glass-border);
    border-top: 4px solid var(--primary-blue); /* Keep the structural anchor */
    box-shadow: var(--glass-shadow);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.85);
}

.stars { 
    color: #facc15; 
    margin-bottom: 1.25rem; 
    font-size: 1rem; 
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.author { 
    font-weight: 600; 
    color: var(--primary-blue); 
    margin-top: 1.75rem; 
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Footer (Solid Anchor) --- */
/* Kept solid to visually anchor the floating glass elements above it */
footer {
    background-color: var(--text-dark);
    color: #94a3b8;
    padding: 5rem 0 2rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 { 
    color: white; 
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-brand h3 span { color: var(--primary-blue); }

.footer-brand p { max-width: 320px; }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact p { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
    color: #e2e8f0;
}

.footer-contact p a:hover { color: var(--primary-blue); }
.footer-contact p i { color: var(--primary-blue); width: 20px; }
.footer-bottom { text-align: center; font-size: 0.9rem; }

/* =========================================
   MEDIA QUERIES (Desktop Adjustments)
   ========================================= */
@media (min-width: 850px) {
    .hamburger { display: none; }
    
    .desktop-nav { 
        display: flex; 
        gap: 0.5rem; 
    }
    
    /* Ghost Pill Navigation Links */
    .desktop-nav a { 
        font-weight: 600; 
        color: var(--text-dark); 
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        position: relative;
    }
    
    .desktop-nav a:hover { 
        color: var(--primary-blue); 
        background-color: rgba(30, 64, 175, 0.05); 
    }
    
    .nav-contact { display: block; }

    .hero { padding: 10rem 0; }
    .hero h1 { font-size: 3.75rem; }
    .hero p { font-size: 1.25rem; }
    .hero-buttons { flex-direction: row; justify-content: center; gap: 1.5rem; }

    .trust-container { flex-direction: row; justify-content: space-around; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
    .footer-content { grid-template-columns: 1.5fr 1fr; }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}
/* --- Dynamic Master Modal Box Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.3); /* Softer, high-end dim overlay */
    backdrop-filter: blur(20px); /* Deeper blur for maximum isolation */
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    background: rgba(255, 255, 255, 0.85); /* Glassmorphic base */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    width: 100%;
    max-width: 920px;
    border-radius: 24px; /* Slightly sleeker curve */
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.7);
    
    /* Animation scale mechanics: scales up cleanly from 0.95 */
    transform: scale(0.95) translateY(15px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-window {
    transform: scale(1) translateY(0);
}

/* Polished Close Circle Button */
.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--text-dark);
    color: white;
    transform: scale(1.05);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.modal-gallery {
    width: 100%;
    height: 280px;
    background-color: var(--bg-offwhite);
    overflow: hidden;
}

#modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle image expansion effect when opened */
.modal-overlay.active #modal-img {
    transform: scale(1.02);
}

.modal-info {
    padding: 3rem 2.5rem; /* Generous breathing space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 {
    font-size: 2.4rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.modal-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 2.25rem;
}

/* Glassmorphic Upgraded Investment Panel */
.modal-pricing-box {
    background: rgba(248, 250, 252, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.05);
    padding: 1.5rem 1.75rem;
    border-radius: 14px;
    margin-bottom: 2.25rem;
}

.modal-pricing-box h4 {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.price-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.modal-pricing-box small {
    font-size: 0.75rem;
    color: #64748b;
    display: block;
}

.modal-cta {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
}

/* Desktop Grid Adjustments */
@media (min-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr 1.15fr;
    }
    .modal-gallery {
        height: 100%;
        min-height: 540px;
    }
}

/* =========================================
   ABOUT & HOURS SECTIONS OVERRIDES
   ========================================= */

/* --- Expanded About Section --- */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.section-overline {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.about-text-block h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.02);
}

.badge-item i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.about-image-block {
    position: relative;
    width: 100%;
}

.about-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.experience-floating-tag {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--text-dark);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.15);
}

.exp-years {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: #facc15;
}

.exp-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: #94a3b8;
}

/* --- Standalone Hours Section --- */
.hours-section {
    background: radial-gradient(circle at bottom left, rgba(30, 64, 175, 0.02), transparent 40%), var(--bg-white);
}

.hours-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.hours-info-left h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.hours-info-left p {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

/* Operational Status Live Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.open {
    background-color: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.open::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #10b981;
}

.status-badge.closed {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-badge.closed::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #ef4444;
    border-radius: 50%;
    display: inline-block;
}

/* Dark Glass Container Box */
.hours-glass-card {
    background: var(--text-dark);
    color: white;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255,255,255,0.05);
}

.hours-glass-card h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.hours-schedule-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
    transition: var(--transition);
}

.hours-schedule-list li:last-child {
    border-bottom: none;
}

.time-range {
    font-weight: 600;
    color: #e2e8f0;
}

/* Active Day Row Highlight */
.hours-schedule-list li.active-day {
    color: #facc15;
}
.hours-schedule-list li.active-day .time-range {
    color: #facc15;
}

/* --- Media Queries for Desktop Layouts --- */
@media (min-width: 992px) {
    .about-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
    
    .hours-wrapper {
        grid-template-columns: 1fr 1.1fr;
    }
}

/* =========================================
   INFINITE REVIEW MARQUEE OVERRIDES
   ========================================= */

.reviews-section {
    background-color: var(--bg-offwhite);
    overflow: hidden; /* Keeps track overflow entirely contained */
    width: 100%;
}

.marquee-container {
    position: relative;
    width: 100%;
    padding: 2rem 0;
    overflow: hidden;
    
    /* Elegant CSS masks fade the sides smoothly into white background */
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content; /* Dynamically calculates horizontal container width */
    
    /* Adjust '30s' here to make the speed faster or slower */
    animation: marqueeHorizontal 30s linear infinite; 
}

/* Pause the scrolling translation cleanly when cursor is hovering */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

/* Premium Restyled Review Cards */
.review-card-premium {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    width: 350px; /* Uniform set structural width */
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.review-card-premium:hover {
    transform: scale(1.02) translateY(-4px);
    border-color: rgba(30, 64, 175, 0.15);
    background: #ffffff;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.google-icon {
    color: #ea4335; /* Authentic Google brand color */
    font-size: 1.2rem;
}

.review-card-premium .stars {
    color: #facc15;
    font-size: 1rem;
    letter-spacing: 1px;
}

.review-card-premium .review-text {
    font-style: normal; /* Cleaner, more premium look than italics */
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.review-card-premium .author {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- The Core Animation Loop Engine --- */
@keyframes marqueeHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Loops exactly halfway through where the duplicated node array begins */
        transform: translateX(calc(-50% - 1rem)); 
    }
}

/* =========================================
   PREMIUM FOOTER SECTION OVERRIDES
   ========================================= */

.site-footer {
    background-color: var(--text-dark);
    color: #94a3b8; /* Softened typography shade */
    padding: 6rem 0 0; /* Zero bottom padding because bar anchors it */
    width: 100%;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

/* Column General Styling Elements */
.footer-column h4 {
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
}

/* Column 1: Brand Engine Details */
.footer-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.footer-logo span {
    color: var(--primary-blue);
}

.footer-bio {
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 360px;
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

/* Column 2: Quick Links Pipeline Interactive Underline */
.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-list a {
    font-size: 1rem;
    color: #94a3b8;
    position: relative;
    display: inline-block;
    width: max-content;
    padding-bottom: 2px;
}

.footer-links-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background-color: var(--primary-blue);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links-list a:hover {
    color: white;
}

.footer-links-list a:hover::after {
    width: 100%;
    left: 0;
}

/* Column 3: Contact Sheet Layout */
.footer-contact-sheet {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: #e2e8f0;
}

.contact-item i {
    color: var(--primary-blue);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-item a {
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--primary-blue);
}

/* Lower Attribution Row Container */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    font-size: 0.9rem;
    background-color: #0b111e; /* Marginally darker shade for block separation */
}

.bottom-bar-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.designer-tag a {
    color: #e2e8f0;
    font-weight: 500;
}

.designer-tag a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* =========================================
   MEDIA QUERIES (Desktop Multi-Column Engine)
   ========================================= */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.4fr 0.8fr 1fr; /* Custom asymmetric distribution grid */
        gap: 4rem;
    }

    .bottom-bar-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* =========================================
   MASTER ADAPTIVE RESPONSIVE OVERRIDES 
   (Handles everything 1338px and below)
   ========================================= */
@media (max-width: 1338px) {
    /* 1. Destroy the 50/50 split grid structure and center the canvas */
    .split-5050 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 80vh !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: auto !important;
        right: auto !important;
    }

    /* 2. COMPLETELY KILL THE VAN IMAGE RESIDUAL FOOTPRINT */
    .hero-right {
        display: none !important; /* Strips the right container and van image entirely from the DOM */
    }

    /* 3. Modify the overlay shield to go full dark screen tint for central text pop */
    .hero-video-overlay {
        background: rgba(15, 23, 42, 0.82) !important; /* Consistent coverage across the full width */
    }

    /* 4. Force Text and Metrics to Dead Center */
    .hero-left {
        width: 100% !important;
        padding: 6rem 1.5rem !important; /* Balanced container breathing space */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-content-inner {
        max-width: 650px !important; /* Gives typography a bit more tracking room on laptops */
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-overline {
        justify-content: center !important;
    }
    
    .hero-overline::before {
        display: none !important; /* Cleans up decorative alignment lines */
    }

    .hero-left h1 {
        font-size: calc(2.2rem + 1.5vw) !important; /* Smooth responsive text resizing down to phone scale */
        text-align: center !important;
        line-height: 1.15 !important;
    }

    .hero-left p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-buttons {
        justify-content: center !important;
        width: 100% !important;
    }

    /* 5. Flawless 1-Row Stats Row Alignment */
    .hero-stats {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 2rem !important;
        width: 100% !important;
        max-width: 500px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-top: 2rem !important;
        margin-top: 2rem !important;
    }

    .stat-block {
        text-align: center !important;
        flex: 1 !important;
        min-width: max-content !important;
    }

    .stat-number {
        font-size: 1.8rem !important;
    }

    .stat-label {
        font-size: 0.8rem !important;
    }
}

/* Micro fix for small phone viewports to prevent stats crowding */
@media (max-width: 480px) {
    .hero-stats {
        gap: 1rem !important;
    }
    .stat-number {
        font-size: 1.4rem !important;
    }
    .stat-label {
        font-size: 0.7rem !important;
    }
}

/* =========================================
   HEADER LOGO FLEX ALIGNMENT FIX
   ========================================= */
.logo {
    text-decoration: none !important; /* Prevents default blue underline states */
    display: inline-block;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem; /* Gap spacing between your png asset and text string */
}

.logo-text {
    font-family: 'Oswald', sans-serif; /* Change this if your site uses a different font family */
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-text span {
    color: var(--primary-blue); /* Keeps the ampersand blue accent alive */
}

/* --- Scaled Header PNG Logo Engine --- */
.brand-logo-img {
    /* INCREASES VISUAL SIZE: 
       Bumps up from 32px to 48px to let the design breathing room pop */
    height: 48px !important; 
    
    width: auto !important;  
    object-fit: contain !important;
    
    /* THE SAFETEY VALVLE: 
       Slight negative margin prevents the image from physically pushing the header 
       navbar height out of shape, keeping layout alignment flat */
    margin-top: -4px !important;
    margin-bottom: -4px !important;
    
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Keeps your crisp hover micro-interaction locked in */
.logo:hover .brand-logo-img {
    transform: scale(1.06) rotate(3deg) !important;
}

/* =========================================
   BLUE FROST GLASSMORPHIC HEADER OVERRIDE
   ========================================= */
.navbar {
    /* Subtle cool ice-blue tint with 50% transparency */
    background: rgba(190, 206, 255, 0.568) !important; 
    
    /* Stronger blur density to create that premium frosted feel */
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    
    /* A crisp, semi-transparent ice border along the bottom edge */
    border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    
    /* Smooth transition for when the user scrolls */
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease !important;
    
    /* High-end soft shadow to lift it off the video layer */
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03) !important;
}

/* =========================================
   MOBILE MODAL RESPONSIVE ENGINE (655px & Under)
   ========================================= */
@media (max-width: 767px) {
    /* 1. Ensure the overlay pad doesn't smash the window to the absolute edges */
    .modal-overlay {
        padding: 1rem !important;
        align-items: center !important;
    }

    /* 2. Force the window to scale down dynamically with the screen width */
    .modal-window {
        width: 100% !important;
        max-width: 100% !important;
        
        /* Sets a fluid calculation layout */
        height: auto !important;
        max-height: 85vh !important; /* Cap height so it doesn't leak off the bottom of the phone screen */
        
        border-radius: 16px !important;
        
        /* Crucial: Turns on inner scrolling if content overflows the max-height */
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important; 
        -webkit-overflow-scrolling: touch; /* Butter-smooth scrolling on iPhones */
    }

    /* 3. Strip the grid structure completely */
    .modal-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    /* 4. Downscale the image section footprint */
    .modal-gallery {
        width: 100% !important;
        height: 200px !important; /* Shrink image height so content has room */
        min-height: 200px !important;
        flex-shrink: 0 !important; /* Prevents the flexbox layout from crushing the image */
    }

    /* 5. Compress text fields padding and fonts */
    .modal-info {
        padding: 1.5rem 1.25rem !important; /* Tighter breathing space for small screens */
        width: 100% !important;
    }

    .modal-info h2 {
        font-size: 1.6rem !important; /* Scale down heading size */
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }

    .modal-description {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
    }

    /* 6. Clean up the pricing utility card bounds */
    .modal-pricing-box {
        padding: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .price-tag {
        font-size: 1.8rem !important;
    }

    /* 7. Position the close button safely over the image */
    .modal-close {
        top: 0.75rem !important;
        right: 0.75rem !important;
        background: rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
    }
}

/* =========================================
   FOOTER LOGO ALIGNMENT CONFIG
   ========================================= */
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;       /* Keeps the image-to-text gutter identical to your navbar */
    margin-bottom: 1.25rem; /* Replaces the margin footprint of the old text header */
}

.footer-logo {
    margin-bottom: 0 !important; /* Strips old margin so it centers perfectly with the image */
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.brand-logo-img-footer {
    height: 38px;       /* Set slightly larger than the header to anchor the massive footer column */
    width: auto;
    object-fit: contain;
}