* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --cream: #FAF7F2;
    --deep: #1C2B2D;
    --forest: #2D5A3D;
    --sage: #7A9E7E;
    --terracotta: #C4622D;
    --amber: #E8A838;
    --alam: #2ecc71;
    --hewan: #f39c12;
    --kuliner: #e74c3c;
    --edukasi: #3498db;
}
/* Header dan Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(28, 43, 45, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s ease, transform 0.3s ease;
}

header.solid {
    background: rgba(18, 26, 33, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 14px 6%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.logo img {
    width: 44px;
    height: auto;
}

nav {
    flex: 1;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    align-items: center;
    justify-content: center;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.25s ease;
}

nav ul li a:hover {
    color: var(--amber);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-primary-header,
.btn-login-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary-header {
    background: linear-gradient(135deg, var(--terracotta), var(--amber));
    color: #fff;
    padding: 10px 18px;
    font-size: 13px;
    border: 1px solid transparent;
    box-shadow: 0 12px 30px rgba(228, 157, 62, 0.18);
}

.btn-primary-header:hover {
    transform: translateY(-1px);
}

.btn-login-nav {
    color: #fff;
    background: rgba(255,255,255,0.1);
    padding: 10px 18px;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.16);
}

.btn-login-nav:hover {
    background: rgba(255,255,255,0.16);
}

.profile-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: auto;
    width: auto;
    padding: 8px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-trigger:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.28);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.profile-trigger.active {
    background: rgba(255,255,255,0.12);
    border-color: var(--amber);
}

.profile-trigger::after {
    content: "\25BE";
    font-size: 10px;
    color: rgba(255,255,255,0.75);
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.profile-trigger.active::after {
    transform: rotate(180deg);
    color: var(--amber);
}

.profile-info {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
    max-width: 120px;
}

.p-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-role {
    font-size: 10px;
    color: rgba(255,255,255,0.65);
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

.user-avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--terracotta), var(--amber));
    font-weight: 700;
    font-size: 13px;
    border: 2px solid rgba(255,255,255,0.14);
    flex-shrink: 0;
}

.dropdown-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    background: rgba(18, 26, 33, 0.98);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    padding: 8px 0;
    backdrop-filter: blur(20px);
    z-index: 10000;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.profile-dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-header {
    padding: 12px 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.10);
    color: var(--amber);
    transform: translateX(4px);
}

.dropdown-content a.logout-item {
    color: #ff7b72;
}

.dropdown-content a.logout-item:hover {
    background: rgba(255,123,114,0.12);
    color: #ffcec4;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 8px 0;
}

.logout-link {
    color: #ff7b72 !important;
}

/* Hero Section */
/* Hero Background Slideshow */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10;
    pointer-events: none;
}

.hero-background .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-background .slide.active {
    opacity: 1;
}

.hero-background .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* TAMBAHKAN INI di bagian Hero untuk teks yang lebih terbaca */
h1 {
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* TAMBAHKAN INI agar transisi antar section halus */
html {
    scroll-behavior: smooth;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Tablet & Medium Devices (768px) */
@media (max-width: 768px) {
    /* Header Navigation */
    .hamburger {
        display: flex !important; /* Munculkan ikon hamburger */
        z-index: 1001;
    }

    .profile-trigger {
        min-width: auto;
        padding: 8px 12px;
        gap: 8px;
    }

    .profile-info {
        display: none;
    }

    .user-avatar-circle {
        width: 32px;
        height: 32px;
    }

    .dropdown-content {
        right: 0;
        left: auto;
        min-width: 200px;
    }
    
    nav {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(28, 43, 45, 0.98);
        width: 250px;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 80px 20px;
        z-index: 999;
        display: flex !important;
    }
    
    nav.active {
        left: 0; /* Muncul saat diklik */
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    .team-grid {
        grid-template-columns: 1fr; /* Jadi 1 kolom di HP */
    }
    
    .team-card:first-child {
        grid-column: 1; 
        max-width: 100%;
    }
    
    .btn-primary-header {
        display: none;
    }
    
    .header-container {
        padding: 15px 5%;
    }
    
    .logo img {
        width: 40px;
        margin-right: 8px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    /* Hero Section */
    h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .badge-top {
        font-size: 11px;
        padding: 4px 15px;
        margin-bottom: 15px;
    }
    
    .content {
        padding-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* CTA Buttons */
    .cta-buttons {
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn-main,
    .btn-outline {
        margin-right: 0;
        padding: 12px 25px;
        width: 100%;
        max-width: 280px;
        font-size: 14px;
    }
    .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}
    
    /* Stats */
    .stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-item h2 {
        font-size: 28px;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    /* Sections */
    section {
        padding: 60px 5%;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    /* Card Grid */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        border-radius: 15px;
    }
    
    .card-header {
        height: 180px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .card-body h3 {
        font-size: 18px;
    }
    
    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .cat-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .cat-icon {
        width: 60px;
        height: 60px;
    }
    
    /* About Section */
    .about {
        padding: 60px 5%;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-card:first-child {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    
    .team-card {
        padding: 25px 15px;
    }
    
    .team-image-wrapper {
        height: 180px;
    }
    
    .team-icon {
        font-size: 40px;
        margin-bottom: 10px;
    }
    
    .team-card h2 {
        font-size: 14px;
        margin: 10px 0 3px 0;
    }
    
    .team-card h4 {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .team-card p {
        font-size: 12px;
    }
    
    /* Map Container */
    #map-container {
        height: 400px;
        width: 95%;
        border-radius: 15px;
        border: 2px solid rgba(46, 204, 113, 0.5);
    }
    
    .map-container-mockup {
        padding: 10px;
        border-radius: 20px;
        margin-top: 20px;
    }
}

/* Mobile Kecil (480px dan lebih kecil) */
@media (max-width: 480px) {
    .header-container {
        padding: 12px 4%;
    }
    
    .logo img {
        width: 35px;
        margin-right: 6px;
    }
    
    .logo {
        font-size: 14px;
    }
    
    .logo span strong {
        display: block;
    }
    
    /* Hero */
    .hero {
        height: 90vh;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .badge-top {
        font-size: 10px;
        padding: 3px 12px;
        margin-bottom: 12px;
    }
    
    .content {
        padding-top: 15px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* CTA Buttons */
    .cta-buttons {
        margin-bottom: 30px;
        gap: 12px;
    }
    
    .btn-main,
    .btn-outline {
        padding: 10px 20px;
        max-width: 100%;
        font-size: 13px;
    }
    
    /* Stats */
    .stat-item h2 {
        font-size: 24px;
    }
    
    .stat-item p {
        font-size: 12px;
    }
    
    /* Section */
    section {
        padding: 50px 4%;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 5px;
    }
    
    .section-subtitle {
        font-size: 13px;
        margin-bottom: 30px;
    }
    
    /* Card */
    .card {
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    
    .card:hover {
        transform: translateY(-5px);
    }
    
    .card-header {
        height: 160px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .card-body h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .card-body p {
        font-size: 13px;
    }
    
    .location {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .btn-detail {
        padding: 10px;
        font-size: 13px;
    }
    
    .category-tag,
    .rating-tag {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    /* Category Grid */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cat-card {
        padding: 25px 15px;
        border-radius: 15px;
    }
    
    .cat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .cat-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .cat-card p {
        font-size: 12px;
    }
    
    .cat-card img {
        width: 70px;
        height: 50px;
    }
    
    /* About */
    .about {
        padding: 50px 4%;
    }
    
    .about-text {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .team-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .team-card:first-child {
        grid-column: 1;
        max-width: 100%;
        margin: 0;
    }
    
    .team-card {
        padding: 20px 12px;
        border-radius: 15px;
    }
    
    .team-image-wrapper {
        height: 150px;
        margin-bottom: 15px;
    }
    
    .team-icon {
        font-size: 35px;
        margin-bottom: 8px;
    }
    
    .team-card h2 {
        font-size: 13px;
        margin: 8px 0 3px 0;
    }
    
    .team-card h4 {
        font-size: 11px;
        margin-bottom: 5px;
    }
    
    .team-card p {
        font-size: 11px;
    }
    
    /* Map */
    #map-container {
        height: 300px;
        width: 98%;
        border-radius: 12px;
        border: 2px solid rgba(46, 204, 113, 0.5);
        margin: 15px auto;
    }
    
    .map-placeholder {
        border-radius: 10px;
    }
    
    .map-container-mockup {
        padding: 8px;
        border-radius: 15px;
        margin-top: 15px;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 4%;
    }
    
    .footer-section h4 {
        font-size: 16px;
    }
}

.content { z-index: 10; padding-top: 50px; }

.badge-top {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 20px;
}

h1 { font-size: 55px; line-height: 1.1; margin-bottom: 20px; }
h1 span { color: var(--amber); }

p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; }

.cta-buttons { margin-bottom: 60px; }

.btn-main {
    background: linear-gradient(135deg, var(--terracotta), var(--amber));
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 15px;
    display: inline-block;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    display: inline-block;
}

/* Stats Styling */
.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.stat-item h2 { font-size: 32px; color: white; }
.stat-item p { font-size: 14px; margin-top: 5px; color: rgba(255,255,255,0.5); }

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
/* Kontainer utama untuk memberikan jarak dan efek highlight */
#map-container {
    position: relative;
    height: calc(100vh - 100px); /* Beri sedikit jarak dari bawah */
    width: 90%; /* Peta tidak full agar terlihat menonjol */
    margin: 20px auto; /* Ketengah secara otomatis */
    border-radius: 20px; /* Sudut membulat sesuai desain mockup */
    overflow: hidden;
    
    /* Efek Highlight: Border dan Shadow */
    border: 3px solid rgba(46, 204, 113, 0.5); /* Garis tepi hijau transparan */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4); /* Bayangan dalam agar peta terlihat "keluar" */
    transition: transform 0.3s ease;
}

/* Tambahkan efek hover agar peta terasa interaktif */
#map-container:hover {
    transform: scale(1.01); /* Peta sedikit membesar saat diarahkan mouse */
    border-color: var(--amber); /* Border berubah jadi oranye saat hover */
}

#map { 
    height: 100%; 
    width: 100%; 
    background-color: var(--deep); /* Warna dasar gelap sebelum basemap dimuat */
}

/* Background halaman map agar peta lebih kontras */
body {
    background-color: var(--deep); /* Warna biru gelap sesuai tema footer/hero */
}
/* GLOBAL UTILITIES */
section { padding: 80px 8%; text-align: center; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 36px; margin-bottom: 10px; color: var(--deep); }
.section-title span { color: var(--amber); }
.section-title.white { color: white; }
.section-subtitle { color: #666; margin-bottom: 50px; }
.section-subtitle.white { color: rgba(255,255,255,0.7); }

.badge-center { background: rgba(232,168,56,0.15); color: var(--amber); padding: 5px 15px; border-radius: 20px; font-size: 12px; display: inline-block; margin-bottom: 15px; }
.badge-center-orange { background: rgba(232,168,56,0.2); color: var(--amber); padding: 5px 15px; border-radius: 20px; font-size: 12px; display: inline-block; margin-bottom: 15px; }

/* REKOMENDASI CARD */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; }
.card:hover { transform: translateY(-10px); }
.card-header { height: 200px; position: relative; display: flex; align-items: center; justify-content: center; }
.blue-bg { background: var(--forest); }
.card-header img { width: 100%; height: 100%; object-fit: cover; }
.category-tag { position: absolute; top: 15px; left: 15px; background: rgba(255,255,255,0.2); color: white; padding: 5px 12px; border-radius: 15px; font-size: 11px; backdrop-filter: blur(5px); }
.rating-tag { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.2); color: white; padding: 5px 12px; border-radius: 15px; font-size: 11px; }
.card-body { padding: 25px; text-align: left; }
.card-body h3 { font-size: 20px; margin-bottom: 10px; color: var(--deep); }
.card-body p { font-size: 14px; color: #777; line-height: 1.6; margin-bottom: 15px; }
.location { font-size: 13px; color: var(--terracotta); margin-bottom: 20px; }
.btn-detail { display: block; text-align: center; background: linear-gradient(135deg, var(--forest), var(--sage)); color: white; text-decoration: none; padding: 12px; border-radius: 10px; font-weight: bold; font-size: 14px; }

/* MAP PREVIEW SECTION */
.map-preview { background: var(--deep); }
/* Container Mockup dengan Efek Cahaya */
.map-container-mockup {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 30px;
    /* Efek Glow Hijau sesuai Gambar */
    box-shadow: 0 0 40px rgba(46, 204, 113, 0.4), 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    overflow: hidden;
}

.map-placeholder {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #1a2a44;
    border: 3px solid #2ecc71; /* Garis hijau menyala */
}

/* Mematikan interaksi di halaman index agar user bisa scroll halaman dengan nyaman */
.map-placeholder iframe {
    pointer-events: none; /* User tidak bisa geser peta di sini, harus klik tombol 'Buka Peta' */
    transform: scale(1.0); /* Bisa diatur misal 1.1 jika ingin zoom manual */
}

.map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.dot { height: 10px; width: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.dot.red { background: #e74c3c; }
.dot.yellow { background: #f1c40f; }
.dot.blue { background: #3498db; }

/* CATEGORY SECTION */
.recommendation { background: var(--cream); } /* Warna krem sesuai tema */
.category { background: var(--cream); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.cat-card { background: white; padding: 40px 30px; border-radius: 25px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: 0.3s; }
.cat-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.cat-icon { width: 70px; height: 70px; border-radius: 20px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.green-grad { background: linear-gradient(135deg, var(--alam), rgba(46,204,113,0.7)); }
.yellow-grad { background: linear-gradient(135deg, var(--hewan), rgba(243,156,18,0.7)); }
.purple-grad { background: linear-gradient(135deg, var(--edukasi), rgba(52,152,219,0.7)); }
.orange-grad { background: linear-gradient(135deg, var(--kuliner), rgba(231,76,60,0.7)); }
.cat-card h3 { font-size: 18px; margin-bottom: 12px; }
.cat-card p { font-size: 13px; color: #888; margin-bottom: 20px; min-height: 40px; }
.cat-card img { width: 90px; height: 70px; object-fit: contain; }
.link-jelajahi { color: var(--amber); text-decoration: none; font-weight: bold; font-size: 14px; }

/* Container utama untuk kartu */
.top-picks {
    width: 100%;
    padding: 60px 0;
    overflow: visible; /* Penting: jangan di-hidden */
}

/* Row ini harus fleksibel dan berada di tengah */
.top-row {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100vw; /* Tidak boleh lebih dari lebar layar browser */
}
/* Grid Kartu */
#topi-container {
        display: flex;
            flex-direction: row;
            flex-wrap: nowrap;      /* Tetap satu baris */
            gap: 20px;
            width: 400%;             /* Beri sedikit ruang di pinggir layar */
            max-width: 1200px;      /* Batas lebar maksimal di monitor besar */
            justify-content: center;
            align-items: stretch;
            box-sizing: border-box;
        }

/* Gaya Kartu (rec-card) */
.rec-card {
    flex: 1; /* Kartu membagi ruang yang tersedia */
    min-width: 300px; /* Lebar minimum agar konten tidak gepeng */
    max-width: 380px; /* Lebar maksimal agar tidak terlalu lebar */
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px; /* Jarak jika kartu turun ke bawah */
}

/* ABOUT SECTION */
.about {
    background: linear-gradient(135deg, var(--deep), var(--forest));
    padding: 100px 8%;
}

.about-content {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 50px;
}

.about .section-title {
    color: white;
}

.about .section-title span {
    color: var(--amber);
}

.about .badge-center {
    background: rgba(232,168,56,0.15);
    color: var(--amber);
}

.team-section {
    margin-top: 70px;
}

.team-title {
    font-size: 32px;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.team-card:first-child {
    grid-column: 2 / 5;
    grid-row: 1;
    max-width: 250px;
    margin: 0 auto;
}

.team-card:nth-child(n+2) {
    grid-row: 2;
}

.team-card {
    background: rgba(255,255,255,0.08);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.team-image-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #e0e0e0;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-icon {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
}

.pm-icon { color: #3498db; }
.uiux-icon { color: #e74c3c; }
.frontend-icon { color: #2ecc71; }
.qe-icon { color: #f39c12; }
.gis-icon { color: #9b59b6; }
.deploy-icon { color: #e67e22; }

.team-card h2 {
    font-size: 16px;
    color: white;
    margin: 15px 0 5px 0;
    font-weight: 700;
}

.team-card h4 {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    font-weight: 600;
}

.team-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}
@media (max-width: 768px) {
    /* Setingan awal menu (tersembunyi di kiri) */
    #nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        width: 250px;
        height: 100vh;
        background: #1C2B2D; /* Warna --deep Anda */
        transition: 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        padding: 80px 20px;
        z-index: 999;
    }

    /* Ketika hamburger diklik, class active aktif dan menu bergeser ke kanan */
    #nav-menu.active {
        left: 0;
    }

    /* Animasi icon Hamburger menjadi silang (X) saat diklik */
    #hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
    }

    #hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #FAF7F2; /* Warna --cream Anda */
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    #hamburger.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    #hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    #hamburger.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }
}