/* ========== GLOBAL BASE (MOBILE FIRST) ========== */
* {
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

/* ========== HERO SCROLL INDICATOR ANIMATION ========== */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes floatSlow {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.guidebook-float {
    animation: floatSlow 5.5s ease-in-out infinite;
}

/* ========== CTA BORDER GLOW (ORANGE RING) ========== */

.cta-border-glow {
    position: relative;
    isolation: isolate;
    overflow: visible;
}

.cta-border-glow::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 173, 93, 0.95) 0%, rgba(244, 120, 42, 0.98) 50%, rgba(217, 94, 18, 0.96) 100%);
    opacity: 0;
    z-index: -1;
    filter: drop-shadow(0 0 8px rgba(244, 120, 42, 0.9));
    transition: opacity 0.26s ease;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
}

.cta-border-glow::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    z-index: -2;
    opacity: 0;
    background: radial-gradient(70% 95% at 50% 50%, rgba(244, 120, 42, 0.38) 0%, rgba(244, 120, 42, 0) 74%);
    transition: opacity 0.26s ease;
}

@media (hover: hover) and (pointer: fine) {
    .cta-border-glow:hover::before,
    .cta-border-glow:hover::after {
        opacity: 1;
    }
}

/* ========== FAQ ACCORDION STYLES ========== */
.faq-item {
    background: rgba(255, 255, 255, 0.86);
    border-radius: 18px;
    border: 1px solid rgba(4, 67, 84, 0.12);
    overflow: hidden;
    backdrop-filter: blur(6px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    border-color: rgba(4, 67, 84, 0.25);
    box-shadow: 0 10px 28px rgba(2, 42, 54, 0.08);
}

.faq-item.active {
    background: #044354;
    border-color: #044354;
    box-shadow: 0 12px 32px rgba(2, 42, 54, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.faq-question {
    width: 100%;
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    border: none;
    background: transparent;
    font-weight: 800;
    font-size: 17px;
    color: #023443;
    letter-spacing: 0.01em;
}

.faq-question .chevron {
    transition: transform 0.25s ease;
    color: #044354;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .chevron {
    transform: rotate(180deg);
    color: #ffffff;
}

.faq-item.active .faq-question {
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease, opacity 0.25s ease;
    padding: 0 22px;
    font-weight: 400;
    font-size: 15px;
    color: #4d6470;
    line-height: 1.75;
}

.faq-item.active .faq-answer {
    max-height: 340px;
    opacity: 1;
    padding: 0 22px 20px;
    color: rgba(255, 255, 255, 0.92);
}

/* ========== SHARED TRANSITIONS ========== */
a,
button,
article,
i {
    transition: all 0.25s ease;
}

/* ========== MOBILE MENU SLIDE TRANSITION ========== */
.mobile-overlay {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-overlay.open {
    transform: translateX(0);
}

/* ========== HERO IMAGE CONTROL ========== */
:root {
    --hero-image-shift-mobile: 0px;
    --hero-image-shift-desktop: 0px;
    --hero-image-width-mobile: 340%;
    --hero-image-width-desktop: 106%;
    --hero-image-opacity: 0.98;
    --hero-section-min-height-mobile: 940px;
    --hero-section-min-height-desktop: 980px;
}

#hero {
    min-height: var(--hero-section-min-height-mobile);
}

.hero-image {
    bottom: 0;
    width: var(--hero-image-width-mobile);
    height: auto;
    max-width: none;
    transform: translateX(-50%) translateY(var(--hero-image-shift-mobile));
    object-fit: contain;
    opacity: var(--hero-image-opacity);
    pointer-events: none;
}

/* ========== MODERN HOVER TUNING ========== */
#tentang-kami article:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

#tentang-kami article i,
#tentang-kami article img {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

#tentang-kami article:hover i,
#tentang-kami article:hover img {
    transform: scale(1.04);
}

#navbar-pill nav a:hover {
    transform: none;
}

.mobile-link:hover {
    transform: translateY(-1px);
}

.mobile-overlay-logo {
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
}

.mobile-menu-btn {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.mobile-menu-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.44);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.12) 100%);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

footer a:hover i {
    transform: scale(1.08);
}

.footer-logos {
    flex-wrap: nowrap;
}

/* ========== SECTION-SPECIFIC RESPONSIVE ========== */
#tentang-kami h2 {
    line-height: 1.15;
}

@media (max-width: 767px) {
    #navbar-pill {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mobile-overlay {
        width: 100%;
        max-width: 100%;
    }

    .hero-brand-row {
        bottom: -70px;
    }

    .footer-logos {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .footer-main {
        position: relative;
    }

    .footer-text-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        margin: 0;
    }

    .footer-logos {
        margin-right: auto;
    }

    .footer-main > div:last-child {
        margin-left: auto;
    }
}

#tentang-kami .grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

#tentang-kami article {
    padding: 18px;
}

#tentang-kami article h3 {
    font-size: 18px;
}

#tentang-kami article p {
    font-size: 14px;
    line-height: 1.45;
}

/* Tablet */
@media (min-width: 768px) {
    #hero {
        min-height: var(--hero-section-min-height-desktop);
    }

    .hero-image {
        width: var(--hero-image-width-desktop);
        transform: translateX(-50%) translateY(var(--hero-image-shift-desktop));
    }

    #tentang-kami .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    #tentang-kami article {
        padding: 20px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    #tentang-kami .grid {
        gap: 16px;
    }

    #tentang-kami article {
        padding: 22px;
    }
}
