@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');
/* Base Styles */
:root {
    --primary-color: #1a7f75;
    --primary-hover: #166c63;
    --text-color: #1a1a1a;
    --text-light: #666;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
}

body { 
    margin: 0; 
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; 
    line-height: 1.6; 
    color: var(--text-color); 
    background-color: #ffffff;
    padding-top: 60px; /* Reduced space for fixed header */
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
    font-size: 16px;
    transition: var(--transition);
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}
h1, h2, h3, h4, h5, h6 { 
    font-weight: 700; 
    line-height: 1.2; 
    margin-top: 0; 
    color: #1a1a1a;
}
h1 { font-size: 2rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
p, label, input, select, button { 
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.5;
}
/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 8px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 16px;
    margin: 0 auto;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 4px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-outline {
    background: transparent;
    border-color: #e0e0e0;
    color: var(--text-color);
}

.btn-outline:hover {
    background: #f5f5f5;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 16px;
    right: 24px;
    z-index: 1001;
}

.hamburger .bar {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
    display: block;
}

.hamburger .bar:nth-child(2) {
    width: 18px;
}

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

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

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

/* Form Styles */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.form-row .form-group {
    flex: 1;
    min-width: 0;
}

input[type="text"],
input[type="tel"],
input[type="password"],
select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 15px;
    transition: var(--transition);
    margin-top: 6px;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 127, 117, 0.1);
}

/* Checkbox Styles */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: var(--text-light);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100%;
        background: white;
        flex-direction: column;
        padding: 80px 20px 30px;
        box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        margin: 0;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid #f0f0f0;
        margin: 0;
        width: 100%;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .hamburger {
        display: flex;
    }

    .nav-actions {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* Overlay for mobile menu */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: var(--transition);
}

.overlay.active {
    display: block;
    opacity: 1;
}
@media (max-width: 480px) {
    .container { padding: 16px; }
    .header { padding: 12px 0; }
}

.layanan { margin-top: 3px; }
.layanan-item { background: #f8f9fa; border-radius: 12px; padding: 24px; margin: 12px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.layanan-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.layanan-item h2 { margin: 0 0 16px 0; color: #1a1a1a; font-size: 1.25rem; }
.layanan-item p { color: #666; margin: 0 0 24px; font-size: 0.9375rem; line-height: 1.5; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #333; }
/* Modern Form Styling */
.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9375rem;
}
.form-header {
    margin-bottom: 12px;
}

.form-header h2 {
    margin: 0 0 6px;
}

.form-lead {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9375rem;
}

.input-hint {
    margin: 6px 0 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.error-message {
    display: none;
    color: #d32f2f;
    margin-top: 8px;
    font-size: 0.9rem;
}

.error-message.show {
    display: block;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    box-sizing: border-box;
    background-color: #fff;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

/* Custom Select Styling */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: none;
}

/* Style for select options */
select option {
    padding: 12px 16px;
    background: white;
    color: #2d3748;
}

/* Focus state for better accessibility */
select:focus option:checked {
    background: #3182ce linear-gradient(0deg, #3182ce 0%, #3182ce 100%);
    color: white;
}

/* Hover state for options */
select option:hover {
    background-color: #edf2f7;
}

/* Custom Select Styling */
.custom-select {
    position: relative;
    cursor: pointer;
    width: 100%;
}

.selected-value {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background-color: #fff;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    min-height: 52px;
    font-size: 1rem;
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    margin-top: 4px;
    border: 1px solid #e2e8f0;
}

.select-dropdown.show {
    max-height: 300px;
    opacity: 1;
    overflow-y: auto;
}

.select-option {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.select-option:hover {
    background-color: #f7fafc;
}

.select-option.selected {
    background-color: #ebf8ff;
    color: #2b6cb0;
    font-weight: 500;
}

/* Hide original select but keep it functional */
.select-wrapper select {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Focus states */
.custom-select:focus-within .selected-value {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

/* Animation for dropdown */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.select-dropdown.show {
    animation: fadeIn 0.2s ease-out;
}

/* Scrollbar styling */
.select-dropdown::-webkit-scrollbar {
    width: 8px;
}

.select-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 10px 10px 0;
}

.select-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.select-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}
.btn-submit {
    background: #068ff1;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}
.btn-submit:hover { background: #0578c5; }
@media (min-width: 576px) {
    .layanan-item { max-width: 500px; margin: 0 auto 24px; }
    .btn-submit { width: auto; }
}
