/* Reset dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0; /* Teks utama jadi abu-abu terang */
    background-color: #252525; /* Background dark grey untuk dark mode */
    overflow-x: hidden; /* Mencegah scroll horizontal saat animasi */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Tinggi minimal body 100% viewport height */
}

/* Hapus body::before yang pake gambar background */

/* Wrapper untuk konten utama */
#page-content {
    flex: 1; /* Mengambil ruang yang tersisa */
}

/* Animasi Page Transition - Scroll Up */
.slide-up-enter {
    animation: slideUpEnter 0.6s ease-out forwards;
}

@keyframes slideUpEnter {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animasi Tarik Tali Bohlam */
@keyframes pullCord {
    0% { transform: translateY(0) rotate(0deg); }
    20% { transform: translateY(10px) rotate(5deg); }
    40% { transform: translateY(0) rotate(0deg); }
    60% { transform: translateY(10px) rotate(-5deg); }
    80% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.pull-cord-animation {
    animation: pullCord 0.5s ease-in-out;
}

/* Style untuk icon bohlam */
#theme-toggle {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

/* Bohlam kuning pas bright mode */
.bright-mode #theme-toggle {
    color: #FFD700; /* Kuning emas */
}

/* Bohlam abu-abu pas dark mode */
.dark-mode #theme-toggle {
    color: #A9A9A9; /* Abu-abu */
}

/* Style khusus untuk tombol dual language */
#lang-toggle {
    transition: all 0.3s ease;
    color: #4da6ff; /* Warna biru default */
}

#lang-toggle:hover {
    background-color: rgba(77, 166, 255, 0.2) !important;
    transform: scale(1.05);
}

/* Style khusus saat tombol diklik (efek klik) */
.lang-toggle-active {
    color: yellow !important; /* Kuning saat diklik */
}

/* Style khusus untuk bagian bahasa yang aktif (in/en) */
.lang-active-part {
    color: yellow !important; /* Kuning untuk bahasa aktif */
}

/* Style khusus untuk tulisan "Lampu" saat Bright Mode */
.bright-mode div[style*="position: fixed; bottom: 20px; right: 20px;"] > div {
    color: #0078D7 !important; /* Biru Microsoft */
    font-weight: bold !important; /* Bold */
}

/* Placeholder Image Styling */
.placeholder-img {
    background-color: #333; /* Abu-abu lebih gelap */
    border: 1px dashed #666;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.9rem;
    text-align: center;
}

a {
    text-decoration: none; /* Hapus underline */
    color: #4da6ff; /* Biru cerah untuk link */
}

a:hover {
    color: #80c1ff; /* Biru lebih terang saat hover */
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background-color: #222; /* Header lebih terang dari body */
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4da6ff; /* Biru cerah untuk logo */
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    width: auto; /* Biar lebar sesuai teks */
    display: inline-block; /* Biar bisa di-animate lebarnya */
}

/* Efek Marquee untuk Logo */
@keyframes marquee {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

.marquee-animation {
    display: inline-block;
    animation: marquee 8s linear infinite;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links li a {
    display: inline-block;
    padding: 0.5rem 1rem;
    /* background-color: #FFD700; Hapus background default */
    color: #ffffff; /* Teks putih saat tidak aktif */
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none; /* Hapus underline */
    font-size: 1rem; /* Ukuran font konsisten */
}

.nav-links li a:hover, .nav-links li a.active {
    background-color: #4da6ff; /* Biru saat hover/klik */
    color: #000000; /* Teks hitam saat hover/klik */
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
}

/* Hero Section */
.hero {
    /* background: url('../assets/images/hero-bg.jpg') no-repeat center center/cover; */
    background-attachment: fixed; /* Biar background fixed dan efek blur lebih kentara */
    color: #ffffff; /* Teks putih untuk semua mode */
    text-align: center;
    padding: 4rem 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden; /* Penting buat pseudo-element */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border tipis */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Bayangan biar lebih nongol */
}

/* Background default (Dark Mode) */
.hero {
    background-image: url('../assets/images/bc.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
}

/* Background untuk Bright Mode */
.bright-mode .hero {
    background-image: url('../assets/images/bc2.jpg');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 30, 0.5); /* Overlay lebih terang */
    backdrop-filter: blur(15px); /* Efek frosted glass, blur lebih besar */
    -webkit-backdrop-filter: blur(15px); /* Untuk Safari */
    z-index: -1; /* Di belakang konten */
    border-radius: 8px; /* Ikutin border-radius container */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: #FFD700; /* Kuning emas */
    color: #000000; /* Hitam */
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none; /* Hapus border default */
}

.btn:hover {
    background-color: #4da6ff; /* Biru saat hover */
    color: #000000; /* Hitam saat hover */
    transform: translateY(-2px);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    /* background-color: #222; */
    background: url('../assets/images/hero-bg.jpg') no-repeat center center/cover;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden; /* Penting buat pseudo-element */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border tipis */
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 30, 0.5); /* Overlay lebih terang */
    z-index: -1; /* Di belakang konten */
    border-radius: 8px; /* Ikutin border-radius container */
}

.feature-card {
    background-color: #222; /* Card background lebih terang dari body */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #4da6ff;
}

.btn-secondary {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #FFD700; /* Kuning emas */
    color: #000000; /* Hitam */
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border: none; /* Hapus border */
    font-weight: bold; /* Teks tebal */
    cursor: pointer; /* Tambahin kursor pointer */
}

.btn-secondary:hover {
    background-color: #FFEC8B; /* Kuning lebih terang (Gold) saat hover */
}

.btn-secondary:hover {
    background-color: #4da6ff;
    color: #1a1a1a;
}

/* About Page */
.about-hero, .services-hero, .contact-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.about-hero h1, .services-hero h1, .contact-hero h1 {
    color: #4da6ff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Diubah dari 1.5rem jadi 1rem */
    /* background-color: #222; */
    background: url('../assets/images/hero-bg.jpg') no-repeat center center/cover;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden; /* Penting buat pseudo-element */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border tipis */
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 30, 0.5); /* Overlay lebih terang */
    z-index: -1; /* Di belakang konten */
    border-radius: 8px; /* Ikutin border-radius container */
}

.profile-and-video {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.profile-picture img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.profile-details {
    width: 100%;
}

.profile-details h2 {
    color: #4da6ff;
    margin-top: 1rem;
}

.video-container {
    flex: 1;
    min-width: 300px;
    max-width: 750px; /* Lebar maksimal iframe */
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 37%; /* 16:9 Aspect Ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.profile-details p, .profile-details ul {
    margin-bottom: 1rem;
}

.profile-details ul {
    padding-left: 1.5rem;
}

.profile-details li {
    margin-bottom: 0.5rem;
}

/* Services Page */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: scale(1.02);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1rem;
    color: #4da6ff;
}

.service-card p {
    padding: 0 1rem 1rem;
}

/* Contact Page */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    /* background-color: #222; */
    background: url('../assets/images/hero-bg.jpg') no-repeat center center/cover;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden; /* Penting buat pseudo-element */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border tipis */
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 30, 0.5); /* Overlay lebih terang */
    z-index: -1; /* Di belakang konten */
    border-radius: 8px; /* Ikutin border-radius container */
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h2, .contact-form h2 {
    color: #4da6ff;
    margin-bottom: 1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #444;
    border-radius: 4px;
    font-family: inherit;
    background-color: #333;
    color: #e0e0e0;
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
footer {
    background-color: #0078D7; /* Biru untuk dark mode */
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto; /* Mendorong footer ke bawah */
}


/* ========== BRIGHT MODE ========== */
.bright-mode {
    background-color: #ffffff; /* Putih */
    color: #333333; /* Teks gelap */
}

/* Header bright mode - BIRU DONGKER */
.bright-mode header {
    background-color: #1E3A8A; /* Biru dongker */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.bright-mode .logo {
    color: #ffffff; /* Putih */
}

.bright-mode .nav-links li a {
    color: #ffffff; /* Putih */
    background-color: transparent; /* Transparan */
}

.bright-mode .nav-links li a:hover,
.bright-mode .nav-links li a.active {
    background-color: #3b82f6; /* Biru sedang saat hover/klik */
    color: #ffffff; /* Putih */
}

/* Link bright mode */
.bright-mode a {
    color: #0078D7; /* Biru */
}

.bright-mode a:hover {
    color: #005a9e; /* Biru lebih gelap */
}

/* Placeholder bright mode */
.bright-mode .placeholder-img {
    background-color: #f0f0f0; /* Abu-abu terang */
    border: 1px dashed #ccc;
    color: #666;
}

/* Hero bright mode */
.bright-mode .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3); /* Overlay putih lebih transparan */
    backdrop-filter: blur(10px); /* Efek frosted glass */
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    border-radius: 8px;
}

.bright-mode .hero h1 {
    color: #ffffff; /* Putih */
}

/* Button bright mode */
.bright-mode .btn {
    background-color: #0078D7; /* Biru */
    color: #ffffff; /* Putih */
}

.bright-mode .btn:hover {
    background-color: #005a9e; /* Biru lebih gelap */
    color: #ffffff;
}

.bright-mode .btn-secondary {
    background-color: #0078D7; /* Biru */
    color: #ffffff; /* Putih */
    border: none;
}

.bright-mode .btn-secondary:hover {
    background-color: #005a9e; /* Biru lebih gelap */
    color: #ffffff;
}

/* Features bright mode - BIRU DONGKER */
.bright-mode .features {
    background: rgba(30, 58, 138, 0.9); /* #1E3A8A (biru dongker) dengan transparansi */
    color: #e0e0e0; /* Teks abu-abu terang */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border putih transparan */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Bayangan gelap */
}

.bright-mode .features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.7); /* Overlay biru dongker transparan */
    backdrop-filter: blur(10px); /* Efek frosted glass */
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    border-radius: 8px;
}

.bright-mode .feature-card {
    background-color: rgba(30, 58, 138, 0.8); /* Biru dongker lebih solid */
    color: #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bright-mode .feature-card h3 {
    color: #93c5fd; /* Biru muda untuk heading */
}

/* About & Contact bright mode - BIRU DONGKER */
.bright-mode .about-content,
.bright-mode .contact-content {
    background: rgba(30, 58, 138, 0.9); /* #1E3A8A (biru dongker) dengan transparansi */
    color: #e0e0e0; /* Teks abu-abu terang */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border putih transparan */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Bayangan gelap */
}

.bright-mode .about-content::before,
.bright-mode .contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.7); /* Overlay biru dongker transparan */
    backdrop-filter: blur(10px); /* Efek frosted glass */
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    border-radius: 8px;
}

.bright-mode .about-hero h1,
.bright-mode .services-hero h1,
.bright-mode .contact-hero h1,
.bright-mode .profile-details h2,
.bright-mode .contact-info h2,
.bright-mode .contact-form h2 {
    color: #93c5fd; /* Hitam untuk heading */
}

/* Teks dalam .profile-details (isi konten, bukan heading) */
.bright-mode .profile-details > p,
.bright-mode .profile-details > ul > li {
    color: #ffffff  !important; /* Putih */
}

/* Heading dalam .profile-details tetap hitam */
.bright-mode .profile-details h2 {
    color: #0078D7 !important; /* Biru Microsoft*/
}

.bright-mode .contact-form input,
.bright-mode .contact-form textarea {
    background-color: #ffffff; /* Putih */
    border: 1px solid #ccc; /* Border abu-abu */
    color: #333333; /* Teks gelap */
}

/* Button bright mode - Override untuk biru dongker */
.bright-mode .btn {
    background-color: #3b82f6; /* Biru sedang */
    color: #ffffff; /* Putih */
    border: none;
}

.bright-mode .btn:hover {
    background-color: #2563eb; /* Biru lebih gelap saat hover */
    color: #ffffff;
}

.bright-mode .btn-secondary {
    background-color: transparent; /* Transparan */
    color: #93c5fd; /* Biru muda */
    border: 1px solid #93c5fd; /* Border biru muda */
}

.bright-mode .btn-secondary:hover {
    background-color: #93c5fd; /* Biru muda saat hover */
    color: #1e3a8a; /* Biru dongker saat hover */
}

/* Halaman About.html, Services.html, Contact.html - Bright Mode */
/* About Page Styling */
.bright-mode .about-content {
    background: rgba(30, 58, 138, 0.9); /* #1E3A8A (biru dongker) dengan transparansi */
    color: #e0e0e0; /* Teks abu-abu terang */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border putih transparan */
}

.bright-mode .about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.7); /* Overlay biru dongker transparan */
    backdrop-filter: blur(10px); /* Efek frosted glass */
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    border-radius: 8px;
}

.bright-mode .about-hero h1 {
    color: #333333; /* Dark grey untuk judul */
}

.bright-mode .profile-details h2 {
    color: #000000; /* Hitam untuk sub judul */
}

.bright-mode .profile-details p,
.bright-mode .profile-details li {
    color: #e0e0e0; /* Teks terang di dalam about content, sama kayak di index.html */
}

/* Services Page Styling */
.bright-mode .services-hero {
    color: #e0e0e0; /* Teks terang untuk heading h1 */
}

.bright-mode .services-hero h1 {
    color: #333333; /* Dark grey untuk judul */
}

.bright-mode .services-hero p {
    color: #333333; /* Dark grey untuk teks penjelasan */
}

.bright-mode .services-grid {
    background: rgba(30, 58, 138, 0.9); /* #1E3A8A (biru dongker) dengan transparansi */
    color: #e0e0e0; /* Teks abu-abu terang */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border putih transparan */
    padding: 2rem;
    border-radius: 8px;
}

.bright-mode .services-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.7); /* Overlay biru dongker transparan */
    backdrop-filter: blur(10px); /* Efek frosted glass */
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    border-radius: 8px;
}

.bright-mode .service-card {
    background-color: rgba(30, 58, 138, 0.8); /* Biru dongker lebih solid */
    color: #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bright-mode .service-card h3 {
    color: #0078D7; /* Hitam untuk sub judul layanan */
}

.bright-mode .service-card p {
    color: #e0e0e0; /* Teks terang */
}

/* Contact Page Styling */
.bright-mode .contact-content {
    background: rgba(30, 58, 138, 0.9); /* #1E3A8A (biru dongker) dengan transparansi */
    color: #e0e0e0; /* Teks abu-abu terang */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border putih transparan */
}

.bright-mode .contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.7); /* Overlay biru dongker transparan */
    backdrop-filter: blur(10px); /* Efek frosted glass */
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    border-radius: 8px;
}

.bright-mode .contact-hero h1 {
    color: #333333; /* Dark grey untuk judul */
}

.bright-mode .contact-info h2,
.bright-mode .contact-form h2 {
    color: #0078D7; /* Biru Microsoft untuk sub judul */
}

.bright-mode .contact-info p,
.bright-mode .contact-form label,
.bright-mode .contact-form input,
.bright-mode .contact-form textarea {
    color: #e0e0e0; /* Teks terang */
}

/* Footer bright mode - BIRU DONGKER */
.bright-mode footer {
    background-color: #1E3A8A; /* Biru dongker, sama kayak header */
    color: white; /* Teks putih, tetap seperti sekarang */
}

/* ========== DARK MODE (Override) ========== */
/* Footer dark mode - harus ditempatkan setelah .bright-mode */
.dark-mode footer {
    background-color: #222; /* Sama kayak header */
    color: #e0e0e0;
}

/* Override style navbar biar konsisten di semua mode */
.nav-links li a,
.bright-mode .nav-links li a {
    color: #ffffff; /* Teks putih */
    background-color: transparent; /* Transparan */
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none; /* Hapus underline */
    font-size: 1rem; /* Ukuran font konsisten */
}

.nav-links li a:hover, .nav-links li a.active,
.bright-mode .nav-links li a:hover,
.bright-mode .nav-links li a.active {
    background-color: #4da6ff; /* Biru saat hover/klik */
    color: #000000; /* Teks hitam saat hover/klik */
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-content, .contact-content {
        flex-direction: column;
    }

    .profile-picture, .profile-details, .video-container {
        min-width: 100%;
    }
}

/* ========== POPUP CARD ========== */
.popup-card {
    position: fixed;
    z-index: 1001; /* Harus lebih tinggi dari header (z-index: 100) */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Overlay hitam transparan */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.popup-content {
    background-color: #222; /* Background card */
    margin: auto;
    padding: 20px;
    border: 1px solid #444;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: #e0e0e0; /* Teks terang */
}

.popup-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.popup-close:hover,
.popup-close:focus {
    color: #fff;
}

.popup-content h2 {
    margin-top: 0;
    color: #4da6ff; /* Biru untuk heading */
}

.popup-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.popup-content li {
    margin-bottom: 0.5rem;
}

/* Button di popup */
.popup-content .btn {
    display: inline-block;
    background-color: #FFD700; /* Kuning emas */
    color: #000000; /* Hitam */
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    text-decoration: none; /* Kalo ini link */
    text-align: center;
}

.popup-content .btn:hover {
    background-color: #4da6ff; /* Biru saat hover */
    color: #000000;
    transform: translateY(-2px);
}

/* Bright Mode untuk Popup */
.bright-mode .popup-content {
    background-color: #ffffff; /* Putih */
    border: 1px solid #ccc;
    color: #333333; /* Teks gelap */
}

.bright-mode .popup-content h2 {
    color: #0078D7; /* Biru Microsoft */
}

.bright-mode .popup-close {
    color: #999;
}

.bright-mode .popup-close:hover,
.bright-mode .popup-close:focus {
    color: #000;
}

.bright-mode .popup-content .btn {
    background-color: #0078D7; /* Biru */
    color: #ffffff; /* Putih */
}

.bright-mode .popup-content .btn:hover {
    background-color: #005a9e; /* Biru lebih gelap */
    color: #ffffff;
}

/* ========== BRIGHT MODE UNTUK ABOUT CONTENT ========== */
.bright-mode .profile-picture img {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.bright-mode .video-container iframe {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.bright-mode .profile-and-video {
    /* Bisa ditambahin style khusus kalo perlu, misalnya gap atau padding */
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio-section {
    text-align: center;
    padding: 2rem 0;
}

.portfolio-section h2 {
    color: #4da6ff;
    margin-bottom: 1rem;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.marquee {
    display: inline-block;
    animation: marquee 15s linear infinite;
}

.marquee img {
    height: 50px;
    margin: 0 20px;
    vertical-align: middle;
}

/* Keyframes untuk efek marquee */
@keyframes marquee {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Bright mode untuk portfolio */
.bright-mode .portfolio-section h2 {
    color: #0078D7;
}
