:root {
    --primary-red: #D32F2F;      
    --primary-green: #2E7D32;    
    --dark-grey: #212529;        
    --medium-grey: #495057;      
    --light-grey: #F8F9FA;       
    --border-color: #E9ECEF;     
    --white: #ffffff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--dark-grey);
    line-height: 1.6;
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 13px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-red {
    background-color: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.btn-red:hover {
    background-color: #B71C1C;
    border-color: #B71C1C;
    transform: translateY(-2px);
}

.btn-green {
    background-color: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
}

.btn-green:hover {
    background-color: #1B5E20;
    border-color: #1B5E20;
    transform: translateY(-2px);
}

.link-dark {
    color: var(--dark-grey);
    text-decoration: none;
    font-weight: 700;
}
.link-dark:hover {
    color: var(--primary-red);
}

/* --- STICKY NAV HEADER --- */
.site-header {
    background: var(--white);
    height: 90px; 
    border-bottom: 3px solid var(--primary-red); 
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    height: 100%;
}

/* --- LOGO & BRAND TEXT ALIGNMENT --- */
.logo a {
    display: flex;
    align-items: center;
    gap: 14px;            
    font-size: 22px;
    font-weight: 900;
    color: var(--dark-grey);
    text-decoration: none;
    letter-spacing: -0.5px;
    height: 100%;
}

.logo {
    margin-left: 150px;    
}

.logo img {
    height: 75px; 
    width: auto;          
    display: block;
    margin: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.main-nav a {
    text-decoration: none;
    color: var(--medium-grey);
    font-weight: 700;
    font-size: 20px;       
    letter-spacing: 0.3px; 
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary-red);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 200px 0 160px 0;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-color: #333;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.7); /* Deep charcoal grey overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 54px;
    margin-bottom: 22px;
    font-weight: 900;
    line-height: 1.15;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #F1F5F9;
}

/* --- TRUST BAR --- */
.trust-bar {
    background-color: var(--white);
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-grid {
    display: flex;
    gap: 40px;
}

.trust-card {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: var(--light-grey);
    border-top: 4px solid var(--primary-green); /* Brand green top boundary */
    border-radius: 4px;
}

.trust-icon-marker {
    font-size: 28px;
    margin-bottom: 10px;
}

.trust-card h3 {
    color: var(--dark-grey);
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 800;
}

.trust-card p {
    color: var(--medium-grey);
    font-size: 14.5px;
}

/* --- GENERAL SECTIONS STYLE --- */
.services-section, .about-section, .projects-section, .testimonials-section, .contact-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--dark-grey);
}

.section-subtitle {
    text-align: center;
    color: var(--medium-grey);
    max-width: 650px;
    margin: 0 auto 55px auto;
    font-size: 16.5px;
}

/* --- SERVICES MATRIX --- */
.services-section {
    background-color: var(--light-grey);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: flex;
    gap: 30px;
}

.service-card {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 38px rgba(0,0,0,0.07);
    border-color: var(--primary-red); /* Accent highlight border */
}

.service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 800;
}

/* --- ABOUT SECTION --- */
.about-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1.5;
}

.left-title {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 22px;
}

.about-text p {
    margin-bottom: 18px;
    color: var(--medium-grey);
    font-size: 16px;
}

.about-accent-box {
    flex: 1;
    background-color: var(--light-grey);
    padding: 40px;
    border-radius: 8px;
    border-left: 6px solid var(--primary-green); 
}

.about-accent-box h3 {
    margin-bottom: 22px;
    font-size: 24px;
    font-weight: 800;
}

.about-accent-box ul {
    list-style: none;
}

.about-accent-box li {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 15.5px;
}

.check-green {
    color: var(--primary-green);
    font-weight: 900;
    margin-right: 8px;
}

/* --- GALLERY GRID --- */
.projects-section {
    background-color: var(--light-grey);
    border-bottom: 1px solid var(--border-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 6px;
    overflow: hidden;
    height: 270px;
    background-color: #E2E8F0; 
    border: 1px solid var(--border-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- CLIENT REVIEWS / TESTIMONIALS --- */
.testimonials-section {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-grid {
    display: flex;
    gap: 30px;
}

.testimonial-card {
    flex: 1;
    background: var(--light-grey);
    padding: 35px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.star-rating {
    color: var(--primary-green); 
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--dark-grey);
    margin-bottom: 20px;
}

.client-name {
    font-size: 15px;
    font-weight: 800;
}

.client-location {
    color: var(--medium-grey);
    font-weight: 400;
}

/* --- FORMS & CONTACT ARTIFACTS --- */
.contact-container {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 35px;
    color: var(--medium-grey);
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-block h4 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-red); 
    margin-bottom: 6px;
    font-weight: 800;
}

.quote-form-container {
    flex: 1.2;
    background: var(--light-grey);
    padding: 45px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.quote-form-container h3 {
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 800;
    border-bottom: 3px solid var(--primary-red); 
    padding-bottom: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.custom-quote-form input,
.custom-quote-form select,
.custom-quote-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #CED4DA;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 15px;
    background-color: var(--white);
}

.custom-quote-form input:focus,
.custom-quote-form select:focus,
.custom-quote-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.btn-block {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #151719; 
    color: #E2E8F0;            
    padding: 70px 0 25px 0;
    border-top: 4px solid var(--primary-red); 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 45px;
}

.footer-brand, .footer-links, .footer-contact {
    flex: 1;
}

.footer-brand h4, .footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 22px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 800;
}

.footer-brand p {
    font-size: 14.5px;
    line-height: 1.65;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #CBD5E1;            
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-contact p {
    font-size: 14.5px;
    margin-bottom: 12px;
}

.footer-call-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}
.footer-call-link:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #2D3748;
    padding-top: 25px;
    font-size: 13.5px;
    color: #94A3B8;            
}

/* Footer Responsiveness Tweak */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 35px;
        text-align: center;
    }
}

/* --- FAQ ACCORDION STYLING --- */
.faq-section {
    background-color: var(--light-grey);
    border-bottom: 1px solid var(--border-color);
    padding: 90px 0;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark-grey);
    margin-bottom: 10px;
}

.faq-answer p {
    color: var(--medium-grey);
    font-size: 15px;
    margin: 0;
}


/* ==========================================================================
   PRODUCTION-READY MOBILE & TABLET MEDIA QUERIES 
   ========================================================================== */

/* --- TABLET BREAKPOINT  --- */
@media (max-width: 1024px) {
    html {
        scroll-padding-top: 135px; /
    }

    .site-header {
        height: auto;              
        padding: 12px 0;           
    }

    .header-container {
        flex-direction: column;    
        gap: 6px;                  
        text-align: center;
        align-items: center;
    }
    
    .logo {
        margin-left: 0;            
        display: flex;
        justify-content: center;
        width: 100%;
        height: 42px;              
        margin-bottom: 6px;       
    }
    
    .logo img {
        height: 26px;              
        transform: scale(1.9);     
        transform-origin: center center;
        margin: 0 auto;
    }

    .main-nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;         
        gap: 2.5vw;                
        padding: 0 10px;
        width: 100%;
    }
    
    .main-nav a {
        font-size: clamp(12px, 2.2vw, 15px); 
        white-space: nowrap;
        font-weight: 700;
    }
}

/* --- MID-SIZE SCREEN ADJUSTMENTS --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .trust-grid, .services-grid, .testimonials-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        flex-direction: column;
        gap: 25px;
    }
    
    .about-container, .contact-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-accent-box, .quote-form-container {
        width: 100%;
    }
}

/* --- 3. SMARTPHONE BREAKPOINT --- */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 115px; 
    }

    /* --- MOBILE NAVBAR --- */
    .site-header {
        height: auto;              
        padding: 8px 0;            
    }

    .header-container {
        flex-direction: column;    
        gap: 4px;                  
        text-align: center;
        align-items: center;
    }
    
    .logo {
        margin-left: 0;            
        display: flex;
        justify-content: center;
        width: 100%;
        height: 35px;              
        margin-bottom: 0px;       
    }
    
    .logo img {
        height: 24px;              
        transform: scale(1.6);     
        transform-origin: center center;
        margin: 0 auto;
    }

    .main-nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;         
        gap: 1.5vw;                  
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .main-nav a {
        font-size: clamp(11px, 3.5vw, 14px); 
        white-space: nowrap;       
        font-weight: 700;
    }
    
    .hero {
        padding: 160px 0 100px 0;
    }
    
    .hero h1 {
        font-size: 34px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .trust-grid, .services-grid, .testimonials-grid, .gallery-grid {
        display: flex;
        flex-direction: column;
    }
    
    .gallery-item {
        height: 240px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

/* ==========================================================================
   SOCIAL MEDIA GLOBAL INTERFACES 
   ========================================================================== */
.header-social-item {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

.header-social-link,
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-social-link {
    margin-top: 15px;
}

.header-social-link:hover,
.footer-social-link:hover {
    color: var(--primary-red);
}

.fb-icon {
    display: block;
}

/* ==========================================================================
   ADA ACCESSIBILITY STYLES 
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--primary-red); 
    color: var(--white);
    padding: 12px 24px;
    font-weight: 700;
    font-family: var(--font-main);
    text-decoration: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    z-index: 999999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: top 0.25s ease-in-out;
}

.skip-link:focus-visible {
    top: 0;
    outline: 2px solid var(--white);
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-red); 
    outline-offset: 2px; 
}