* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    background-color: #F7F4F1;
    color: #2D2D2D;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    height: 50px;
}

.header-contact {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4B3028;
    font-weight: 500;
}

.hero {
    position: relative;
    padding: 0px;
    overflow: hidden;
}

.hero-desktop {
    display: block;
}

.hero-desktop img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hide mobile hero on desktop */
.hero-mobile {
    display: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-col-text {
    text-align: left;
}

.hero-content {
    max-width: 600px;
}

.hero-subtitle {
    color: #4B3028;
    font-family: 'Alta';
    font-weight: 500;
    letter-spacing: 8px;
    margin-bottom: 25px;
    font-size: 24px;
}

.hero-warranty-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    margin-bottom: 10px;
}

.hero-warranty-wrapper .divider {
    width: 100px;
    height: 1px;
    background-color: #4B3028;
}

.hero-upto {
    color: #4B3028;
    font-weight: 500;
    font-size: 22px;
}

.hero-title {
    font-family: 'Rubik', sans-serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #4B3028;
}

.hero-description {
    font-size: 16px;
    margin-bottom: 30px;
    color: #2D2D2D;
    max-width: 450px;
    text-align: left;
}

.btn-primary {
    background-color: #4B3028;
    color: #FFFFFF;
    border: none;
    padding: 12px 80px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 300px;
}

.btn-primary:hover {
    background-color: #6B4A3B;
    transform: translateY(-3px);
}

.feature-strip {
    background-color: #4B3028;
    padding: 40px 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
}

.feature-item {
    text-align: center;
    color: #FFFFFF;
}

.feature-item img {
    height: 100px;
    margin-bottom: 10px;
}

.feature-item p {
    font-weight: 500;
}

.contact-form-section {
    padding: 60px 0;
}

.contact-form-container {
    background-color: #4B3028;
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container h2 {
    font-family: 'Alta';
    font-weight: 500;
    letter-spacing: 8px;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 30px;
    font-size: 38px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-form .form-group:nth-child(5),
.contact-form .btn-submit {
    grid-column: 1 / -1;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.btn-submit {
    background-color: #FFFFFF;
    color: #4B3028;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-self: center;
}

.btn-submit:hover {
    background-color: #F7F4F1;
    transform: translateY(-3px);
}

.promo-banner {
    width: 100%;
}

.promo-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.products-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -140px;
}

.product-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.btn-quote {
    background-color: #4B3028;
    color: #FFFFFF;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-quote:hover {
    background-color: #6B4A3B;
    transform: translateY(-3px);
}

.installation-section {
    padding: 60px 0;
}

.installation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.installation-image {
    text-align: center;
}

.installation-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 20px;
}

.installation-image h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #4B3028;
}

.installation-info h1 {
    font-family: Alta;
    font-size:35px;
    font-weight: 400;
    line-height: 40px;
    margin-bottom: -15px;
}

.installation-info h2 span {
    font-family: Rubik;
    color: #4B3028;
    margin-bottom: 20px;
}

.installation-products {
    display: flex;
    gap: 20px;
}

.installation-product {
    flex: 1;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.installation-product img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.installation-product h4 {
    margin-bottom: 15px;
}

.legacy-section {
    background-color: #4B3028;
    padding: 60px 0;
    text-align: center;
}

.legacy-content h2 {
    font-size: 38px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.legacy-content p {
    color: #FFFFFF;
    font-size: 20px;
}

.testimonials-section {
    padding: 60px 0;
}

.section-title {
    font-size: 38px;
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.testimonials-carousel {
    overflow: hidden;
    width: 100%;
    container-type: inline-size;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.testimonial-card {
    flex: 0 0 calc((100cqw - 40px) / 3);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.carousel-btn {
    background: #FFFFFF;
    border: 2px solid #4B3028;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    background: #4B3028;
}

.carousel-btn:hover svg {
    stroke: #FFFFFF;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100cqw;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .testimonials-carousel-wrapper {
        gap: 10px;
    }
}

.footer {
    background-color: #2D2D2D;
    color: #FFFFFF;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F7F4F1;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-col-text {
        text-align: center;
    }
    .hero-warranty-wrapper {
        justify-content: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .installation-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-contact {
        gap: 15px;
    }
    .contact-item span {
        font-size: 14px;
    }
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 32px;
    }
    .products-grid {
        grid-template-columns: 1fr;
        margin-top: -20px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    .installation-products {
        flex-direction: column;
    }

    section,
    .feature-strip,
    .contact-form-section,
    .products-section,
    .installation-section,
    .legacy-section,
    .testimonials-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .hero {
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero-desktop {
        display: none;
    }

    .hero-mobile {
        display: block;
    }

    .hero-mobile img {
        width: 100%;
        height: auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .btn-primary, .btn-submit, .btn-quote {
        width: 100%;
    }
    
    /* Decrease heading sizes for mobile */
    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 4px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .contact-form-container h2,
    .section-title,
    .installation-info h2 {
        font-size: 24px;
    }
    
    .product-card h3,
    .installation-image h3,
    .installation-product h4 {
        font-size: 18px;
    }
    
    .legacy-content h2 {
        font-size: 28px;
    }
    
    .legacy-content p {
        font-size: 18px;
    }
}

/* Lead Form Popup */
.lead-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.lead-popup-overlay.active {
    display: flex;
}

.lead-popup-content {
    background-color: #4B3028;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.popup-close-btn:hover {
    transform: rotate(90deg);
}

.popup-title {
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 30px;
    font-size: 38px;
}

.lead-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lead-form .form-group:nth-child(5),
.lead-form .btn-submit {
    grid-column: 1 / -1;
}

.lead-form .btn-submit {
    background-color: #FFFFFF;
    color: #4B3028;
}

@media (max-width: 768px) {
    .lead-form {
        grid-template-columns: 1fr;
    }
}