:root {
    /* Palet warna asal QurbanGo */
    --green: #063f35;
    --green2: #0a5b4c;
    --gold: #c99832;
    --gold2: #e6c66b;
    --cream: #fbf8ef;
    /* Nude / Krim asas */
    --paper: #fffdf8;
    --ink: #17332d;
    --muted: #687a74;
    --line: #e8e1cf;

    /* Bayang dan radius standard */
    --shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 4px 18px rgba(15, 23, 42, 0.04);
    --radius: 20px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1160px, 92%);
    margin: auto;
}

/* =========================================
   NAVBAR & BURGER MENU
========================================= */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 253, 248, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: var(--transition-smooth);
}

.nav-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--green);
    font-size: 20px;
    text-decoration: none;
    letter-spacing: -0.3px;
    z-index: 1002;
}

.brand-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.brand small {
    display: block;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--gold);
    line-height: 1.2;
}

.navlinks {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
}

.navlinks a {
    position: relative;
    padding: 8px 16px;
    border-radius: 50rem;
    color: var(--muted);
    transition: var(--transition-smooth);
}

.navlinks a:hover {
    color: var(--gold);
}

.navlinks a.active {
    color: #ffffff !important;
    background-color: var(--green);
    box-shadow: 0 4px 12px rgba(6, 63, 53, 0.2);
}

.nav-mobile-cta {
    display: none;
}

.nav-cta,
.btn {
    border: 0;
    border-radius: 50rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.nav-cta,
.btn-primary {
    background: var(--green);
    color: white;
}

.nav-cta:hover,
.btn-primary:hover {
    background: var(--green2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 63, 53, 0.25);
}

/* BUTANG HAMBURGER ANIMASI */
.menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
}

.menu-btn .bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: var(--green);
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    margin: 2px auto;
}

.menu-btn.open .bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.menu-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-btn.open .bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* =========================================
   TOMBOL KEMBALI CITADEL (RESPONSIF)
========================================= */
.btn-back-home {
    position: fixed;
    top: 90px;
    left: 25px;
    z-index: 999;
    background: var(--paper);
    color: var(--green);
    border: 1px solid var(--line);
    padding: 8px 18px;
    border-radius: 50rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.btn-back-home:hover {
    background: var(--green);
    color: #ffffff;
    transform: translateY(-2px);
}

/* TAMPILAN MOBILE & TABLET (<= 900px) */
@media (max-width: 900px) {
    .btn-back-home {
        /* Pindahkan ke sudut kiri bawah layar */
        top: auto;
        bottom: 20px;
        left: 16px;
        font-size: 0.78rem;
        padding: 8px 14px;
        background: rgba(255, 253, 248, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
        border: 1px solid rgba(232, 225, 207, 0.9);
    }
}

/* =========================
   1. HERO SECTION (HIJAU)
========================= */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(6, 63, 53, 0.96) 0%, rgba(10, 91, 76, 0.92) 60%, rgba(8, 47, 40, 0.98) 100%);
    color: #fff;
    padding: 100px 0 115px;
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(230, 198, 107, 0.22), transparent 30%), radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.07), transparent 30%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 55px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(230, 198, 107, 0.4);
    border-radius: 50rem;
    color: var(--gold2);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

h1,
h2,
h3 {
    line-height: 1.25;
    letter-spacing: -0.5px;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    max-width: 700px;
}

.gold {
    color: var(--gold2);
}

.hero p {
    margin: 20px 0 28px;
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-gold {
    background: var(--gold);
    color: #17332d;
    font-weight: 700;
}

.btn-gold:hover {
    background: var(--gold2);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 152, 50, 0.3);
}

.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: var(--green);
    transform: translateY(-2px);
}

.hero-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-animal {
    height: 310px;
    border-radius: 18px;
    background: url("images/kambing.png") center/cover;
    position: relative;
    overflow: hidden;
}

.hero-animal:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 40, 32, 0.85));
}

.hero-label {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.hero-label strong {
    font-size: 22px;
    font-weight: 800;
    display: block;
}

.hero-label span {
    color: #d8e5e0;
    font-size: 13px;
}

/* =========================
   STATS (KOTAK STATISTIK)
========================= */
.stats {
    margin-top: -38px;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 880px;
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat {
    padding: 25px 20px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--green);
}

.stat span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
}

/* =========================================
   PENGGAYAAN TEMA SELANG-SELI (NUDE & HIJAU)
========================================= */
section {
    padding: 100px 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.kicker {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* TEMA A: NUDE / KRIM */
.section-nude {
    background-color: var(--cream);
    color: var(--ink);
}

.section-nude .section-head h2 {
    color: var(--green);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-nude .section-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* TEMA B: HIJAU */
.section-green {
    background-color: var(--green);
    color: #ffffff;
}

.section-green .kicker {
    color: var(--gold2);
}

.section-green .section-head h2 {
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-green .section-head p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

/* =========================
   2. TENTANG KAMI (DALAM NUDE)
========================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.about-img {
    min-height: 440px;
    border-radius: 24px;
    background: url("images/lembu korban.jpg") center/cover;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.about-copy h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--green);
    margin: 10px 0 18px;
}

.about-copy p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.partners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
}

.partner {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.partner strong {
    display: block;
    color: var(--green);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.partner span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* =========================
   3. SERVICES (DALAM HIJAU)
========================= */
.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.section-green .card {
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 2.25rem 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.section-green .card:hover {
    transform: translateY(-6px);
    border-color: var(--gold2);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.section-green .icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(6, 63, 53, 0.08);
    color: var(--green);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.section-green .card:hover .icon {
    background: var(--green);
    color: #fff;
}

.section-green .card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 0.75rem;
}

.section-green .card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.65;
    flex-grow: 1;
}

.section-green .price {
    margin-top: 1.25rem;
    font-weight: 800;
    color: var(--green);
    font-size: 1.1rem;
}

/* =========================
   4. CARA PELAKSANAAN (DALAM NUDE)
========================= */
.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    border: 3px solid #dfece7;
    box-shadow: var(--shadow-soft);
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
}

.step p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 5px;
    line-height: 1.5;
}

/* =========================================
   5. HUBUNGI KAMI (KAD MAKLUMAT BAHARU)
========================================= */
.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 960px;
    margin: 0 auto;
}

.contact-card-info {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.contact-card-info:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: var(--gold);
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    box-shadow: 0 6px 16px rgba(201, 152, 50, 0.25);
}

.info-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-val {
    display: block;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.6;
}

.info-link {
    text-decoration: none;
    transition: var(--transition-smooth);
}

.info-link:hover {
    color: var(--gold2);
    text-decoration: underline;
}

/* Responsif untuk skrin mudah alih */
@media (max-width: 768px) {
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-card-info {
        padding: 18px;
    }
}

/* =========================
   FOOTER (HIJAU GELAP)
========================= */
footer {
    background: #03231d;
    color: #c8d9d4;
    padding: 40px 0;
    font-size: 0.88rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer-brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.footer-note {
    font-size: 0.82rem;
    color: rgba(200, 217, 212, 0.8);
}

/* =========================
   POPUP MODAL & BORANG TEMPAHAN
========================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 43, 36, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    place-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal.show {
    display: grid;
    animation: fadeIn 0.25s ease forwards;
}

.modal-box {
    background: var(--paper);
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--line);
    position: relative;
    width: 100%;
}

.form-modal-box {
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px 30px;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: var(--green);
    transform: scale(1.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--green);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #ffffff;
    padding: 12px 14px;
    border-radius: 12px;
    outline: none;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 152, 50, 0.15);
}

textarea {
    resize: vertical;
    min-height: 75px;
}

.total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(6, 63, 53, 0.05);
    border: 1px solid var(--line);
}

.total strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--green);
}

/* =========================
   TOAST NOTIFICATION
========================= */
.toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--green);
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    display: none;
    z-index: 2200;
    box-shadow: var(--shadow);
}

.toast.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* =========================
   ANIMASI & RESPONSIVE
========================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .menu-btn {
        display: flex;
    }

    .nav-desktop-cta {
        display: none;
    }

    .navlinks {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
        padding: 20px 24px 28px;
        flex-direction: column;
        gap: 10px;

        /* Animasi turun lancar */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .navlinks.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navlinks a {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .nav-mobile-cta {
        display: block;
        width: 100%;
        margin-top: 10px;
        padding-top: 14px;
        border-top: 1px dashed var(--line);
    }

    .nav-mobile-cta .btn {
        width: 100%;
        padding: 12px;
    }

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step {
        display: grid;
        grid-template-columns: 55px 1fr;
        text-align: left;
        gap: 14px;
        align-items: center;
    }

    .step-num {
        margin: 0;
    }

    .step p {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stat:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 560px) {
    section {
        padding: 75px 0;
    }

    .hero {
        padding: 75px 0 90px;
    }

    .hero-card {
        padding: 16px;
    }

    .hero-animal {
        height: 240px;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .form-modal-box {
        padding: 25px 20px;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   POPUP NOTIFIKASI KANAN ATAS
========================================= */
.promo-notification {
    position: fixed;
    top: 88px;
    /* Tepat di bawah navbar (navbar height 76px + jarak) */
    right: 24px;
    max-width: 380px;
    width: calc(100% - 48px);
    background: var(--paper);
    border: 1.5px solid var(--gold);
    border-radius: 16px;
    box-shadow: 0 14px 35px rgba(6, 63, 53, 0.16);
    padding: 16px 40px 16px 18px;
    z-index: 1050;
    transform: translateX(120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
}

/* Keadaan bila popup aktif / muncul */
.promo-notification.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.promo-badge {
    display: inline-block;
    background: rgba(201, 152, 50, 0.15);
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 2px 10px;
    border-radius: 50rem;
    margin-bottom: 6px;
}

.promo-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--ink);
    font-weight: 600;
    margin: 0;
}

/* Butang pangkah */
.promo-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: var(--transition-smooth);
}

.promo-close:hover {
    color: #e11d48;
    transform: scale(1.15);
}

/* Penyesuaian skrin kecil / telefon pintar */
@media (max-width: 600px) {
    .promo-notification {
        top: 82px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
    }
}