
/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        "Noto Sans",
        "Phetsarath OT",
        sans-serif;

    background: #f8fafc;

    color: #1f2937;

    line-height: 1.6;
}

a {
    text-decoration: none;

    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(1200px, 92%);

    margin: auto;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255,255,255,.94);

    border-bottom:
        1px solid #dcfce7;

    backdrop-filter:
        blur(14px);

    box-shadow:
        0 4px 20px rgba(15,23,42,.05);
}

.navbar {
    height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    font-size: 26px;

    font-weight: 800;

    letter-spacing: 1px;

    color: #166534;
}


/* =====================================================
   NAVIGATION
===================================================== */

.nav > ul {
    display: flex;

    align-items: center;

    gap: 8px;
}

.nav > ul > li {
    position: relative;
}

.nav a {
    display: flex;

    align-items: center;

    gap: 6px;

    padding: 12px 16px;

    border-radius: 9px;

    font-size: 15px;

    font-weight: 600;

    transition:
        all .25s ease;
}

.nav > ul > li > a:hover {
    background: #f0fdf4;

    color: #15803d;
}


/* =====================================================
   DROPDOWN
===================================================== */

.dropdown {
    position: absolute;

    top:
        calc(100% + 8px);

    left: 0;

    min-width: 220px;

    padding: 8px;

    background:
        rgba(255,255,255,.98);

    border:
        1px solid #dcfce7;

    border-radius: 13px;

    box-shadow:
        0 18px 45px
        rgba(15,23,42,.10);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(10px);

    transition:
        all .25s ease;
}

.dropdown li a {
    width: 100%;

    padding: 11px 14px;

    font-weight: 500;
}

.dropdown li a:hover {
    background: #f0fdf4;

    color: #15803d;
}

.has-dropdown:hover .dropdown {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


/* =====================================================
   MOBILE BUTTON
===================================================== */

.menu-toggle {
    display: none;

    border: none;

    background: transparent;

    color: #166534;

    font-size: 28px;

    cursor: pointer;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;

    min-height: 600px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 85% 15%,
            rgba(34,197,94,.16),
            transparent 30%
        ),

        radial-gradient(
            circle at 10% 85%,
            rgba(22,101,52,.08),
            transparent 32%
        ),

        linear-gradient(
            135deg,
            #f0fdf4 0%,
            #ffffff 50%,
            #f8fafc 100%
        );
}


/* Decorative Circle */

.hero::before {
    content: "";

    position: absolute;

    width: 360px;

    height: 360px;

    right: -120px;

    top: -130px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(34,197,94,.12),
            rgba(134,239,172,.04)
        );

    filter:
        blur(4px);
}

.hero::after {
    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    left: -120px;

    bottom: -120px;

    border-radius: 50%;

    background:
        rgba(74,222,128,.08);

    filter:
        blur(5px);
}

.hero-content {
    position: relative;

    z-index: 2;

    padding: 80px 0;
}

.hero-text {
    max-width: 700px;
}


/* =====================================================
   BADGE
===================================================== */

.badge {
    display: inline-block;

    padding: 7px 15px;

    margin-bottom: 20px;

    border-radius: 30px;

    background: #f0fdf4;

    color: #166534;

    border:
        1px solid #bbf7d0;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 5px 15px
        rgba(22,101,52,.05);
}


/* =====================================================
   HERO TEXT
===================================================== */

.hero h1 {
    font-size:
        clamp(42px, 6vw, 72px);

    line-height: 1.05;

    margin-bottom: 25px;

    letter-spacing: -2px;

    color: #1f2937;
}

.hero h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #166534,
            #15803d,
            #22c55e
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    -webkit-text-fill-color:
        transparent;
}

.hero p {
    max-width: 600px;

    font-size: 19px;

    color: #64748b;

    margin-bottom: 35px;
}


/* =====================================================
   HERO BUTTONS
===================================================== */

.hero-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


/* =====================================================
   BUTTON
===================================================== */

.btn {
    display: inline-block;

    padding: 13px 24px;

    border-radius: 10px;

    font-weight: 700;

    transition:
        all .25s ease;
}


/* Primary */

.btn-primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            #15803d,
            #166534
        );

    box-shadow:
        0 8px 20px
        rgba(22,101,52,.18);
}

.btn-primary:hover {
    background:
        linear-gradient(
            135deg,
            #166534,
            #14532d
        );

    transform:
        translateY(-3px);

    box-shadow:
        0 12px 25px
        rgba(22,101,52,.24);
}


/* Outline */

.btn-outline {
    border:
        1px solid #bbf7d0;

    background:
        rgba(255,255,255,.85);

    color: #166534;
}

.btn-outline:hover {
    background: #f0fdf4;

    border-color: #86efac;

    transform:
        translateY(-3px);
}


/* =====================================================
   FEATURES
===================================================== */

.features {
    position: relative;

    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 100%
        );
}

.section-title {
    text-align: center;

    max-width: 650px;

    margin:
        0 auto 50px;
}

.section-title span,
.section-label {
    color: #15803d;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}

.section-title h2 {
    margin: 8px 0;

    font-size: 38px;

    color: #1f2937;
}

.section-title p {
    color: #64748b;
}


/* =====================================================
   FEATURE GRID
===================================================== */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.feature-card {
    padding: 30px;

    border:
        1px solid #e2e8f0;

    border-radius: 18px;

    background:
        rgba(255,255,255,.95);

    box-shadow:
        0 8px 25px
        rgba(15,23,42,.05);

    transition:
        all .3s ease;
}

.feature-card:hover {
    transform:
        translateY(-8px);

    border-color:
        #bbf7d0;

    box-shadow:
        0 18px 40px
        rgba(15,23,42,.09);
}


/* =====================================================
   ICON
===================================================== */

.icon {
    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #dcfce7,
            #f0fdf4
        );

    color: #15803d;

    font-size: 25px;
}

.feature-card h3 {
    margin-bottom: 8px;

    color: #1f2937;
}

.feature-card p {
    color: #64748b;

    font-size: 14px;
}


/* =====================================================
   ABOUT
===================================================== */

.about {
    position: relative;

    padding: 100px 0;

    background:

        radial-gradient(
            circle at 90% 50%,
            rgba(34,197,94,.08),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #f0fdf4,
            #ffffff
        );
}

.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;
}


/* =====================================================
   IMAGE BOX
===================================================== */

.image-box {
    height: 380px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 28px;

    background:

        radial-gradient(
            circle at 25% 20%,
            rgba(255,255,255,.35),
            transparent 25%
        ),

        linear-gradient(
            135deg,
            #166534,
            #15803d,
            #22c55e
        );

    color: white;

    font-size: 60px;

    font-weight: 800;

    box-shadow:
        0 25px 55px
        rgba(22,101,52,.18);

    position: relative;

    overflow: hidden;
}

.image-box::before {
    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    right: -50px;

    top: -50px;

    background:
        rgba(255,255,255,.12);
}

.image-box::after {
    content: "";

    position: absolute;

    width: 120px;

    height: 120px;

    border-radius: 50%;

    left: -30px;

    bottom: -30px;

    background:
        rgba(255,255,255,.10);
}


/* =====================================================
   ABOUT CONTENT
===================================================== */

.about-content h2 {
    margin:
        10px 0 20px;

    font-size: 44px;

    line-height: 1.1;

    color: #1f2937;
}

.about-content p {
    color: #64748b;

    margin-bottom: 25px;
}


/* =====================================================
   CHECK LIST
===================================================== */

.check-list {
    display: grid;

    gap: 12px;
}

.check-list li {
    color: #475569;
}

.check-list li::before {
    content: "✓";

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 24px;

    height: 24px;

    margin-right: 10px;

    border-radius: 50%;

    background: #dcfce7;

    color: #15803d;

    font-weight: bold;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding: 45px 0;

    background:
        linear-gradient(
            135deg,
            #14532d,
            #166534
        );

    color: white;
}

.footer-content {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;
}

.footer h3 {
    color: #86efac;
}

.footer p {
    color: #bbf7d0;

    font-size: 14px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;

        top: 75px;

        left: 0;

        width: 100%;

        padding: 10px 4%;

        background:
            rgba(255,255,255,.98);

        border-bottom:
            1px solid #dcfce7;

        box-shadow:
            0 15px 30px
            rgba(15,23,42,.08);

        display: none;
    }

    .nav.active {
        display: block;
    }

    .nav > ul {
        display: block;
    }

    .nav > ul > li {
        margin-bottom: 4px;
    }

    .nav a {
        width: 100%;
    }


    /* =================================================
       MOBILE DROPDOWN
    ================================================= */

    .dropdown {
        position: static;

        width: 100%;

        box-shadow: none;

        border: none;

        background: #f0fdf4;

        display: none;

        opacity: 1;

        visibility: visible;

        transform: none;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .has-dropdown:hover .dropdown {
        opacity: 1;

        visibility: visible;

        transform: none;
    }


    /* =================================================
       MOBILE CONTENT
    ================================================= */

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 520px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 17px;
    }

    .about-content h2 {
        font-size: 36px;
    }

    .image-box {
        height: 300px;

        font-size: 45px;
    }

    .footer-content {
        flex-direction: column;

        align-items: flex-start;
    }

}

