/* --- Global Styles & Variables --- */
:root {
    --primary-color: #6b705c;
    --secondary-color: #a5a58d;
    --dark-color: #3b3a30;
    --light-color: #fefae0;
    --text-color: #4d4d4d;
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
    --border-radius: 9px;
    --box-shadow: 0 5px 18px rgba(0, 0, 0, 0.09);
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: var(--light-color);
}

.section.bg-dark {
    background-color: var(--dark-color);
    color: var(--light-color);
}

h1, h2, h3 {
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 40px; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 15px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #6b705c;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #6b705c;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-secondary-outline {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background-color: transparent;
}

.btn-secondary-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/* --- Header --- */
.header {
    background: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero.webp') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 150px 0;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
}

.hero .subheadline {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.hero .key-points {
    list-style: none;
    margin-bottom: 40px;
}

.hero .key-points li {
    margin-bottom: 10px;
}

.hero .key-points li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Content Sections --- */
.highlights-list, .reasons-list, .coverage-list {
    max-width: 700px;
    margin: 20px auto 40px;
    text-align: left;
}

.highlights-list li, .reasons-list li, .coverage-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.service-category {
    background: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.service-category h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.service-category ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 5px solid var(--primary-color);
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--dark-color);
}

/* --- Contact Form --- */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid #ccc;
    font-family: var(--font-family);
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.confirmation-message {
    display: none;
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border-radius: var(--border-radius);
    border: 1px solid #c3e6cb;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-grid h3, .footer-grid h4 {
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer-grid ul li {
    margin-bottom: 10px;
}

.footer-grid a {
    color: #aaa;
}

.footer-grid a:hover {
    color: var(--white-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
}

/* --- Popup Styles --- */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: left;
}

.popup-content h2 {
    margin-top: 0;
    color: var(--dark-color);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    cursor: pointer;
}

.close-btn:hover {
    color: var(--dark-color);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { padding: 100px 0; }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .section { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .hero .subheadline { font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
/* =========================
   About Us Section
========================= */
#about {
    background: linear-gradient(135deg, #ffffff, #f3f6f9);
}

/* Heading */
#about h2 {
    font-size: 36px;
    color: #2c2c2c;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

#about h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background-color: #c89b3c;
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Paragraphs */
#about p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 18px;
    text-align: center;
}

/* =========================
   Highlights List
========================= */
.highlights-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    max-width: 700px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.highlights-list li {
    background-color: #ffffff;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.highlights-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* =========================
   Responsive Design
========================= */
@media (max-width: 768px) {
    #about h2 {
        font-size: 30px;
    }

    #about p {
        font-size: 16px;
        text-align: left;
    }

    .highlights-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 15px;
    }

    #about h2 {
        font-size: 26px;
    }
}
/* =========================
   Why Choose Us Section
========================= */
#why-choose-us {
    background: linear-gradient(135deg, #fefefe, #eef3f8);
}

/* Section Heading */
#why-choose-us h2 {
    font-size: 36px;
    color: #2a2a2a;
    margin-bottom: 40px;
    position: relative;
}

#why-choose-us h2::after {
    content: "";
    width: 90px;
    height: 4px;
    background-color: #c89b3c;
    display: block;
    margin: 14px auto 0;
    border-radius: 2px;
}

/* =========================
   Reasons List
========================= */
.reasons-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 45px;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 35px;
}

.reasons-list li {
    background-color: #ffffff;
    padding: 18px 22px;
    font-size: 16px;
    color: #333;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.reasons-list li:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
/* =========================
   Responsive Design
========================= */
@media (max-width: 768px) {
    #why-choose-us h2 {
        font-size: 30px;
    }

    .reasons-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .reasons-list li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 15px;
    }

    #why-choose-us h2 {
        font-size: 26px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 15px;
    }
}
/* =========================
   Home Warranty Section
========================= */
#warranty {
    background: linear-gradient(135deg, #ffffff, #edf2f7);
}

/* Main Heading */
#warranty h2 {
    font-size: 36px;
    color: #243447;
    margin-bottom: 20px;
    position: relative;
}

#warranty h2::after {
    content: "";
    width: 90px;
    height: 4px;
    background-color: #6b705c;
    display: block;
    margin: 14px auto 0;
    border-radius: 2px;
}

/* Intro Paragraph */
#warranty p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

/* Subheading */
#warranty h3 {
    font-size: 24px;
    color: #6b705c;
    margin-bottom: 25px;
}

/* =========================
   Coverage List
========================= */
.coverage-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 45px;
    max-width: 700px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 30px;
}

.coverage-list li {
    background-color: #ffffff;
    padding: 16px 20px;
    font-size: 16px;
    color: #333;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    padding-left: 44px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Check Icon */
.coverage-list li::before {
    content: "✔";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b705c;
    font-weight: bold;
}

/* Hover Effect */
.coverage-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

/* =========================
   Call-to-Action Button
========================= */
.btn {
    display: inline-block;
    padding: 14px 34px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Secondary Button */
.btn-secondary {
    background-color: #6b705c;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(31, 122, 224, 0.25);
}

.btn-secondary:hover {
    background-color: #155fb3;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(31, 122, 224, 0.35);
}

/* =========================
   Responsive Design
========================= */
@media (max-width: 768px) {
    #warranty h2 {
        font-size: 30px;
    }

    #warranty h3 {
        font-size: 22px;
    }

    .coverage-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    #warranty p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 15px;
    }

    #warranty h2 {
        font-size: 26px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 15px;
    }
}