/* ==========================================================
   NIYAMIT — COMMON THEME
   Shared across all pages
   ========================================================== */

:root {
    /* Brand */
    --green: #2e9e46;
    --green-dark: #1f7a34;
    --green-1: #1a6b3a;
    --green-2: #22883d;
    --green-3: #2db54e;
    --green-light: #e4ffeb;

    /* Dark theme */
    --dark-1: #0d1f14;
    --dark-2: #122a1c;
    --dark-3: #1b3d28;

    /* Text */
    --ink: #101418;
    --gray: #8a8f98;
    --gray-light: #f4f5f7;
    --white: #ffffff;

    /* Accent */
    --amber: #f5a623;

    /* Layout */
    --container-width: 1200px;
    --navbar-height: 70px;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadow */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);

    /* Animation */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}


/* ==========================================================
   RESET
   ========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;

    font-family: "Poppins",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* ==========================================================
   COMMON CONTAINER
   ========================================================== */

.container {
    width: min(100% - 48px, var(--container-width));
    margin-inline: auto;
}


/* ==========================================================
   NAVBAR
   ========================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    height: var(--navbar-height);

    z-index: 1000;

    background: rgba(13, 31, 20, 0.96);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(45, 181, 78, 0.15);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(13, 31, 20, 0.98);

    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    width: min(100% - 48px, var(--container-width));
    height: 100%;

    margin: auto;

    display: flex;
    align-items: center;

    gap: 20px;
}


/* Logo */

.nav-logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    text-decoration: none;
}

.logo-image {
    width: 100px;
    height: 60px;

    object-fit: contain;
}


/* Desktop navigation */

.nav-links {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: auto;
}

.nav-link {
    position: relative;

    font-size: 14px;
    font-weight: 500;

    color: rgba(255, 255, 255, 0.82);

    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: var(--green-3);

    border-radius: 2px;

    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}


/* CTA */

.nav-link.nav-cta {
    background: var(--green-3);

    color: var(--dark-1);

    font-weight: 700;

    padding: 9px 20px;

    border-radius: 50px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-link.nav-cta:hover {
    transform: translateY(-2px);

    box-shadow:
        0 6px 20px rgba(45, 181, 78, 0.4);
}

.nav-link.nav-cta::after {
    display: none;
}


/* Mobile toggle */

.nav-toggle {
    display: none;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;

    width: 42px;
    height: 42px;

    margin-left: auto;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 10px;

    cursor: pointer;
}

.nav-toggle span {
    width: 23px;
    height: 2px;

    background: var(--white);

    border-radius: 2px;

    transition: 0.3s ease;
}


/* ==========================================================
   COMMON PAGE HERO
   ========================================================== */

.page-hero {
    position: relative;

    padding:
        calc(var(--navbar-height) + 70px)
        24px
        80px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(45, 181, 78, 0.18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--dark-1),
            var(--dark-2)
        );

    color: var(--white);

    text-align: center;

    overflow: hidden;
}

.page-hero::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    top: -180px;
    left: -100px;

    background: rgba(45, 181, 78, 0.08);

    border-radius: 50%;

    filter: blur(5px);
}

.page-hero-content {
    position: relative;
    z-index: 1;

    max-width: 800px;

    margin: auto;
}

.page-hero h1 {
    font-family: "Baloo 2", "Poppins", sans-serif;

    font-size: clamp(40px, 6vw, 64px);

    line-height: 1.05;

    font-weight: 800;

    margin-bottom: 15px;
}

.page-hero h1 span {
    color: var(--green-3);
}

.page-hero p {
    max-width: 650px;

    margin: auto;

    color: rgba(255, 255, 255, 0.72);

    font-size: 16px;

    line-height: 1.8;
}


/* ==========================================================
   COMMON BUTTON
   ========================================================== */

.btn-primary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 25px;

    border-radius: 50px;

    background: var(--green-3);

    color: var(--dark-1);

    font-weight: 700;

    border: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(45, 181, 78, 0.35);
}


/* ==========================================================
   COMMON FOOTER
   ========================================================== */

.footer {
    background: var(--dark-1);

    color: var(--white);

    padding: 70px 0 45px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr;

    gap: 45px;
}

.footer-logo {
    width: 120px;

    margin-bottom: 20px;
}

.footer-description {
    max-width: 330px;

    color: rgba(255, 255, 255, 0.6);

    font-size: 13px;

    line-height: 1.8;
}

.footer h3 {
    font-size: 15px;

    margin-bottom: 20px;

    color: var(--white);
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.62);

    font-size: 13px;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--green-3);
}

.footer-contact {
    display: flex;

    gap: 10px;

    margin-bottom: 14px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 13px;

    line-height: 1.6;
}

.footer-contact i {
    color: var(--green-3);

    margin-top: 3px;
}

.footer-bottom {
    margin-top: 50px;

    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    text-align: center;

    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;
}


/* ==========================================================
   WHATSAPP
   ========================================================== */

.whatsapp-btn {
    position: fixed;

    right: 18px;
    bottom: 20px;

    width: 145px;

    z-index: 9999;

    transition: transform 0.25s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-4px);
}

.whatsapp-btn img {
    width: 100%;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {

    .container,
    .nav-container {
        width: min(100% - 32px, var(--container-width));
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;

        position: fixed;

        top: var(--navbar-height);
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 15px 20px 25px;

        margin: 0;

        background: var(--dark-2);

        border-bottom:
            1px solid rgba(45, 181, 78, 0.15);

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.25);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        display: block;

        width: 100%;

        padding: 14px 5px;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.nav-cta {
        margin-top: 10px;

        text-align: center;
    }

    .page-hero {
        padding:
            calc(var(--navbar-height) + 55px)
            20px
            60px;
    }

    .page-hero p {
        font-size: 14px;
    }

    .footer {
        padding: 50px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .whatsapp-btn {
        width: 120px;

        right: 12px;
        bottom: 15px;
    }
}