/* 1. Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top right, #1a0b2e, #0a0514);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 2. Navbar Styling */
.navbar {
    position: fixed; /* Kunci navbar di atas layar saat discroll */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Pastikan selalu berada di paling depan */
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%; /* Sedikit dikurangi padding atas-bawahnya biar ga terlalu tebal */
    
    /* --- EFEK KACA BLUR (Glassmorphism) --- */
    background-color: rgba(13, 10, 20, 0.75); /* Hitam transparan mengikuti warna logo lu */
    backdrop-filter: blur(12px); /* Efek blur kaca di belakang navbar */
    -webkit-backdrop-filter: blur(12px); /* Support untuk browser Safari */
    
    /* Opsional: Garis pembatas tipis di bawah biar makin rapi */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    
    transition: all 0.3s ease; /* Transisi mulus */
}

.logo-img {
    height: 65px; /* Atur besar logo */
}


/* --- GAYA IKON BURGER NORMAL (Sembunyi di PC) --- */
.menu-toggle {
    display: none; /* Balikin ke default: sembunyi di layar gede */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 9999; /* Biar selalu di atas pas menu terbuka */
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 5px;
    transition: 0.3s ease;
}

/* --- TAMPILAN KHUSUS HP (Mobile Responsive) --- */
@media screen and (max-width: 768px) {
    /* 1. Atur navbar jadi flexbox biar bisa diurutin posisinya */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* 2. Logo di kiri (Urutan 1) */
    .logo {
        order: 1;
    }

    /* 3. Sosmed tetep muncul, didorong ke kanan (Urutan 2) */
    .social-icons {
        display: flex !important; /* Paksa muncul */
        order: 2;
        margin-left: auto; /* Kunci: dorong elemen ke kanan */
        gap: 15px;
    }

    /* 4. Ikon Burger di pojok kanan setelah sosmed (Urutan 3) */
    .menu-toggle {
        display: flex !important; /* Paksa muncul burgernya */
        order: 3;
        margin-left: 20px; /* Jarak burger dengan sosmed */
        z-index: 9999; /* Pastiin burger selalu di depan */
    }

    /* --- 5. BENTUK MENU ISI NAVBAR (Dropdown) --- */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Sembunyi di kanan layar */
        width: 180px; 
        height: 100vh; 
        background-color: rgba(13, 10, 20, 0.95); 
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center;
        transition: 0.4s ease-in-out; 
        z-index: 9998; /* Di bawah ikon burger */
        margin: 0;
        padding: 0;
    }

    /* Class yang ditambahin pas burger diklik */
.nav-links.active {
        right: 0 !important; 
        left: 0 !important; /* Kita paksa penuhin layar dari kiri ke kanan */
        background-color: radial-gradient(circle at top right, #1a0b2e, #0a0514)!important; /* WARNA MERAH BIAR KELIHATAN JELAS */
        z-index: 999999 !important; /* Paksa ke paling depan ngelewatin apapun */
        display: flex !important;
    }

    .nav-links li {
        list-style: none;
        margin: 25px 0; 
    }
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
}

/* Container buat deretan icon */
.social-icons {
    display: flex;
    align-items: center;
    gap: 20px; /* Jarak antar icon */
}

/* Hilangin margin-left yang lama, kita pake gap aja */
.social-icons a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Styling buat gambar/logo iconnya */
.social-icons img {
    width: 22px; /* Ukuran iconnya */
    height: 22px;
    filter: invert(1); /* Bikin iconnya jadi warna putih */
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Efek pas disorot mouse (hover) */
.social-icons a:hover img {
    opacity: 1;
    transform: scale(1.1); /* Efek membesar dikit */
}

/* --- PERUBAHAN WARNA SAAT LIGHT MODE AKTIF --- */

/* 1. Ubah Burger Menu (Garis-garisnya) jadi Hitam */
body.light-mode .menu-toggle .bar {
    background-color: #000000 !important;
}

/* 2. Ubah Ikon Sosial Media jadi Hitam */
/* Karena lu pake filter: invert(1) buat mutihin, kita balikin ke 0 buat itemin */
body.light-mode .social-icons img {
    filter: invert(0) !important; 
    opacity: 1;
}

/* 3. Ubah Nav Links (Teks Menu) jadi Hitam (Opsional tapi biasanya perlu) */
body.light-mode .nav-links a {
    color: #000000 !important;
}

/* 4. Background Menu Dropdown pas di HP biar nggak gelap terus */
@media screen and (max-width: 768px) {
    body.light-mode .nav-links {
        background-color: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px);
    }
}


/* 3. Hero Section Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2%;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 100px;
    padding-bottom: 100px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content p {
    color: #b0b0b0;
    max-width: 450px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* 4. Button Styling */
.btn-roblox {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #b31d1d 0%, #7a1212 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.btn-roblox:hover {
    transform: scale(1.05);
}

/* 5. Visuals & Images */
.hero-visuals {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-card {
    width: 300px;
    height: 380px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.small-card {
    position: absolute;
    bottom: -20px;
    right: 30px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}



.img-placeholder {
    width: 120%;
    height: auto;
    object-fit: contain;
}




/* 6. Animations */
.floating {
    animation: float 5s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* 7. Decoration Elements */
.glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(100, 50, 200, 0.2);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 1;
}


/* 8. Collaboration Section Styling */
.collab-section {
    padding: 15px 0;
    background: transparent; /* Ikut warna body */
}

.stats-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
}

/* Styling Member Count (Pojok Kiri Atas Section) */
.member-count {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px; /* Jarak antara Tombol dan Angka 3000+, atur sesukamu */
}

.stats-text h2 {
    font-size: 30px;
    font-weight: 1000;
    margin: 0; 
    line-height: 1.1;
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #0a0514;
    margin-left: -15px; /* Efek tumpuk */
    background: #444; /* Placeholder */
}

.avatar:first-child { margin-left: 0; }

.stats-text h2 {
    font-size: 60px;
    font-weight: 1000;
    margin: 0; /* Tambahkan ini */
    line-height: 1; /* Biar tinggi barisnya pas seukuran teks */
}

.stats-text p {
    font-size: 12px;
    color: #a0a0a0;
    margin: 0;
}

/* Tulisan COLLABORATED WITH (Tengah) */
.collab-title p {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #888;
    margin-top: 10px;
}

/* Grid Logo */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* 8 logo per baris */
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.logo-item {
    width: 100%;
    max-width: 120px;
    filter: grayscale(1) brightness(1.5); /* Bikin logo agak putih/abu-abu agar seragam */
    opacity: 0.7;
    transition: 0.3s;
}

.logo-item:hover {
    filter: grayscale(0) brightness(1); /* Warna asli pas di-hover */
    opacity: 1;
}

.logo-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Mobile Responsive untuk Logo */
@media (max-width: 1024px) {
    .logo-grid { grid-template-columns: repeat(4, 1fr); }
    .member-count { position: static; margin-bottom: 30px; }
}

@media (max-width: 600px) {
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
}



/* 9. About Us Styling - ROMBAK TOTAL */
.about-section {
    padding: 100px 0;
    background: transparent;
    overflow: hidden; /* Biar gambar gak luber keluar layar */
}

.about-header-left {
    display: flex;
    justify-content: flex-start; /* Pastikan dia di kiri */
    margin-bottom: 40px; /* Jarak ke konten avatar & teks di bawahnya */
    padding-left: 20px; /* Opsional: Biar nggak terlalu mepet pinggir layar */
}

.about-main-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 80px;
    letter-spacing: -1px;
}

.about-content-grid {
    display: flex;
    align-items: center; /* Sejajarin tengah vertikal */
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- SISI KIRI: AVATAR GROUP (OVERLAP STYLE) --- */
.about-avatars {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.avatar-row {
    display: flex;
    align-items: flex-end;
    position: relative;
}

.avatar-item {
    position: relative;
    /* Kunci lebar di sini biar gak kegedean */
    width: 180px; 
    /* Rahasia numpuk: margin kanan minus */
    margin-right: -80px; 
    transition: all 0.3s ease;
}

.avatar-item:last-child {
    margin-right: 0;
}

.avatar-item img {
    width: 150%; /* Ngikutin lebar avatar-item */
    height: auto;
    display: block;
    filter: drop-shadow(10px 0 20px rgba(0,0,0,0.5));
}

/* Atur tumpukan: semakin kanan semakin depan */
.item-1 { z-index: 1; }
.item-2 { z-index: 2; }
.item-3 { z-index: 3; }
.item-4 { z-index: 4; }

/* Efek pas disorot mouse */
.avatar-item:hover {
    transform: translateY(-20px) scale(1.1);
    z-index: 10;
}

/* --- SISI KANAN: TYPOGRAPHY --- */
.about-text {
    flex: 1;
}

.tagline-red {
    color: #ff3e3e;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.about-subheading {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.about-para {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* STATS */
.about-stats {
    display: flex;
    gap: 50px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item p {
    color: #888;
    font-size: 0.9rem;
}

/* --- UPDATE MOBILE RESPONSIVE --- */
@media (max-width: 968px) {
    .about-content-grid {
        flex-direction: column; /* Teks di atas, Avatar di bawah */
        text-align: center;
    }

    .about-text {
        order: 1;
    }

    .about-subheading {
        font-size: 2.2rem;
        max-width: 100%;
    }

    .about-stats {
        justify-content: center;
        gap: 30px;
    }

    .about-avatars {
        order: 2;
        margin-top: 60px;
        width: 100%;
    }

    .avatar-item {
        width: 120px; /* Perkecil di HP */
        margin-right: -50px;
    }
}


/* 10. Statistics Styling (Di bawah About Us) */
.about-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 3.5rem; /* Ukuran angka besar */
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    color: #ffffff;
}

.stat-item p {
    color: #a0a0a0;
    font-size: 0.95rem;
    max-width: 200px;
    line-height: 1.4;
}

/* 11. Development Studio Styling */
.dev-section {
    padding: 100px 0;
    background: transparent;
}

.dev-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px; /* Jarak antara teks dan gambar */
}

.dev-content {
    flex: 1.2;
}

.dev-heading {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.dev-para {
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.dev-stats {
    display: flex;
    gap: 60px;
}

.dev-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Placeholder agar tidak mepet saat gambar belum ada */
.visual-placeholder {
    width: 100%;
    max-width: 450px;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}

/* Mobile Responsive untuk Development Section */
@media (max-width: 968px) {
    .dev-wrapper {
        flex-direction: column;
        text-align: left;
        gap: 50px;
    }

    .dev-image {
        order: 2; /* Gambar di bawah teks saat di HP */
        width: 100%;
    }

    .dev-content {
        order: 1;
    }

    .dev-heading {
        font-size: 2.5rem;
    }

    .dev-stats {
        flex-direction: column;
        gap: 30px;
    }
}

/* 12. Projects Section Styling */
.projects-section {
    padding: 100px 0;
    text-align: center;
}

.projects-main-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
}

.projects-main-title span {
    color: #ff3e3e; /* Warna merah sesuai desain */
}

/* Wrapper Slider */
.projects-slider-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    gap: 20px;
}

.projects-grid {
    display: flex;
    gap: 25px;
    overflow-x: auto; /* Supaya bisa di-scroll di HP */
    padding: 20px 0;
    scroll-behavior: smooth;
}

/* Sembunyikan scrollbar tapi tetap bisa scroll */
.projects-grid::-webkit-scrollbar {
    display: none;
}

/* Kartu Project */
.project-card {
    min-width: 280px; /* Ukuran lebar kartu */
    text-align: left;
    transition: transform 0.3s ease;
}

.project-thumb {
    width: 100%;
    aspect-ratio: 16/9; /* Rasio gambar kotak memanjang */
    background: #222;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card:hover .project-thumb img {
    transform: scale(1.1);
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.project-info p {
    color: #888;
    font-size: 0.9rem;
}

/* Tombol Slider */
.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    z-index: 5;
}

.slider-btn:hover {
    background: #ff3e3e;
}

/* Dots Pagination */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #444;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #fff;
    width: 20px; /* Bikin titik aktif jadi lonjong sedikit */
    border-radius: 10px;
}


/* 13. Why Choose Us Styling (REVISI) */
.benefits-section {
    padding: 100px 0;
    text-align: center;
}

.benefits-main-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 70px;
}

.benefits-main-title span {
    color: #ff3e3e;
}

.benefits-grid {
    display: grid;
    /* MAKSA 4 KOLOM DI DESKTOP */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    padding: 0 10px;
}

.benefit-card {
    /* Warna background lebih gelap & solid dikit biar teks kebaca */
    background: rgba(15, 10, 25, 0.6); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 30px; /* Sudut lebih bulat sesuai gambar */
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    
    /* Trik biar kartunya tinggi memanjang */
    min-height: 400px; 
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: #ff3e3e;
    background: rgba(20, 15, 30, 0.8);
    box-shadow: 0 10px 30px rgba(255, 62, 62, 0.1);
}

.benefit-icon {
    margin-bottom: 30px;
    display: inline-block;
}

.benefit-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.benefit-card p {
    color: #a0a0a0;
    font-size: 1rem;
    line-height: 1.6;
}

/* RESPONSIVE: Tablet jadi 2 baris, HP jadi 1 baris */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Kolom di Tablet */
    }
}

@media (max-width: 768px) {
    .benefits-main-title {
        font-size: 2.2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr; /* 1 Kolom tumpuk di HP */
        gap: 20px;
    }
    
    .benefit-card {
        min-height: auto; /* Di HP nggak usah dipaksa tinggi */
    }
}



/* 14. Partners Section Styling */
.partners-section {
    padding: 80px 0;
    text-align: center;
}

.partners-tagline {
    color: #b0b0b0; /* Abu-abu agak terang */
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 50px;
    display: inline-block;
}

/* Grid Logo Partner */
.partners-grid {
    display: grid;
    /* Membuat 6 kolom otomatis di layar lebar */
    grid-template-columns: repeat(6, 1fr); 
    gap: 40px;
    align-items: center; /* Logo vertikal center */
    margin-bottom: 60px;
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px; /* Tinggi area logo */
    opacity: 0.8;
    transition: 0.3s;
}

/* Placeholder biar kelihatan kotaknya kalau gambar belum ada */
.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Filter sementara biar logo hitam putih, hapus kalau mau berwarna */
    /* filter: grayscale(100%); */ 
}

.partner-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Wrapper Tombol Tengah */
.partners-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Tombol Merah (Reuse class cta-button atau buat baru) */
.cta-button {
    background: linear-gradient(90deg, #d32f2f, #ff3e3e);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 62, 62, 0.4);
}

/* Responsif */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 kolom di Tablet */
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 kolom di HP besar */
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolom di HP kecil */
    }
}



/* 15. Team Section Styling */
.team-section {
    padding: 100px 0;
    text-align: center;
}

.team-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
}

.team-title span {
    color: #ff3e3e;
}

/* Grid Layout 6 Kolom */
.team-grid {
    display: flex;
    flex-wrap: wrap; /* Biar kalau kepenuhan, dia turun ke bawah */
    justify-content: center; /* Ini yang bikin 2 sisa di bawah rata tengah */
    gap: 20px; /* Jarak antar profil, lu bisa atur sendiri pasnya berapa */
}

.team-card {
    width: calc(100% / 6 - 20px); /* Kalo mau 6 sebaris. Kurangin angka gap-nya. */
    min-width: 150px; /* Biar ga terlalu kecil di HP */
    max-width: 200px;
    /* ... sisa kodingan .team-card lu sebelumnya biarin aja ... */
}

.team-card:hover {
    transform: translateY(-10px);
}

/* Background Avatar (Ungu Gelap) */
.team-avatar {
    width: 100%;
    aspect-ratio: 1/1; /* Kotak presisi */
    background: #1a1528; /* Warna ungu gelap sesuai gambar */
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Supaya avatar muncul dari bawah */
}

.team-avatar img {
    width: 85%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.team-card:hover .team-avatar img {
    transform: scale(1.1); /* Efek zoom pas hover */
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.role {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Social Icons */
.team-socials {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.icon-svg {
    width: 18px;
    height: 18px;
    filter: invert(1); /* Memutihkan icon hitam */
    opacity: 0.6;
    transition: 0.3s;
}

.team-socials a:hover .icon-svg {
    opacity: 1;
    transform: scale(1.2);
}

/* RESPONSIVE: Biar di HP dan Tablet tetep rapi */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 kolom di layar medium */
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 kolom di Tablet */
        gap: 20px;
    }
    
    .team-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolom di HP */
    }
}

/* 16. FAQ Section Styling */
.faq-section {
    padding: 100px 0;
    text-align: center;
}

.faq-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
}

.faq-title span {
    color: #ff3e3e;
}

/* Wrapper Kotak Besar */
.faq-wrapper {
    max-width: 800px; /* Batasi lebar biar enak dibaca */
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:last-child {
    border-bottom: none; /* Hilangkan garis di item terakhir */
}

/* Bagian Judul (Tombol) */
.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-align: left;
}

/* Panah */
.faq-arrow {
    color: #fff;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

/* Class active untuk memutar panah */
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* Bagian Jawaban (Hidden Default) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 30px 25px 30px;
    text-align: left;
    color: #b0b0b0;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsif HP */
@media (max-width: 768px) {
    .projects-main-title {
        font-size: 2rem;
    }
    .slider-btn {
        display: none; /* Sembunyikan tombol panah di HP, cukup swipe */
    }
}


/* 17. CTA Section Styling (Update dengan Background Blur) */
/* 17. CTA Section Styling (Update Tema Hitam-Merah) */
.cta-section {
    position: relative;
    padding: 140px 0; /* Sedikit ditambah paddingnya biar lega */
    text-align: center;
    /* Kita hapus background-image dari sini dan pindah ke ::before */
    background-color: #0f0a1e; 
    overflow: hidden; /* Penting biar blurnya gak bocor keluar area */
}

/* Pseudo-element untuk Gambar Blur */
.cta-section::before {
    content: "";
    position: absolute;
    /* Kita tarik sedikit keluar (negatif margin) biar pinggiran blur gak kelihatan putih */
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    /* Ganti URL ini sesuai nama file gambar kolase yang lo simpan */
    background-image: url('roblox-collage.jpeg'); 
    background-size: cover;
    background-position: center;
    /* INI KUNCINYA: Efek Blur */
    filter: blur(12px) brightness(0.6); /* Blur 12px dan digelapin dikit (0.6) */
    z-index: 0; /* Paling belakang */
}

/* --- INI KUNCINYA: Lapisan Gelap (Overlay) Tema Hitam Merah --- */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradien ungu gelap transparan biar makin dramatis */
    background: linear-gradient(to bottom, rgba(15, 10, 30, 0.7), rgba(15, 10, 30, 0.9));
    z-index: 1; /* Di atas gambar blur */
}

/* Konten Teks & Tombol (Tidak perlu diubah, tapi pastiin ini ada) */
.cta-section .container {
    position: relative;
    z-index: 2; /* Paling depan */
    max-width: 700px;
}

.cta-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5); /* Tambah bayangan teks biar makin pop-up */
}

.cta-title span {
    color: #ff3e3e;
}

.cta-text {
    font-size: 1.2rem;
    color: #d0d0d0; /* Warna teks agak terang dikit */
    margin-bottom: 40px;
    font-weight: 500;
}

/* Tombol CTA */
.cta-section .cta-button {
    font-size: 1.1rem;
    padding: 15px 45px;
    box-shadow: 0 10px 30px rgba(255, 62, 62, 0.3); /* Bayangan merah di tombol */
}
/* Responsif */
@media (max-width: 768px) {
    .cta-section {
        padding: 100px 0;
    }
    .cta-title {
        font-size: 2.8rem;
    }
    .cta-text {
        font-size: 1rem;
        padding: 0 20px;
    }
}


/* 18. Footer Styling */
.site-footer {
    background-color:radial-gradient(circle at top right, #1a0b2e, #0a0514); /* Warna background footer */
    padding: 80px 0 30px 0;
    color: #b0b0b0;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Garis tipis di atas footer */
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

/* Kolom Kiri (Deskripsi) */
.footer-info {
    flex: 2; /* Mengambil ruang lebih lebar (2 bagian) */
    min-width: 300px;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 400px;
}

/* Social Icons di Footer */
.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-icon {
    width: 24px;
    height: 24px;
    filter: invert(1); /* Memutihkan icon hitam */
    opacity: 0.7;
    transition: 0.3s;
}

.footer-socials a:hover .footer-icon {
    opacity: 1;
    transform: translateY(-3px);
}

/* Kolom Link (Kanan) */
.footer-links {
    flex: 1; /* Mengambil ruang 1 bagian */
    min-width: 150px;
}

.footer-links h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ff3e3e; /* Warna merah pas hover */
    padding-left: 5px; /* Efek geser dikit */
}

/* Bagian Copyright */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.85rem;
    opacity: 0.6;
}



#theme-toggle {
    position: fixed; /* INI KUNCINYA: Biar posisinya nempel di layar terus */
    bottom: 30px;    /* Jarak dari ujung bawah layar */
    right: 30px;     /* Jarak dari ujung kanan layar */
    z-index: 999;    /* PENTING: Biar tombolnya selalu di paling depan dan ga ketimpa gambar/text lain */
    cursor: pointer; /* Biar kursor mouse berubah jadi tangan pas diarahkan ke tombol */
    
    /* Tambahan opsional biar tombolnya cakep (kalau belum lu set) */
    background-color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ==========================================================
   TEMA LIGHT MODE (Terang) - Aktif saat tombol diklik
   ========================================================== */

/* 1. Ubah warna background dasar dan teks */
body.light-mode {
    background-color: #f5f5f5; /* Abu-abu sangat muda/putih */
    background-image: none; /* Hilangkan pola gelap dari logo */
    color: #1a1a1a; /* Teks jadi hitam/gelap */
}

/* 2. Ubah warna overlay di gambar CTA biar nyatu dengan background terang */
body.light-mode .cta-overlay {
    background: linear-gradient(
        to bottom, 
        rgba(245, 245, 245, 1) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(245, 245, 245, 1) 100%
    );
}

/* 3. Sesuaikan warna teks di dalam gambar */
body.light-mode .cta-title,
body.light-mode .cta-text {
    color: #1a1a1a;
    text-shadow: none; /* Hilangkan bayangan hitam pekat */
}

/* 4. (Opsional) Bikin background navbar jadi terang */
body.light-mode .navbar {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body.light-mode .nav-links a {
    color: #333; /* Link navbar jadi hitam */
}

body.light-mode .social-icons img {
    filter: invert(0); /* Balikin icon sosmed jadi hitam */
}

/* --- PAKSA TULISAN GANTI WARNA DI MODE TERANG --- */

/* 1. Targetin semua heading (judul) dan paragraf secara umum */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode p,
body.light-mode span {
    color: #1a1a1a; 
}

/* 2. Targetin Link (karena link / tag <a> biasanya paling bandel) */
body.light-mode a {
    color: #1a1a1a;
}

/* 3. Kalau lu punya Card atau Box, background-nya mungkin perlu diterangin juga biar teksnya kelihatan */
body.light-mode .card, /* Ganti .card dengan nama class box lu kalau ada */
body.light-mode .box-item {
    background-color: #ffffff;
    color: #1a1a1a;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Kasih bayangan tipis biar cakep */
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column; /* Jadi vertikal di HP */
        gap: 40px;
    }
    
    .footer-info {
        min-width: 100%;
    }
}    

/* Responsif buat HP */
@media (max-width: 600px) {
    .about-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .about-content-grid {
        flex-direction: column-reverse; /* Teks duluan baru gambar di HP */
        text-align: left;
    }
    
    .about-main-title {
        font-size: 2.5rem;
    }

    .about-subheading {
        font-size: 2.2rem;
    }

    .avatar-row {
        justify-content: center;
    }

    .avatar-item {
        max-width: 80px;
    }
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 40px;
    }
    .hero-visuals {
        margin-top: 60px;
    }
    .nav-links {
        display: none;
    }
}
