/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
html { scroll-behavior: smooth; }

/* Variables */
:root {
    --primary-blue: #0572F2;
    --primary-orange: #F25C05;
    --dark-grey: #333;
    --light-grey: #f4f4f4;
    --white: #fff;
}

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .hamburger:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo img { height: 60px; width: auto; }

.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--dark-grey); font-weight: 600; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary-blue); }

.btn { padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: all 0.3s ease; display: inline-block; cursor: pointer; }
.btn-primary { background: var(--primary-blue); color: var(--white); }
.btn-primary:hover { background: #045bb5; }
.btn-orange { background: var(--primary-orange); color: var(--white); }
.btn-orange:hover { background: #d94e04; }
.btn-transparent { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-transparent:hover { background: var(--white); color: var(--dark-grey); }
.btn-white { background: var(--white); color: var(--primary-blue); }

/* Hamburger Menu (Mobile) */
.hamburger { display: none; font-size: 24px; cursor: pointer; color: var(--dark-grey); margin-left: 15px; }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('cpwnf.jpg'); 
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}
.hero-content h1 { font-size: 3rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.5rem; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.trust-badges { margin-top: 40px; display: flex; gap: 20px; justify-content: center; font-size: 1.1rem; flex-wrap: wrap; }
.trust-badges i { color: var(--primary-orange); }

/* Services */
.section-padding { padding: 80px 20px; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: var(--dark-grey); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.service-card { background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); text-align: center; border-bottom: 5px solid var(--primary-blue); }
.service-card i { font-size: 3rem; margin-bottom: 20px; }
.icon-blue { color: var(--primary-blue); }
.icon-orange { color: var(--primary-orange); }
.icon-grey { color: #777; }

/* About Section */
.about { background: var(--light-grey); }
.about-container { max-width: 1200px; margin: 0 auto; display: flex; gap: 50px; align-items: center; flex-wrap: wrap; }
.about-text { flex: 1; min-width: 300px; }
.about-image { flex: 1; min-width: 300px; }
.feature-list { list-style: none; margin-top: 20px; }
.feature-list li { margin-bottom: 10px; font-size: 1.1rem; }
.feature-list i { color: var(--primary-blue); margin-right: 10px; }

/* CTA Banner */
.cta-banner { background: var(--primary-blue); color: var(--white); text-align: center; padding: 60px 20px; }
.cta-banner h2 { margin-bottom: 10px; }
.cta-banner p { margin-bottom: 30px; font-size: 1.2rem; }

/* Footer */
.footer { background: var(--dark-grey); color: var(--white); padding: 50px 20px 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer a { color: var(--white); text-decoration: none; transition: color 0.3s ease;}
.footer a:hover { color: var(--primary-blue); }
.footer h3 { margin-bottom: 20px; color: var(--primary-orange); }
.footer-contact p { margin-bottom: 10px; }
.copyright { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #555; font-size: 0.9rem; }

/* Mobile Responsiveness */
.mobile-menu {
    display: none; position: fixed; top: 80px; left: 0; width: 100%;
    background: var(--white); box-shadow: 0 5px 5px rgba(0,0,0,0.1); flex-direction: column; text-align: center; z-index: 999;
}
.mobile-link { padding: 15px; border-bottom: 1px solid #eee; display: block; color: var(--dark-grey); text-decoration: none; font-weight: bold; transition: background 0.3s ease; }
.mobile-link:hover { background: var(--light-grey); color: var(--primary-blue); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero-content h1 { font-size: 2rem; }
    .header-container { padding: 10px 15px; }
    .btn { font-size: 0.9rem; }
}

/* =========================================
   Quote Form & Landing Page Specifics
   ========================================= */
.quote-section {
    padding: 120px 20px 80px;
    background: var(--light-grey);
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-container {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
    border-top: 5px solid var(--primary-blue);
}

.quote-container h2 { text-align: center; margin-bottom: 10px; color: var(--dark-grey); }
.quote-container p.subtitle { text-align: center; margin-bottom: 30px; color: #666; line-height: 1.5; }

.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark-grey); font-size: 0.95rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem; transition: all 0.3s ease; font-family: inherit;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-blue); box-shadow: 0 0 5px rgba(5, 114, 242, 0.3);
}

.btn-block { width: 100%; font-size: 1.1rem; padding: 15px; cursor: pointer; border: none; margin-top: 10px; }

/* =========================================
   Thank You Page Specifics
   ========================================= */
.thanks-section {
    text-align: center;
    padding: 180px 20px 100px;
    min-height: 80vh;
    background: var(--light-grey);
}

.thanks-section i { font-size: 5rem; color: var(--primary-blue); margin-bottom: 20px; }
.thanks-section h1 { color: var(--dark-grey); margin-bottom: 15px; font-size: 2.5rem; }
.thanks-section p { font-size: 1.2rem; color: #555; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* =========================================
   Auto-Rotating Reviews Carousel
   ========================================= */
.reviews-carousel-container {
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 40px 30px;
    text-align: center;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
    border-top: 5px solid var(--primary-orange);
}

.reviews-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
    width: 100%;
}

.review-card { min-width: 100%; box-sizing: border-box; padding: 0 20px; }
.review-card .stars { color: #FFD700; font-size: 1.5rem; margin-bottom: 15px; }
.review-text { font-size: 1.1rem; font-style: italic; color: var(--dark-grey); margin-bottom: 15px; line-height: 1.6; }
.review-author { font-weight: 700; color: var(--primary-blue); font-size: 1rem; }

.google-review-link { display: inline-block; margin-top: 25px; font-size: 0.95rem; color: var(--dark-grey); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.google-review-link i { color: #DB4437; margin-left: 5px; }
.google-review-link:hover { color: var(--primary-blue); }