/* --- ROOT & GLOBAL STYLES (Dominan Hijau) --- */

:root {
    --primary-green: #36a269; /* Warna hijau dominan utama */
    --primary-green-hover: #299055; /* Hijau gelap untuk hover */
    --secondary-green: #14b8a6;   /* Hijau tosca sekunder */

    /* Semua biru diganti hijau */
    --primary-blue: var(--primary-green);
    --primary-blue-hover: var(--primary-green-hover);

    --color-accent: var(--primary-green);

    --dark-text: #1e293b;
    --light-text: #64748b;

    --bg-light-green: #eefcf3; /* VERY light green untuk elemen background */
    --bg-light-blue: #f0f7ff; /* Opsional jika ingin nuansa biru sangat soft */
    --footer-bg: #0f172a;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--light-text);
    background-color: #f7fefb; /* background hijau terang */
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-text);
    font-weight: 700;
}

.section-padding {
    padding: 80px 0;
}

/* Tombol utama hijau */
.btn-custom-blue {
    background-color: var(--primary-green);
    color: #fff;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 500;
    border: none;
    transition: 0.3s;
}

.btn-custom-blue:hover {
    background-color: var(--primary-green-hover);
    color: #fff;
}

.section-subtitle {
    color: var(--primary-green);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.section-subtitle::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-green);
}

/* --- NAVBAR --- */
.navbar {
    padding: 15px 0;
    background-color: #fff;
}
.nav-link {
    color: var(--dark-text);
    font-weight: 500;
    margin: 0 10px;
}
.nav-link.active {
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
}

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(to right, #d8f1ff 30%, #d1f5eb 100%);
    /* Putih kehijauan */
    padding: 80px 0 150px 0; /* Padding bawah lebih besar untuk offset stats bar */
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-title span {
    color: var(--primary-green);
}

/* --- STATS BAR --- */
.stats-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-top: -80px;
    position: relative;
    top: -150px;
    z-index: 10;
}

.stat-item h3 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 5px;
}
.stat-item p {
    font-size: 0.9rem;
    margin: 0;
}
.stat-divider {
    border-right: 1px solid #e2e8f0;
}

/* --- ABOUT SECTION --- */
.about-img-box {
    overflow: hidden;
}
.play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* --- SERVICES SECTION --- */
.service-card {
    border: none;
    border-radius: 20px;
    padding: 20px;
    background: var(--bg-light-green);
    transition: 0.3s;
}
.service-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.service-card img {
    border-radius: 15px;
    margin-bottom: 15px;
}

/* --- WHY CHOOSE US --- */
.feature-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 15px;
    transition: 0.3s;
}
.feature-item.active {
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.feature-icon {
    width: 45px;
    height: 45px;
    background-color: #d1fadf; /* Hijau pastel terang daripada biru muda */
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* --- TEAM SECTION --- */
.team-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.team-card img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
.team-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background-color: var(--primary-green);
    color: #fff;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
}
.team-card:hover .team-info {
    opacity: 1;
    transform: translateY(0);
}

/* --- TESTIMONIAL --- */
.testimonial-card {
    background-color: var(--bg-light-green);
    border-radius: 20px;
    padding: 30px;
    position: relative;
}

/* --- NEWS --- */
.news-card {
    border: none;
}
.news-card img {
    border-radius: 20px;
    margin-bottom: 15px;
}

/* --- FOOTER --- */
footer {
    background-color: var(--footer-bg);
    color: #cbd5e1;
    padding-top: 60px;
}
footer h5 {
    color: var(--primary-green);
    margin-bottom: 20px;
}
footer ul li {
    margin-bottom: 10px;
}
footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}
footer a:hover {
    color: #fff;
}
.social-icons a {
    display: inline-flex;
    width: 35px;
    height: 35px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.footer-bottom {
    border-top: 1px solid #334155;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.9rem;
}

/* Animasi masuk dari kiri */
.animate-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.9s cubic-bezier(.77, 0, .175, 1), transform 0.9s cubic-bezier(.77, 0, .175, 1);
}
.animate-left.in-view {
    opacity: 1;
    transform: translateX(0);
}
/* Animasi masuk dari kanan */
.animate-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.9s cubic-bezier(.77, 0, .175, 1), transform 0.9s cubic-bezier(.77, 0, .175, 1);
}
.animate-right.in-view {
    opacity: 1;
    transform: translateX(0);
}
/* Responsive: reduce distance on mobile */
@media (max-width: 768px) {
    .animate-left,
    .animate-right {
        transform: none !important;
    }
}

.service-card-animate {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: all 0.6s cubic-bezier(.5, .03, .15, 1);
}
.service-card-animate.service-card-inview {
    opacity: 1;
    transform: none;
}

/* Modern fasilitas - dominan hijau */
.modern-fasilitas-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.modern-fasilitas-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 13px #36a26918; /* shadow hijau */
    border: 1px solid #e3eef7;
    transition: box-shadow 0.18s, border 0.16s;
    cursor: pointer;
    position: relative;
    overflow: visible !important;
}
.modern-fasilitas-card.active,
.modern-fasilitas-card:hover {
    border: 1.5px solid var(--color-accent, #36a269);
    box-shadow: 0 4px 22px #36a26926;
}
.modern-fasilitas-header {
    min-height: 44px;
    font-size: 1rem;
    background: transparent;
    user-select: none;
}
.modern-fasilitas-nama {
    font-size: 1.04rem;
    color: #223042;
    letter-spacing: .01em;
}
.icon-bubble {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 7px #36a26933;
    font-size: 1.1rem;
    background: var(--color-accent, #36a269) !important;
    color: #fff;
}
.modern-fasilitas-arrow {
    transition: transform 0.24s cubic-bezier(.37,.71,.3,1.34), color 0.17s;
    font-size: 1.07rem;
    color: var(--color-accent, #36a269);
}
.modern-fasilitas-card.active .modern-fasilitas-arrow {
    transform: rotate(180deg);
    color: #36a269;
}
.modern-fasilitas-expand {
    will-change: max-height, opacity;
    transition: max-height 0.29s cubic-bezier(.5,1.4,.73,1.01), opacity 0.23s;
    opacity: 1;
    background: #e9fff3;
    border-radius: 0 0 1rem 1rem;
    border-top: 1px solid #d3f8e4;
    margin-top: 1px;
}
.fasilitas-gambar {
    max-height: 90px;
    object-fit: cover;
    margin-bottom: 6px;
    border-radius: 0.7rem;
}
@media (max-width: 991px) {
    .modern-fasilitas-img { max-width: 150px !important; }
}
@media (max-width: 767.98px) {
    .fasilitas-modern-wrapper { flex-direction: column !important; }
    .modern-fasilitas-image-col {
        margin-top: 14px;
        margin-bottom: 8px;
        justify-content: center;
    }
    .modern-fasilitas-img { max-width: 75vw !important; }
    .modern-fasilitas-list { gap: 9px; }
    .modern-fasilitas-card { border-radius: 0.7rem; }
}