/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, 
                color 0.3s ease, 
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Account for fixed navbar with extra padding */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-darker);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Android specific optimizations */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-touch-callout: none;
    }
    
    input, textarea, button, select {
        -webkit-touch-callout: initial;
    }
}

/* Default Theme (Dark Mode) */
:root {
    --primary-color: #8B5A3C;
    --secondary-color: #5D4037;
    --accent-gold: #FFD700;
    --accent-copper: #B87333;
    --accent-warm: #FF8A65;
    
    /* Dark Mode Colors */
    --bg-dark: #2C2C2C;
    --bg-darker: #1A1A1A;
    --bg-card: #3A3A3A;
    --bg-card-hover: #4A4A4A;
    --text-white: #FFFFFF;
    --text-gray: #CCCCCC;
    --text-light-gray: #E0E0E0;
    --text-warm: #FFE0B2;
    --border-gray: #555555;
    --border-warm: #8B5A3C;
    
    /* Dark Mode Gradients */
    --gradient-bg: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 50%, #3A3A3A 100%);
    --gradient-card: linear-gradient(135deg, #3A3A3A 0%, #4A4A4A 100%);
    --gradient-warm: linear-gradient(135deg, #FFD700 0%, #B87333 100%);
    --shadow-warm: rgba(255, 215, 0, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.5);
}

/* Light Mode Override */
[data-theme="light"] {
    --primary-color: #8B5A3C;
    --secondary-color: #5D4037;
    --accent-gold: #FFD700;
    --accent-copper: #B87333;
    --accent-warm: #FF8A65;
    
    /* Light Mode Colors - Disesuaikan */
    --bg-dark: #FFFFFF;
    --bg-darker: #F8F9FA;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F5F5F5;
    --text-white: #212529;
    --text-gray: #495057;
    --text-light-gray: #343A40;
    --text-warm: #8B5A3C;
    --border-gray: #DEE2E6;
    --border-warm: #8B5A3C;
    
    /* Light Mode Gradients - Sama seperti Dark Mode */
    --gradient-bg: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 50%, #E9ECEF 100%);
    --gradient-card: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    --gradient-warm: linear-gradient(135deg, #FFD700 0%, #B87333 100%);
    --shadow-warm: rgba(255, 215, 0, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li a {
    color: #343A40;  /* Fixed dark gray for white navbar background */
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a:hover {
    color: var(--primary-color);
    background: rgba(139, 90, 60, 0.1);
    transform: translateY(-2px);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links li a:hover::after {
    width: 80%;
}

/* Active state for navigation links - same for both dark and light mode */
.nav-links li a.active {
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Light mode active navigation styling */
[data-theme="light"] .nav-links li a.active {
    color: var(--primary-color);
}

[data-theme="light"] .nav-links li a.active::after {
    background: var(--primary-color);
}

/* Mobile menu active state animations */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile navigation menu - same styling for both dark and light mode */
.nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: #FFFFFF;  /* White background for both modes */
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    z-index: 1001;
    border-top: 1px solid #DEE2E6;  /* Light border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Light shadow */
    overflow-y: auto;
}

.nav-links.mobile-active li {
    margin: 0;
    width: 100%;
}

.nav-links.mobile-active li a {
    display: block;
    padding: 1.5rem 2rem;
    color: #495057;  /* Dark gray text for white background */
    text-decoration: none;
    border-bottom: 1px solid #DEE2E6;  /* Light border */
    transition: all 0.3s ease;
    font-size: 1.1rem;
    width: 100%;
    box-sizing: border-box;
}

.nav-links.mobile-active li a:hover,
.nav-links.mobile-active li a.active {
    background: #F5F5F5;  /* Light hover background */
    color: #8B5A3C;  /* Brown text for consistency */
}

.nav-links.mobile-active li:last-child a {
    border-bottom: none;
}

/* Light mode mobile menu styling - now using same styling as default */

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(44, 44, 44, 0.8) 100%), 
                url('../assets/SliderBackground1.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-warm);
    color: var(--bg-darker);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFE55C 0%, #D4AF37 100%);
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 6rem 0;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(139, 90, 60, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(184, 115, 51, 0.3), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255, 215, 0, 0.2), transparent),
        radial-gradient(1px 1px at 60% 10%, rgba(184, 115, 51, 0.2), transparent);
    background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(-60px) rotate(240deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: 2px;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { box-shadow: 0 0 5px var(--accent-gold); }
    to { box-shadow: 0 0 20px var(--accent-gold); }
}

.section-title h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

[data-theme="light"] .section-title p {
    color: var(--text-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid .service-card {
    width: 100%;
    max-width: none;
    min-width: 0;
}

/* Make the 5th card span both columns but keep same width as others */
.services-grid .service-card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 1.25rem); /* Same width as other cards (50% minus half gap) */
    max-width: none;
}

.service-card {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-gray);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.15), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 
        0 20px 50px rgba(255, 215, 0, 0.25),
        0 0 0 1px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, var(--bg-card-hover) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-warm);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--bg-darker);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-warm);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.service-card:hover h3 {
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: var(--text-light-gray);
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.service-card:hover .service-icon::before {
    opacity: 1;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-gray);
    border-radius: 50px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
}

.service-card:hover .service-cta {
    opacity: 1;
    transform: translateY(0);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.service-cta::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-cta:hover::after {
    transform: translateX(4px);
}

/* Touch device support - always show Learn More button */
@media (hover: none) and (pointer: coarse) {
    .service-cta {
        opacity: 1 !important;
        transform: translateY(0) !important;
        border-color: var(--accent-gold);
        color: var(--accent-gold);
        background: rgba(255, 215, 0, 0.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }
    
    .services-grid .service-card:nth-child(5) {
        grid-column: 1;
        justify-self: stretch;
        width: 100%;
        max-width: none;
    }
    
    .service-card {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }    /* Make Learn More button always visible on mobile */
    .service-cta {
        opacity: 1;
        transform: translateY(0);
        border-color: var(--accent-gold);
        color: var(--accent-gold);
        background: rgba(255, 215, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .services-grid {
        gap: 1.5rem;
    }    /* Ensure Learn More button is always visible on small mobile */
    .service-cta {
        opacity: 1;
        transform: translateY(0);
        border-color: var(--accent-gold);
        color: var(--accent-gold);
        background: rgba(255, 215, 0, 0.1);
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CLIENTS SECTION ===== */
.clients {
    padding: 6rem 0;
    background: #666666; /* Abu-abu cerah untuk dark mode agar logo lebih terlihat */
    position: relative;
}

/* Dark mode styling untuk clients section */
.clients .section-title h2 {
    color: #1A1A1A; /* Warna gelap untuk kontras dengan background abu-abu */
}

.clients .section-title p {
    color: #2C2C2C; /* Warna gelap untuk subtitle agar lebih terlihat */
}

.clients-carousel-container {
    position: relative;
    margin: 4rem auto 2rem;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.clients-carousel {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 3rem;
    padding: 1rem 0;
}

.clients-carousel-top {
    animation: infiniteCarouselRight 60s linear infinite;
}

.clients-carousel-bottom {
    animation: infiniteCarouselLeft 60s linear infinite;
}

@keyframes infiniteCarouselRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes infiniteCarouselLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    width: 180px;
    height: 120px;
    background: transparent;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    position: relative;
    cursor: pointer;
    padding: 1.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.client-logo:hover::before {
    display: none;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%) brightness(1) contrast(1.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-placeholder {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

.client-logo:hover {
    background: transparent;
    border: none;
    transform: translateY(-8px) scale(1.02);
    opacity: 1;
    box-shadow: none;
    backdrop-filter: none;
}

.client-logo:hover img {
    filter: grayscale(0%) brightness(1) contrast(1);
    transform: scale(1.05);
}

.client-logo:hover .logo-placeholder {
    color: var(--accent-gold);
    transform: scale(1.05);
}

/* Light mode styling for client logos */
/* [data-theme="light"] .client-logo {
    background: rgba(139, 90, 60, 0.12);
    border: 2px solid rgba(139, 90, 60, 0.3);
    box-shadow: 0 2px 8px rgba(139, 90, 60, 0.1);
}

[data-theme="light"] .client-logo img {
    filter: none;
}

[data-theme="light"] .logo-placeholder {
    color: rgba(139, 90, 60, 0.8);
}

[data-theme="light"] .client-logo:hover {
    background: rgba(139, 90, 60, 0.1);
    border: 1px solid var(--primary-color);
    box-shadow: 0 12px 40px rgba(139, 90, 60, 0.2);
}

[data-theme="light"] .client-logo:hover img {
    filter: grayscale(0%) brightness(1) contrast(1);
}

[data-theme="light"] .client-logo:hover .logo-placeholder {
    color: var(--primary-color);
} */

/* Light mode placeholder text styling */
[data-theme="light"] .logo-placeholder {
    color: rgba(139, 90, 60, 0.9);
    font-weight: 700;
}

/* Mobile responsive adjustments for client logos */
@media (max-width: 1024px) {
    .clients-slide {
        grid-template-columns: repeat(5, 180px);
        grid-template-rows: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .client-logo {
        width: 180px;
        height: 120px;
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .clients-carousel-container {
        margin: 3rem auto 1rem;
        gap: 1.5rem;
    }
    
    .clients-carousel-top {
        animation-duration: 45s;
    }
    
    .clients-carousel-bottom {
        animation-duration: 45s;
    }
    
    .clients-carousel {
        gap: 2rem;
    }
    
    .client-logo {
        width: 160px;
        height: 110px;
        padding: 1rem;
    }
    
    .logo-placeholder {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .clients-carousel-container {
        gap: 1rem;
    }
    
    .clients-carousel-top {
        animation-duration: 35s;
    }
    
    .clients-carousel-bottom {
        animation-duration: 35s;
    }
    
    .clients-carousel {
        gap: 1.5rem;
    }
    
    .client-logo {
        width: 140px;
        height: 95px;
        padding: 0.6rem;
    }
    
    .logo-placeholder {
        font-size: 12px;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .logo img {
        height: 35px;
        margin-top: 6px;
    }
    
    .hero-content {
        padding: 0 0.75rem;
    }

    .container {
        padding: 0 0.75rem;
    }
}

/* ===== MOBILE MENU RESPONSIVE ===== */

/* Hide mobile menu on desktop */
@media (min-width: 1025px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
    }
}

/* Show mobile menu on tablets and mobile */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1003;
    }
    
    .nav-links {
        display: none;
    }
      .nav-links.mobile-active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #FFFFFF;  /* White background for both modes */
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        z-index: 1002;
        border-top: 1px solid #DEE2E6;  /* Light border */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Light shadow */
        overflow-y: auto;
    }
}

/* Android specific optimizations */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-links.mobile-active {
        -webkit-overflow-scrolling: touch;
    }
}

/* Extra small Android devices */
@media (max-width: 480px) {
    .mobile-menu-toggle {
        padding: 10px;
    }
    
    .nav-links.mobile-active {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 1001;
    background: var(--gradient-warm);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-darker);
    border: 2px solid var(--accent-gold);
}

.theme-toggle:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px var(--shadow-warm);
    background: var(--accent-gold);
}

.theme-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

/* ===== LIGHT MODE SPECIFIC ADJUSTMENTS ===== */
[data-theme="light"] .hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(248, 249, 250, 0.2) 100%), 
                url('../assets/SliderBackground1.png') center/cover no-repeat;
    background-blend-mode: soft-light;
}

[data-theme="light"] .hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.85) 100%), 
                url('../assets/SliderBackground1.png') center/cover no-repeat;
    background-blend-mode: overlay;
}

/* Premium text styling */
[data-theme="light"] .hero-title {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    
    /* Gunakan warna yang kontras dengan background */
    color: #2C2C2C;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 800;
}

[data-theme="light"] .hero-subtitle {
    color: #2C2C2C  ;
    font-weight: 500;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .hero-title.gradient-style {
    background: linear-gradient(135deg, #1A1A1A 0%, #8B5A3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Tambahkan fallback untuk browser yang tidak support */
    color: #2C2C2C;
}

/* Additional light mode enhancements for better background visibility */
[data-theme="light"] .cta-button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1A1A1A;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    border: none;
    font-weight: 700;
}

[data-theme="light"] .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
}

/* Light theme styling for service cards */
[data-theme="light"] .service-card h3 {
    background: linear-gradient(135deg, #2c2c2c 0%, #8B5A3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .service-card:hover h3 {
    background: linear-gradient(135deg, #2c2c2c 0%, #8B5A3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(139, 90, 60, 0.5);
    transform: scale(1.05);
}

[data-theme="light"] .service-cta {
    border-color: #8B5A3C;
    background: linear-gradient(135deg, #2c2c2c 0%, #8B5A3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .service-card:hover .service-cta {
    border-color: #8B5A3C;
    background: linear-gradient(135deg, #2c2c2c 0%, #8B5A3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    box-shadow: 0 4px 15px rgba(139, 90, 60, 0.2);
}

[data-theme="light"] .hero-content {
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 3rem 2rem;
    border: none;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-gray);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .logo {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Services section background sama seperti portfolio */
[data-theme="light"] .services {
    background: var(--gradient-bg);
}

/* Clients section background sama seperti portfolio grid */
[data-theme="light"] .clients {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

[data-theme="light"] .clients .section-title h2 {
    color: #f39c12;
}

[data-theme="light"] .clients .section-title p {
    color: #ecf0f1;
}

[data-theme="light"] .client-logo:hover {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

[data-theme="light"] .client-logo:hover::before {
    display: none;
}

/* [data-theme="light"] .client-logo {
    background: transparent;
    border: none;
}

[data-theme="light"] .client-logo::before {
    background: linear-gradient(90deg, transparent, rgba(139, 90, 60, 0.1), transparent);
}

[data-theme="light"] .client-logo img {
    filter: grayscale(100%) brightness(0.5) contrast(1.2);
}

[data-theme="light"] .logo-placeholder {
    color: rgba(139, 90, 60, 0.7);
}

[data-theme="light"] .client-logo:hover {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #8B5A3C;
    box-shadow: 0 12px 40px rgba(139, 90, 60, 0.12);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .client-logo:hover img {
    filter: grayscale(0%) brightness(1) contrast(1);
}

[data-theme="light"] .client-logo:hover .logo-placeholder {
    color: #8B5A3C;
} */

[data-theme="light"] .contact::before {
    background: radial-gradient(circle at 30% 70%, rgba(139, 90, 60, 0.05) 0%, transparent 50%);
}

[data-theme="light"] .service-card:hover {
    box-shadow: 0 15px 40px rgba(139, 90, 60, 0.2);
}

/* Light mode specific adjustments */
[data-theme="light"] .services::before {
    background: radial-gradient(circle at 70% 30%, rgba(139, 90, 60, 0.05) 0%, transparent 50%);
}

[data-theme="light"] .services::after {
    opacity: 0.3;
}

[data-theme="light"] .service-card:hover {
    box-shadow: 
        0 20px 50px rgba(139, 90, 60, 0.2),
        0 0 0 1px rgba(139, 90, 60, 0.1);
}

[data-theme="light"] .section-title p {
    color: var(--text-gray);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 0;
    background: var(--gradient-bg);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(139, 90, 60, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gradient-card);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    border-color: var(--accent-gold);
    transform: translateX(5px);
    background: var(--bg-card-hover);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-warm);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-darker);
    font-weight: 600;
}

.contact-item span {
    color: var(--text-white);
    font-weight: 500;
}

.contact-item a {
    color: var(--text-white);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* When contact-item is an anchor tag */
a.contact-item span {
    color: var(--text-white);
    font-weight: 500;
}

/* Contact CTA Section - when used inside contact grid */
.contact-content .contact-cta {
    padding: 0;
    background: none;
    position: relative;
    text-align: center;
}

.contact-content .contact-cta::before {
    display: none;
}

/* Contact CTA Section - when used as standalone section */
.contact-cta:not(.contact-content .contact-cta) {
    padding: 6rem 0;
    background: var(--gradient-bg);
    position: relative;
    text-align: center;
}

.contact-cta:not(.contact-content .contact-cta)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(139, 90, 60, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.contact-cta h2,
.contact-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.contact-cta p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contact section light mode styling */
[data-theme="light"] .contact {
    background: var(--gradient-bg);
}

[data-theme="light"] .contact-cta {
    background: transparent;
}

[data-theme="light"] .contact-info h3,
[data-theme="light"] .contact-cta h2,
[data-theme="light"] .contact-cta h3 {
    color: var(--text-light-gray);
}

[data-theme="light"] .contact-info p,
[data-theme="light"] .contact-cta p {
    color: var(--text-gray);
}

[data-theme="light"] .contact-item {
    background: var(--gradient-card);
    border-color: var(--border-gray);
}

[data-theme="light"] .contact-item:hover {
    border-color: var(--primary-color);
    background: var(--bg-card-hover);
}

[data-theme="light"] .contact-item span {
    color: var(--text-light-gray);
}

[data-theme="light"] .contact-item a {
    color: var(--text-light-gray);
}

[data-theme="light"] .contact-item a:hover {
    color: var(--primary-color);
}

/* When contact-item is an anchor tag in light theme */
[data-theme="light"] a.contact-item span {
    color: var(--text-light-gray);
}

[data-theme="light"] .contact-icon {
    background: var(--gradient-warm);
    color: var(--bg-darker);
}

/* ===== MOBILE RESPONSIVE FIXES FOR ANDROID ===== */

/* Standard mobile landscape (most Android phones) */
@media (max-width: 896px) and (orientation: landscape) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;        align-items: flex-start;
    }
    
    .contact-info h3,
    .contact-cta h2,
    .contact-cta h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .contact-info p,
    .contact-cta p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .contact-details {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .contact-item span {
        font-size: 0.9rem;
    }
}

/* Android portrait mode and tablets */
@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
        overflow-x: hidden;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info,
    .contact-cta {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
      .contact-info h3,
    .contact-cta h2,
    .contact-cta h3 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
        text-align: center;
    }
    
    .contact-info p,
    .contact-cta p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
        text-align: center;
        line-height: 1.6;
    }
    
    .contact-details {
        gap: 1.2rem;
        width: 100%;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 1rem;
        width: 100%;
        box-sizing: border-box;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .contact-item span {
        font-size: 1rem;
        flex: 1;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .contact-cta {
        text-align: center;
    }
      .cta-button {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
        margin: 0 auto;
        display: block;
        text-align: center;
    }
}

/* Small Android phones (360px-414px) */
@media (max-width: 480px) {
    .contact {
        padding: 3rem 0;
    }
    
    .contact-content {
        gap: 2rem;
        padding: 0 0.75rem;
    }
      .contact-info h3,
    .contact-cta h2,
    .contact-cta h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .contact-info p,
    .contact-cta p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-details {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 0.85rem;
        gap: 0.85rem;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .contact-item span {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        max-width: 280px;
    }
}

/* Very small Android phones (320px-359px) */
@media (max-width: 360px) {
    .contact {
        padding: 2.5rem 0;
    }
    
    .contact-content {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
      .contact-info h3,
    .contact-cta h2,
    .contact-cta h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-info p,
    .contact-cta p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    
    .contact-details {
        gap: 0.8rem;
    }
    
    .contact-item {
        padding: 0.7rem;
        gap: 0.7rem;
        border-radius: 10px;
    }
    
    .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .contact-item span {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        max-width: 250px;
        border-radius: 8px;
    }
}

/* Extra small screens (Galaxy Fold, etc.) */
@media (max-width: 320px) {
    .contact {
        padding: 2rem 0;
    }
    
    .contact-content {
        gap: 1.2rem;
        padding: 0 0.4rem;
    }
      .contact-info h3,
    .contact-cta h2,
    .contact-cta h3 {
        font-size: 1.3rem;
        margin-bottom: 0.7rem;
    }
    
    .contact-info p,
    .contact-cta p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .contact-item {
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .contact-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .contact-item span {
        font-size: 0.8rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.3rem;
        font-size: 0.85rem;
        max-width: 220px;
    }
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 12px;
    z-index: 1003;
    position: relative;
    background: transparent;
    border: none;
    outline: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

/* Mobile menu active state animations */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Light theme mobile overrides for service cards */
@media (hover: none) and (pointer: coarse) {
    [data-theme="light"] .service-cta {
        border-color: #8B5A3C !important;
        background: linear-gradient(135deg, #2c2c2c 0%, #8B5A3C 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
}

@media (max-width: 768px) {
    [data-theme="light"] .service-cta {
        border-color: #8B5A3C;
        background: linear-gradient(135deg, #2c2c2c 0%, #8B5A3C 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

@media (max-width: 480px) {
    [data-theme="light"] .service-cta {
        border-color: #8B5A3C;
        background: linear-gradient(135deg, #2c2c2c 0%, #8B5A3C 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Section-specific scroll padding */
#services {
    scroll-margin-top: 100px; /* Minimal margin for services section - scroll right to the section start */
}

#clients {
    scroll-margin-top: 120px; /* Medium margin for clients section */
}

#contact {
    scroll-margin-top: 100px; /* Standard margin for contact section */
}

#home {
    scroll-margin-top: 80px; /* Minimal margin for home section */
}