* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
  
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fcfcfc;
    overflow-x: hidden;
}

:root {
    --primary-color: #1f9e8f;
    --secondary-color: #2db8c6;
    --accent-color: #ff5c5c;
    --dark-color: #1f2121;
    --light-color: #f5f5f5;
    --cream-color: #fffef0;
}

/* Header & Navigation */
header {
    /* UPDATED: "Glassmorphism" effect for the header */
    background: rgba(255, 255, 255, 0.85); /* Semi-transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Softer shadow */
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    /* UPDATED: Add a subtle underline hover effect */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.language-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Hero Section */
/* Hero Section */
.hero {
    /* UPDATED: Replaced gradient with an image and a dark overlay */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('solar_heater.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    color: white;
    padding: 100px 5%;
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400; /* Lighter than heading */
}

.hero .benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.benefit-item {
    background: rgba(255,255,255,0.2);
    padding: 1rem 1.5rem;
    border-radius: 12px; /* Softer corners */
    backdrop-filter: blur(10px);
}

.cta-button {
    background: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    /* UPDATED: Smoother transition */
    transition: all 0.3s ease-in-out;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(255, 92, 92, 0.2); /* Softer initial shadow */
}

.cta-button:hover {
    background: #ff3333;
    /* UPDATED: Added scale and smoother translate */
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 92, 92, 0.4);
}

/* Section Styling */
section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

section .subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* About Section */
.about {
    background: var(--cream-color);
    border-radius: 20px; /* Give sections rounded corners */
    margin: 0 2%; /* Add some margin */
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.mission-box, .vision-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px; /* Softer corners */
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Softer shadow */
}

/* Products Section */
.products {
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--cream-color);
    border-radius: 16px; /* UPDATED: Softer corners */
    padding: 2rem;
    /* UPDATED: Softer, more modern shadow */
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease-out; /* UPDATED: Smoother transition */
    border-top: 4px solid var(--primary-color);
    
    /* UPDATED: Use flex to make cards equal height and align button */
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px); /* UPDATED: More lift */
    box-shadow: 0 8px 25px rgba(0,0,0,0.12); /* UPDATED: Stronger shadow on hover */
}

.product-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-card ul {
    list-style: none;
    margin: 1rem 0;
    flex-grow: 1; /* UPDATED: Pushes button to the bottom */
}

.product-card li {
    padding: 0.3rem 0;
    color: #555;
}

.product-card li:before {
    content: "✓ ";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, rgba(31, 158, 143, 0.05) 0%, rgba(45, 184, 198, 0.05) 100%);
    border-radius: 20px; /* Give sections rounded corners */
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reason-card {
    background: white;
    padding: 2rem;
    border-radius: 16px; /* UPDATED: Softer corners */
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* UPDATED: Softer shadow */
    transition: all 0.3s ease-out;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.reason-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.reason-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.reason-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    background: var(--cream-color);
    border-radius: 20px; /* Give sections rounded corners */
    margin: 0 2%; /* Add some margin */
}


.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Controls the width of the slider */
    margin: 2rem auto;
    overflow: hidden; /* The main viewport for the slider */
}

.testimonial-slider {
    display: flex;
    /* This transition is key for the sliding animation */
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%; /* Each slide takes up 100% of the container */
    padding: 10px; /* Allows the card's shadow to be visible */
    box-sizing: border-box;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    width: 100%; /* Make card fill the slide */
    /* Remove hover effects, as it's a slider now */
    transition: none;
}

.testimonial-card:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    line-height: 1; /* Aligns the icon better */
    transition: background-color 0.3s;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

/* Slider Dots */
.slider-dots {
    text-align: center;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
}

.slider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: var(--primary-color);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px; /* UPDATED: Softer corners */
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); /* UPDATED: Softer shadow */
    transition: all 0.3s ease-out;
}



.testimonial-card .stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--dark-color);
}

/* FAQ Section */
.faq {
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background: var(--cream-color);
    margin-bottom: 1rem;
    border-radius: 12px; /* UPDATED: Softer corners */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    user-select: none;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--secondary-color);
}

.faq-answer {
    padding: 1.5rem;
    color: #555;
    display: none;
    background: white;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-toggle {
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Contact Section - Updated without form */
.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 20px; /* Give sections rounded corners */
}

.contact h2 {
    color: white;
}

.contact-content-single {
    max-width: 900px;
    margin: 2rem auto;
}

.contact-info-centered {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 16px; /* UPDATED: Softer corners */
    backdrop-filter: blur(10px);
    text-align: center;
}

.contact-info-centered h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: rgba(255,255,255,0.15);
    padding: 1.5rem;
    border-radius: 12px; /* UPDATED: Softer corners */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-item strong {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-item p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin: 0;
}

.social-media-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.social-media-section h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
}

.social-media-section .social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    color: white;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.youtube {
    background: #ff0000;
}

.social-btn.linkedin {
    background: #0077b5;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.consultation-text {
    margin: 2rem 0 1.5rem 0;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0,0,0,0.4);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Climate Impact Section */
.climate-impact {
    background: var(--cream-color);
    border-radius: 20px; /* Give sections rounded corners */
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px; /* UPDATED: Softer corners */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06); /* UPDATED: Softer shadow */
    border-top: 4px solid var(--secondary-color);
    transition: all 0.3s ease-out;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.stat-card .number {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card .label {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.social-links {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* --- NEW: Modern Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px); /* Start 30px down */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .benefits {
        gap: 1rem;
        flex-direction: column;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
    
    /* Remove section margins on mobile */
    .about, .climate-impact, .why-choose, .testimonials, .contact {
        margin: 0;
        border-radius: 0;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }

    section {
        padding: 50px 5%;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .social-media-section .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .products-grid,
    .testimonials-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-centered {
        padding: 2rem;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}