/* Color Variables based on live site */
:root {
    --main-blue: #0087c5; 
    --dark-brown: #7b4f35;
    --product-text-bg: #444; 
    --light-grey: #f0f0f0; 
    --dark-footer: #2b2b2b; 
    --text-color: #555;
    --white: #fff;
    --orange-submit: #ffaa00; 
    --product-border-highlight: #ffcc00; 
    --header-bg-color: #fff;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 14px;
}

.container {
    width: 90%;
    max-width: 1250px;
    margin: 0 auto;
}

.section-padding {
    padding: 60px 0;
}

.light-bg {
    background-color: var(--light-grey);
}

.section-title {
    text-align: center;
    font-size: 2.2em;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- 1. Header & Navigation --- */
.sticky-header {
    background-color: var(--header-bg-color);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    position: sticky; 
    top: 0;           
    z-index: 1000;    
}
.abs-div, .fixer, .wrap {
    width: 100%;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}
.logo {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--main-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo img {
    height: 30px;
    margin-right: 10px;
}
/* Main Nav Bar (Contains Links and Buttons) */
.main-nav-bar { 
    display: flex;
    align-items: center;
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}
.nav-links li a {
    text-decoration: none;
    color: #333;
    padding: 15px 15px;
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}
.nav-links li a:hover, .nav-links li a.active {
    color: var(--main-blue);
}
/* Contact Tools (Search Icon + Buttons) - FIX APPLIED HERE */
.contact-tools {
    display: flex;
    align-items: center;
    margin-left: 10px; /* Space between CONTACT US link and tools */
}
.contact-tools .search-icon {
    color: #333;
    font-size: 1.2em;
    padding: 0 10px;
}
.contact-tools .btn {
    text-decoration: none;
    color: var(--white);
    padding: 8px 15px;
    margin-left: 5px; /* Less margin for tight alignment */
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: 600;
    transition: background-color 0.3s;
}
.btn-sms { background-color: var(--orange-submit); }
.btn-email { background-color: var(--main-blue); }
.btn-sms:hover { background-color: #e59400; }
.btn-email:hover { background-color: #007bb4; }


/* --- 2. Hero Banner & Product Range Title --- */
.full-screen {
    position: relative;
    height: 400px; 
    margin-bottom: 50px; 
}
.banner-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.overlay-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.5)); 
}
.product-range-title-box {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%); 
    z-index: 5;
}
.product-range-title {
    background-color: rgba(68, 55, 43, 0.9); 
    color: var(--white);
    padding: 10px 60px;
    font-size: 1.6em;
    letter-spacing: 5px;
    font-weight: 600;
    border-radius: 3px;
    border: 1px solid var(--product-border-highlight); 
}
.slider-dots-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}
.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
}
.dot.active {
    background-color: var(--white);
}

/* --- 3. Product Range Grid Styling --- */
.product-grid-section {
    padding-top: 100px; 
    padding-bottom: 50px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px;
    text-align: center;
}
.product-item {
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    cursor: pointer;
    overflow: hidden;
    position: relative; 
    padding-bottom: 35px; 
    transition: transform 0.3s;
}
.product-item:hover {
    transform: translateY(-5px);
}
.product-item img {
    width: 100%;
    height: 120px;
    object-fit: cover; 
}
.product-item span {
    background-color: var(--product-text-bg); 
    color: var(--white);
    display: block;
    padding: 8px 0;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    position: absolute;
    bottom: 0; 
    left: 0;
    right: 0;
}
.product-item.highlight-item {
    border: 3px solid var(--product-border-highlight);
}
.single-row-item {
    grid-column: span 5;
    max-width: 400px; 
    margin: 30px auto 0 auto;
    background-color: transparent;
    box-shadow: none;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.single-row-item img {
    height: auto; 
    width: auto;
    object-fit: contain;
    margin-bottom: 5px;
}
.single-row-item span {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
}

/* --- 4. Welcome Section --- */
.welcome-grid {
    display: flex;
    min-height: 450px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.welcome-text-box {
    background-color: var(--main-blue);
    color: var(--white);
    padding: 60px 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.welcome-text-box h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}
.welcome-text-box p {
    margin-bottom: 30px;
}
.btn-read-more {
    background-color: var(--white);
    color: var(--main-blue);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    align-self: flex-start;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}
.btn-read-more:hover {
    background-color: var(--light-grey);
}
.welcome-image-box {
    flex: 1;
    background-image: url('meeting-room.jpg');
    background-size: cover;
    background-position: center;
}

/* --- 5. Feature Products (Specific Item Styling) --- */
.mono-chloro-item {
    background: linear-gradient(to bottom, #7b4f35, #a3694f); 
    color: var(--white);
}
.mono-chloro-item img {
    opacity: 0.5; 
}


/* --- 6. Key Features Section (3 Brown Boxes) --- */
.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.feature-card {
    flex: 1;
    background-color: var(--dark-brown);
    color: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 5px;
}
.feature-card .icon-box {
    height: 80px;
    margin-bottom: 15px;
}
.feature-card .icon-box img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 600;
}
.feature-card p {
    color: #eee;
    font-size: 0.9em;
}


/* --- 7. Quick Enquiry Form --- */
#contact-form-section {
    background-color: var(--light-grey);
    padding: 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    min-height: 400px;
}
.form-box {
    padding: 40px;
    background-color: var(--white);
}
.contact-us-label {
    color: var(--main-blue);
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 5px;
}
.form-box h2 {
    font-size: 2.2em;
    color: #333;
    margin-bottom: 30px;
}
.form-box form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-box form input,
.form-box form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 0.9em;
}
.form-box form textarea {
    grid-column: span 2;
    height: 100px;
    resize: none;
}
.btn-send-message {
    background-color: var(--orange-submit);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
    grid-column: span 2;
    font-size: 1em;
    transition: background-color 0.3s;
}
.btn-send-message:hover {
    background-color: #e59400;
}
.form-empty-spacer {
    display: none;
}
.form-image-box {
    background-color: var(--main-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.form-image-box img {
    width: 120%;
    max-width: 400px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}


/* --- 8. Footer --- */
footer {
    background-color: var(--dark-footer);
    color: var(--white);
}
.footer-newsletter {
    background-color: #3e3e3e;
}
.newsletter-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}
.newsletter-content input {
    padding: 10px;
    border: 1px solid #555;
    width: 300px;
    margin-right: 10px;
    border-radius: 3px;
}
.newsletter-content .btn-submit {
    background-color: var(--orange-submit);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
}
.footer-main {
    padding: 50px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 30px;
}
.footer-col h4 {
    color: var(--orange-submit);
    margin-bottom: 20px;
    font-size: 1.2em;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.9em;
}
.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
}
.footer-col ul li a:hover {
    color: var(--orange-submit);
}
.footer-bottom-bar {
    background-color: #202020;
    padding: 15px 0;
    text-align: center;
}
.footer-bottom-bar p {
    font-size: 0.8em;
    color: #aaa;
}
.footer-bottom-bar a {
    color: var(--white);
    text-decoration: none;
}
.member-tag {
    border: 1px solid var(--orange-submit);
    padding: 2px 5px;
    font-size: 0.7em;
    font-weight: 600;
    margin-left: 10px;
}

/* Floating WhatsApp Button */
.whatsapp-float-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
}
.whatsapp-float {
    background-color: #25d366;
    color: var(--white);
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1em;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
}
.whatsapp-float i {
    margin-right: 8px;
    font-size: 1.2em;
}

/* ==================================== */
/* 9. Responsiveness (Media Queries) */
/* ==================================== */

/* Tablet & Smaller Desktop Screens (Max 1024px) */
@media (max-width: 1024px) {
    .container {
        width: 95%; 
    }
    /* FIX: Ensure Logo and Nav are on the same line if possible */
    .nav-container {
        flex-wrap: wrap; 
        justify-content: center;
    }
    .main-nav-bar {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    .nav-links {
        padding: 0;
    }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .single-row-item {
        grid-column: span 3; 
    }
    .feature-product-grid .product-item img {
        height: 150px; 
    }
    .empty-placeholder {
        display: none; 
    }
    .welcome-grid {
        flex-direction: column;
        min-height: auto;
    }
    .welcome-text-box {
        padding: 40px 30px;
    }
    .welcome-image-box {
        height: 300px;
    }
    .features-grid {
        gap: 15px;
        flex-wrap: wrap;
    }
    .feature-card {
        max-width: 48%; 
    }
    .contact-grid {
        grid-template-columns: 1fr; 
    }
    .form-image-box {
        display: none; 
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns for tablet */
    }
    .quick-contact {
        grid-column: span 2; /* Quick contact full width */
    }
}

/* Mobile Screens (Max 600px) */
@media (max-width: 600px) {
    .section-padding {
        padding: 40px 0;
    }
    /* FIX: Navigation is now full width */
    .main-nav-bar {
        flex-direction: column;
        align-items: stretch;
        margin-top: 0;
    }
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 10px;
    }
    .contact-tools {
        justify-content: space-around;
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }
    .contact-tools .btn {
        flex: 1;
        text-align: center;
        margin-left: 5px;
        margin-right: 5px;
    }
    .contact-tools .search-icon {
        display: none; /* Hide search icon on very small screen if needed */
    }
    .full-screen {
        height: 250px;
        margin-bottom: 50px;
    }
    .product-range-title {
        font-size: 1.1em;
        padding: 8px 30px;
        letter-spacing: 2px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .single-row-item {
        grid-column: span 2;
    }
    .feature-product-grid .product-item img {
        height: 100px;
    }
    .welcome-text-box h2 {
        font-size: 2em;
    }
    .features-grid {
        flex-direction: column;
    }
    .feature-card {
        max-width: 100%; 
    }
    .form-box form {
        grid-template-columns: 1fr; 
    }
    .form-box form input,
    .form-box form textarea,
    .btn-send-message {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr; 
    }
    .quick-contact {
        grid-column: span 1;
    }
    .footer-newsletter .newsletter-content {
        flex-direction: column;
        align-items: stretch;
    }
    .newsletter-content input, .newsletter-content .btn-submit {
        width: 100%;
        margin: 5px 0;
    }
    .whatsapp-float-container {
        right: 10px;
        bottom: 10px;
    }
}
.logo {
    /* ... color and font styling ... */
    display: flex;
    align-items: center;
}
.logo img {
    height: 100px; /* Aap is value ko adjust kar sakte hain */
    margin-right: 10px;
}

#fluid_dg_slider{
    background-image: url('chemi\ -\ Copy.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
}
#bg-slider {
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
    transition: opacity 1.5s ease-in-out;
    opacity: 1;
}

.slider-dots-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}
.product-item img {
    width: 100%;
    height: 150px; /* aap chahe to 200px ya auto bhi use kar sakte ho */
    object-fit: cover; /* image perfect crop with full fit */
    border-radius: 5px;
}

/* ---- Base Grid Style ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

/* ---- Product Item ---- */
.product-item {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
}

/* ---- Image Fix ---- */
.product-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* ---- Text Styling ---- */
.product-item span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}


/* ---------- RESPONSIVE SETTINGS ---------- */

/* Mobile Screen (max 480px) */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-item img {
        height: 120px;
    }
}

/* Tablet (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Screens */
@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}




