:root {
    --color-primary: #148f67;
    --color-primary-dark: #0e6b4b;
    --color-secondary: #f4b41a;
    --color-bg: #f8fafb;
    --color-text: #243b53;
    --radius-lg: 1.5rem;
    --shadow-soft: 0 18px 45px rgba(15, 52, 96, 0.15);
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* NAVBAR */
.main-navbar {
    background: linear-gradient(90deg, #0b5f44, #148f67);
}

.logo-navbar {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-title {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

.brand-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
    font-family: "Quicksand", sans-serif;
}

.navbar-nav .nav-link {
    color: #e9f5f0 !important;
    font-size: 0.9rem;
    margin-inline: 0.25rem;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.1rem;
    height: 2px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.btn-login {
    background: #ffffff;
    color: var(--color-primary) !important;
    border-radius: 999px;
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-login:hover {
    background: var(--color-secondary);
    color: #fff !important;
}

/* DROPDOWN APLIKASI */
.dropdown-aplikasi {
    min-width: 260px;
    font-size: 0.86rem;
}

.dropdown-aplikasi .dropdown-item {
    display: flex;
    align-items: center;
}

.dropdown-aplikasi .dropdown-item:hover {
    background-color: #e8f7f1;
}

/* HERO */
.hero-section {
    padding: 6rem 0 3rem;
    background: radial-gradient(circle at top left, #30b79d 0, #148f67 40%, #064635 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-top: 1rem;
}

.hero-title span {
    font-size: 2.7rem;
    font-weight: 700;
    font-family: "Quicksand", sans-serif;
}

.hero-text {
    margin-top: 1rem;
    font-size: 0.95rem;
    max-width: 460px;
    opacity: 0.95;
}

.btn-cta-primary {
    background: var(--color-secondary);
    color: #1e272e;
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border: none;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.btn-cta-primary:hover {
    background: #f3a601;
    color: #1b1b1b;
}

.btn-cta-outline {
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-weight: 500;
}

.btn-cta-outline:hover {
    background: #ffffff;
    color: var(--color-primary);
}

.hero-meta-number {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.hero-meta-label {
    font-size: 0.7rem;
    opacity: 0.85;
}

.hero-card {
    position: relative;
    max-width: 420px;
    margin-inline: auto;
}

.hero-pill {
    position: absolute;
    top: -2rem;
    right: 0.5rem;
    background: rgba(25, 135, 84, 0.9);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
}

.hero-image {
    border-radius: 1.6rem;
    box-shadow: var(--shadow-soft);
    border: 4px solid rgba(255, 255, 255, 0.6);
}

.hero-floating-card {
    position: absolute;
    left: -0.8rem;
    bottom: -1.2rem;
    background: #ffffff;
    color: var(--color-text);
    padding: 0.6rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.hero-wave {
    display: block;
    width: 100%;
    margin-top: 3rem;
}

/* SECTIONS */
.section-padding {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-primary);
    font-weight: 600;
}

.section-title h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: 0.3rem;
}

/* PROFIL */
.profil-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
}

.profil-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.profil-list li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.visi-misi-card {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1.1rem 1.3rem;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(15, 52, 96, 0.1);
}

.visi-misi-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.visi-misi-card ul {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

.highlight-card {
    background: linear-gradient(135deg, #148f67, #26a96c);
    border-radius: 1.2rem;
    color: white;
    padding: 0.9rem 1.1rem;
    font-size: 0.85rem;
}

/* PROGRAM CARD */
.program-card {
    background: #ffffff;
    border-radius: 1.3rem;
    padding: 1.4rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, translate 0.2s;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 52, 96, 0.25);
}

.program-icon {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    margin-bottom: 0.7rem;
    background: rgba(20, 143, 103, 0.09);
}

.program-icon i {
    font-size: 1.3rem;
    color: var(--color-primary);
}

.program-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

/* NEWS */
.news-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.3rem;
    box-shadow: 0 12px 30px rgba(15, 52, 96, 0.1);
    font-size: 0.9rem;
    position: relative;
}

.news-badge {
    display: inline-block;
    background: rgba(20, 143, 103, 0.1);
    color: var(--color-primary);
    font-size: 0.7rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}

.bg-badge-2 {
    background: rgba(244, 180, 26, 0.12);
    color: #c28b09;
}

.bg-badge-3 {
    background: rgba(52, 152, 219, 0.1);
    color: #1b75bb;
}

.news-card h5 {
    font-size: 1rem;
    font-weight: 600;
}

.news-link {
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--color-primary);
}

.news-link:hover {
    text-decoration: underline;
}

/* GALERI */
.gallery-item {
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(15, 52, 96, 0.15);
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* KONTAK */
.contact-card {
    background: #ffffff;
    border-radius: 1.3rem;
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
}

.contact-list li {
    margin-bottom: 0.4rem;
}

.contact-form .form-control {
    border-radius: 0.9rem;
    font-size: 0.9rem;
}

.contact-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.15rem rgba(20, 143, 103, 0.25);
}

/* FOOTER */
.footer-section {
    background: #062f23;
    color: #e9f5f0;
    padding: 1.2rem 0;
    font-size: 0.8rem;
}

/* BACK TO TOP */
.btn-back-to-top {
    position: fixed;
    right: 0.9rem;
    bottom: 1.2rem;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.btn-back-to-top:hover {
    background: var(--color-primary-dark);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 5rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-title span {
        font-size: 2.1rem;
    }
}
