/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Mode Colors */
    --primary-color: #0A1A44;
    --secondary-color: #FFFFFF;
    --accent-color: #6B8EFF; /* Biru lebih terang */
    --text-color: #333333;
    --light-text: #666666;
    --background: #FFFFFF;
    --card-bg: #F8F9FA;
    --border-color: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Font */
    --font-family: 'Poppins', 'Inter', 'Montserrat', sans-serif;
}

.dark-mode {
    /* Dark Mode Colors */
    --primary-color: #000000;
    --secondary-color: #0A1A44;
    --accent-color: #7D9EFF; /* Biru lebih terang untuk dark mode */
    --text-color: #F0F0F0;
    --light-text: #B0B0B0;
    --background: #121212;
    --card-bg: #1E1E1E;
    --border-color: #333333;
    --shadow: rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
    padding-top: 80px; /* Padding untuk navbar fixed */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo h1 {
    font-size: 4rem;
    color: white;
    font-weight: 700;
    animation: logoAnimation 1.2s ease forwards;
}

.preloader-logo span {
    color: #4A6FFF;
}

@keyframes logoAnimation {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* ========== NAVBAR DIPERBAIKI ========== */
/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0A1A44;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Logo */
.nav-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 150px;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Placeholder untuk logo jika gambar tidak ada */
.logo-placeholder {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    display: inline-block;
}

.logo-placeholder span {
    color: #4A6FFF;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    font-size: 1rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: #4A6FFF;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4A6FFF;
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Right Side Container */
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Theme Toggle Button - DIPERBAIKI: HANYA SATU */
.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

.theme-toggle .fa-sun {
    display: none;
}

.dark-mode .theme-toggle {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .theme-toggle .fa-moon {
    display: none;
}

.dark-mode .theme-toggle .fa-sun {
    display: block;
}

/* Hamburger Menu - DIPERBAIKI */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 32px;
    height: 24px;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 0;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hamburger animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* ========== BAGIAN UTAMA ========== */
/* Sections */
.section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 700;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Home Section */
.home {
    padding-top: 30px;
    background: linear-gradient(135deg, rgba(10, 26, 68, 0.05) 0%, rgba(107, 142, 255, 0.05) 100%);
}

.home-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 15px;
}

.home-title {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--accent-color);
    font-weight: 700;
    line-height: 1.3;
}

.home-description {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 35px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(107, 142, 255, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(107, 142, 255, 0.4);
    background-color: #5C7FFF;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
    padding: 0 10px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px var(--shadow);
}

.feature-card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--accent-color);
    font-weight: 600;
}

.feature-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* About Section */
.best-for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 50px;
    padding: 0 10px;
}

.best-for-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.best-for-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow);
}

.best-for-card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.best-for-card h3 {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Services Section */
.services {
    background-color: var(--card-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 10px;
}

.service-card {
    background-color: var(--background);
    border-radius: 12px;
    padding: 25px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 5px 15px var(--shadow);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px var(--shadow);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.service-header h3 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: 600;
    flex: 1;
    min-width: 200px;
}

.price {
    background-color: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    margin-top: 5px;
}

.price.negotiate {
    background-color: #FF6B6B;
}

.badge {
    display: inline-block;
    background-color: #FFD93D;
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 20px;
    min-height: 50px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.service-button:hover {
    background-color: #5C7FFF;
    transform: translateY(-2px);
}

/* About Me Section */
.about-me-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    padding: 0 10px;
}

.profile-image-container {
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--accent-color);
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.position {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.9;
}

.description {
    color: var(--light-text);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.7;
}

.portfolio-button {
    display: inline-flex;
    align-items: center;
    background-color: #0A1A44;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px var(--shadow);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.portfolio-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow);
    background-color: #091536;
}

.portfolio-button i {
    margin-right: 8px;
}

/* Testimonials Section */
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 10px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-content {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid var(--border-color);
}

.testimonial-content h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--light-text);
    line-height: 1.7;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.testimonial-prev, .testimonial-next {
    background-color: var(--accent-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: #5C7FFF;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0 10px;
}

.contact-info h3 {
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info p {
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    background-color: var(--card-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    color: var(--light-text);
    margin: 0;
}

.contact-form-container {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background);
    color: var(--text-color);
    font-family: var(--font-family);
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(107, 142, 255, 0.2);
}

.submit-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.submit-button:hover {
    background-color: #5C7FFF;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(107, 142, 255, 0.3);
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
    font-size: 0.9rem;
}

.form-message.success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid #27ae60;
    display: block;
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
    display: block;
}

/* Address Section */
.address-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 10px;
}

.address-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.address-info h3 {
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.address-info p {
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.7;
}

.address-info i {
    color: var(--accent-color);
    margin-right: 10px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

/* Footer */
.footer {
    background-color: #0A1A44;
    color: white;
    padding: 60px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    padding: 0 15px;
}

.footer-brand .logo {
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand .logo span {
    color: var(--accent-color);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-services h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-services li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-size: 0.85rem;
}

/* ========== RESPONSIVE STYLES DIPERBAIKI ========== */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 992px) {
    .home-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-me-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .profile-image {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .section {
        padding: 80px 0;
    }
}

/* MOBILE NAVBAR DIPERBAIKI */
@media (max-width: 768px) {
    /* Body padding untuk mobile */
    body {
        padding-top: 70px;
    }
    
    /* Navbar untuk mobile */
    .header {
        height: 70px;
    }
    
    .navbar {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 35px;
        max-width: 130px;
    }
    
    /* Theme toggle untuk mobile */
    .theme-toggle {
        width: 40px;
        height: 40px;
        order: 1;
    }
    
    /* Hamburger menu */
    .hamburger {
        display: flex;
        order: 2;
    }
    
    /* Navigation menu untuk mobile - DIPERBAIKI */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #0A1A44;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        z-index: 999;
        height: calc(100vh - 70px);
        overflow-y: auto;
        align-items: stretch;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
        color: white;
        text-align: center;
    }
    
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #4A6FFF;
    }
    
    /* Home section untuk mobile */
    .home {
        padding-top: 20px;
    }
    
    .home-title {
        font-size: 2rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .home-description {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .section-description {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .best-for-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-header h3 {
        min-width: 100%;
        margin-bottom: 10px;
    }
    
    .price {
        margin-top: 0;
    }
    
    .profile-info h3 {
        font-size: 1.6rem;
    }
    
    .position {
        font-size: 1rem;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .testimonial-content {
        padding: 25px 20px;
    }
    
    .testimonial-content h3 {
        font-size: 1.2rem;
    }
    
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .contact-info h3,
    .address-info h3 {
        font-size: 1.4rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.7rem;
    }
    
    /* Sembunyikan menu di desktop di mobile */
    .nav-menu:not(.active) {
        display: none;
    }
}

@media (max-width: 576px) {
    .home-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .best-for-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .profile-info h3 {
        font-size: 1.5rem;
    }
    
    .theme-toggle {
        width: 38px;
        height: 38px;
    }
    
    .hamburger {
        width: 28px;
        height: 22px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-links ul,
    .footer-services ul {
        text-align: center;
    }
}

/* Desktop Layout */
@media (min-width: 769px) {
    /* Sembunyikan hamburger di desktop */
    .hamburger {
        display: none !important;
    }
    
    /* Pastikan menu visible di desktop */
    .nav-menu {
        display: flex !important;
        position: static !important;
        flex-direction: row;
        background: transparent;
        width: auto;
        height: auto;
        overflow: visible;
        padding: 0;
        box-shadow: none;
    }
}

/* Untuk layar sangat kecil */
@media (max-width: 375px) {
    .home-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 30px;
        max-width: 110px;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
    }
    
    .hamburger {
        width: 26px;
        height: 20px;
    }
}

/* ========== HAMBURGER MENU DIPERBAIKI ========== */
/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 32px;
    height: 24px;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Animasi smooth */
    border-radius: 2px;
    transform-origin: center; /* Titik pusat transformasi */
}

/* Hamburger animation - SMOOTH EFFECT */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Navigation menu untuk mobile - SMOOTH SLIDE */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.5s ease;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        order: 2;
    }
    
    /* Navigation menu untuk mobile - ANIMASI SMOOTH */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        flex-direction: column;
        background-color: #0A1A44;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        z-index: 999;
        height: calc(100vh - 70px);
        overflow-y: auto;
        align-items: stretch;
        
        /* Animasi masuk */
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), 
                    opacity 0.5s ease,
                    visibility 0.5s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        transition-delay: calc(0.1s * var(--i));
    }
    
    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-link {
        display: block;
        padding: 18px;
        font-size: 1.1rem;
        color: white;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-link:hover::before {
        left: 100%;
    }
    
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #4A6FFF;
        padding-left: 25px;
    }
}