:root {
    --navy: #132a3e;
    --olive: #6b7541;
    --white: #ffffff;
    --grey: #f4f7f6;
    --text: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; color: var(--text); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- NAVIGATION FIX --- */
.navbar { 
    background: white; position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%; /* Desktop Padding */
}

.nav-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0; /* Vertical padding for logo and burger */
}

.nav-bold { font-weight: bold; border-left: 5px solid var(--olive); padding-left: 10px; }

.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 20px; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: bold; font-size: 0.9rem; transition: 0.3s; }

.menu-toggle { display: none; flex-direction: column; cursor: pointer; background: none; border: none; gap: 5px; }
.bar { width: 25px; height: 3px; background: var(--navy); transition: 0.3s; }

/* HERO (Concept 1 Style) */
.hero { 
    min-height: 50vh;
    height: 50vh;

    /* Background Image Setup */
    background-image: linear-gradient(rgba(19, 42, 62, 0.8), rgba(19, 42, 62, 0.8)), url('assets/back.avif');
    background-size: cover;      /* Ensures the image fills the area without stretching */
    background-position: center; /* Keeps the focus of the photo in the middle */
    background-repeat: no-repeat;
    color: white; 
    display: flex; align-items: center; justify-content: center; text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.hero h1 { font-size: 2.2rem; margin: 10px 0; }
.tagline { color: var(--olive); font-style: italic; }
.btn-primary { display: inline-block; margin-top: 20px; background: var(--olive); color: white; padding: 12px 30px; text-decoration: none; font-weight: bold; border-radius: 4px; }

/* MAIN LAYOUT */
.main-layout { display: flex; gap: 40px; padding: 60px 5px; align-items: flex-start; }
.content { flex: 2.5; }

/* SECTIONS & CARDS */
.section { padding-bottom: 3em; }
.section-title { color: var(--navy); border-bottom: 3px solid var(--olive); display: inline-block; margin-bottom: 25px; }
.bg-light { background: var(--grey); padding: 9em 25px; border-radius: 12px; }

.mission-vision, .services-grid, .product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.vision-card, .mission-card, .service-card, .product-card { 
    padding: 40px 1px; background: white; border: 2px solid #eee; border-radius: 8px; transition: 0.3s; text-align: center;
}
.highlight { background: var(--navy) !important; color: white; }
.img-placeholder { height: 150px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #999; }
.img-placeholder img{width: 100%; height: 100%; object-fit: contain;}

/* FEATURED PRODUCT LINK STYLES */
.featured-product-link {
    text-decoration: none; /* Removes underline */
    color: inherit; /* Keeps your text colors */
    display: block;
    transition: transform 0.3s ease;
}

.featured-product-link:hover .product-card {
    border-color: var(--olive);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.view-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--olive);
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.product-card {
    cursor: pointer;
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    transition: 0.3s;
}

/* PARTNERS LOGOS */
/* PARTNER LOGO SECTION */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px; /* Space between logos */
    margin-top: 30px;
    padding: 20px 0;
}

.partner-card {
    width: 160px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Optional: grayscale makes them look uniform until hover */
    filter: grayscale(100%); 
    opacity: 0.8;
}

.partner-card:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
    opacity: 1;
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Prevents logos from stretching */
}

.fallback-text {
    display: none; /* Only shows if image fails to load */
    font-weight: bold;
    color: var(--navy);
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Responsive adjustment */

/* SIDEBAR BOX */
.sidebar-box { background: var(--grey); border-radius: 10px; overflow: hidden; border: 1px solid #ddd; }
.sidebar-img { height: 250px; background: #ddd; overflow: hidden; }
.sidebar-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-text { padding: 20px; text-align: center; background: white; }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* CONTACT FORM STYLES */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-details { margin-top: 20px; }
.contact-details p { margin-bottom: 10px; font-size: 0.95rem; }

.contact-form-container { background: var(--grey); padding: 30px; border-radius: 10px; }

.form-group { margin-bottom: 15px; }

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--olive);
    box-shadow: 0 0 5px rgba(107, 117, 65, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--olive);
}
/* --- MOBILE VIEW: Fixes jumping hamburger --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0; /* Remove padding here, handled by header-bar */
    }

    .nav-header-bar {
        width: 100%;
        padding: 20px 5%; /* Puts hamburger in correct corner */
        display: flex;
        justify-content: space-between;
    }

    .menu-toggle { display: flex; }

    .nav-links {
        display: none; 
        flex-direction: column; 
        width: 100%; 
        background: white;
        padding: 0 5% 20px; /* Links align with logo */
    }

    .nav-links.active { display: flex; position: static; }
    .nav-links li { margin: 15px 0; margin-left: 0; }
    
    .main-layout { flex-direction: column; padding: 30px 0; }
    .section {padding: 10px 2opx; margin: 5px 15px;}
    .hero { height: auto; padding: 60px 20px; clip-path: none; }
}

    .logo-grid {
        gap: 30px;
    }
    .partner-card {
        width: 120px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
    }

footer { background: var(--navy); color: white; padding: 40px 0; text-align: center; }