:root {
    --primary-gradient: linear-gradient(135deg, #00b894 0%, #0984e3 100%);
    --secondary-color: #2d3436;
    --accent-color: #f1c40f;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}
.navbar.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}
.nav-link {
    color: #444 !important;
    font-weight: 500;
    margin: 0 10px;
}
.nav-link:hover {
    color: #00b894 !important;
}
.btn-login {
    background: #f39c12;
    color: white !important;
    font-weight: 600;
    padding: 8px 25px;
    border-radius: 5px;
    transition: 0.3s;
}
.btn-login:hover {
    background: #d35400;
}

/* --- Hero Section --- */
#hero {
    background: var(--primary-gradient);
    padding: 100px 0 150px 0;
    color: white;
    position: relative;
    overflow: hidden;
}
#hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(1.5);
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-weight: 700;
    color: #2d3436;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title .divider {
    width: 60px;
    height: 4px;
    background: #00b894;
    margin: 15px auto;
    border-radius: 2px;
}

/* --- Info Perizinan Cards --- */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 184, 148, 0.2);
    border-color: #00b894;
}
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6fffa;
    border-radius: 50%;
    color: #00b894;
    font-size: 2rem;
}
.service-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

/* --- Link Terkait (Circular) --- */
.link-terkait-section {
    background: #00b894;
    padding: 60px 0;
    color: white;
}
.circle-link {
    background: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.circle-link:hover {
    transform: scale(1.1);
}
.circle-link img {
    max-width: 80px;
}
.link-text {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- FAQ Accordion --- */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 10px !important;
    overflow: hidden;
}
.accordion-button {
    background: white;
    font-weight: 600;
    color: #2d3436;
}
.accordion-button:not(.collapsed) {
    background-color: #e6fffa;
    color: #00b894;
}

/* --- Panduan Cards --- */
.guide-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.guide-card:hover {
    background: #00b894;
    color: white;
}
.guide-card:hover i {
    color: white !important;
}
.guide-icon {
    font-size: 2.5rem;
    color: #0984e3;
    margin-bottom: 15px;
}

/* --- Footer --- */
footer {
    background: #006266;
    color: white;
    padding: 60px 0 20px;
}
.footer-title {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid #00b894;
    display: inline-block;
    padding-bottom: 10px;
}
.map-container iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    border: none;
}

/* --- PDF Viewer Styles --- */
.pdf-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow-y: auto;
}
.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
}

/* --- Gallery / Info Section --- */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
}

/* Biar gambar modal tidak terlalu raksasa di layar besar */
#modalImageDisplay {
    max-height: 85vh; 
    object-fit: contain;
}