/* Layout & Branding Colors */
:root {
    --primary-green: #90C371;
    --dark-text: #333;
    --light-bg: #f9f9f9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: var(--dark-text); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header & Nav */
.flex-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo img { height: 45px; }
.phone-num { font-weight: 700; font-size: 1.1rem; }

.main-nav { background: var(--primary-green); padding: 10px 0; position: sticky; top: 0; z-index: 100; }
.flex-nav { display: flex; justify-content: space-between; align-items: center; }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin-right: 25px; }
.nav-links a { color: white; text-decoration: none; font-size: 13px; font-weight: 600; }

/* Hero Section */
.hero { 
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('./img/slider1.png') center/cover; 
    height: 70vh; display: flex; align-items: center; 
}
.hero-content h1 { font-size: 4rem; color: var(--primary-green); line-height: 1.1; margin-bottom: 10px; }
.hero-content p { color: white; font-size: 1.2rem; margin-bottom: 25px; }
.btn-main { background: var(--primary-green); color: white; padding: 12px 30px; text-decoration: none; border-radius: 4px; font-weight: 600; }

/* Who We Are - Split Layout */
.about-section { padding: 80px 0; }
.flex-split { display: flex; align-items: center; gap: 50px; }
.about-text { flex: 1; }
.about-text p { margin-bottom: 15px; font-size: 0.95rem; line-height: 1.7; color: #666; }
.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 10px 10px 0px var(--primary-green); }

/* Service Cards */
.services-section { padding: 80px 0; background: var(--light-bg); }
.section-title { color: var(--primary-green); font-size: 2rem; margin-bottom: 20px; }
.section-title-center { text-align: center; margin-bottom: 50px; font-size: 2.5rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.service-card:hover { transform: translateY(-10px); }
.card-img-holder img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 25px; }
.card-content h3 { color: var(--primary-green); margin-bottom: 15px; }
.card-content ul { list-style: none; font-size: 0.85rem; color: #555; }
.card-content li { margin-bottom: 8px; border-bottom: 1px solid #eee; padding-bottom: 5px; }

/* Service Section Layout */
.services-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title-center {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.service-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

/* This creates the alternating "Content Left / Image Right" effect */
.service-block.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-content {
    flex: 1;
}

.step-no {
    font-size: 3rem;
    font-weight: 700;
    color: #90C371;
    opacity: 0.3;
    display: block;
    margin-bottom: -15px;
}

.service-content h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.service-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-list {
    list-style: none;
}

.content-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.content-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #90C371;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .service-block, .service-block.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .service-image img {
        height: 300px;
    }
}


/* About Section Split */
.about-section { padding: 80px 0; background: #fff; }
.flex-split { display: flex; align-items: center; gap: 50px; }
.about-text { flex: 1; }
.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 15px 15px 0px #90C371; }

.check-list { list-style: none; margin-top: 20px; }
.check-list li { margin-bottom: 10px; font-weight: 600; color: #444; }
.check-list li::before { content: '✓ '; color: #90C371; margin-right: 10px; }

/* Location Section */
.location-section { padding: 80px 0; background: #f9f9f9; }
.map-container { flex: 1.2; border-radius: 10px; overflow: hidden; }
.contact-details-box { flex: 0.8; padding-left: 30px; }
.contact-item { margin-bottom: 25px; }
.contact-item p { font-size: 0.95rem; line-height: 1.6; }

/* Footer Styling */
.main-footer { background: #222; color: #fff; padding: 60px 0 20px; }
.footer-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 40px; 
    border-bottom: 1px solid #444;
    padding-bottom: 40px;
}
.footer-col h4 { color: #90C371; margin-bottom: 20px; font-size: 1.2rem; }
.footer-col p { color: #bbb; font-size: 0.9rem; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #bbb; text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: #90C371; padding-left: 5px; }
.footer-logo { height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); }

.footer-bottom { text-align: center; padding-top: 20px; color: #666; font-size: 0.8rem; }



/* Labs Small Boxes Grid */
.labs-grid-section { padding: 60px 0; background: #f4f4f4; }
.labs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 30px;
}
.lab-item {
    background: white;
    border-left: 4px solid #90C371; /* Green from your image */
    padding: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    transition: 0.3s;
}
.lab-item:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* About & Map Layouts */
.flex-split { display: flex; gap: 40px; align-items: center; padding: 60px 0; }
.about-text, .about-image, .map-box, .contact-info-block { flex: 1; }
.about-image img { width: 100%; border-radius: 10px; }

/* Footer */
.main-footer { background: #222; color: white; padding: 50px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h4 { color: #90C371; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col a { color: #ccc; text-decoration: none; font-size: 0.9rem; }

.section-subtitle {
    text-align: center;
    color: #666;
    margin-top: -40px;
    margin-bottom: 40px;
    font-style: italic;
}

.bg-light {
    background-color: #fcfcfc;
}

/* Enhancing the small boxes for a cleaner look */
.lab-item {
    background: white;
    border-left: 4px solid #90C371;
    padding: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    min-height: 60px; /* Ensures all boxes are same height */
    transition: all 0.3s ease;
}

.lab-item:hover {
    background: #90C371;
    color: white;
    transform: translateY(-5px);
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .flex-split { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-details-box { padding-left: 0; text-align: center; }
}
/* Responsive */
@media (max-width: 768px) {
    .flex-split, .services-grid { flex-direction: column; grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
}

/* --- Desktop Styles (already in your code) --- */
.flex-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-toggle {
    display: none; /* Hide checkbox */
}

.hamburger {
    display: none; /* Hide hamburger on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

/* --- Responsive Mobile Styles --- */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger on mobile */
    }

    .nav-links {
        display: none; /* Hide menu by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Sits right under the nav bar */
        left: 0;
        width: 100%;
        background-color: #90C371; /* Match your primary green */
        padding: 20px 0;
        z-index: 1000;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    /* When checkbox is checked, show the menu */
    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }
    
    .search-btn {
        display: none; /* Optional: hide search on small mobile to save space */
    }
}

/* Container for the sections */
.labs-grid-section {
    padding: 60px 0;
}

/* The Grid System */
.labs-container {
    display: grid;
    /* This creates as many columns as possible with a minimum width of 250px */
    /* On mobile, it will automatically stack to 1 column */
    /* On desktop, it will show 3 or 4 columns */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Individual Box Styling */
.lab-item {
    background: #ffffff;
    border-left: 5px solid #90C371; /* Your primary green */
    padding: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    min-height: 70px;
}

/* Hover effect for a professional look */
.lab-item:hover {
    transform: translateY(-5px);
    background-color: #90C371;
    color: white;
}

/* Header styling */
.section-title-center {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* Mobile Adjustment for Title */
@media (max-width: 600px) {
    .section-title-center {
        font-size: 1.5rem;
    }
}