/* ================= GLOBAL RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: #fefbe9;
    color: #333;
    line-height: 1.6;
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #a2d149;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.sticky {
    background: #8cbf3f;
    padding: 10px 5%;
}

header .brand {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

header .brand .logo {
    width: clamp(30px, 8vw, 40px);
    height: auto;
}

header .navigation {
    display: flex;
    gap: clamp(10px, 2vw, 20px);
}

header .navigation a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

/* Burger menu */
.menu-btn {
    display: none;
    cursor: pointer;
}

/* ================= HERO ================= */
.main {
    min-height: 100vh;
    background: url('images/hero.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.main h2 {
    color: #3a6b35;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.main span {
    color: #fce488;
    font-weight: bold;
}

.main p {
    margin: 10px 0 20px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.btn {
    padding: clamp(8px, 1.5vw, 12px) clamp(15px, 3vw, 25px);
    background: #fce488;
    color: #3a6b35;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    display: inline-block;
    text-align: center;
}

.btn:hover {
    background: #f9e357;
}

/* ================= ABOUT ================= */
.about {
    padding: clamp(60px, 10vw, 100px) 5% clamp(30px, 5vw, 50px);
    text-align: center;
    background:
        linear-gradient(rgba(254, 251, 233, 0.9), rgba(254, 251, 233, 0.9)),
        url('images/About US.jpg') center/cover no-repeat;
}

.about .title p {
    max-width: 700px;
    margin: 10px auto 40px;
}

.about-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(15px, 3vw, 20px);
}

/* Flip cards */
.flip-card {
    width: clamp(250px, 90%, 300px);
    height: clamp(300px, 50vw, 350px);
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4,0.2,0.2,1);
    transform-style: preserve-3d;
    position: relative;
}

@media (hover: hover) {
    .flip-card:hover .flip-card-inner {
        transform: rotateY(180deg);
    }
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-card-front img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-radius: 10px;
}

.flip-card-front h3 {
    margin-top: 15px;
    color: #a2d149;
    font-size: clamp(1rem, 2vw, 1.3rem);
}

.flip-card-back {
    background: #fce488;
    transform: rotateY(180deg);
    font-size: clamp(0.9rem, 2vw, 1rem);
    text-align: center;
}

/* ================= PROGRAMS ================= */
.work {
    padding: clamp(50px, 8vw, 80px) 5%;
    text-align: center;
}

.programs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(15px, 3vw, 20px);
}

.program-card {
    width: clamp(250px, 90%, 300px);
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* ================= SERVICES ================= */
.services {
    padding: clamp(50px, 8vw, 80px) 5%;
    text-align: center;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(15px, 3vw, 20px);
}

.services-grid .card {
    width: clamp(220px, 90%, 250px);
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.service-icon {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #a2d149;
    margin-bottom: 10px;
}

/* ================= CONTACT ================= */
.contact {
    padding: clamp(50px, 8vw, 80px) 5%;
    text-align: center;
    background:
        linear-gradient(rgba(254, 251, 233, 0.92), rgba(254, 251, 233, 0.92)),
        url('images/contact.png') center/cover no-repeat;
}

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(15px, 3vw, 20px);
}

.contact-cards .card {
    width: clamp(220px, 90%, 250px);
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-icon {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #a2d149;
    margin-bottom: 10px;
}

.map-container iframe {
    width: 100%;
    height: clamp(200px, 30vw, 300px);
    border-radius: 10px;
}

/* ================= FORM ================= */
.application-form {
    max-width: 600px;
    width: 100%;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.application-form h3 {
    text-align: center;
    margin-bottom: 10px;
}

.application-form .btn {
    width: 100%;
}

.application-form input,
.application-form textarea {
    width: 100%;
    padding: clamp(8px, 1.5vw, 12px);
    border: 1px solid #a2d149;
    border-radius: 5px;
    font-size: 1rem;
}

/* ================= FOOTER ================= */
.footer {
    background: #a2d149;
    color: #fff;
    text-align: center;
    padding: clamp(20px, 5vw, 30px);
    font-size: clamp(0.8rem, 2vw, 1rem);
}

/* ================= MOBILE MENU ================= */
@media screen and (max-width: 768px) {

    header .navigation {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: clamp(15px, 3vw, 20px);
        padding: 15px 0;
        display: none;
        background: #8cbf3f;
        z-index: 999;
    }

    .navigation.active {
        display: flex;
    }

    .menu-btn {
        display: block;
        width: 35px;
        height: 4px;
        background: #fff;
        position: relative;
    }

    .menu-btn::before,
    .menu-btn::after {
        content: "";
        width: 35px;
        height: 4px;
        background: #fff;
        position: absolute;
        transition: 0.3s;
    }

    .menu-btn::before { top: -10px; }
    .menu-btn::after { top: 10px; }

    .menu-btn.active {
        background: transparent;
    }

    .menu-btn.active::before {
        transform: rotate(45deg) translate(6px,6px);
    }

    .menu-btn.active::after {
        transform: rotate(-45deg) translate(6px,-6px);
    }
}



