/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    background: #ffffff;
    color: #333;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatSoft {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* ================= REVEAL ================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay {
    transition-delay: 0.2s;
}

/* ================= STICKY LEAF BACKGROUND ================= */
.about-story::before,
.values-section::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("/assets/leaf.png"); /* transparent PNG */
    background-repeat: repeat;
    background-size: 160px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

/* ================= OUR STORY ================= */
.about-story {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    background:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65)),
        url("/assets/aboutus.jpg") center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-container {
    position: relative;
    max-width: 900px;
    margin: auto;
    z-index: 2;
    color: #ffffff;
    animation: fadeUp 1.2s ease;
    width: 100%;
    padding: 0 20px;
}

.about-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.about-container p {
    font-size: 18px;
    margin-bottom: 14px;
    color: #f1f1f1;
    line-height: 1.8;
}

.story-highlight {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 500;
    color: #9ddc6f;
}

/* ================= MISSION & VISION ================= */
.mission-vision {
    position: relative;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f8f9fa, #eef2f3);
}

.mv-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.mv-card {
    background: #ffffff;
    padding: 32px 26px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    transition: 0.4s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 42px rgba(0,0,0,0.15);
}

.mv-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a7c59, #2d5a27);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-icon i {
    font-size: 26px;
    color: #ffffff;
}

.mv-card h3 {
    font-size: 26px;
    color: #2d5a27;
    margin-bottom: 15px;
}

.mv-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* ================= VALUES ================= */
.values-section {
    position: relative;
    padding: 55px 20px;
    background: #ffffff;
    text-align: center;
}

.values-section .about-title {
    color: #2d5a27;
    margin-bottom: 40px;
}

.values-grid {
    max-width: 1300px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* ONE LINE */
    gap: 20px;
    padding: 0 20px;
}

.value-card {
    background: #ffffff;
    padding: 26px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
    transition: 0.35s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Float ONLY after reveal */
.reveal.active .value-card {
    animation: floatSoft 4s ease-in-out infinite;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.value-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a7c59, #2d5a27);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 22px;
    color: #ffffff;
}

.value-card h4 {
    font-size: 19px;
    color: #2d5a27;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14.5px;
    color: #666;
    line-height: 1.6;
}

/* ================= RESPONSIVE ================= */
/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .about-title {
        font-size: 36px;
    }
    
    .about-story {
        padding: 50px 20px;
        min-height: 80vh;
    }
    
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .value-card {
        min-height: 220px;
    }
}

/* Small Tablet (600px - 767px) */
@media (max-width: 767px) {
    .about-title {
        font-size: 32px;
    }
    
    .about-container p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .mv-card {
        min-height: 250px;
        padding: 25px 20px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }
    
    .value-card {
        min-height: 200px;
        padding: 20px 15px;
    }
    
    .story-highlight {
        font-size: 18px;
        padding: 0 10px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .about-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .about-story {
        padding: 40px 15px;
        min-height: 70vh;
    }
    
    .about-container p {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .mv-grid {
        gap: 20px;
        padding: 0 10px;
    }
    
    .mv-card {
        padding: 20px 15px;
        min-height: 220px;
    }
    
    .mv-card h3 {
        font-size: 22px;
    }
    
    .mv-card p {
        font-size: 14.5px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    
    .value-card {
        min-height: 180px;
        padding: 18px 12px;
    }
    
    .value-card h4 {
        font-size: 17px;
    }
    
    .value-card p {
        font-size: 13.5px;
    }
    
    .values-section {
        padding: 40px 15px;
    }
    
    .mission-vision {
        padding: 40px 15px;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .about-story {
        min-height: 120vh;
        padding: 40px 20px;
    }
    
    .mv-card,
    .value-card {
        min-height: auto;
    }
}

/* Large Desktop (1440px and above) */
@media (min-width: 1440px) {
    .about-container {
        max-width: 1200px;
    }
    
    .mv-grid {
        max-width: 1300px;
        gap: 40px;
    }
    
    .values-grid {
        max-width: 1400px;
        gap: 30px;
    }
    
    .value-card {
        padding: 30px 25px;
    }
}

/* iOS Safe Areas */
@supports (padding: max(0px)) {
    .about-story,
    .mission-vision,
    .values-section {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}