/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Body & Background */
body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
.header {
    background-color: #021f22;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    color: #ecf0f1;
    font-weight: bold;
}

.nav-links {
    list-style-type: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e74c3c;
}

/* Hero Section Styles */
.hero {
     background: linear-gradient(135deg, rgba(29, 143, 181, 0.9) 0%, rgba(9, 111, 145, 0.8) 100%);
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px; /* Offset for fixed header */
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-btn {
    background-color: #e74c3c;
    color: #fff;
    font-size: 1.1rem;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #c0392b;
}

/* About Section Styles */
.about {
    padding: 80px 20px;
    text-align: left;
}

.about h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #029fae;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.about-text {
    flex: 1;
    margin-right: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #7f8c8d;
}

.about-image {
    flex: 1;
    background: url('[About-Us-Image-Placeholder.jpg]') center/cover no-repeat;
    height: 350px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .about-image {
        height: 250px;
        margin-top: 20px;
    }
}

/* General Section Styling */
.section {
    padding: 80px 20px;
    text-align: center;
    background-color: #f4f4f4;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #029fae;
}

/* Services Section Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #e74c3c;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #029fae;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: #7f8c8d;
}

/* Why Choose Us Section Styles */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #e74c3c;
}

.feature h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #029fae;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1rem;
    color: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Home Warranty Section Styles */
.warranty {
    background-color: #f9f9f9;  /* Light background for contrast */
    padding: 80px 20px;
    text-align: center;
}

.warranty-content {
    max-width: 1200px;
    margin: 0 auto;
}

.warranty h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #029fae;
    margin-bottom: 30px;
}

.warranty p {
    font-size: 1.2rem;
    color: #7f8c8d;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
}

.warranty ul {
    list-style-type: none;
    padding: 0;
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.warranty ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.warranty ul li::before {
    content: "✔";  /* Checkmark icon for each item */
    position: absolute;
    left: 10px;
    top: 0;
    color: #e74c3c;  /* Red checkmark for attention */
    font-size: 1.3rem;
}

.cta-btn {
    background-color: #e74c3c;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #c0392b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .warranty h2 {
        font-size: 2rem;
    }

    .warranty p {
        font-size: 1.1rem;
    }

    .cta-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

/* General Section Styles */
.section {
    padding: 80px 20px;
    text-align: center;
    background-color: #f4f4f4;
}

/* Contact Section */
.contact {
    background-color: #fff;
    padding: 80px 20px;
    color: #029fae;
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    text-align: left;
}

.contact-container > div {
    flex: 1;
    min-width: 300px;
}

.contact-container h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact-container p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #7f8c8d;
}

.contact-container a {
    color: #e74c3c;
    text-decoration: none;
}

.contact-container a:hover {
    text-decoration: underline;
}

/* Form Styles */
#quoteForm {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 400px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #029fae;
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #029fae;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #e74c3c;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #c0392b;
}

.confirmation {
    display: none;
    background-color: #2ecc71;
    color: white;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background-color: #f9f9f9;
    padding: 80px 20px;
}

.testimonials h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #029fae;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    font-size: 1.1rem;
    color: #029fae;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    #quoteForm {
        width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer Section */
.footer {
    background-color: #021f22;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    padding: 20px;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: #e74c3c;
}

.footer-section p,
.footer-section a {
    font-size: 1rem;
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #e74c3c;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    font-size: 1rem;
    color: #bdc3c7;
}

/* Popup Overlays */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.popup h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #029fae;
}

.popup p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #7f8c8d;
}

.popup h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #029fae;
    margin-top: 20px;
}

.popup a {
    color: #e74c3c;
    text-decoration: none;
}

.popup a:hover {
    text-decoration: underline;
}

/* Close Button */
.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #e74c3c;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* Newsletter Popup */
#newsletterForm .form-group {
    margin-bottom: 15px;
}

#newsletterForm label {
    font-size: 1rem;
    color: #029fae;
}

#newsletterForm input[type="text"],
#newsletterForm input[type="email"],
#newsletterForm input[type="date"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#newsletterForm input[type="checkbox"] {
    margin-right: 10px;
}

.submit-btn {
    background-color: #e74c3c;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #c0392b;
}

/* Confirmation Message */
.confirmation {
    display: none;
    background-color: #2ecc71;
    color: white;
    padding: 10px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Media Queries */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-bottom {
        margin-top: 20px;
    }
}

