/* 0. GLOBAL STYLES & VARS */
/* ======================= */
:root {
    --primary-blue: #0066cc;
    --primary-blue-dark: #0056b3;
    --secondary-blue: #0d6efd; 
    --dark-blue: #1a2b48; 
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --text-secondary: #555;
    --bg-light: #ffffff;
    --bg-light-gray: #f4f7f6;
    --border-color: #dee2e6;
    --star-yellow: #ffc107;
    
    /* Service Icon Colors
    --icon-ac: #007bff;
    --icon-heating: #fd7e14;
    --icon-maintenance: #28a745;
    --icon-ductwork: #6f42c1;
    --icon-thermostat: #ffc107;
    --icon-commercial: #17a2b8; */
    /* Service Icon Colors */
    --icon-ac: #A9161B;
    --icon-heating: #A9161B;
    --icon-maintenance: #A9161B;
    --icon-ductwork: #A9161B;
    --icon-thermostat: #A9161B;
    --icon-commercial: #A9161B;

    /* Trust Icon Colors */
    --icon-24-7: #a9161b; /* Green */
    --icon-sameday: #a9161b; /* Orange */
    --icon-pricing: #a9161b; /* Blue */
    --icon-licensed: #a9161b; /* Red */
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; line-height: 1.2; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.primary-cta {
    background-color: var(--primary-blue-dark);
    color: var(--text-light);
    border: 2px solid var(--primary-blue-dark);
}
.primary-cta:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.secondary-cta {
    background-color: var(--bg-light);
    color: var(--primary-blue-dark);
    border: 2px solid var(--border-color);
}
.secondary-cta:hover {
    background-color: #f8f9fa;
    border-color: #cdd5dc;
}

/* ======================= */
/* 1. HEADER & NAVIGATION  */
/* ======================= */
.header {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* .logo img {
    height: 60px !important; 
} */

.header .logo img {
    height: 230px;
    margin-top: -140px;
    margin-bottom: -140px;
    position: relative;
    top: -30px;
}


.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;

}


.main-nav a:hover {
    color: var(--primary-blue);
}


.nav-cta {
    padding: 10px 20px;
}

.mobile-nav-toggle {
    display: none; /* Hidden on desktop */
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-blue);
}

/* ======================= */
/* 2. HERO SECTION         */
/* ======================= */
.hero {
    position: relative;
    min-height: 90vh;
    padding: 60px 0;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}
.hero h1{
    font-size: 3.75rem;
    /* color:#A9161B; */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;  
    gap: 40px;
    position: relative;
    z-index: 3; 
}
.hero .container {
    margin-left: 0;
    margin-right: auto;
    padding-left: 80px; /* optional spacing from edge */
}


.hero-content {
    flex: 1;
    max-width: 700px;    /* Keeps text in a narrow left column */
    text-align: left;    /* Align text left */
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay to darken video so text is readable */
.hero-video-bg .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.10);
}

.hero-rating {
    font-weight: 500;
    /* color: var(--text-secondary); */
    color: white;
    margin-bottom: 10px;
}
.hero-rating .fa-star {
    color: var(--star-yellow);
}

.hero-subtext {
    font-size: 1.25rem;
    /* color: var(--text-secondary); */
    color: white;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-trust-icons {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    /* color: var(--text-secondary); */
    color:white;
}
.hero-trust-icons .fa-check-circle {
    /* color: var(--icon-maintenance); */
    color: #f59a16;
    margin-right: 5px;
}

.badge-24-7 {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    font-size: 0.9rem;
}
.badge-24-7 strong {
    font-size: 1.5rem;
    color: var(--dark-blue);
    display: block;
}

  
/* font-family: 'pattaya', sans-serif; */

.hero-slogan {
    font-family: 'Pattaya', sans-serif;
    font-size: 2.8rem;
    font-weight: bold;
    margin-top: 1px;
    margin-bottom: 5px;
    color: white;
    opacity: 0.9;
    display: inline-block;
}

/* Quote marks */
.hero-slogan .quote-mark {
    font-family: 'Pattaya', sans-serif; 
    font-size: 2.6rem;
    vertical-align: top;
    display: inline-block;
}

/* Opening quote spacing */
.hero-slogan .quote-mark.opening {
    margin-right: 7px; /* tiny space between “ and O */
}


/* ======================= */
/* 3. mission statment SECTION     */
/* ======================= */
.mission-impact-section {
    padding: 20px 20px;
    background-color: var(--dark-blue); 
    color: var(--bg-light); 
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Subtle texture/gradient for 'wow' effect */
.mission-impact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.8;
}

.mission-container {
    position: relative; 
    z-index: 2;
}

.mission-quote-icon {
    display: none;
}
.mission-title {
    font-family: Georgia, serif;
    font-size: 2.5rem;
    color: #f59a16; /* matches previous strong color */
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.mission-statement-text {
    font-family: Georgia, serif; 
    font-size: 2.0rem; /* Large font size */
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto 50px auto;
    font-weight: 400; /* Lighter weight for sleekness */
    color: var(--text-light);
    padding: 0 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Subtle shadow for depth */
}

.mission-statement-text strong {
    color: #f59a16; /* Highlight key phrases with a contrasting color */
    font-weight: 700;
}

.mission-key-values {
    display: flex;
    
    justify-content: center;
    

    gap: 80px; 
    
    margin-top: 30px;
    padding-top: 30px;
    
    border-top: 1px solid rgba(255, 255, 255, 0.2); 
    
    flex-wrap: nowrap; 
}

.value-item {
    flex-basis: 200px; 
    text-align: center; 
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    display: block;
}

.value-item:hover i {
    transform: translateY(-5px) scale(1.05);
}

.value-item p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* ======================= */
/* 3. SERVICES SECTION     */
/* ======================= */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light-gray);
}

.services-section h2 {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.learn-more {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 0.95rem;
}

.service-icon {
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 15px;
}
.icon-ac { background-color: var(--icon-ac); }
.icon-heating { background-color: var(--icon-heating); }
.icon-maintenance { background-color: var(--icon-maintenance); }
.icon-ductwork { background-color: var(--icon-ductwork); }
.icon-thermostat { background-color: var(--icon-thermostat); }
.icon-commercial { background-color: var(--icon-commercial); }

.view-all-container {
    text-align: center;
}
/* ------------------------------
    MODERN FINANCING BANNER
--------------------------------- */

.financing-banner {
    background: linear-gradient(135deg, #A9161B, #8E1216, #A9161B);
    padding: 35px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Subtle glowing gradient shine */
.financing-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.08),
        transparent 70%
    );
    animation: softGlow 7s infinite alternate;
    pointer-events: none;
}

@keyframes softGlow {
    from { transform: translateX(-10%); }
    to { transform: translateX(10%); }
}

.financing-inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}
.financing-left {
    display: flex;
    align-items: center;
    gap: 15px; /* Slightly tighter for modern look */
    flex: 1 1 400px; /* Flex-grow and minimum width for responsiveness */
}
.financing-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.financing-left h3 i {
    color: #f6b320;
    margin: 0 6px; /* space around each icon */
    font-size: 3rem; /* slightly smaller than main icon */
    top: -15px; 

}


.financing-left h3 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 3px 0;
    letter-spacing: 0.5px;
}

.financing-left p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.5rem;
    color: #fff;

}
/* Modern CTA Button */
.financing-btn {
    background: #f6b320;
    color: #0c1d31;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.35s ease;
    box-shadow: 0 6px 15px rgba(246, 179, 32, 0.35);
    flex-shrink: 0; /* Prevents button from shrinking */
    margin-top: 15px; /* Spacing for mobile wrap */
}

.financing-btn:hover {
    background: #ffbe1f;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 22px rgba(246, 179, 32, 0.45);
}



/* ======================= */
/* 4. "WHY US" TRUST SECTION */
/* ======================= */
.trust-section {
    padding: 80px 0;
    background-color: var(--dark-blue);
    color: var(--text-light);
}

.trust-section h2, .trust-section p {
    color: var(--text-light);
}

.trust-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.trust-content {
    flex: 1.2;
}

.trust-list {
    margin-top: 30px;
}

.trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.trust-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.icon-24-7 { background-color: var(--icon-24-7); }
.icon-sameday { background-color: var(--icon-sameday); }
.icon-pricing { background-color: var(--icon-pricing); }
.icon-licensed { background-color: var(--icon-licensed); }

.trust-text strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}
.trust-text p {
    color: #ccc; /* Lighter gray for subtext */
    margin-bottom: 0;
}

.trust-image-wrapper {
    flex: 1;
    position: relative;
}

.trust-image {
    border-radius: 12px;
    height: 450px;        
    width: 100%;
    object-fit: cover;
}

.trust-badge {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    position: absolute;
    bottom: -60px;
    left: 20px;
    width: 250px;
}
.trust-badge strong {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-right: 10px;
}
.trust-badge-stars {
    display: inline-block;
    color: var(--star-yellow);
}
.trust-badge p {
    margin: 5px 0;
    color: var(--text-secondary);
    font-weight: 500;
}
.trust-badge hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 10px 0;
}

/* ======================= */
/* 5. WORKMANSHIP SECTION  */
/* ======================= */
.workmanship-section {
    padding: 120px 0 80px 0; /* Extra top padding for badge overlap */
    background-color: var(--bg-light);
}

.workmanship-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.work-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
}

.work-gallery img {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;   
}
.work-img-4 {
    object-position: center 1%;
}
.work-img-3 {
    object-position: center 5%;
}
.work-img-1 {
    object-position: center 1%;
}


.work-content {
    flex: 1;
}

.tag {
    background-color: #e6f0ff;
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.work-features {
    margin: 25px 0;
}

.work-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.work-features .fa-check-circle {
    /* color: var(--icon-maintenance); */
    color: #f59a16;
    font-size: 1.2rem;
}

.work-buttons {
    display: flex;
    gap: 15px;
}

/* ======================= */
/* 6. CTA BANNER SECTION   */
/* ======================= */
.cta-banner {
    padding: 80px 0;
    background-color: var(--primary-blue);
    color: var(--text-light);
    text-align: center;
}

.cta-banner-container {
    max-width: 900px;
}

.cta-icon-head {
    font-size: 2rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255,255,255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.cta-banner h2, .cta-banner p {
    color: var(--text-light);
}

.cta-banner p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.cta-box-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.cta-box {
    flex: 1;
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-box i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.cta-box strong {
    display: block;
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.cta-box span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cta-box .cta-phone,
.cta-box .cta-quick {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-blue);
    margin-top: 10px;
}

.cta-trust-icons {
    color: #bfe0ff; 
    justify-content: center;
}
.cta-trust-icons span {
    color: var(--text-light);
}
.cta-trust-icons .fa-check-circle {
    /* color: var(--text-light); */
    color: #f59a16;
}

/* ======================= */
/* 7. FOOTER SECTION       */
/* ======================= */
.footer {
    padding: 80px 0 0 0;
    background-color: var(--dark-blue);
    color: #ccc;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-col p {
    color: #ccc;
    font-size: 0.95rem;
}

.footer-rating {
    margin-top: 10px;
    color: var(--star-yellow);
}
.footer-rating strong {
    color: #ccc;
    margin-left: 10px;
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--text-light);
}
.footer-links .fa-chevron-right {
    font-size: 0.7rem;
    margin-right: 8px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.footer-contact i {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 5px;
}
.footer-contact span {
    font-size: 0.9rem;
    color: #aaa;
}
.footer-contact a, .footer-contact p {
    color: #ccc;
    margin-bottom: 0;
}
.footer-contact p strong {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 60px;
    padding: 25px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom-links a {
    color: #ccc;
    margin-left: 20px;
}
.footer-bottom-links a:hover {
    color: var(--text-light);
}

.footer-seals {
    display: flex;
    align-items: center;  /* Aligns them vertically in the middle */
    gap: 15px;            /* Adds space between the two seals */
    margin-bottom: 10px;  /* Adds some space below the seals */
}

.footer-seal {
    max-width: 100px; /* Adjust this size as needed */
    height: auto;     /* Keeps the image aspect ratio */
}

.footer-seal-bbb {
    max-width: 120px; 
    height: 60px; 
    /* width: auto; */
}
.social-links-container {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between icons */
    margin-top: 25px; /* Space above the icons, below the rating */
}

.social-icon {
    /* Base style for the icon background */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; /* Size of the container */
    height: 38px;
    border-radius: 50%; /* Makes it a circle */
    background-color: #34495e; /* Darker background, sleek */
    color: var(--text-light); /* White/light icon color */
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent; /* Prepare for border hover effect */
}

.social-icon:hover {
    /* Modern, professional hover effect: primary blue border and icon color */
    background-color: transparent; 
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-2px); /* Subtle lift */
}
.form-alert {
    display: none; /* hidden by default */
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #39b088; /* green success color */
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    animation: fadeInOut 5s forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    90% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

/* ======================= */
/* 8. RESPONSIVE STYLES    */
/* ======================= */

/* --- Tablet (max-width: 992px) --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.2rem; }

    /* Header */
    .main-nav { display: none; }
    .nav-cta { display: none; }
    .mobile-nav-toggle { display: block; }
    /* Mobile nav (JS toggles .active) */
    .main-nav.active {
        display: flex;
        position: absolute;
        top: 71px; /* Header height */
        left: 0;
        right: 0;
        background: var(--bg-light);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    .main-nav.active ul {
        flex-direction: column;
    }
    .main-nav.active li {
        padding: 10px 0;
    }

    /* Hero */
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-buttons { justify-content: center; }
    .hero-trust-icons { justify-content: center; }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Trust */
    .trust-container { flex-direction: column; }
    .trust-image-wrapper { width: 100%; }
    .trust-badge {
        bottom: auto;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
    }
    .trust-content { margin-top: 60px; }

    /* Workmanship */
    .workmanship-section { padding-top: 80px; }
    .workmanship-container { flex-direction: column-reverse; }
    
    /* CTA Banner */
    .cta-box-wrapper { flex-direction: column; }

    /* Footer */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-about { grid-column: 1 / 3; }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 766px) {

    /* h1 { font-size: 3rem; }
    h2 { font-size: 1rem; } */


    .hero-buttons {
        flex-direction: column;
    }

    .hero-trust-icons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .badge-24-7 {
        right: 10px;
        bottom: 10px;
        padding: 10px 15px;
    }

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

    /* Workmanship */
    .work-gallery {
        grid-template-columns: 1fr;
    }
    .work-img-2 { display: none; }
    .work-img-4 { display: block; }
    .work-buttons { flex-direction: column; }

    /* Footer */
    /* .footer-container {
        grid-template-columns: 1fr;
    } */
    .footer-container {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 16px; /* Space between items */
        text-align: center;
        align-items: flex-start;
    }
    .footer-about { grid-column: auto; }

    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
    }
    .footer-seals {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px; /* optional spacing */
        width: 100%;
        text-align: center;
    }

    .footer-seal {
        display: block;
        margin: 0 auto;
    }
    .footer-about p {
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }

    /* Center the star rating + text */
    .footer-rating {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        text-align: center;
        width: 100%;
        margin: 10px 0;
    }
    .social-links-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 14px; /* spacing between icons */
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .social-links-container .social-icon {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .footer-col.footer-links {
        flex-grow: 1; 
        flex-basis: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column; 
        align-items: center;
        justify-content: flex-start;
        padding: 8px;
        text-align: center;
    }
    
      /* Ensure the ULs and LIs don't force extra width */
    .footer-col.footer-links ul {
        margin: 0;
        padding: 0;
        list-style: none; /* optional */
        width: 100%;
    }
    
    .footer-col.footer-links ul li {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 6px 0;
    }
    
      /* Small tweak if icons push width */
    .footer-col.footer-links ul li i {
        margin-right: 8px;
        transform: translateX(-2px); /* optional visual tweak */
    }
   
    

    /* Header */
    .header {
        padding: 25px 0; 
    }

    .header-container .logo {
        margin: 0 auto; 
    }

    /* .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 20px 80px;
    } */
    
    .hero-container,
    .hero-container .container {
        width: 100% !important;      /* full width */
        max-width: 100% !important;  /* remove framework max-width */
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;       /* center content inside container */
    }

    .hero h1 {
        font-size: 1.8rem; 
        line-height: 1.3;
    }
    .hero {
        height: 60vh;          /* You can use 55vh or 50vh if you want shorter */
        min-height: 480px;     
        position: relative;
        overflow: hidden;
    }
    .hero-rating {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }

    .hero-subtext {
        font-size: 0.85rem;
        margin: 15px 0 20px;
    }
    .hero-buttons a {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 1.1rem;
    }

    .hero-buttons {
        width: 100%;
        gap: 10px;
    }
    /* .hero-trust-icons span {
        font-size: 0.7rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    } */
    /* .hero-video-bg video {
        object-fit: cover;
        height: 100%;
        width: 100%;
    } */

    .hero-trust-icons {
        display: flex;              
        flex-direction: row;        
        justify-content: center;   
        align-items: center;        
        gap: 15px;                 
        flex-wrap: wrap;           
    }
    
    .hero-trust-icons span {
        width: auto;                
        font-size: 0.7rem;
        text-align: center;         
        display: flex;              
        align-items: center;
        gap: 5px;                   
    }
    .hero-video-bg {
        height: 100%;
        width: 100%;
        position: absolute;
        inset: 0;
        overflow: hidden;
    }
    .hero-video-bg video {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    .mission-impact-section {
        /* Reduce overall vertical padding for mobile */
        padding: 60px 20px; 
    }

    .mission-statement-text {
        /* Reduce large font size for readability on small screens */
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 30px; /* Reduced margin before key values */
        padding: 0 10px;
    }

    /* Change Layout: Force the three key values to stack vertically */
    .mission-key-values {
        flex-direction: column; /* Stack the items vertically */
        gap: 0; /* Remove gap between items */
        padding-top: 20px; /* Less space above the line */
        margin-top: 20px; /* Less space below the line */
    }

    .value-item {
        /* Allow the items to take full width and add internal padding */
        flex-basis: auto; 
        width: 100%;
        padding: 15px 0; /* Add vertical space around each item */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator line for stacked items */
    }
    
    /* Remove the bottom border on the last item for a cleaner look */
    .value-item:last-child {
        border-bottom: none;
    }

    .value-item p {
        font-size: 1rem; /* Slight reduction for better fit */
    }
    .trust-container {
        flex-direction: column;
    }

    /* 2. Adjust the Trust Badge position relative to the image wrapper */
    .trust-image-wrapper {
        width: 100%;
        margin-top: 20px; 
        /* INCREASE padding-bottom to ensure the badge is not cut off at the bottom of the section */
        padding-bottom: 100px; /* Increased from 50px */
        
    }
    
    .trust-badge {
        /* Set position relative to the image wrapper */
        position: absolute; /* Already set on desktop, but good to confirm */
        
        /* Corrected positioning: 
           bottom: 10px moves it up from the very bottom edge.
           left: 10px moves it right from the very left edge. */
        bottom: 75px; 
        left: 115px;  
        right: auto; 
        top: auto;   

        /* SET MAX-WIDTH: This prevents the badge from being wider than the screen on smaller phones. */
        max-width: 95%; /* Ensures badge doesn't exceed 95% of the parent width */
        width: 200px; /* Set a practical default width */
        
        /* Ensure it is on top */
        z-index: 5;
    }
    .trust-section {
        padding: 40px 20px; 
    }
    .trust-badge strong {
        font-size: 1.0rem; 
        color: var(--dark-blue);
        margin-right: 10px;
    }
    .trust-image {
        height: 380px;     /* Make it shorter */
        width: 100%;
        object-fit: cover; /* Crop instead of squishing */
        /* object-position: center top;  */
        object-position: center -50px;
    }
    .hero-slogan {
        font-size: 1.5rem;
    }
    .hero-slogan .quote-mark {
        font-size: 1.5rem;
    }
    .financing-inner {
        flex-direction: column; /* Stack content vertically */
        justify-content: center;
        align-items: center;
        gap: 10px; /* Reduce spacing */
        text-align: center; /* Center text and button */
    }

    .financing-left {
        justify-content: center; /* Center icon and text */
        gap: 10px;
        flex: 1 1 100%; /* Full width for stacking */
    }

    .financing-left h3 {
        font-size: 1.4rem; /* Reduce headline font size */
        line-height: 1.2; 
        white-space: nowrap;         /* <<< forces the entire line to stay together */

    }

    .financing-left h3 i {
        font-size: 1.4rem; /* Reduce icon size */
        top: -8px; /* Adjust icon vertical position */
    }

    .financing-left p {
        font-size: 1rem; /* Reduce paragraph font size */
    }

    .financing-btn {
        padding: 12px 28px;
        font-size: 1rem;
        margin-top: 10px;
    }
    .center-block-mobile {
        /* Essential Flex properties */
        display: flex !important;
        flex-direction: column !important; /* Stack children vertically */
        align-items: center !important;     /* Center children horizontally */
        
        /* Ensure the text is centered inside the paragraph/heading blocks */
        text-align: center !important; 
        
        /* Ensure it takes full width of its parent */
        width: 100% !important; 
    }
    

}