* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/*NAVBAR*/
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 51, 102, 0.4);
    transition: background 0.4s ease;
}

.navbar.scrolled {
    background: #003366;
}

.container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

/*LOGO*/
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.logo-area img {
    width: 72px;
}

.logo-text span {
    display: block;
    font-size: 14px;
}

.logo-text .small {
    font-size: 12px;
    opacity: 0.9;
}

/* MENU NAV */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 15px;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.6;
}

/*DROPDOWN*/
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 38px;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    z-index: 999;
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #003366;
    font-size: 14px;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: #f1f5f9;
}

/* AKTIF */
.dropdown.active .dropdown-menu {
    display: block;
}


/*HAMBURGER*/
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: white;
    margin: 4px 0;
    border-radius: 3px;
}

/*HOME / HERO*/
.home {
    height: 100vh;
    margin-top: 90px;
    position: relative;
    overflow: hidden;
}

/* SLIDER */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 2s ease, transform 2s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

/* OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 51, 102, 0.55);
}

/* HERO TEXT */
.home-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.home-text.modern {
    background: none;
    max-width: 800px;
}

.home-text h1 {
    font-size: 34px;
    font-weight: 400;
}

.home-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 10px 0;
}

.home-text p {
    font-size: 18px;
    opacity: 0.95;
}

/*SERVICES*/
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 80px 10%;
    background: #f4f7fb;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: #003366;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.service-card h3 {
    color: #003366;
    margin-bottom: 15px;
}

.service-card a {
    display: inline-block;
    margin-top: 15px;
    color: #003366;
    font-weight: 600;
}

/*ABOUT*/
.about-modern {
    padding: 80px 10%;
    background: #f4f7fb;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.about-image img {
    width: 440px;
    max-width: 110%;
    border-radius: 16px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
}

.about-desc {
    max-width: 600px;
}

.about-desc h2 {
    color: #003366;
    font-size: 28px;
    margin-bottom: 15px;
}

.about-desc p {
    color: #333;
    line-height: 1.8;
}

/*VISI DAN MISI*/
.visi-misi-section {
    padding: 80px 10%;
    background: #ffffff;
}

.visi-misi-section .section-title {
    text-align: center;
    font-size: 32px;
    color: #003366;
    margin-bottom: 50px;
    font-weight: 600;
}

.visi-misi-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start; /* ⬅️ penting: tidak dipaksa sama tinggi */
}

/* CARD UMUM */
.visi-card,
.misi-card {
    background: #f8fbff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
    transition: none;
}

/* VISI */
.visi-card {
    border-left: 6px solid #003366;
    text-align: left;
}

.visi-card h3 {
    font-size: 24px;
    color: #003366;
    margin-bottom: 16px;
}

.visi-card p {
    font-size: 16px;
    color: #333;
    line-height: 1.9;
    text-align: justify;
}

/* MISI */
.misi-card {
    border-right: 6px solid #003366;
    text-align: left;
}

.misi-card h3 {
    font-size: 24px;
    color: #003366;
    margin-bottom: 16px;
}

.misi-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.misi-card ul li {
    margin-bottom: 14px;
    color: #333;
    line-height: 1.8;
    text-align: justify;
}

@media (max-width: 900px) {
    .visi-misi-container {
        grid-template-columns: 1fr;
    }

    .visi-card,
    .misi-card {
        border: none;
        text-align: center;
    }

    .visi-card p,
    .misi-card ul li {
        text-align: left;
    }
}


/*WILAYAH KERJA*/
.wilayah-section {
    padding: 90px 10%;
    background: #f8fbff;
}
.wilayah-section .section-title {
    text-align: center;
    font-size: 32px;
    color: #003366;
    margin-bottom: 50px;
    font-weight: 600;
}

.wilayah-container {
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 70px;
}


.wilayah-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.wilayah-image img {
    width: 420px;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}



/* CONTENT */
.wilayah-content {
    flex: 1;
}

.wilayah-content h2 {
    font-size: 32px;
    color: #003366;
    margin-bottom: 25px;
}

/* LIST */
.wilayah-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wilayah-list li {
    font-size: 18px;
    padding: 14px 0;
    border-bottom: 1px solid #e3ebf4;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .wilayah-container {
        flex-direction: column;
        text-align: center;
    }

    .wilayah-content h2 {
        font-size: 28px;
    }

    .wilayah-list li {
        justify-content: center;
    }
}


/*CONTACT*/
.contact-ref {
    position: relative;
    width: 100vw;              
    left: 50%;
    right: 50%;
    bottom: 50%;
    margin-left: -50vw;        
    margin-right: -50vw;
    margin-bottom: -50%;
    background: url("assets/gambar 4.jpeg") center/cover no-repeat;
    color: white;
    overflow-x: hidden;
}

    .contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 40, 0.88);
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: flex-start;

    padding: 80px 8%;          /* atas bawah lebih ramping */
    max-width: 1400px;
    margin: 0 auto;
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-logo {
    width: 90px;
    margin-bottom: 20px;
}

.contact-left h4 {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
}

.contact-left h3 {
    font-size: 18px;
    margin: 5px 0;
}

.contact-left h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

/* KANAN */
.contact-right h2 {
    font-size: 30px;
    margin: 0 0 25px 0; 
}

/* LIST */
.contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.contact-list span {
    font-size: 18px;
    color: #4da3ff;
}

.contact-list p {
    font-size: 15px;
    line-height: 1.6;
}

/* MAP */
.contact-map iframe {
    width: 100%;
    height: 260px;
    border: none;
    border-radius: 10px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}



/*FLOATING BUTTON*/
#wa-float {
    position: fixed;
    bottom: 90px;
    right: 25px;
    z-index: 999;
    transition: transform 0.3s;
}

#wa-float img {
    width: 45px;
}

#wa-float.scrolled {
    transform: scale(1.15);
}

#scrollTop {
    position: fixed;
    bottom: 25px;
    right: 32px;

    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;

    background: #ffffff;
    color: #555;
    font-size: 20px;
    cursor: pointer;

    display: none;
    z-index: 9999;
    opacity: 1 !important;

    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: #003366;
        flex-direction: column;
        display: none;
        padding: 20px 0;
    }

    .nav-menu.show {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        background: #004080;
        box-shadow: none;
    }

    .dropdown-menu a {
        color: white;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .visi-misi-container {
        grid-template-columns: 1fr;
    }
}