/* --- GLOBAL STYLES --- */
body {
    /* FONT FIX: Apply Poppins globally for the required look */
    font-family: 'Poppins', sans-serif; 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    /* Removed redundant overflow-x: hidden here; it's handled below */
}

/* 🚀 CRITICAL FIX FOR HORIZONTAL SCROLLBAR 🚀 */
/* FIX 1: Prevent overall body/html overflow */
body, html {
    overflow-x: hidden !important; /* Disables horizontal scrolling */
    width: 100%;
}

/* FIX 2: Constrain potential overflowing elements */
.top-bar, nav, header, main, footer, section {
    max-width: 100%;
    box-sizing: border-box; /* Ensures padding/border don't add to the width */
}
/* ------------------------------------------- */

/* Enforce consistent padding on all main sections */
section {
    padding: 80px 5%;
    box-sizing: border-box;
}
/* Insert this block into your style.css */

/* Base style for the links in the top bar */
.top-bar .contact-info span a {
    text-decoration: none;
    color: #333; /* Or inherit the parent's color */
    padding: 2px 5px; 
    border-radius: 4px;
    display: inline-flex; 
    align-items: center;
    /* Smooth transition for the shadow */
    transition: box-shadow 0.3s ease-in-out; 
}

/* Hover effect */
.top-bar .contact-info span a:hover {
    color: #000;
    /* Gold/Yellow shadow */
    box-shadow: 0 0 10px rgba(240, 163, 0, 0.7); 
}
/* --- HEADER AND NAVIGATION --- */
header {
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar {
    background-color: transparent;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 5%;
    font-size: 0.9em;
    overflow: visible; 
    padding-bottom: 25px; 
}

.top-bar .contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.top-bar .contact-info span {
    display: inline-flex;
    align-items: center;
    color: #000;
}

.top-bar .contact-info img {
    height: 16px;
    margin-right: 5px;
    filter: none;
}

.language-selector {
    margin-left: auto;
    position: relative;
    z-index: 1000;
    padding: 5px 0;
}

.language-selector select {
    background-color: transparent;
    border: 1px solid #333;
    color: #333;
    padding: 5px;
    border-radius: 3px;
}

.goog-te-combo {
    width: 160px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.5;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13.2-5.4H18.6c-5%200-9.3%201.8-13.2%205.4A17.6%2017.6%200%200%200%200%2082.7c0%204.6%201.8%208.9%205.4%2012.8l128%20128a17.6%2017.6%200%200%200%2013.2%205.4c4.6%200%208.9-1.8%2012.8-5.4l128-128c3.6-4%205.4-8.2%205.4-12.8-.2-4.6-2-8.9-5.6-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px auto;
}

nav {
    background-color: #6C1E2D;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
    filter: none;
}

.logo h1 {
    font-size: 1.5em;
    margin: 0;
    color: #fff;
    font-weight: bold;
    text-shadow: none;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

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

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 5px 0;
    transition: color 0.3s ease;
}

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

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #8C2E3F;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    border-radius: 5px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-weight: normal;
}

.dropdown-content a:hover {
    background-color: #A03E50;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 450px; /* Fixed height is fine for the hero banner */
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slider-image.active {
    opacity: 1;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    z-index: 10;
}

.hero-text h2 {
    font-size: 2em;
    margin-bottom: 5px;
}

.hero-text h1 {
    font-size: 3.5em;
    margin-top: 0;
    line-height: 1;
}

/* --- WELCOME TO SHAJAN ECO SECTION CSS --- */
.welcome-section {
    display: flex;
    align-items: center;
    background-color: #fff;
    /* CRITICAL: Increased gap (100px) to move the image further right */
    gap: 100px; 
    flex-wrap: wrap;
    /* CRITICAL: Align content to the left side of the screen's content area */
    justify-content: flex-start; 
}

.welcome-content {
    /* Set to flex: 1 for fluid behavior */
    flex: 1;
    /* CRITICAL: Increased max-width (700px) to push the content wider and further left */
    max-width: 700px; 
    text-align: left;
}

/* FONT FIX: Main Title Style */
.welcome-content .section-title {
    font-size: 3.2em;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 800;
}

/* FONT FIX: Sub-Tag Style */
.welcome-content .section-tag-small {
    font-size: 0.45em; 
    color: #f0a300;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
}

/* FONT FIX: Paragraph Style */
.welcome-content p {
    /* Slightly reduced font size for better word wrap in the new wider space */
    font-size: 1.2em; 
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.welcome-image {
    /* Allows the image block to shrink if necessary */
    flex: 1;
    /* Adjusted max-width to keep the image size appropriate */
    max-width: 350px; 
    text-align: left;
}

.welcome-image img {
    /* Image fills its container */
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- Products Showcase --- */
.products-showcase {
    background-color: #f9f9f9;
    text-align: center;
}

.products-showcase h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
}

.product-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: stretch; /* Ensures all boxes are the same height */
}

.product-item {
    position: relative;
    width: 300px;
    height: 350px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    background-color: #fff;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.3s ease-in-out;
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.product-item:hover .product-info {
    opacity: 1;
}

.product-info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.product-info .details {
    font-size: 1em;
    line-height: 1.6;
    margin: 0;
    padding: 0 10px;
}

/* --- TESTIMONIALS SECTION CSS (FIXED) --- */
/* --- TESTIMONIALS SECTION CSS (FIXED) --- */

/* Keep the base section styles */
/* --- TESTIMONIALS SECTION CSS (FIXED) --- */
/* --- TESTIMONIALS SECTION CSS (FIXED for Fixed Background/Scroll) --- */
/* --- TESTIMONIALS SECTION CSS (Fixed Background/Parallax) --- */
.testimonials-section {
    /* CRITICAL FIX 1: Add fixed attachment for the parallax scroll effect */
    background-image: url('images/reviewbackground.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* <-- THIS IS THE KEY FIX */
    
    /* Ensure the section has proper height and necessary padding */
    min-height: 450px; 
    height: auto; 
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 80px 5%; 
    clear: both; 
}
/* ... rest of the testimonial styles remain the same ... */st of the testimonial styles remain the same ... */
/* CRITICAL FIX: Added a semi-transparent dark overlay for text readability */
.testimonial-overlay {
    /* Use a dark overlay to ensure white text is visible, even if the image fails to load. */
    background-color: rgba(0, 0, 0, 0.7); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    /* Removed padding from here as it is now on .testimonials-section */
    padding: 0; 
    
    /* If you want a *full-width* overlay and the section padding to remain, you might need to adjust height/positioning
       but for standard sections, this structure works best. */
}

/* Ensure the content is visible over the background */
.testimonials-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    width: 100%;
}

.testimonials-content .section-tag {
    font-size: 1.1em;
    color: #f0a300;
    margin-bottom: 10px;
    font-weight: 600;
}

.testimonials-content h2 {
    font-size: 3.2em;
    margin-bottom: 40px;
    color: #fff;
    font-weight: 800;
}

.testimonial-slider-container {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    margin-bottom: 20px;
}

.testimonial-item {
    position: absolute;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateY(0);
    position: relative; 
}

.testimonial-item .review-text {
    font-size: 1.4em;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #fff;
}

.testimonial-item .reviewer-info {
    font-size: 1.1em;
    font-weight: bold;
    color: #f0a300;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap; 
    gap: 15px;
}

.testimonial-item .reviewer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0a300;
}

.testimonial-item .reviewer-country {
    color: #fff;
    font-size: 1.2em;
    font-weight: normal;
}
/* --- ABOUT US SECTION CSS (FIXED for side-by-side images) --- */
.about-us-section {
    background-color: #f5f5f5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.about-us-images {
    display: flex;
    flex-direction: row; /* Side-by-side on desktop */
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 900px; 
    margin-bottom: 40px;
}

.about-us-img {
    width: calc(50% - 10px); /* 50% width minus half the gap */
    max-width: 450px; 
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-us-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-us-content .section-tag {
    font-size: 1.1em;
    color: #f0a300;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-us-content h3 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-us-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

/*/* --- ACHIEVEMENTS/STATS SECTION CSS (PARALLAX & VISIBILITY FIX) --- */
/* --- ACHIEVEMENTS/STATS SECTION CSS (FINAL DEFINITIVE FULL WIDTH FIX) --- */
.achievements-section {
    background-image: url('images/EXPRIENCEALL.jpg'); 
    
    /* CRITICAL FIX 1: Set attachment to fixed for parallax/fixed background */
    background-attachment: fixed; 
    
    /* Ensure size and position are set for fixed parallax */
    background-size: cover;
    background-position: center center;
    
    /* CRITICAL FIX 2: Override global padding aggressively to stretch edge-to-edge */
    padding: 0 !important; 
    
    /* 🚀 CRITICAL FIX 3: Force the section to full viewport width (100vw) 
       and use a 'margin hack' to center it and negate any inherited horizontal scrollbar 🚀 */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    
    min-height: 350px;
    height: auto; 
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden; /* Contains the children */
    
    z-index: 10; 
}


/* ... rest of your stats-grid and other achievements styles can remain the same ... */
.achievements-content {
    max-width: 900px;
    margin: 0 auto;
    /* Ensure content is above the overlay */
    z-index: 2; 
    position: relative; 
    width: 100%;
}

.achievements-content .section-tag {
    font-size: 1.1em;
    color: #f0a300;
    margin-bottom: 10px;
    font-weight: 600;
}

.achievements-content h2 {
    font-size: 3.2em;
    margin-bottom: 50px;
    color: #fff;
    font-weight: 800;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    /* Made stat boxes slightly more opaque for better contrast */
    background-color: rgba(255, 255, 255, 0.15); 
    border: 1px solid rgba(240, 163, 0, 0.5);
    border-radius: 10px;
    padding: 30px;
    width: 280px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.stat-item:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.3);
}

.stat-item .stat-number {
    font-size: 3.5em;
    font-weight: bold;
    color: #f0a300;
    display: block;
    margin-bottom: 10px;
}

.stat-item .stat-description {
    font-size: 1.2em;
    color: #fff;
    margin: 0;
}
/* Safety fix to prevent the section above from interfering with background-attachment: fixed */
.products-showcase {
    /* Ensures the element is rendered in a way that respects fixed backgrounds */
    transform: translateZ(0); /* Add this to create a new stacking context */
}
/* --- WHY CHOOSE US SECTION CSS --- */
.why-choose-us {
    background-color: #fff;
    text-align: center;
}

.why-choose-us-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    gap: 40px;
    text-align: left;
}

.why-choose-us-text {
    flex: 1;
    min-width: 300px;
}

.why-choose-us-text .section-tag {
    font-size: 1.1em;
    color: #f0a300;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.why-choose-us-text h3 {
    font-size: 3.2em;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.1;
    font-weight: 800;
}

.why-choose-us-text .underline {
    width: 80px;
    height: 4px;
    background-color: #f0a300;
    margin-bottom: 20px;
}

.why-choose-us-description {
    flex: 1;
    min-width: 400px;
    padding-top: 50px;
}

.why-choose-us-description p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

.why-choose-us-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-box img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature-box h4 {
    font-size: 1.3em;
    color: #333;
    margin: 0;
}

/* --- FOOTER & WHATSAPP --- */
footer {
    background-color: #0d1b2a;
    color: #fff;
    padding: 20px 5%;
    text-align: center;
    position: relative;
}

/* --- FOOTER & WHATSAPP --- */
/* (Keep the general footer styles) */

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px; /* Positioned on the right */
    background-color: #25d366; /* Official WhatsApp green */
    color: #fff;
    padding: 10px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 100;
    text-decoration: none; /* Remove underline from the anchor tag */
}

/* Fix the logo color and size */
.whatsapp-button img {
    /* SET GLOBAL SIZE: 24px is standard for buttons */
    height: 24px; 
    width: 24px; 
    margin-right: 10px;
    /* CRITICAL FIX: Remove filter to show original icon color */
    filter: none; 
}

/* Ensure the text is visible */
.whatsapp-button span {
    font-weight: bold;
    color: #fff;
}

/* ==================================== */
/* RESPONSIVENESS MEDIA QUERIES */
/* ==================================== */

/* Tablet & Smaller Desktop (Max-width: 992px) */
@media (max-width: 992px) {
    /* Layout Stacking */
    .welcome-section {
        flex-direction: column;
    }
    .welcome-content p {
    font-size: 1.25em; 
    line-height: 1.6; 
    color: #0a0a0adc; /* CHANGED from #555/darker to a medium-dark gray */
    margin-bottom: 25px;
}
    .why-choose-us-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .why-choose-us-description {
        padding-top: 0;
        min-width: auto;
        font-size: 1.1em;
    line-height: 1.8;
    color: #0f0f0fd9;
    }
    .about-us-images {
        flex-direction: column; /* Stack on tablet */
        align-items: center;
    }
    .about-us-img {
        width: 100%;
        max-width: 450px;
    }

    /* Font Adjustments */
    .welcome-content .section-title,
    .achievements-content h2,
    .why-choose-us-text h3 {
        font-size: 2.5em; 
    }
}

/* Mobile Devices (Max-width: 768px) */
/* ==================================== */
/* MOBILE DEVICES (Max-width: 768px) */
/* ==================================== */
@media (max-width: 768px) {
    /* Global Padding */
    .top-bar, nav, section, footer {
        padding-left: 3%;
        padding-right: 3%;
    }

    /* CRITICAL FIX: Hide contact details completely on mobile */
    .top-bar .contact-info {
        display: none !important; 
    }

    /* Adjust the top bar to center only the language selector */
    .top-bar {
        flex-direction: row; /* Ensure it's a row layout */
        justify-content: center; /* Center the remaining item (Language Selector) */
        padding: 10px 3%; 
        padding-bottom: 35px; /* Keep space for the dropdown */
    }

    /* Ensure the language selector is centered if it was pushed right */
    .language-selector {
        margin-left: 0;
        margin-right: 0;
    }

    /* Header/Nav Stacking */
    nav {
        flex-direction: column;
        padding: 10px 3%;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    .nav-links li {
        margin: 5px 0;
        padding: 5px 0;
        margin-left: 0;
    }

    /* Content/Layout */
    .hero-section {
        height: 300px;
    }
    .product-grid {
        flex-direction: column;
        align-items: center;
    }
    /* Styling for SHAJAN ECO Branding and Tagline */
.footer-col.branding-col h3 {
    color: #f0a300; /* Gold/Orange color for the main title */
    font-size: 1.8em;
    margin-bottom: 5px;
}

.footer-col.branding-col p {
    color: #bbb;
    font-size: 0.9em;
    margin-bottom: 40px;
}

/* Styling for Headings (Quick Links, Contact, Follow Us) */
footer h4 {
    color: #f0a300; /* Gold/Orange color for sub-headings */
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
}

/* Add an underline effect to the sub-headings */
footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%; /* Center the underline */
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #6C1E2D; /* Red/Maroon accent line */
}

/* 2. Style the Quick Links (List) */
.footer-col.quick-links ul {
    list-style: none; /* CRITICAL: Remove bullets */
    padding: 0;
    margin: 0;
}

.footer-col.quick-links ul li {
    margin-bottom: 10px;
}

.footer-col.quick-links ul li a {
    color: #fff; /* White link color */
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1em;
}

.footer-col.quick-links ul li a:hover {
    color: #f0a300; /* Gold/Orange hover effect */
    text-decoration: underline;
}

/* 3. Style the Contact Information */
.footer-col.contact-info-col p {
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1em;
}

.footer-col.contact-info-col p a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col.contact-info-col p a:hover {
    color: #f0a300;
}
    /* Font Adjustments */
    .welcome-content .section-title,
    .achievements-content h2,
    .why-choose-us-text h3 {
        font-size: 2.5em; 
    }
    
    /* Testimonials Fix */
    .testimonial-item .reviewer-info {
        flex-direction: column;
        gap: 5px;
    }
}
/* --- HERO SLIDER VISIBILITY FIX --- */
.hero-section {
    position: relative; /* Ensure it is the positioning context for the slider */
}

/* --- SLIDER CONTAINER SETUP (Prevents Collapse) --- */
.slider-container {
    position: relative !important;
    overflow: hidden !important; 
    width: 100%;
    z-index: 10;
    /* IMPORTANT: Keeps the space visible */
    height: 450px !important; 
}
/* --- HERO SECTION SETUP (Prevents Container Collapse) --- */
.hero-section {
    position: relative;
    width: 100%;
    /* Ensures the area is never zero height */
    height: 450px !important; 
    overflow: hidden;
}

.slider-container {
    position: relative !important;
    overflow: hidden !important; 
    width: 100%;
    height: 100% !important;
    z-index: 10;
    /* 🔴 CRITICAL FIX: Set a dark background so the flash isn't white 🔴 */
    background-color: #333333; 
}

/* --- IMAGE VISIBILITY LOGIC (Eliminates White Flash) --- */
.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1.5s ease-in-out;
    
    /* FIX 1: Keep all images loaded and visually present */
    visibility: visible !important; 
    /* Base Z-index and opacity for inactive slides */
    opacity: 0 !important;
    z-index: 1 !important; 
}

.slider-image.active {
    /* FIX 2: Layer the active image on top and make it fully visible */
    visibility: visible !important; 
    opacity: 1 !important; 
    z-index: 5 !important; 
}

/* --- SLIDER ARROWS (Red Styling & Layering) --- */
.slide-arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    /* 🔴 CRITICAL: Force high Z-index to layer over images 🔴 */
    z-index: 9999 !important; 
    
    /* Styling */
    background-color: rgba(41, 38, 38, 0.7) !important;
    color: white;
    font-size: 24px;
    padding: 12px 16px; 
    border: none;
    display: flex !important; 
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.next-arrow { right: 10px; }
.prev-arrow { left: 10px; }

.slide-arrow:hover {
    background-color: rgb(30, 27, 27) !important;
}/* Smallest Mobile Devices (Max-width: 576px) */
/* (This block remains unchanged but ensures continuity) */
/* ==================================== */
/* MOBILE DEVICES (Max-width: 768px) */
/* ==================================== */
@media (max-width: 768px) {
    /* Global Padding */
    .top-bar, nav, section, footer {
        padding-left: 3%;
        padding-right: 3%;
    }

    /* CRITICAL FIX: Hide the contact details container on mobile */
    .top-bar .contact-info {
        display: none !important; 
    }

    /* ADJUST TOP BAR: Revert to row layout and center the remaining item (Language Selector) */
    .top-bar {
        flex-direction: row; 
        justify-content: center; /* Center the language selector */
        padding: 10px 3%; 
        padding-bottom: 35px; /* Keep space for the dropdown */
        height: auto;
    }

    /* Ensure the language selector is centered */
    .language-selector {
        margin-left: auto;
        margin-right: auto;
        /* Ensure it's the only thing visible */
        display: block !important; 
    }
    
    /* Header/Nav Stacking */
    nav {
        display: flex;
        flex-direction: column;
        padding: 10px 3%;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    .nav-links li {
        margin: 5px 0;
        padding: 5px 0;
        margin-left: 0;
    }

    /* Content/Layout */
    .hero-section {
        height: 300px;
    }
    .product-grid {
        flex-direction: column;
        align-items: center;
    }
    
    /* Font Adjustments (as previously set) */
    .welcome-content .section-title,
    .achievements-content h2,
    .why-choose-us-text h3 {
        font-size: 2.5em; 
    }
    
    /* Testimonials Fix */
    .testimonial-item .reviewer-info {
        flex-direction: column;
        gap: 5px;
    }
}

/* Smallest Mobile Devices (Max-width: 576px) */
/* (This block remains unchanged but ensures continuity) */
/* ==================================== */
/* MOBILE DEVICES (Max-width: 768px) - FINAL LAYOUT */
/* ==================================== */
@media (max-width: 768px) {
    /* Global Padding */
    .top-bar, nav, section, footer {
        padding-left: 3%;
        padding-right: 3%;
    }

    /* FIX 1: Hide the old contact info */
    .top-bar .contact-info {
        display: none !important; 
    }

    /* FIX 2: Hide the translator only if its container is empty (optional, but good practice) */
    .language-selector {
        display: none !important;
    }
    
    /* NEW STRUCTURE: Combine Logo and Translator into the NAV bar */
    
    nav {
        /* Ensure the nav bar can act as the container for both the logo and the translator */
        display: flex;
        justify-content: space-between; /* Pushes logo left, translator right */
        align-items: center;
        padding: 15px 3%;
    }
    
    /* CRITICAL FIX: The menu links must be hidden to prevent them from stacking below the logo */
    .nav-links {
        display: none !important; 
    }
    
    /* FINAL STEP: Re-insert and style the translator as an absolutely positioned element 
       *outside* the normal flow of the NAV bar to force its position, OR 
       *add it directly into the NAV bar HTML for better flow control. 
       *Since we can only change CSS here, we will redefine the placement: */
    
    /* Re-position the translator in the top right corner */
    .language-selector {
        /* Ensure it is visible and positioned correctly */
        display: block !important;
        position: absolute; /* Position it relative to the header or body */
        top: 15px; /* Adjust vertical position */
        right: 5px; /* Far right */
        z-index: 1000;
        /* Temporarily make the container visible */
        width: auto;
        margin: 0;
    }
    
    /* Content/Layout */
    .hero-section {
        height: 300px;
    }
    .product-grid {
        flex-direction: column;
        align-items: center;
    }
    
    /* Font Adjustments */
    .welcome-content .section-title,
    .achievements-content h2,
    .why-choose-us-text h3 {
        font-size: 2.5em; 
    }
}
/* --- FOOTER GENERAL STYLES (Applies to Desktop) --- */

/* Style for the main SHAJAN ECO title */
.footer-col.branding-col h3 {
    color: #f0a300; /* Gold/Orange color for the main title */
    font-size: 1.8em;
    margin-bottom: 5px;
}

/* Style for general footer headings (Quick Links, Contact Information) */
footer h4 {
    color: #f0a300; /* Gold/Orange color for sub-headings */
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    /* Ensure h4 is centered on desktop (as your current setup centers the entire footer text) */
    text-align: center;
}

/* Add an underline effect to the sub-headings on desktop */
footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%; /* CRITICAL: Center the underline */
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #6C1E2D; /* Red/Maroon accent line */
}
/* --- Language Selector Fixes for Google Translate --- */
/* --- QUICK LINKS LIST FIX (Desktop) --- */

.footer-col.quick-links ul {
    list-style: none; /* CRITICAL: Remove bullets */
    padding: 0;
    margin: 0 auto; /* CRITICAL: Centers the list block */
    width: fit-content; /* Allows the margin: auto to work */
}

.footer-col.quick-links ul li {
    margin-bottom: 10px;
    /* Ensure list items text aligns with the list block */
    text-align: center; 
}

.footer-col.quick-links ul li a {
    color: #fff; /* White link color */
    text-decoration: none;
}

.footer-col.quick-links ul li a:hover {
    color: #f0a300; 
    text-decoration: underline;
}
/* 1. Modify existing selector to ensure it is positioned on top */
.language-selector {
    margin-left: auto;
    position: relative;
    /* CRITICAL FIX: Ensure this z-index is higher than your main nav bar's z-index (which is 1) */
    z-index: 9999; 
    padding: 5px 0;
}

/* 2. CRITICAL FIX: Target the Google Translate menu container to force scrolling and high z-index */
/* This is often necessary to prevent clipping by parent elements. */
.goog-te-menu-container {
    z-index: 1000000 !important; /* Extremely high priority for the menu list */
    overflow: visible !important; /* Force the list to drop down fully */
}

/* 3. CRITICAL FIX: Target the internal iframe of the Google Translate dropdown */
/* This addresses clipping issues by forcing the iframe itself to allow its content to spill out. */
body > .skiptranslate > .goog-te-gadget > iframe {
    z-index: 1000000 !important; /* High z-index */
    overflow: visible !important;
}

/* 4. Ensure the dropdown values are also prioritized */
.goog-te-menu-value {
    z-index: 1000000 !important; 
    position: relative !important; 
}
@media (max-width: 768px) {
    /* Global Content Alignment & Padding (Left-Corner Look) */
    /* ---------------------------------------------------- */
    .top-bar, nav, footer {
        /* Keep these at 0 for full bleed of hidden/floating elements */
        padding-left: 0 !important; 
        padding-right: 0 !important;
    }
    
    section {
        /* 🚀 CRITICAL: Apply minimal padding for the "left-corner" look 🚀 */
        padding-left: 15px !important; 
        padding-right: 15px !important;
        padding-top: 50px !important; 
        padding-bottom: 50px !important;
    }
    
    /* Ensure all key text content is left-aligned on mobile */
    .welcome-section,
    .welcome-content,
    .welcome-content p,
    .why-choose-us-header,
    .why-choose-us-text {
        text-align: left !important;
    }
    .welcome-section {
        justify-content: flex-start !important;
        flex-direction: column; /* Ensure vertical stacking */
    }
    /* ---------------------------------------------------- */

    /* 1. HIDE THE TOP CONTACT BAR ENTIRELY */
    .top-bar {
        display: none !important; 
    }
    
    /* 2. CRITICAL: HIDE THE ENTIRE NAVIGATION BAR */
    nav {
        display: block !important;
        height: 0 !important;
        overflow: hidden !important;
        background-color: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        
        .logo, .nav-links {
            display: none !important;
        }
    }

    /* 3. CRITICAL: FORCE THE TRANSLATOR OUT AND ONTO THE IMAGE (Position ABSOLUTE) */
    .language-selector {
        /* Position 'absolute' so it scrolls with the hero-section */
        display: block !important;
        position: absolute !important; 
        top: 15px !important; 
        right: 15px !important; 
        z-index: 99999 !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: transparent !important;
    }

    /* 4. ENSURE THE HERO IMAGE STARTS AT THE TOP */
    .hero-section {
        /* Set position to relative for the translator's absolute position to work */
        position: relative !important; 
        margin-top: 0 !important; 
        padding-top: 0 !important; 
        height: 300px !important; /* Smaller height for mobile view */
    }
    
    /* 5. HIDE GOOGLE BANNER AND PREVENT PAGE JUMP */
    .goog-te-banner-frame.skiptranslate {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important; 
    }
    body {
        margin-top: 0 !important;
        top: 0px !important; 
    }

    /* 6. GOOGLE DROPDOWN SIZING (Kept for mobile legibility) */
    .goog-te-combo {
        width: 110px !important; 
        padding: 5px 8px !important;
        font-size: 12px !important;
        vertical-align: middle !important;
    }
    
    /* FONT SCALING FIXES */
    .welcome-content .section-title,
    .achievements-content h2,
    .why-choose-us-text h3 {
        font-size: 2.5em; 
    }
    
    /* 🚀 Testimonials Title Fix - AGGRESSIVE ADJUSTMENT (Two lines, no shadow) 🚀 */
    .testimonials-content h2 {
        font-size: 1.7em !important; 
        line-height: 1.05 !important;
        letter-spacing: -0.01em !important; 
        word-spacing: -0.05em !important; 
        margin-bottom: 25px; 
        color: #FFFFFF !important; 
        text-shadow: none !important; 
    }
    .testimonial-item .review-text {
        color: #FFFFFF !important;
        text-shadow: none !important;
    }
  
    /* ACHIEVEMENT SECTION BACKGROUND COVER FIX */
    .achievements-section {
        background-position: center center !important; 
        background-size: cover !important; 
        background-attachment: fixed !important; 
    }
    /* 🚀 TARGET: Experience & Growth Heading (OUR ACHIEVEMENTS section) 🚀 */
    .achievements-content h2 {
        font-size: 2.5em !important; 
        line-height: 1.1 !important;
        
        /* --- FONT STYLE CHANGES --- */
        font-weight: 600 !important; /* Changed from 800 (Extra Bold) to 600 (Semi-Bold) for a different look */
        font-style: italic !important; /* Adding italic style for a distinct appearance (Optional) */
        color: #FFFFFF !important; /* Ensure the text is white */
        text-shadow: none !important; /* Removed any shadows that make it look dark */
        /* -------------------------- */

        margin-bottom: 40px; 
    }
    
    /* ... (rest of your mobile styles) ... */
}

    /* Ensure horizontal overflow fix is active */
    body, html {
        overflow-x: hidden !important; 
    }
    .top-bar, nav, header, main, footer, section {
        max-width: 100%;
        box-sizing: border-box; 
    }
}