/* =========================================
   CENTER PAGE
========================================= */


/* =========================================
   HERO
========================================= */

.center-hero {
    padding: 100px 0 110px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f4fbf6 100%
        );
}


.center-hero-container {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    align-items: center;

    gap: 80px;
}


.center-hero-content {
    max-width: 650px;
}


.center-hero-content h1 {
    margin: 0 0 24px;

    color: var(--navy);

    font-size: clamp(42px, 5vw, 66px);
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -2px;
}


.center-hero-content h1 span {
    display: block;

    color: var(--primary);
}


.center-hero-content p {
    max-width: 570px;

    margin: 0 0 30px;

    color: var(--text-muted);

    font-size: 14px;

    line-height: 1.9;
}


.center-hero-content .btn {
    display: inline-flex;

    align-items: center;

    gap: 9px;
}



/* =========================================
   HERO VISUAL IMAGE
========================================= */

.center-hero-visual {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================
   HERO IMAGE
========================================= */

.center-hero-image {
    position: relative;

    width: 100%;
    max-width: 620px;
    height: 480px;

    overflow: hidden;

    /* Bentuk organic seperti referensi */
    border-radius:
        42% 18% 26% 38% /
        30% 18% 28% 44%;

    box-shadow:
        0 24px 60px
        rgba(16, 42, 67, 0.12);

    background: #eef8f1;
}


/* =========================================
   IMAGE
========================================= */

.center-hero-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}


/* =========================================
   IMAGE OVERLAY
========================================= */

.center-hero-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(17, 148, 71, 0.06),
            transparent 45%
        );

    pointer-events: none;
}


/* =========================================
   HOVER EFFECT
========================================= */

.center-hero-image:hover img {
    transform: scale(1.04);
}


/* =========================================
   DECORATION BACKGROUND
========================================= */

.center-hero-visual::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -45px;
    bottom: -45px;

    border-radius: 50%;

    background:
        rgba(166, 206, 57, 0.09);

    z-index: -1;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .center-hero-image {
        max-width: 100%;
        height: 400px;
    }

    .center-hero-visual::before {
        width: 330px;
        height: 330px;
    }

}


@media (max-width: 600px) {

    .center-hero-image {
        height: 320px;

        border-radius:
            30% 16% 22% 28% /
            22% 16% 20% 32%;
    }

    .center-hero-visual::before {
        width: 250px;
        height: 250px;

        right: -20px;
        bottom: -20px;
    }

}



/* =========================================
   CENTER LIST
========================================= */

.center-list-section {
    padding: 110px 0;

    background: #ffffff;
}


.center-heading {
    max-width: 650px;

    margin-bottom: 50px;
}


.center-heading h2 {
    margin: 0 0 16px;

    color: var(--navy);

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.2;
}


.center-heading h2 span {
    display: block;

    color: var(--primary);
}


.center-heading p {
    margin: 0;

    color: var(--text-muted);

    font-size: 13px;

    line-height: 1.8;
}



/* =========================================
   CENTER GRID
========================================= */

.center-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}



/* =========================================
   CENTER CARD
========================================= */

.center-card-image {
    height: 230px;
}

.center-card-content {
    min-height: auto;

    padding: 24px 26px 26px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.95),
            rgba(248,252,249,.92)
        );
}

.center-card-top {
    margin-bottom: 12px;
}

.center-card-label {
    margin-bottom: 6px;
}

.center-card h3 {
    margin-bottom: 6px;
}

.center-card-address {
    min-height: auto;

    margin-bottom: 18px;
}

.center-card-actions {
    margin-top: 0;
}


.center-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(17, 148, 71, 0.2);

    box-shadow:
        0 16px 38px
        rgba(17, 74, 45, 0.08);
}


.center-card-icon {
    width: 50px;
    height: 50px;

    margin-bottom: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eef8f1;

    border-radius: 14px;

    font-size: 21px;
}


.center-card-label {
    display: block;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.6px;
}


.center-card h3 {
    margin: 0 0 8px;

    color: var(--navy);

    font-size: 20px;
}


.center-card-address {
    min-height: 45px;

    margin: 0 0 24px;

    color: var(--text-muted);

    font-size: 11px;

    line-height: 1.7;
}


.center-card-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.center-card-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 11px 15px;

    background: var(--primary);

    color: #ffffff;

    border-radius: 10px;

    font-size: 9px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.center-card-link:hover {
    transform: translateY(-2px);

    background: var(--primary-dark);
}


/* =========================================
   EMPTY STATE
========================================= */

.center-empty {
    grid-column: 1 / -1;

    padding: 50px 30px;

    background: var(--background-soft);

    border: 1px solid var(--border);
    border-radius: 22px;

    text-align: center;
}


.center-empty h3 {
    margin-bottom: 8px;

    color: var(--navy);
}


.center-empty p {
    margin: 0;

    color: var(--text-muted);

    font-size: 11px;
}



/* =========================================
   HOME CTA
========================================= */

.home-cta {
    padding: 110px 0;

    background: #ffffff;
}


/* CARD */

.home-cta-card {
    position: relative;

    width: min(100%, 1050px);

    margin: 0 auto;

    overflow: hidden;

    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    align-items: center;

    min-height: 390px;

    padding: 60px;

    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            #087438 0%,
            #119447 58%,
            #169e4f 100%
        );

    box-shadow:
        0 28px 70px
        rgba(17, 74, 45, 0.16);
}


/* =========================================
   CONTENT
========================================= */

.home-cta-content {
    position: relative;

    z-index: 3;

    max-width: 590px;
}


.home-cta-label {
    display: inline-flex;

    margin-bottom: 20px;

    padding: 7px 13px;

    border:
        1px solid rgba(255,255,255,.16);

    border-radius: 999px;

    background:
        rgba(255,255,255,.08);

    color:
        rgba(255,255,255,.80);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.8px;
}


.home-cta-content h2 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size:
        clamp(38px, 4vw, 54px);

    font-weight: 700;

    line-height: 1.08;

    letter-spacing: -1.7px;
}


.home-cta-content h2 span {
    display: block;

    color: #dff3a6;
}


.home-cta-content p {
    max-width: 520px;

    margin: 0;

    color:
        rgba(255,255,255,.72);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================
   RIGHT SIDE
========================================= */

.home-cta-side {
    position: relative;

    min-height: 260px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =========================================
   DECORATION
========================================= */

.home-cta-circle {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.circle-one {
    width: 300px;
    height: 300px;

    right: -80px;
    top: -120px;

    background:
        rgba(255,255,255,.07);
}


.circle-two {
    width: 170px;
    height: 170px;

    left: 0;
    bottom: -70px;

    background:
        rgba(214,241,151,.10);
}


/* =========================================
   ACTION
========================================= */

.home-cta-actions {
    position: relative;

    z-index: 4;

    width: 220px;

    display: flex;

    flex-direction: column;

    gap: 12px;
}


.home-cta-primary,
.home-cta-secondary {
    min-height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 20px;

    border-radius: 14px;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .25s ease,
        gap .25s ease,
        background .25s ease;
}


/* PRIMARY */

.home-cta-primary {
    background: #ffffff;

    color: var(--primary);

    box-shadow:
        0 12px 30px
        rgba(0,0,0,.09);
}


.home-cta-primary:hover {
    transform: translateY(-3px);

    gap: 15px;
}


/* SECONDARY */

.home-cta-secondary {
    border:
        1px solid rgba(255,255,255,.35);

    background:
        rgba(255,255,255,.06);

    color: #ffffff;
}


.home-cta-secondary:hover {
    transform: translateY(-3px);

    background:
        rgba(255,255,255,.12);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .home-cta-card {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px;

        min-height: auto;
    }


    .home-cta-side {
        min-height: auto;

        justify-content: flex-start;
    }


    .home-cta-actions {
        width: 100%;

        max-width: 430px;

        flex-direction: row;
    }


    .home-cta-primary,
    .home-cta-secondary {
        flex: 1;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .home-cta {
        padding: 80px 0;
    }


    .home-cta-card {
        padding: 38px 27px;

        border-radius: 26px;
    }


    .home-cta-content h2 span {
        display: inline;
    }


    .home-cta-actions {
        flex-direction: column;

        max-width: none;
    }

}



/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .center-hero-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .center-hero-content {
        max-width: 720px;
    }


    .center-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .center-hero {
        padding: 70px 0 80px;
    }


    .center-hero-container {
        gap: 35px;
    }


    .center-hero-content h1 {
        font-size: 38px;

        letter-spacing: -1px;
    }


    .center-hero-card {
        padding: 30px 25px;
    }


    .center-list-section {
        padding: 80px 0;
    }


    .center-grid {
        grid-template-columns: 1fr;
    }


    .center-cta {
        padding-bottom: 80px;
    }


    .center-cta-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 38px 28px;

        border-radius: 22px;
    }


    .center-cta-button {
        width: 100%;

        justify-content: center;
    }

}
/* =========================================
   CENTER CARD - GLASS STYLE
========================================= */

.center-card {
    position: relative;
    overflow: hidden;
    padding: 0;

    /* Frosted / tempered glass */
    background: rgba(255, 255, 255, 0.72);

    border: 1px solid rgba(17, 148, 71, 0.14);
    border-radius: 24px;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 10px 35px rgba(16, 42, 67, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.center-card:hover {
    transform: translateY(-6px);

    border-color: rgba(17, 148, 71, 0.30);

    box-shadow: 0 18px 45px rgba(16, 42, 67, 0.11);
}


/* =========================================
   CENTER CARD IMAGE
========================================= */

.center-card-image {
    width: 100%;
    height: 190px;

    overflow: hidden;

    background: #eef7f1;
}

.center-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.center-card:hover .center-card-image img {
    transform: scale(1.05);
}


/* =========================================
   CENTER CARD CONTENT
========================================= */

.center-card-content {
    display: flex;
    flex-direction: column;

    min-height: 270px;

    padding: 26px 30px 30px;

    /* Supaya area bawah terasa seperti kaca */
    background: rgba(255, 255, 255, 0.40);
}


/* =========================================
   CENTER CARD TOP
========================================= */

.center-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}


/* =========================================
   CENTER STATUS
========================================= */

.center-card-status {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    padding: 7px 12px;

    border: 1px solid rgba(17, 148, 71, 0.10);
    border-radius: 999px;

    background: rgba(238, 248, 241, 0.80);

    color: var(--primary);

    font-size: 11px;
    font-weight: 600;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* =========================================
   CENTER CARD ACTION
========================================= */

.center-card-actions {
    margin-top: auto;
}
