/* ============================================
   PUBLIC STYLE - DISDUKCAPIL PAREPARE
   ============================================ */

/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
}

:root {
    --primary-color: #1e3a5f;
    --primary-dark: #152c47;
    --primary-light: #2d5a87;
    --secondary-color: #3498db;
    --secondary-dark: #2980b9;
    --accent-color: #e74c3c;
    --accent-hover: #c0392b;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --text-color: #2c3e50;
    --text-muted: #6c757d;
    --bg-light: #f0f4f8;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.3px;
}

.logo img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    padding: 3px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    position: relative;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-menu a.active {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO / SLIDER
   ============================================ */
.slider {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: var(--primary-dark);
}

.slides {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.65);
    z-index: 1;
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.75), rgba(52, 152, 219, 0.55));
}

.slide-1 .slide-bg {
    background-image: url('https://images.unsplash.com/photo-1551135049-8a33b42738b4?auto=format&fit=crop&w=1600&q=80');
}

.slide-2 .slide-bg {
    background-image: url('https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?auto=format&fit=crop&w=1600&q=80');
}

.slide-3 .slide-bg {
    background-image: url('https://images.unsplash.com/photo-1565689228865-c1b3f6b16c56?auto=format&fit=crop&w=1600&q=80');
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.slide-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease;
}

.slide h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.1s both;
    line-height: 1.2;
}

.slide p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    padding: 16px 36px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    animation: fadeInUp 0.8s ease 0.3s both;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.5);
    color: white;
}

.cta-button i {
    font-size: 1.1rem;
}

/* Slider Nav */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin: 16px auto 0;
    border-radius: 4px;
}

/* ============================================
   STEPS SECTION (TATA CARA)
   ============================================ */
.steps-section {
    background: linear-gradient(180deg, #fffef6 0%, #ffffff 100%);
    padding: 70px 24px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--warning-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.step:hover::before {
    transform: scaleX(1);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--warning-color);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.15);
}

.step:hover .step-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, var(--warning-color), var(--accent-color));
    color: white;
}

.step h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-number {
    position: absolute;
    top: 12px;
    right: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(30, 58, 95, 0.25);
}

.note {
    text-align: center;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 16px 24px;
    background: #fff3cd;
    border-left: 4px solid var(--warning-color);
    border-radius: var(--radius-sm);
    color: #856404;
    font-size: 0.9rem;
}

.note strong {
    color: var(--accent-color);
}

/* ============================================
   FEATURES / LAYANAN
   ============================================ */
.features-section {
    padding: 70px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e7f3ff, #cce7ff);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    transform: scale(1.05) rotate(-3deg);
}

.feature-card h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-card > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.feature-card h4 {
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-color);
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.5;
}

.feature-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--success-color);
    font-size: 0.75rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.footer-section p i {
    color: var(--secondary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.footer-section a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
}

.footer-bottom {
    text-align: center;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .slide h1 { font-size: 2.4rem; }
    .slide p { font-size: 1.05rem; }
    
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
        height: 64px;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo img {
        width: 36px;
        height: 36px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px;
        left: -100%;
        flex-direction: column;
        background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        gap: 0;
        height: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 16px 20px;
        border-radius: 0;
    }
    
    .slider {
        height: 420px;
    }
    
    .slide h1 {
        font-size: 1.9rem;
    }
    
    .slide p {
        font-size: 0.95rem;
    }
    
    .slide-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    
    .cta-button {
        padding: 13px 28px;
        font-size: 0.9rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-arrow.prev { left: 16px; }
    .slider-arrow.next { right: 16px; }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .steps-section,
    .features-section {
        padding: 50px 16px;
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 380px;
    }
    
    .slide h1 {
        font-size: 1.5rem;
    }
    
    .slide p {
        font-size: 0.85rem;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step {
        padding: 24px 20px;
    }
    
    .step-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
}