html {
    scroll-behavior: smooth;
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-light: #f5f5f5;
    --primary-dark: #163254;
    --accent-green: #c1ff72;
    --secondary-slate: #5c7087;
    --accent-cyan: #93f2ff;
    --white: #ffffff;
    --gray-100: #f2f4f7;
    --gray-200: #eaecf0;
    --accent-orange: #ff9d00;
    --font: "Plus Jakarta Sans", sans-serif;
}

body {
    font-family: var(--font);
    color: var(--primary-dark);
    background: var(--bg-light);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.decor-grid {
    position: absolute;
    background-image:
        linear-gradient(rgba(92, 112, 135, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(92, 112, 135, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 0;
    pointer-events: none;
}

.decor-dots {
    position: absolute;
    background-image: radial-gradient(
        rgba(22, 50, 84, 0.2) 2px,
        transparent 2px
    );
    background-size: 16px 16px;
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    height: 82px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    height: 74px;
    background: rgba(245, 245, 245, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(22, 50, 84, 0.08);
    box-shadow: 0 10px 30px rgba(22, 50, 84, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 18px;
    border-right: 1px solid rgba(92, 112, 135, 0.18);
    text-decoration: none;
}

.nav-logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.brand-text h1 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.2px;
}

.brand-text span {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: var(--secondary-slate);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--secondary-slate);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-dark);
    background: rgba(193, 255, 114, 0.18);
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: var(--accent-green);
    transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 55%;
}

.nav-links i {
    font-size: 18px;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(22, 50, 84, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;
    list-style: none;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    width: 100%;
    display: flex;
    padding: 12px 14px;
    border-radius: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    color: var(--primary-dark);
}

/* Buttons */
.btn-primary {
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: var(--accent-green);
    color: var(--primary-dark);
    font-family: var(--font);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(193, 255, 114, 0.3);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 32px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(
        circle at top left,
        black 10%,
        transparent 60%
    );
    mask-image: radial-gradient(circle at top left, black 10%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

footer::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -20px;
    width: 350px;
    height: 350px;
    background-image: radial-gradient(
        var(--accent-cyan) 1.5px,
        transparent 1.5px
    );
    background-size: 16px 16px;
    opacity: 0.15;
    -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
    mask-image: radial-gradient(circle, black 30%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

footer .container {
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 64px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.7;
    color: var(--bg-light);
    opacity: 0.8;
    max-width: 280px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--bg-light);
    opacity: 0.8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
    transition:
        opacity 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-green);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 245, 245, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: rgba(245, 245, 245, 0.6);
}

/* --- CSS KONTEN HALAMAN (YANG DISESUAIKAN) --- */

main {
    padding-top: 82px;
}

.section-padding {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-green);
    border-radius: 4px;
}

.section-title.center {
    text-align: center;
    display: block;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 16px;
    color: var(--secondary-slate);
    max-width: 600px;
    margin-bottom: 48px;
}

.section-subtitle.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Hero Section - Diubah menjadi Centered Layout tanpa gambar */
.hero {
    position: relative;
    min-height: 70vh;
    /* Sedikit dikurangi tingginya karena tidak ada gambar */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-light);
    text-align: center;
    padding: 60px 0;
}

.hero-grid {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-mask-image: radial-gradient(circle, black 30%, transparent 100%);
    mask-image: radial-gradient(circle, black 30%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text h4 {
    color: var(--secondary-slate);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-text h4::before,
.hero-text h4::after {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--accent-orange);
}

.hero-text h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.hero-text h1 span {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary-dark);
}

.hero-text p {
    font-size: 20px;
    color: var(--secondary-slate);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Tentang Kami - Diubah menjadi 1 kolom tanpa gambar BPH */
.about-layout {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-layout .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--secondary-slate);
    line-height: 1.8;
}

.about-text p strong {
    color: var(--primary-dark);
}

/* Visi Misi - Tetap dipertahankan struktur grid-nya */
.vm-section {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.vm-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.vision-card {
    background: var(--primary-dark);
    color: var(--white);
    padding: 48px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vision-card::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 120px;
    color: rgba(255, 255, 255, 0.05);
}

.vision-card h3 {
    font-size: 24px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.vision-card p {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
}

.mission-wrapper h3 {
    font-size: 28px;
    color: var(--primary-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mission-wrapper h3 i {
    color: var(--accent-orange);
}

.mission-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mission-item {
    transform: translateX(10px);
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    border-color: var(--gray-200);
}

.mission-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(193, 255, 114, 0.3);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.mission-text h5 {
    font-size: 18px;
    margin-bottom: 4px;
}

.mission-text p {
    font-size: 15px;
    color: var(--secondary-slate);
    margin: 0;
}

/* Filosofi Logo */
.filosofi-dots {
    bottom: 50px;
    left: 0;
    width: 200px;
    height: 200px;
    -webkit-mask-image: linear-gradient(
        to top right,
        black 20%,
        transparent 90%
    );
    mask-image: linear-gradient(to top right, black 20%, transparent 90%);
}

.logo-display {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.logo-display img {
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(22, 50, 84, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.philosophy-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(22, 50, 84, 0.04);
    border-top: 4px solid var(--primary-dark);
    transition: transform 0.3s;
}

.philosophy-card:hover {
    transform: translateY(-5px);
}

.phil-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.phil-header h4 {
    font-size: 20px;
    font-weight: 800;
}

.philosophy-card p {
    color: var(--secondary-slate);
    font-size: 15px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .vm-layout {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    nav {
        height: 74px;
    }

    .brand-wrapper {
        gap: 12px;
    }

    .nav-logo {
        padding-right: 12px;
    }

    .nav-logo img {
        height: 36px;
    }

    .brand-text h1 {
        font-size: 13px;
    }

    .brand-text span {
        font-size: 11px;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: white;
        border-radius: 20px;
        padding: 15px;
        box-shadow: 0 20px 40px rgba(22, 50, 84, 0.08);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fb;
        border-radius: 12px;
        margin-top: 8px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .section-padding {
        padding: 60px 0;
    }

    .vision-card {
        padding: 32px;
    }

    .vision-card h3 {
        font-size: 20px;
    }

    .vision-card p {
        font-size: 18px;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-text p {
        font-size: 16px;
    }
}
