/* ==========================================================================
   GLOBAL RESET (Place this at the very top of your file)
   ========================================================================== */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    overflow-x: hidden;
}

/* ==========================================================================
   1. BASE STYLES & VARIABLES
   ========================================================================= */
:root {
    --primary: #1A365D; 
    --accent: #E67E22; 
    --accent-hover: #D35400;
    --light: #F8F9FA;
    --dark: #2D3748;
    --text: #4A5568;
    --white: #FFFFFF;
}

/* ==========================================================================
   COOKIE CONSENT BANNER STYLES
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1A202C; /* Deep blue/black to contrast with your site */
    color: #fff;
    padding: 1rem 1.5rem;
    z-index: 9999; /* Ensures it sits on top of everything */
    transform: translateY(100%); /* Hides it below the screen by default */
    transition: transform 0.4s ease-in-out;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

/* The class added by JavaScript to make it visible */
.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #E2E8F0;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--accent); /* Uses your orange branding */
    text-decoration: underline;
    font-weight: 600;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-banner {
        padding: 1.5rem 1rem;
    }
}

body { font-family: 'Open Sans', sans-serif; color: var(--text); line-height: 1.7; background-color: var(--light); }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--primary); margin-bottom: 1rem; }
h2, .section-title { line-height: 1.2; } /* Desktop tight line-height */
a { text-decoration: none; color: var(--accent); transition: color 0.3s ease; }
a:hover { color: var(--primary); }

/* ==========================================================================
   2. TOP BAR & NAVIGATION
   ========================================================================= */
.top-bar { background-color: var(--dark); color: var(--light); padding: 0.5rem 2rem; font-size: 0.9rem; display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: inherit; text-decoration: none; margin-left: 15px; transition: color 0.2s ease-in-out; }
.top-bar a:hover { color: var(--accent); text-decoration: underline; }

header { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.logo { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 1.85rem;       /* Matches the footer logo size exactly */
    font-weight: 1000;        /* Matches the extra-bold weight */
    color: var(--primary);   /* Dark blue so it stays visible on the white header */
}
/* Smooth scrolling for anchor elements site-wide */
html {
    scroll-behavior: smooth;
}

/* Gives the section titles breathing room from the top when jumped to */
section[id],
h2[id],
h3[id] {
    scroll-margin-top: 100px !important; /* Keeps H2s, H3s, and Sections perfectly visible */
}

.logo span { 
    color: var(--accent);    /* Matches the orange accent color pop */
}
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--dark); font-weight: 600; position: relative; }
.nav-links a:hover { color: var(--accent); }
.dropdown { position: relative; }
.menu-toggle { display: none; font-size: 1.8rem; color: var(--primary); cursor: pointer; }

/* ==========================================================================
   3. BUTTONS
   ========================================================================= */
.btn-primary { background-color: var(--accent); color: var(--white) !important; padding: 0.8rem 1.5rem; border-radius: 5px; font-weight: 600; transition: all 0.3s ease; display: inline-block; border: none; cursor: pointer; }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3); }

/* ==========================================================================
   4. HERO SECTIONS
   ========================================================================= */
/* Main Hero */
.hero { background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('https://images.unsplash.com/photo-1504307651254-35680f356f12?auto=format&fit=crop&w=1920&q=80') center/cover; color: var(--white); padding: 8rem 2rem; text-align: center; }
.hero h1 { color: var(--white); font-size: 3.2rem; max-width: 1000px; margin: 0 auto 1.5rem auto; line-height: 1.3; }
.hero p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 2.5rem auto; }

/* About Hero */
.about-hero { background: linear-gradient(rgba(26, 54, 93, 0.85), rgba(26, 54, 93, 0.85)), url('https://images.unsplash.com/photo-1534398079543-7ae6d016b8bf?auto=format&fit=crop&w=1920&q=80') center/cover; padding: 6rem 2rem; }
.about-h1 { font-size: 2.8rem; margin-bottom: 1rem; }
.about-intro { font-size: 1.2rem; max-width: 800px; margin: 0 auto; }

/* ==========================================================================
   5. LAYOUT & GRIDS
   ========================================================================= */
.section-container { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; }
.text-center { text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 1.5rem; }

/* Intro / About Grid */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.intro-text p { margin-bottom: 1.5rem; font-size: 1.1rem; }
.certification-badge { display: inline-block; background: var(--primary); color: var(--white); padding: 0.5rem 1rem; border-radius: 4px; font-weight: 600; margin-top: 1rem; }

/* General Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.service-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-content h3 { font-size: 1.4rem; }
.card-content p { margin-bottom: 1.5rem; font-size: 0.95rem; }
.card-content a { margin-top: auto; font-weight: 600; display: inline-block; }

/* Locations Grid */
.locations-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; background: var(--white); padding: 4rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

/* Coverage Grid */
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 3rem 0; }
.location-card { background: #fff; padding: 2.5rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--accent); transition: transform 0.3s ease; }
.location-card:hover { transform: translateY(-5px); }
.location-card h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.4rem; }
.location-card p { font-size: 0.95rem; line-height: 1.6; color: var(--text); }
.map-placeholder { width: 100%; height: 300px; background: #e2e8f0; display: flex; align-items: center; justify-content: center; color: #4a5568; border-radius: 8px; margin-bottom: 2rem; }

/* Services Deep Dive */
.services-deep-dive { background: var(--dark); color: var(--light); padding: 5rem 2rem; }
.services-deep-dive h2 { color: var(--white); text-align: center; margin-bottom: 3rem; }
.columns-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.column h4 { color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 0.5rem; margin-bottom: 1.5rem; }
.column ul { list-style: none; }
.column ul li { margin-bottom: 0.8rem; }
.column ul li a { color: #A0AEC0; }
.column ul li a:hover { color: var(--white); }

/* Services Row Layout */
.service-row { display: flex; align-items: flex-start; padding: 5rem 2rem; gap: 10%; max-width: 1200px; margin: 0 auto; }
.row-reverse { flex-direction: row-reverse; }
.bg-white { background-color: var(--white); }
.bg-light-blue { background-color: #f4f9ff; }
.col-text { flex: 0 0 45%; }
.col-img { flex: 0 0 45%; }
.col-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); display: block; }
.col-text h2 { margin-bottom: 2rem; font-size: 2.5rem; }
.col-text h3 { margin-top: 1.2rem; margin-bottom: 0.1rem; font-size: 1.25rem; }
.col-text p { margin-bottom: 0.5rem; }

/* Pricing Section */
.pricing-section { background-color: var(--primary); color: var(--white); padding: 5rem 2rem; text-align: center; }
.pricing-section h2 { color: var(--white); }
.pricing-box { background: rgba(255,255,255,0.1); border: 2px solid var(--accent); padding: 3rem; max-width: 800px; margin: 2rem auto 0 auto; border-radius: 8px; }

/* About Specific Content */
.about-content { max-width: 900px; margin: 0 auto 4rem auto; }
.bottom-content { margin: 5rem auto 0 auto; }
.about-content p { margin-bottom: 1.5rem; font-size: 1.1rem; }
.about-content a { text-decoration: underline; }
.about-subtitle { margin-top: 4rem; font-size: 1.5rem; color: var(--accent); }
.about-list { list-style: none; margin-top: 1rem; font-size: 1.1rem; }
.about-list li { margin-bottom: 0.8rem; }
.about-list i { color: var(--accent); margin-right: 10px; }

/* ==========================================================================
   6. CONTACT FORMS
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "form info"; gap: 4rem; padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.contact-info-block, .contact-form-card { /* No margin here by default */ }
.contact-page-link { display: flex; align-items: center; margin-bottom: 10px; color: #4A5568; text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.contact-page-link:hover { color: var(--accent); }
.contact-page-link i { font-size: 1.1rem; width: 25px; margin-right: 10px; color: var(--accent); }

.contact-form-card { background: #ffffff; padding: 2rem; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-control { width: 100%; padding: 0.8rem; border: 1px solid #CBD5E0; border-radius: 4px; font-family: inherit; }
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.2); }

.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-bottom: 15px; padding: 12px; border: 1px solid #CBD5E0; border-radius: 4px; font-size: 16px; box-sizing: border-box; }
.contact-form button { display: block; width: 100%; padding: 15px; background-color: var(--accent); color: white; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; font-size: 1rem; }

/* ==========================================================================
   7. FOOTER
   ========================================================================= */
footer { background: #1A202C; color: #A0AEC0; padding: 4rem 2rem 2rem 2rem; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto auto; gap: 4rem; }
.footer-logo { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 1rem; }
.footer-logo span { color: var(--accent); }
.footer-brand { max-width: 350px; }

.footer-links h4, .footer-contact h4 { color: var(--white); margin-bottom: 1rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links ul li a { color: #A0AEC0; text-decoration: none; }
.footer-links ul li a:hover { color: var(--accent); }

.footer-contact-item { display: flex; align-items: center; margin-bottom: 1rem; color: #A0AEC0; text-decoration: none; }
.footer-contact-item i { font-size: 1.2rem; width: 35px; color: var(--accent); }
.footer-contact-item:hover { color: var(--white); }

.footer-bottom { max-width: 1200px; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid #2D3748; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.footer-bottom a { color: #A0AEC0; margin-left: 1rem; }
.footer-bottom a:hover { color: var(--white); }

/* ==========================================================================
   ABOUT PAGE: WHY CHOOSE US PLACE-CARDS
   ========================================================================== */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Clean 2-column layout on desktop */
    gap: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 6.5rem;
}

.reason-card {
    background: #ffffff;
    border-top: 4px solid var(--accent); /* Elegant orange top border pop */
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06); /* Sophisticated, premium drop shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reason-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Accentuated Checkmark Icons */
.reason-card .card-icon {
    color: var(--accent); 
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

/* Card Headlines */
.reason-card h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Card Body Prose */
.reason-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

/* Links inside Cards */
.reason-card p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.reason-card p a:hover {
    color: var(--accent);
}



/* Container: Desktop by default */
.static-image-grid {
    display: flex !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 1200px;
    margin: 2rem auto 6rem auto !important;
}

.grid-item {
    flex: 1 1 0% !important;
    width: auto;
}

.grid-item img {
    width: 100% !important;
    aspect-ratio: 9 / 16 !important;
    object-fit: cover !important;
    border-radius: 8px;
    display: block;
}

/* Mobile: Only show 1st item */
@media (max-width: 900px) {
    .static-image-grid {
        width: 85% !important;
        margin: 0 auto 5rem auto !important;
        gap: 0 !important;
    }

    .grid-item {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    /* Hide items 2, 3, and 4 */
    .grid-item:nth-child(n+2) {
        display: none !important;
    }
}


/* --- UNIVERSAL FIT: Force any image to fit its parent container --- */
/* This works on ANY page and ANY section automatically */
img {
    max-width: 100% !important; /* Forces large images to shrink */
    height: auto !important;    /* Keeps the image from stretching/squishing */
    display: block;             /* Removes unwanted whitespace */
}

/* If you need specific containers to keep a set shape without classes */
/* Add your container selectors here to enforce a consistent look */
.column img, 
.service-box img, 
.hero img {
    width: 100% !important;
    max-width: 100% !important; 
    object-fit: cover !important; /* Crops oversized images so they fit the box */
}








/* Responsive Mobile Layout rules */
@media (max-width: 900px) {
    .reasons-grid {
        grid-template-columns: 1fr; /* Stacks seamlessly into 1 column on mobile phones */
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .reason-card {
        padding: 1.25rem; /* Slightly tighter padding for smaller viewports */
    }
    
    
    
  html, body {
    overflow-x: hidden; /* Prevents horizontal scrolling/shifting */
    width: 100%;
}  
    
    
    
}
/* ==========================================================================
   8. RESPONSIVE / MOBILE STYLES (900px and below)
   ========================================================================= */
@media (max-width: 900px) {
    /* Headings & Typography */
    h2, .section-title { line-height: 1.1; }
    .about-h1 { font-size: 2.2rem !important; }
    .core-services-title { margin-top: 2rem; } /* Reduce top margin, core services */
    .hero p { 
        font-size: 1.1rem !important;      /* Adjust this number to change text size */
        line-height: 1.4 !important;     /* Adjust this number to change line spacing */
        margin-bottom: 2.5rem !important; /* Controls the spacing between this text and the button */
    }

  @media (max-width: 900px) {
    /* Force the navigation dropdown to be perfectly centered */
     /* Navigation */
    .menu-toggle { display: block; }
    .nav-links {
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: var(--white); 
        padding: 2rem 0 !important; /* Force 0 padding left/right to stop drifting */
        box-shadow: 0 10px 15px rgba(0,0,0,0.1); 
        border-top: 1px solid #eee;
        text-align: center; /* Ensures text inside is centered */
    }
  .nav-links.active { display: flex; }
    .nav-links a {
        display: block; 
        width: 100%; 
        text-align: center !important; /* Force absolute center */
        padding: 0rem 0 !important;   /* Clean vertical spacing */
        margin: 0 !important;         /* Remove any side margins */
    }
}
    /* Hero Blocks */
    .hero { margin-top: 0 !important; padding-top: 30px !important; padding-bottom: 70px !important; margin-bottom: 5px !important; min-height: auto !important; } /* Space below button fixed */
    .hero h1 { margin-top: 30px !important; margin-bottom: 20px !important; padding-top: 0 !important; font-size: 1.8rem !important; }

    /* Main Grids & Containers (Stacks to 1 Column) */
    .intro-grid, .locations-grid, .footer-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
    
    /* ADDED: Specific mobile spacing for Intro Grid (20+ years) */
    .intro-grid { gap: 3rem !important;  margin-bottom: 0px !important; margin-top: -20px !important; } /* Restores space between card and image */



    /* Contact Grid */
    .contact-grid { grid-template-columns: 1fr; grid-template-areas: "info" "form"; }
    
    /* Specific Sections */
    .pricing-box { padding-left: 20px !important; padding-right: 20px !important; }
    .pricing-box p { text-align: center; } /* Text is centered in pricing box */

    /* ADDED: Areas I Serve (locations-grid) fixes */
    .locations-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important; /* Spacing between text and image */
        padding: 1.5rem 1.5rem !important; /* Increase padding, match pricing box */
    }
    .locations-grid .location-card p { text-align: center; } /* Center text */
    .locations-grid .location-card .btn-primary { 
        margin-bottom: 2rem; /* Spacing below button */
        display: block; 
        width: 100%; 
        text-align: center;
    }
.locations-grid img {
    width: calc(100% + 3rem) !important;   /* Spans full width, ignoring container padding */
    aspect-ratio: 4 / 3 !important;        /* FORCES a perfect 4:3 box shape */
    object-fit: cover !important;          /* Cuts/crops the image perfectly so it never squishes */
    
    /* Perfect edge-to-edge alignment matching your 1.5rem container padding */
    margin-left: -1.5rem !important;       
    margin-right: -1.5rem !important;      
    margin-bottom: -4.5rem !important;     /* Flushes the image perfectly to the bottom border */
    
    border-radius: 0 0 8px 8px !important; /* Clean touch: rounds the bottom corners to match the card */
}

    /* Footer Bottom */
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-bottom div { margin: 0; }
    .footer-links h4, .footer-contact h4 { margin-top: 1.5rem; } /* increase spacing above titles */
}


@media (max-width: 900px) {
    /* Center the footer content on mobile */
    .footer-links, .footer-contact {
        text-align: left !important;
        width: 100% !important;
    }

    /* Force the list/links inside footer to remove left padding */
    .footer-links ul, .footer-links div {
        padding-left: 0 !important;
        list-style: none !important; /* Removes bullet points if they exist */
    }

    .footer-links a {
        display: block;
        text-align: left !important;
        padding: 0rem 0;
    }
}




/* Ensure the paragraph is visible on all screens by default */
.services-deep-dive p {
    display: block !important;
    visibility: visible !important;
}

/* Hide ONLY on desktop (901px and wider) */
@media (min-width: 901px) {
    .services-deep-dive p {
        display: none !important;
    }
}






/* --- Tablets and Phones (Max 768px) --- */
@media (max-width: 768px) {
    .top-bar { flex-direction: column; text-align: center; gap: 0.5rem; }
    .service-row { flex-direction: column; padding: 3rem 1rem; }
    .col-text, .col-img { flex: 0 0 100%; }
    .col-img { margin-bottom: 2rem; }
}

/* --- Small Phones (Max 600px) --- */
@media (max-width: 600px) {
    .coverage-grid { grid-template-columns: 1fr; }
}

/* --- Desktop Specific overrides --- */
@media (min-width: 900px) {
    .contact-info-block, .contact-form-card { margin-top: 4rem; margin-bottom: 4rem; }
}

@media (max-width: 900px) {

    /* ==========================================================================
       FIX 1: CORE SERVICES SECTION (Isolated)
       ========================================================================== */
    /* Only changes the container wrapping your core services grid */
    .section-container:has(.cards-grid) {
        padding-top: 0.5rem !important;    /* Safely shrinks the huge top gap here */
        padding-bottom: 1.5rem !important; /* Safely shrinks the huge bottom gap here */
    }

    /* Tighten the H2 title specifically inside the Core Services section */
    .section-container:has(.cards-grid) .section-title,
    .section-container:has(.cards-grid) h2 {
        margin-top: -10 !important;
        margin-bottom: 1.5rem !important;
    }

    /* Spacing BETWEEN the service cards */
    .service-card {
        margin-bottom: 35px !important;    
        display: block !important;
    }

    /* Ensure the final card doesn't leak extra space downwards */
    .cards-grid { margin-bottom: 0 !important; padding-bottom: 0 !important; }
    .service-card:last-child { margin-bottom: 0 !important; }

/* ==========================================================================
       SERVICES PAGE ONLY: TAILED SOLUTIONS SPACING
       ========================================================================== */
    /* Adds a generous gap above the H2 headline, pushing it down away from the Hero */
    .services-tailored-section .section-title {
        margin-top: 3.5rem !important;    /* INCREASED: Creates clean breathing room under the hero */
        margin-bottom: 2rem !important;
    }

    /* Forces deep separation below the stacked cards grid before the plumbing section kicks in */
    .services-tailored-section .cards-grid {
        margin-bottom: 4.5rem !important;  /* INCREASED: Pushes the next section down hard on mobile viewports */
    }
   /* ==========================================================================
       FIX 2: AREAS I SERVE SECTION (Isolated)
       ========================================================================== */
    /* 1. Outer section container wrapper */
    .section-container:has(.locations-grid) {
        padding-top: 4.5rem !important;    /* Gives this title plenty of breathing room from the edge */
        padding-bottom: 4rem !important;   /* Closes the outer container tightly at the bottom */
        margin-bottom: 2rem !important;    /* Pushes the next section down safely */
    }

    /* 2. Inner grid container (THE CULPRIT FIX) */
    .locations-grid {
        padding-bottom: 0rem !important;   /* Slashes the 1.5rem bottom padding so the background stops leaking */
    }
/* 3. Title positioning */
    .section-container:has(.locations-grid) .section-title,
    .section-container:has(.locations-grid) h2 {
        margin-top: 40px !important;
        margin-bottom: 0rem !important;    
    }
    
    /* 4. Button spacing */
    .locations-grid .btn-primary {  
        margin-top: 2.5rem !important;       /* Space ABOVE the button */
        margin-bottom: 1.5rem !important; 
        
        padding-left: -1.5rem !important;    /* Gives this title plenty of breathing room from the edge */
        padding-right: -1.5rem !important; 
        
        
        margin-left: -1.5rem !important;   /* Perfectly flush to the left edge */
        margin-right: 0rem !important;
        /* Space BETWEEN button and image */
        display: block !important; 
        width: 100% !important; 
        text-align: center !important;
    }

    /* 5. Image alignment enforcement */
    .locations-grid img {
        display: block !important;          /* Prevents any default browser text-gaps under the image */
        margin-bottom: 0rem !important;    /* Forces the image to lock onto the absolute bottom line */
        width: calc(100% + 3rem) !important;/* Spans full width, ignoring side padding */
        margin-left: -1.5rem !important;   /* Perfectly flush to the left edge */
        margin-right: -1.5rem !important;  /* Perfectly flush to the right edge */
        object-fit: cover !important;
        aspect-ratio: 4 / 3 !important;   /* Keeps your beautiful 4:3 ratio shape */
        border-radius: 0 0 8px 8px !important; /* Rounds just the bottom corners of the image to match the container card */
    } /* <-- FIXED: Added this missing bracket back to close out the image block! */

    /* ==========================================================================
       ABOUT PAGE: HERO SPACING FIX
       ========================================================================== */
    /* Trims the inside and outside bottom spacing of the About hero container */
    .about-hero {
        padding-bottom: 30px !important;  /* Cuts down the inside space below the text */
        margin-bottom: 3.5px !important;    /* Tightens the gap to the next section below it */
    }

    /* Safely adjusts the text block itself inside the hero */
    .about-intro {
        margin-bottom: 0px !important;    /* Prevents the paragraph from pushing extra space down */
        line-height: 1.5 !important;
    }

@media (max-width: 900px) {
    .reasons-grid {
        grid-template-columns: 1fr; 
        gap: 1.25rem;
        margin-top: 1.5rem;
        margin-bottom: 0rem !important; /* INCREASED: Pushes down the next section on mobile phones */
    }
    
    .reason-card {
        padding: 1.25rem; 
    }
    
    /* ==========================================================================
       ABOUT PAGE ONLY: BOTTOM CONTENT TIGHT SPACING
       ========================================================================== */
    /* Only targets the explicit about bottom section wrapper */
    .about-bottom-section {
        padding-top: 0rem !important;    /* Shaves the top gap of the container down drastically */
    }

    /* Only targets the headline inside this specific about section */
    .about-bottom-section .section-title,
    .about-bottom-section h2 {
        margin-top: 0rem !important;  /* Pulls the H2 up tight and close to the pricing block */
        margin-bottom: 1rem !important;
    }
    /* ==========================================================================
       ABOUT PAGE: PRICING SECTION FULL-WIDTH BREAKOUT (Mobile Only)
       ========================================================================== */
    /* 1. Forces the blue background container to snap full-bleed edge-to-edge */
    .pricing-section, 
    .pricing-section {
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        width: calc(100% + 2rem) !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        box-sizing: border-box !important;
    }

    /* 2. Makes the inner cards/text container wider so content isn't squished */
    .pricing-container, 
    .pricing-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
    
}

/* ==========================================================================
   ABOUT PAGE ONLY: MOBILE ONLY ADJUSTMENTS
   ========================================================================== */
@media (max-width: 900px) {

    /* Hero adjustments (Now safely inside mobile query) */
    .about-hero {
        padding-bottom: 30px !important;   /* Cuts down the inside space below the text */
        margin-bottom: 6px !important;   /* Tightens the gap to the next section below it */
    }

    .about-intro {
        margin-bottom: 0px !important;     /* Prevents the paragraph from pushing extra space down */
        line-height: 1.5 !important;
    }

    /* Why Choose Us Cards Spacing */
    .reasons-grid {
        grid-template-columns: 1fr !important; 
        gap: 2.25rem !important;          /* More space BETWEEN the cards when stacked */
        margin-top: 1.5rem !important;
        margin-bottom: -4rem !important;  /* FIXED: Added '1.5' to fix the broken empty rem value */
    }
    
    .reason-card {
        padding: 1.25rem !important; 
    }

}
/* --- FIX: Desktop Alignment for Services Paragraph --- */
@media (min-width: 901px) {
    .services-deep-dive p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }/* 1. FORCE THE PARAGRAPH TO CENTER ON ALL DEVICES */
.services-deep-dive p {
    text-align: center !important;
    display: block !important;
    margin: 0 auto 3rem auto !important; /* 'auto' sides keeps it centered */
    float: none !important;
}

/* 2. FORCE THE GRID TO LEFT-ALIGN ON ALL DEVICES */
.services-deep-dive .columns-grid {
    text-align: left !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    float: none !important;
}
}