/* --- CORE STYLES --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Segoe UI', sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background: #f9f9f9; 
    font-size: 100%; 
}

.container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

/* --- HEADER & TOP BAR --- */
.top-bar {
    background-color: #1a5c1a;
    color: #ffffff;
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar {
    background: #ffffff;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 70px !important;
    width: auto !important;
    display: block;
    object-fit: contain;
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-links li a {
    text-decoration: none;
    color: #1a5c1a; 
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    background-color: #f4f4f4;
    padding: 12px 18px;
    border-radius: 6px;
    display: block;
    transition: 0.3s;
    border: 1px solid #eee;
}

.nav-links li a:hover, 
.nav-links li a.active {
    background-color: #1a5c1a;
    color: #ffffff;
}

.nav-links li a.whatsapp-btn {
    background-color: #25d366;
    color: white;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #1a5c1a;
}

/* --- HERO & SLIDER (HOMEPAGE) --- */
.hero { display: flex; gap: 4%; padding: 3% 0; }
.welcome-area { width: 66%; }
.quick-info { width: 30%; }

.slider-container {
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-wrapper { width: 100%; height: 60vh; }
.slides {
    display: flex;
    width: 500%;
    height: 100%;
    animation: autoSlider 20s infinite;
}

.slide { width: 20%; height: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.caption {
    position: absolute;
    bottom: 10%;
    left: 5%;
    background: rgba(46, 125, 50, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

@keyframes autoSlider {
    0% { transform: translateX(0%); }
    20% { transform: translateX(-20%); }
    40% { transform: translateX(-40%); }
    60% { transform: translateX(-60%); }
    80% { transform: translateX(-80%); }
    100% { transform: translateX(0%); }
}

/* --- STORY HIGHLIGHT --- */
.story-highlight {
    background: #ffffff;
    padding: 5%;
    border-left: 8px solid #2e7d32;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.story-content h2 { color: #2e7d32; font-size: 1.8rem; margin-bottom: 1rem; }
.story-link { color: #2e7d32; font-weight: bold; text-decoration: none; }

/* --- SERVICES GRID --- */
.services-grid { display: flex; flex-wrap: wrap; gap: 2%; justify-content: center; margin-top: 2rem; }
.service-card { flex: 1 1 23%; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #eee; margin-bottom: 2%; }
.service-img { width: 100%; height: 180px; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-info { padding: 1.5rem; text-align: center; }

/* --- MAP & CONTACT BOX --- */
.map-box { width: 100%; border-radius: 12px; margin: 1.5rem 0; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.info-card { background: white; padding: 5%; border-radius: 0.8rem; margin-bottom: 5%; }
.gps-btn { display: block; text-align: center; background: #2e7d32; color: white; padding: 10px; text-decoration: none; border-radius: 5px; margin-top: 10px; }

/* --- BLOG SECTION --- */
.blog-section { padding: 40px 0; }
.grid-2 { display: flex; gap: 25px; max-width: 900px; margin: 0 auto; }
.blog-post { flex: 1; background: #ffffff; border: 1px solid #eaeaea; border-radius: 12px; padding: 15px; }
.blog-image-crop { width: 100%; height: 180px; overflow: hidden; border-radius: 8px; margin-bottom: 15px; }
.blog-image-crop img { width: 100%; height: 100%; object-fit: cover; }

/* --- HISTORY PAGE STYLES --- */
.history-hero { background: linear-gradient(rgba(26, 92, 26, 0.8), rgba(26, 92, 26, 0.8)); color: white; padding: 80px 0; text-align: center; }
.mission-bar { background: #f4f4f4; padding: 30px 0; text-align: center; font-style: italic; border-bottom: 3px solid #2e7d32; }
.ceo-card { background: white; border-radius: 12px; display: flex; align-items: center; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin-bottom: 40px;}
.ceo-img-box { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; margin-right: 20px; flex-shrink: 0; }
.ceo-img-box img { width: 100%; height: 100%; object-fit: cover; }
.timeline-row { display: flex; align-items: center; gap: 50px; margin-bottom: 80px; }
.timeline-row.reverse { flex-direction: row-reverse; }
.timeline-img img { width: 100%; height: 400px; object-fit: cover; border-radius: 15px; }

/* --- FOOTER --- */
footer { background: #1b5e20; color: white; padding: 5% 0; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    /* Navbar Dropdown Logic */
    .nav-container { display: flex; justify-content: space-between; align-items: center; position: relative; }
    .hamburger { display: block; order: 2; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        gap: 10px;
    }
    #menu-toggle:checked ~ .nav-links { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links li a { text-align: center; }

    /* Layout Stacking */
    .hero { flex-direction: column; }
    .welcome-area, .quick-info, .service-card, .grid-2 { width: 100%; flex: 1 1 100%; flex-direction: column; }
    .slider-wrapper { height: 40vh; }
    
    /* History Page Mobile */
    .timeline-row, .timeline-row.reverse { flex-direction: column; }
    .ceo-card { flex-direction: column; text-align: center; }
    .ceo-img-box { margin-right: 0; margin-bottom: 15px; }
}

