/* ========================================
   RESET & GLOBAL
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* ========================================
   HEADER / NAVBAR
======================================== */

.header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: auto;

    min-height: 75px;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #14532d;

    font-size: 20px;
    font-weight: bold;

    white-space: nowrap;
}

.logo img {
    width: 42px;
    height: 42px;

    object-fit: contain;
}


/* MENU */

.menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.menu a {
    color: #374151;
    font-size: 15px;
    font-weight: 500;

    transition: 0.3s;
}

.menu a:hover {
    color: #14532d;
}


/* NAV BUTTON */

.nav-button {
    padding: 11px 20px;

    background: #14532d;
    color: white;

    border-radius: 8px;

    font-size: 14px;
    font-weight: bold;

    white-space: nowrap;

    transition: 0.3s;
}

.nav-button:hover {
    transform: translateY(-2px);
}


/* MOBILE BUTTON */

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    font-size: 28px;

    cursor: pointer;

    color: #14532d;
}


/* ========================================
   HERO
======================================== */

.hero {
    max-width: 1200px;

    margin: auto;

    min-height: 620px;

    padding: 70px 20px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 60px;
}


/* HERO CONTENT */

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;

    padding: 7px 14px;

    margin-bottom: 20px;

    background: #ecfdf5;

    color: #14532d;

    border-radius: 50px;

    font-size: 13px;

    font-weight: bold;
}


.arabic {
    font-size: 25px;

    color: #14532d;

    margin-bottom: 20px;
}


.hero h1 {
    font-size: 52px;

    line-height: 1.15;

    color: #111827;

    margin-bottom: 20px;
}


.hero h1 span {
    color: #14532d;
}


.hero-description {
    font-size: 18px;

    color: #6b7280;

    max-width: 540px;

    margin-bottom: 30px;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}


.btn-primary,
.btn-outline {
    display: inline-block;

    padding: 13px 24px;

    border-radius: 8px;

    font-weight: bold;

    transition: 0.3s;
}


.btn-primary {
    background: #14532d;

    color: white;
}


.btn-primary:hover {
    transform: translateY(-2px);
}


.btn-outline {
    border: 1px solid #14532d;

    color: #14532d;
}


.btn-outline:hover {
    background: #14532d;

    color: white;
}


/* HERO IMAGE */

.hero-image {
    height: 470px;

    border-radius: 25px;

    overflow: hidden;

    background: #ecfdf5;
}


.hero-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


/* ========================================
   STATISTICS
======================================== */

.stats {
    max-width: 1100px;

    margin: 0 auto 80px;

    padding: 35px 20px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    background: #14532d;

    color: white;

    border-radius: 20px;
}


.stat-item {
    text-align: center;

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.stat-item strong {
    font-size: 32px;
}


.stat-item span {
    font-size: 14px;

    opacity: 0.85;
}


/* ========================================
   SECTION GLOBAL
======================================== */

.section {
    max-width: 1200px;

    margin: auto;

    padding: 90px 20px;
}


.section-heading {
    max-width: 650px;

    margin-bottom: 50px;
}


.section-heading.center {
    text-align: center;

    margin-left: auto;
    margin-right: auto;
}


.section-label {
    color: #14532d;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1.5px;

    margin-bottom: 8px;
}


.section-heading h2 {
    font-size: 40px;

    line-height: 1.2;

    color: #111827;

    margin-bottom: 15px;
}


.section-heading > p:last-child {
    color: #6b7280;
}


/* ========================================
   ABOUT
======================================== */

.about {
    background: #ffffff;
}


.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 60px;
}


.about-image {
    height: 430px;

    overflow: hidden;

    border-radius: 20px;
}


.about-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


.about-text h3 {
    font-size: 30px;

    line-height: 1.3;

    margin-bottom: 20px;

    color: #111827;
}


.about-text > p {
    color: #6b7280;

    margin-bottom: 15px;
}


.check-list {
    margin-top: 25px;
}


.check-list p {
    margin-bottom: 10px;

    color: #374151;

    font-weight: 500;
}


/* ========================================
   PROGRAM
======================================== */

.programs {
    background: #f8fafc;

    max-width: none;

    padding-left: max(20px, calc((100% - 1160px) / 2));

    padding-right: max(20px, calc((100% - 1160px) / 2));
}


.program-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.program-card {
    background: white;

    padding: 30px;

    border-radius: 16px;

    border: 1px solid #eeeeee;

    transition: 0.3s;
}


.program-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.08);
}


.program-icon {
    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: #ecfdf5;

    font-size: 27px;

    margin-bottom: 20px;
}


.program-card h3 {
    font-size: 20px;

    margin-bottom: 10px;

    color: #111827;
}


.program-card p {
    color: #6b7280;

    margin-bottom: 20px;
}


.program-card a {
    color: #14532d;

    font-weight: bold;

    font-size: 14px;
}


/* ========================================
   DOKUMENTASI
======================================== */

.documentation {
    background: white;
}


.gallery {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}


.gallery-item {
    height: 260px;

    overflow: hidden;

    border-radius: 15px;
}


.gallery-item img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.4s;
}


.gallery-item:hover img {
    transform: scale(1.05);
}


/* ========================================
   ULASAN
======================================== */

.reviews {
    background: #f8fafc;

    max-width: none;

    padding-left: max(20px, calc((100% - 1160px) / 2));

    padding-right: max(20px, calc((100% - 1160px) / 2));
}


.review-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}


.review-card {
    background: white;

    padding: 30px;

    border-radius: 16px;

    border: 1px solid #eeeeee;
}


.stars {
    color: #eab308;

    letter-spacing: 3px;

    margin-bottom: 15px;
}


.review-card p {
    color: #6b7280;

    margin-bottom: 20px;
}


.review-card strong {
    color: #111827;
}


/* ========================================
   CTA
======================================== */

.cta {
    padding: 100px 20px;

    background: #14532d;

    color: white;

    text-align: center;
}


.cta-content {
    max-width: 700px;

    margin: auto;
}


.cta .section-label {
    color: #bbf7d0;
}


.cta h2 {
    font-size: 42px;

    line-height: 1.2;

    margin-bottom: 15px;
}


.cta p {
    margin-bottom: 25px;

    opacity: 0.9;
}


.btn-whatsapp {
    display: inline-block;

    padding: 14px 26px;

    background: white;

    color: #14532d;

    border-radius: 9px;

    font-weight: bold;

    transition: 0.3s;
}


.btn-whatsapp:hover {
    transform: translateY(-3px);
}


/* ========================================
   FOOTER
======================================== */

footer {
    background: #0b2e1a;

    color: white;

    padding: 60px 20px 25px;
}


.footer-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 50px;
}


.footer-logo {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 20px;

    margin-bottom: 15px;
}


.footer-logo img {
    width: 38px;

    height: 38px;

    object-fit: contain;
}


.footer-brand p {
    max-width: 350px;

    color: #cbd5e1;
}


footer h3 {
    margin-bottom: 15px;
}


footer a {
    display: block;

    color: #cbd5e1;

    margin-bottom: 8px;
}


footer p {
    color: #cbd5e1;
}


.copyright {
    max-width: 1100px;

    margin: 50px auto 0;

    padding-top: 20px;

    border-top: 1px solid
        rgba(255, 255, 255, 0.15);

    text-align: center;

    color: #94a3b8;

    font-size: 13px;
}


/* ========================================
   RESPONSIVE TABLET
======================================== */

@media (max-width: 900px) {

    .menu {
        gap: 15px;
    }

    .nav-button {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 50px;
    }

    .hero-content {
        margin: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        height: 400px;
    }

    .stats {
        margin-left: 20px;
        margin-right: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 380px;
    }

    .program-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .gallery {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .review-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;
    }

}


/* ========================================
   RESPONSIVE HP
======================================== */

@media (max-width: 600px) {

    /* NAVBAR */

    .navbar {
        min-height: 65px;

        flex-wrap: wrap;

        padding: 10px 15px;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;

        width: 100%;

        flex-direction: column;

        align-items: center;

        gap: 0;

        padding: 10px 0;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        width: 100%;

        text-align: center;

        padding: 10px;
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding:
            55px 20px
            50px;

        gap: 35px;
    }

    .badge {
        font-size: 12px;
    }

    .arabic {
        font-size: 21px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-image {
        height: 300px;
    }


    /* STATS */

    .stats {
        margin:
            0 15px
            50px;

        padding: 25px 15px;

        grid-template-columns:
            repeat(2, 1fr);

        border-radius: 15px;
    }

    .stat-item strong {
        font-size: 26px;
    }


    /* SECTION */

    .section {
        padding:
            65px 20px;
    }

    .section-heading h2 {
        font-size: 32px;
    }


    /* ABOUT */

    .about-grid {
        gap: 35px;
    }

    .about-image {
        height: 280px;
    }

    .about-text h3 {
        font-size: 26px;
    }


    /* PROGRAM */

    .programs {
        padding-left: 20px;

        padding-right: 20px;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }


    /* GALLERY */

    .gallery {
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .gallery-item {
        height: 180px;
    }


    /* REVIEWS */

    .reviews {
        padding-left: 20px;

        padding-right: 20px;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .cta {
        padding:
            70px 20px;
    }

    .cta h2 {
        font-size: 32px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    footer {
        padding-top: 45px;
    }

   }
