body {
  
    margin: 0;
    padding: 0;
    background-color: #fff;
    /* color: #111; */
}

h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: transparent;
    padding: 0.5%;
    margin-top: 1%;
}


.nav-menu ul li a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    transition: color 0.3s;
}

/* ===== Residential Rooftops Section ===== */
.residential-rooftops {
    padding: 40px 6%;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.left {
    flex: 1;
    min-width: 280px;
}

.right {
    flex: 1;
    max-width: 400px;
}

.right img {
    width: 100%;
    border-radius: 10px;
}

/* ===== Advantages Section ===== */
.advantages {
    background: url('../images/tesimonial-bg.png') no-repeat center center;
    background-size: cover;
    background-position: center;
    padding: 60px 40px;
    border-radius: 20px;
    color: #fff;
    margin-top: 20px;
    text-align: center;
    justify-content: space-around;
    margin: 40px;
}

.advantages h2 {
    font-size: 30px;
    margin-top: -20px;
    margin-bottom: 20px;
}

.advantages h2 span {
    color: #FFD600;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two fixed columns */
    gap: 40px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 90%;
    /* Optional: center the grid with max width */
}


.adv-card {
    display: flex;
    align-items: flex-start;
    background: transparent;
    color: #000;
    border-radius: 12px;
    padding: 15px;
    gap: 10px;
    text-align: left;
}

.adv-card img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.adv-card h4 {
    margin: 0 0 5px;
    font-size: 24px;
    font-weight: bold;
    color: #F8A81B;
}

.adv-card p {
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
    color: #fff;
}

@media screen and (max-width:768px) {
    .nav-menu ul li a {
        text-decoration: none;
        color: white;
        font-weight: 600;
        transition: color 0.3s;
    }
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .main-header {
        padding: 10px 5%;
        position: relative;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #333;
        padding: 20px 0;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu ul li {
        margin: 10px 0;
    }

    .quote-button {
        display: none;
    }

    .residential-rooftops {
        padding: 20px 5%;
    }

    .container {
        flex-direction: column;
    }

    .left {
        width: 100%;
        margin-bottom: 20px;
    }

    .right {
        width: 100%;
        max-width: 100%;
    }

    .advantages {
        margin: 20px 5%;
        padding: 30px 20px;
    }

    .advantages h2 {
        font-size: 24px;
    }

    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .adv-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .adv-card img {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }

    .adv-card h4 {
        font-size: 20px;
    }

    .adv-card p {
        font-size: 14px;
    }

    /* Footer Responsive Styles */
    .footer-container {
        flex-direction: column;
        padding: 20px 5%;
    }

    .footer-left, .footer-right {
        width: 100%;
    }

    .map-box {
        margin-bottom: 20px;
    }

    .email-box {
        flex-direction: column;
    }

    .email-box input {
        width: 100%;
        margin-bottom: 10px;
    }

    .contact-info, .office-address {
        text-align: center;
    }

    /* Quote Popup Responsive */
    .quote-popup .popup-content {
        width: 90%;
        margin: 20px auto;
    }

    .popup-form {
        padding: 15px;
    }
}

/* Tablet Responsive Styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .container {
        gap: 30px;
    }

    .left, .right {
        flex: 1;
    }
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        margin: 5px 0;
        transition: 0.3s;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Improve form elements on mobile */
@media screen and (max-width: 768px) {
    input, textarea, button {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
    }
}