:root {
    --primary-green: #416436;
    /* --bg-green-light: #b8ccae; */
    --bg-green-light: #adfc03;
    --btn-txt-green: #dadbb1;
}

* {
    font-family: 'Poppins', sans-serif;
}

html,
body {
    background-color: var(--bg-green-light);
    background-image: url('https://images.unsplash.com/photo-1558591710-4b4a1ae0f04d?q=80&w=2000');
    background-blend-mode: multiply;

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    caret-color: transparent;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    color: #1a1a1a;
}

/* =========================
   NAVBAR BASE
   ========================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* =========================
   NAVBAR TRANSPARENT (HOME)
   ========================= */
.navbar-transparent {
    background-color: transparent;
}

.navbar-transparent .navbar-brand,
.navbar-transparent .navbar-brand span,
.navbar-transparent .nav-link {
    color: #fff !important;
    font-weight: 600;
}

/* =========================
   NAVBAR SOLID (NON-HOME)
   ========================= */
.navbar-solid {
    background-color: var(--bg-green-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* teks navbar saat solid */
.navbar-solid .navbar-brand,
.navbar-solid .navbar-brand span,
.navbar-solid .nav-link {
    color: var(--primary-green) !important;
}

/* TOGGLER PUTIH SAAT TRANSPARENT */
.navbar-transparent .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
}

.navbar-transparent .navbar-toggler-icon {
    filter: invert(1);
}

.navbar .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 100px;
    padding: 0 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.navbar-transparent .nav-link.active {
    background-color: var(--bg-green-light);
    color: var(--primary-green) !important;
}

.navbar-solid .nav-link.active {
    background-color: #fff;
    color: var(--primary-green) !important;
}

.navbar .nav-link:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 991px) {

    .navbar .nav-link {
        width: 100%;
        height: 45px;
        min-width: unset;
        border-radius: 12px;
    }

    .navbar-transparent {
        background-color: var(--bg-green-light);
    }

    .navbar-transparent .navbar-toggler-icon {
        filter: none;
    }

    .navbar-transparent .navbar-brand,
    .navbar-transparent .navbar-brand span,
    .navbar-transparent .nav-link {
        color: var(--primary-green) !important;
    }

    /* Transparent mobile */
    .navbar-transparent .nav-link.active {
        background-color: var(--primary-green);
        color: #fff !important;
    }

    /* Solid mobile */
    .navbar-solid .nav-link.active {
        background-color: var(--primary-green);
        color: #fff !important;
    }
}

/* --- HOME SECTION --- */
.hero {
    height: 100vh;
    background: url("../img/hero-background.png") center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.65),
            rgba(62, 92, 51, 0.55));
}

.hero-content {
    font-size: x-large;
    z-index: 2;
    color: #fff;
    font-weight: 700;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.8rem);
    margin-bottom: 35px;
}

/* BUTTON */
.btn-cta {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    background: var(--primary-green);
    color: var(--btn-txt-green);
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-cta:hover {
    background: #2f4527;
}

/* --- ABOUT SECTION --- */
.about-section {
    padding-top: 75px;
}

/* TEXT */
.about-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--primary-green);
}

.about-subtitle {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-green);
}

.about-desc {
    font-size: 1.0rem;
    color: var(--primary-green);
}

.rounded-top-5 {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

/* GRID IMAGE */
.grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 25px;
    display: block;
}

/* =========================
   STATS CARD
   ========================= */

/* wrapper card */
.stats-card {
    position: relative;
    opacity: 0.6;
    transform: scale(0.97);
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 25px 25px 0 0;
}

/* card aktif */
.stats-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* =========================
   TEKS (DEFAULT DISIMPAN)
   ========================= */
.stats-top {
    text-align: center;
    color: var(--primary-green);

    /* GRADIENT PRIMARY */
    background: linear-gradient(135deg,
            #efffd6 0%,
            #d0ff7a 50%,
            #f7fbf2 100%);

    padding: 5px 10px;
    border-radius: 25px 25px 0 0;

    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;

    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* HANYA CARD AKTIF YANG MENAMPILKAN TEKS */
.stats-card.active .stats-top {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.6);
}

/* isi teks */
.stats-top h3 {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 5px;
}

.stats-top p {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Pastikan gambar tetap rapi */
.stats-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

@media (max-width: 576px) {

    .stats-card img {
        height: 150px !important;
    }

    .stats-top h3 {
        font-size: 1.8rem !important;
    }

    .stats-top p {
        font-size: 0.8rem !important;
    }

    .bg-white.p-5 {
        padding: 1.5rem !important;
    }

    .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
}

.our-service-card {
    background: #fff;
    border-radius: 35px;
    padding: 50px 30px;
    margin-top: 50px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.title-service {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-green);
}

.subtitle-service {
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.card-service {
    background: #f5f5f5;
    border-radius: 15px;
    padding: 40px 20px;
    height: 180px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transition: 0.3s;
}

.card-service:hover {
    transform: translateY(-6px);
}

.card-service i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.card-service p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-green);
}

/* CARD UTAMA */
.partnership-card {
    background: #fff;
    border-radius: 35px;
    padding: 50px;
    margin-top: 50px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .partnership-card {
        padding: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .partnership-content p {
        font-size: 1.1rem;
        text-align: start;
        text-align-last: left;
        line-height: 1.6;
    }

    .partnership-content {
        text-align: left;
    }

    .partnership-images img {
        height: 160px;
        border-radius: 15px;
        object-fit: cover;
    }
}

.partnership-images img {
    width: 100%;
    border-radius: 25px;
    object-fit: cover;
}

/* TEXT */
.partnership-content p {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-green);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* BUTTON */
.btn-partnership {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-green);
    color: var(--btn-txt-green);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-partnership:hover {
    background: #2f4527;
}

/* =========================
   LOGO STRIP (DESKTOP OPTIMIZED)
   ========================= */
.brand-box {
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 50px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    width: 80%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.brand-title {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 220px;
    white-space: nowrap;
    z-index: 10;
    background: white;
}

.brand-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.brand-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.brand-track img {
    height: 80px;
    opacity: 0.5;
    transition: 0.3s;
}

.brand-track img:hover {
    opacity: 1;
}

/* ANIMASI JALAN */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 30px));
    }
}

.brand-track:hover {
    animation-play-state: paused;
}

.brand-slider::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background: linear-gradient(to right, white, transparent 10%, transparent 90%, white);
}

/* =========================
   MOBILE FIX (TETAP SEPERTI SEKARANG)
   ========================= */
@media (max-width: 768px) {
    .brand-box {
        width: calc(100% - 24px);
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px;
    }

    .brand-track {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        gap: 24px;
        padding-left: 0;
    }

    .brand-track img {
        height: 38px;
        max-width: 120px;
    }

    .brand-title {
        font-size: 1.15rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .brand-box {
        width: calc(100% - 48px);
        flex-direction: row;
        align-items: center;
        gap: 24px;
        padding: 32px;
    }

    .brand-track {
        margin-left: auto;
        width: auto;
        justify-content: flex-end;
        gap: 20px;
        padding-left: 0;
    }

    .brand-track img {
        height: 80px;
        max-width: 140px;
    }

    .brand-title {
        font-size: 1.25rem;
    }
}


/* --- PROSES SECTION --- */
.process-section {
    padding-top: 75px;
}

.process-tag {
    background: var(--primary-green);
    color: var(--btn-txt-green);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

.process-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--primary-green);
    text-align: justify;
}

/* container */
.process-images-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.process-images {
    display: flex;
    gap: 16px;
    min-width: max-content;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* base image (SEMUA SAMA) */
.process-image {
    flex: 0 0 100px;
    /* ukuran default SERAGAM */
    height: 250px;
    /* tinggi DIKUNCI */
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .process-image {
        height: 200px;
        flex: 0 0 100px;
    }

    .process-image.active {
        flex: 0 0 150px;
    }
}

/* gambar */
.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ACTIVE = lebih lebar dikit */
.process-image.active {
    flex: 0 0 200px;
    opacity: 1;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* hide scrollbar */
.process-images::-webkit-scrollbar {
    display: none;
}

.career-banner {
    margin-top: 50px;
    margin-left: 120px;
    margin-right: -3rem;
    display: flex;
    background-color: var(--bg-green-light);
    background-image: radial-gradient(#a3b34c 1.5px, transparent 1.5px);
    background-size: 15px 15px;
    border-radius: 60px 0 0 60px;
    /* Sisi kiri melengkung tajam */
    overflow: hidden;
    align-items: center;
    position: relative;
    height: 200px;
}

.banner-content {
    flex: 1;
    padding: 40px 60px;
    z-index: 2;
}

.banner-title {
    color: var(--primary-green);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.banner-subtitle {
    color: var(--primary-green);
    font-size: 1rem;
    margin-bottom: 25px;
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-green);
    color: var(--btn-txt-green);
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn-apply:hover {
    transform: scale(1.05);
}

.arrow-icon {
    margin-left: 15px;
    font-size: 1.5rem;
}

@media (min-width: 768px) and (max-width: 1024px) {

    .banner-content {
        padding: 30px 30px;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .btn-apply {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .banner-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}

.banner-image {
    flex: 1;
    height: 100%;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 25% 100%);
    margin-left: -50px;
}

.banner-image img {
    width: 100%;
    height: 350px;
    /* Sesuaikan tinggi */
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .career-banner {
        flex-direction: column;
        margin: 30px 0 0 0;
        margin-right: 0;
        margin-left: 0;
        border-radius: 30px;
        height: auto;
    }

    .banner-content {
        padding: 30px 25px;
        text-align: center;
    }

    .banner-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .banner-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .btn-apply {
        padding: 10px 28px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .arrow-icon {
        font-size: 1.2rem;
        margin-left: 10px;
    }

    .banner-image {
        width: 100%;
        height: 180px;
        margin-left: 0;
        clip-path: none;
    }

    .banner-image img {
        height: 100%;
        opacity: 0.9;
        border-radius: 0 0 30px 30px;
    }
}

/* --- TEAMS SECTION --- */
.teams-section {
    padding-top: 50px;
}

.team-wrapper {
    position: relative;
    width: 200px;
    /* Sesuaikan ukuran */
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Styling Teks Melengkung */
.team-svg-text {
    position: absolute;
    top: -20px;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;

    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.team-svg-text text {
    font-size: 13px;
    font-weight: 600;
    fill: var(--primary-green);
    letter-spacing: 1px;
    text-transform: capitalize;
}

.glow-bg {
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle,
            rgba(233, 241, 150, 0.9) 0%,
            rgba(233, 241, 150, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.team-photo {
    position: relative;
    width: 180px;
    height: 260px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.team-photo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    object-position: bottom;
    display: block;
    mask-image: linear-gradient(to bottom,
            black 75%,
            transparent 100%);
}

.team-wrapper:hover .team-photo {
    transform: translateY(-5px) scale(1.05);
}

.team-wrapper:hover .team-svg-text {
    opacity: 1;
    transform: translateY(-5px);
}

@media (hover: none) {
    .team-svg-text {
        opacity: 1;
        transform: none;
    }
}

/* -- CONTACT SECTION -- */
.contact-section {
    margin-top: 220px;
}

.contact-card {
    background: url(../img/background-contact.png);
    background-size: cover;
    border-radius: 50px 50px 0 0;
    overflow: visible;
    color: #ffffff;
    position: relative;
}

.contact-image {
    height: 550px;
    width: auto;
    object-fit: contain;
    margin-top: -150px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 99;
    transform: scale(1.1);
    transform-origin: bottom center;
}

.contact-text {
    color: var(--btn-txt-green);
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 300;
    text-align: justify;
}

.social-link {
    color: #ffffff;
    font-size: 3rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    color: #e0e0e0;
    opacity: 0.8;
}

.btn-contact-us {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--btn-txt-green);
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-contact-us:hover {
    transform: scale(1.05);
}

.copyright-text {
    color: var(--btn-txt-green);
    font-size: 1rem;
    margin-top: 2rem;
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .contact-card {
        border-radius: 30px 30px 0 0;
        margin-top: 50px;
    }

    .contact-section {
        margin-top: 150px;
    }

    .contact-image {
        height: 450px;
        margin-top: -150px;
        transform: scale(1.0);
    }

    .contact-text {
        text-align: center;
    }

    .social-link {
        font-size: 1.5rem;
    }

    .btn-contact-us {
        width: 100%;
        text-align: center;
    }
}

/* TABLET (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {

    .contact-card {
        border-radius: 40px 40px 0 0;
        padding: 40px 20px;
    }

    .contact-text {
        font-size: 1.1rem;
        line-height: 1.7;
        text-align: left;
        max-width: 500px;
    }

    .social-link {
        font-size: 2rem;
    }

    .btn-contact-us {
        font-size: 1.2rem;
        padding: 10px 25px;
    }

}