:root {
    /* Even lighter, fresher green palette */
    --primary-green: #4CAF50; 
    --light-green: #C8E6C9;
    --border-green: #81C784;
    --title-blue: #0D47A1;
    --bg-pure-white: #FFFFFF;
    --text-dark: #212121;
    --text-muted: #4A4A4A;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-pure-white);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

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

/* Top Contact Line */
.top-bar {
    background-color: var(--primary-green);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
}

.top-bar-container {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scroll-left 18s linear infinite;
}

.top-bar-container span {
    display: inline-flex;
    align-items: center;
    margin-right: 4rem;
}

.top-bar-container span:last-child {
    margin-right: 0;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%; 
    height: 80px; /* FIXED HEIGHT */
    background-color: var(--bg-pure-white);
    border-bottom: 2px solid var(--primary-green);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* --- BRAND & LOGO OPTIMIZATIONS --- */
.brand-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    gap: 10px; 
    z-index: 110;
}

.brand-container .logo { 
    position: relative;
    width: 100px; 
    height: 100%;
}

.brand-container .logo img { 
    position: absolute; 
    top: 6px;
    height: 110px; 
    width: 110px; 
    object-fit: contain; 
    background-color: var(--bg-pure-white); 
    border-radius: 50%; 
    padding: 6px; 
    box-shadow: 0 6px 15px rgba(0,0,0,0.15); 
    transition: transform 0.3s ease; 
}

.brand-container:hover .logo img {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
}

.brand-text .company-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--title-blue);
    line-height: 1.1;
}

.brand-text .tagline {
    font-size: 0.75rem;
    color: var(--primary-green);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-dark); text-decoration: none; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-green); }

/* --- Social Media Icons in Navbar --- */
.nav-socials {
    display: flex;
    gap: 15px;
    align-items: center;
    border-left: 1px solid #ddd;
    padding-left: 15px;
    margin-left: 5px;
}
.nav-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: color 0.3s, transform 0.3s;
}
.nav-socials a:hover {
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-left: auto; /* Ensures it pushes to the far right on mobile */
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--primary-green);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn:hover { background-color: #388E3C; }
.btn-full { width: 100%; margin-top: 1rem; }
.btn-nav {
    background-color: var(--primary-green);
    color: white !important;
    padding: 8px 18px;
    border-radius: 4px;
}

/* WhatsApp Outline Button styling (Product Cards) */
.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25D366;
    color: white !important;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: background-color 0.3s;
    width: 100%;
}
.btn-wa:hover { background-color: #1ebe57; }
.btn-wa svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Corporate Hero Banner */
.hero {
    padding: 10rem 5%;
    background: linear-gradient(rgba(10, 15, 10, 0.3), rgba(0, 0, 0, 0.5)),
                url('https://res.cloudinary.com/dfp6vcrcp/image/upload/v1779897756/bg_n6yecz.jpg') center/cover no-repeat;
    border-bottom: 3px solid var(--primary-green);
}
.hero-content { max-width: 800px; }
.hero-subtitle { color: var(--light-green); font-weight: 700; letter-spacing: 3px; font-size: 0.9rem; display: block; margin-bottom: 15px; }
.hero h1 { font-size: 4.5rem; color: var(--bg-pure-white); margin-bottom: 1.5rem; line-height: 1.1; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero p { font-size: 1.2rem; color: #e0e0e0; margin-bottom: 2.5rem; }

/* Sub-banners */
.highlight-bar {
    background-color: #f4fbf4;
    border-bottom: 1px solid var(--border-green);
    display: flex;
    justify-content: space-around;
    padding: 1.2rem 5%;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.95rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Titles */
.section-title { font-size: 2.6rem; color: var(--title-blue); margin-bottom: 1.5rem; }
.section-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 850px; margin-bottom: 3rem; margin-left: auto; margin-right: auto; }

/* Infrastructure Sections */
.info-section { padding: 6rem 5%; max-width: 1300px; margin: 0 auto; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.info-box { padding: 2.5rem; border-left: 4px solid var(--primary-green); background-color: #f9f9f9; }
.info-box h3 { color: var(--title-blue); font-size: 1.4rem; margin-bottom: 1rem; }

/* Portfolio Container Updates */
.portfolio-section { padding: 6rem 5%; background-color: var(--bg-pure-white); border-top: 1px solid #eee; }
.spice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; max-width: 1300px; margin: 0 auto; }

/* Flexbox Layout for Cards */
.spice-card { 
    background: var(--bg-pure-white); 
    border: 2px solid var(--border-green); 
    border-radius: 6px; 
    overflow: hidden; 
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}
.spice-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(76, 175, 80, 0.15); }

/* Auto-Scrolling Carousel */
.carousel-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background-color: #eee;
}
.carousel {
    display: flex;
    width: 500%; 
    height: 100%;
    animation: slide-carousel 20s infinite;
}
.carousel img {
    width: 20%; 
    height: 100%;
    object-fit: cover;
}

@keyframes slide-carousel {
    0%, 15% { transform: translateX(0); }
    20%, 35% { transform: translateX(-20%); }
    40%, 55% { transform: translateX(-40%); }
    60%, 75% { transform: translateX(-60%); }
    80%, 95% { transform: translateX(-80%); }
    100% { transform: translateX(0); }
}

.spice-info { 
    padding: 1.5rem; 
    background-color: var(--bg-pure-white);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.spice-info h3 { color: var(--title-blue); font-size: 1.4rem; margin-bottom: 0.75rem; }

/* Certifications Section */
.cert-section { padding: 6rem 5%; background-color: #f4fbf4; border-top: 1px solid #e0ebe0; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1300px; margin: 0 auto; }
.cert-card { background-color: var(--bg-pure-white); border: 1px solid var(--border-green); border-radius: 8px; padding: 2rem; display: flex; align-items: flex-start; gap: 1.5rem; transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.cert-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(76, 175, 80, 0.15); border-color: var(--title-blue); }
.cert-icon { font-size: 2.5rem; background-color: #e8f5e9; padding: 15px; border-radius: 8px; line-height: 1; }
.cert-details h3 { color: var(--title-blue); font-size: 1.3rem; margin-bottom: 0.25rem; font-family: 'Inter', sans-serif; font-weight: 700; }
.cert-number { display: inline-block; background-color: var(--primary-green); color: white; font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; margin-bottom: 0.75rem; letter-spacing: 0.5px; }

/* Contact Area */
.contact-section { padding: 6rem 5%; background-color: var(--bg-pure-white); border-top: 1px solid var(--border-green); }
.contact-container { max-width: 750px; margin: 0 auto; }
.contact-subtitle { color: var(--text-muted); margin-bottom: 2rem; }
form { display: flex; flex-direction: column; gap: 1.25rem; }
.input-group { display: flex; gap: 1.25rem; }
input, textarea { width: 100%; padding: 16px; background-color: var(--bg-pure-white); border: 1px solid #ccc; color: var(--text-dark); font-family: 'Inter', sans-serif; outline: none; border-radius: 4px; }
input:focus, textarea:focus { border-color: var(--primary-green); box-shadow: 0 0 5px rgba(76, 175, 80, 0.3); }

/* Corporate Footer */
footer { background-color: var(--primary-green); color: white; text-align: center; padding: 4rem 5%; }
footer .logo { display: flex; justify-content: center; margin-bottom: 1.5rem; text-decoration: none; }
footer .logo img { 
    height: 90px; 
    width: 90px;
    border-radius: 50%; /* Keeps footer logo perfectly round too */
    background-color: var(--bg-pure-white);
    padding: 6px;
    object-fit: contain;
}
footer .footer-credit a {
    color: inherit;
    text-decoration: none;
}
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 1.5rem;
}
.footer-socials a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.12);
    border-radius: 50%;
    color: white;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.footer-socials a:hover {
    background-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}
.footer-contact { margin-bottom: 1.5rem; font-weight: 500; letter-spacing: 0.5px; line-height: 1.8; }
.footer-rights { color: #e8f5e9; font-size: 0.85rem; margin-bottom: 1.5rem; }
.footer-credit { margin-top: 1.5rem; }

/* Cursive Font */
.cursive-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: blue;
}

.footer-rights .cursive-text {
    color: white;
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

.floating-wa svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* ========================================= */
/* MOBILE OPTIMIZATION MEDIA QUERIES         */
/* ========================================= */
@media (max-width: 900px) {
    .nav-links { gap: 1.5rem; }
}

@media (max-width: 768px) {
    /* Navbar specific mobile adjustments */
    .navbar {
        padding: 0 20px; /* Gives nice spacing on the edges */
    }
    
    /* Shrink the brand area perfectly on mobile */
    .brand-container { gap: 10px; }
    .brand-container .logo { width: 75px; }
    
    .brand-container .logo img {
        height: 75px;
        width: 75px;
        top: 12px; 
        padding: 4px;
    }

    .brand-text .company-name { font-size: 1.3rem; }
    .brand-text .tagline { font-size: 0.55rem; letter-spacing: 0px; }

    /* Hamburger & Mobile Nav */
    .hamburger { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%; /* Attaches directly below the fixed 80px nav */
        left: 0;
        width: 100%;
        background-color: var(--bg-pure-white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
        display: none; 
    }
    .nav-links.active {
        display: flex; 
    }
    .nav-links li { margin-bottom: 1rem; }
    
    /* Center the socials on mobile */
    .nav-socials {
        border-left: none;
        border-top: 1px solid #eee;
        padding-left: 0;
        padding-top: 15px;
        margin-left: 0;
        margin-bottom: 1rem;
        width: 100%;
        justify-content: center;
    }

    .btn-nav { width: 200px; text-align: center; }

    /* Hero Section Mobile */
    .hero { padding: 6rem 5%; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1rem; }

    /* Sections Mobile */
    .section-title { font-size: 2rem; }
    .info-section, .portfolio-section, .cert-section, .contact-section { padding: 4rem 5%; }
    .input-group { flex-direction: column; gap: 1.25rem; }
    
    /* Highlight Bar */
    .highlight-bar { flex-direction: column; text-align: center; }

    /* Make floating WA button slightly smaller on mobile screens */
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .floating-wa svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .cert-card { flex-direction: column; align-items: center; text-align: center; }

    .footer-contact .footer-email,
    .footer-contact .footer-phone {
        display: block;
        margin: 0.25rem 0;
    }
}