/* ===== HERO SLIDER ===== */
.slider {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid #28a745;
}

.slides {
    width: 300%;
    height: 100%;
    display: flex;
    animation: slideAnim 128s infinite;
}

.slides img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* SLIDE ANIMATION */
@keyframes slideAnim {
    0% { margin-left: 0; }
    33% { margin-left: -100%; }
    66% { margin-left: -200%; }
    100% { margin-left: 0; }
}

/* Slider Text Overlay */
.slider-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 20px;
    background: rgba(0, 100, 0, 0.35);
    border-radius: 10px;
}
/* ABOUT US */
.slider-overlay h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.slider-overlay p {
    font-size: 1.3rem;
    margin-top: 10px;
}
.about-section {
    padding: 70px 20px;
    background: #f0fff4;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* LEFT IMAGE */
.about-img {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.about-img img {
    width: 100%;
    height: 100%;
    max-height: 400px;            /* makes image tall */
    object-fit: cover;            /* keeps image clean */
    border-radius: 15px;
    border: 5px solid #28a745;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* RIGHT TEXT */
.about-content {
    flex: 1.5;
}

.about-content h2 {
    font-size: 2.3rem;
    color: #0f3d1e;
    margin-bottom: 15px;
    border-left: 5px solid #28a745;
    padding-left: 10px;
}

.about-content p {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.about-btn {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.about-btn:hover {
    background: #1e7d3a;
    transform: translateY(-3px);
}

/* MOBILE FIX */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-img img {
        max-height: 300px;
        width: 80%;
        margin: auto;
    }

    .about-content h2 {
        text-align: center;
    }
}


/* ===== FEATURE CARDS ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 40px 20px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border-left: 6px solid #28a745;
    box-shadow: 0 4px 12px rgba(0,128,0,0.1);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0,128,0,0.2);
    border-left-color: #1e8c3a;
}

.feature-card h3 {
    color: #1e8c3a;
    font-size: 1.4rem;
    margin-bottom: 0px;
}

.feature-card p {
    color: #444;
}

/* ===== GALLERY ===== */
.gallery {
    padding: 40px 20px;
    text-align: center;
}

.gallery h2 {
    font-size: 2.2rem;
    color: #1e8c3a;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 2200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,128,0,0.18);
    transition: 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.08);
    box-shadow: 0 100px 20px rgba(0,128,0,0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .slider-overlay h1 { font-size: 2rem; }
    .slider-overlay p { font-size: 1rem; }
}
