* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* === Header === */
.header {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3b82f6;
}

.logo span {
    color: #8b5cf6;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #475569;
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content h1 span {
    color: #8b5cf6;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background: white;
    color: #3b82f6;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* === Services === */
.services-section {
    padding: 5rem 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #1e293b;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #3b82f6;
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #475569;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-desc {
    color: #475569;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.btn-service {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-service:hover {
    background: #2563eb;
}

/* === Testimoni & CTA === */
.testimoni-section,
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: #f1f5f9;
}

/* === Form Styling === */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
}

/* === Footer === */
.footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* === Dark Mode Fix — SEMUA TEKS JADI PUTIH === */
.dark-mode {
    --bg: #0f172a;
    --text: #f8fafc;
    --card: #1e293b;
    --border: #334155;
    --accent: #60a5fa;
    --secondary: #a78bfa;
    --input-bg: #1e293b;
    --input-border: #334155;
    --input-text: #f8fafc;
}

.dark-mode body {
    background-color: var(--bg);
    color: var(--text);
}

.dark-mode .header {
    background: var(--card);
}

.dark-mode .logo h1,
.dark-mode .logo span,
.dark-mode .nav a,
.dark-mode .form-label,
.dark-mode .section-title,
.dark-mode .section-subtitle,
.dark-mode .service-title,
.dark-mode .service-desc,
.dark-mode .footer p {
    color: var(--text);
}

.dark-mode .nav a:hover,
.dark-mode .nav a.active {
    color: var(--accent);
}

.dark-mode .theme-toggle {
    color: var(--text);
}

.dark-mode .hero {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.dark-mode .services-section,
.dark-mode .testimoni-section,
.dark-mode .cta-section {
    background: var(--bg);
}

.dark-mode .service-card {
    background: var(--card);
    border-color: var(--border);
    color: var(--text);
}

.dark-mode .form-control {
    background: var(--input-bg);
    border-color: var(--input-border);
    color: var(--input-text);
}

.dark-mode .btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.dark-mode .btn-service {
    background: var(--accent);
    color: var(--bg);
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav ul {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.5rem;
    }
}