/* --- Base Styling - Linked to global.css --- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    padding-top: 70px;
}

/* --- Navigation --- */
.navbar {
    background-color: var(--white);
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Jarak antara gambar logo dan teks */
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 40px; /* Sesuaikan tinggi logo agar pas dengan navbar */
    width: auto;  /* Menjaga proporsi gambar agar tidak gepeng */
    object-fit: contain;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .logo-img {
        height: 32px; /* Perkecil logo sedikit saat dibuka di HP */
    }
    .logo span {
        font-size: 1.2rem;
    }
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Hero Section Styling */
.hero-section {
    overflow-x: hidden; /* Kunci utama: memotong semua yang meluber ke samping */
}

.hero-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 120px 0 160px; 
    text-align: center;
    border-radius: 0 0 50% 50% / 20px; 
    position: relative;
    z-index: 1;
}

.hero-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.hero-header p span {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.main-content-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -100px; 
    padding: 0 20px 60px; 
}

.main-content-wrapper .container {
    max-width: 1000px; /* Membatasi lebar agar tidak terlalu melebar ke kanan-kiri */
    margin: 0 auto;
}

/* Container Teks AI */
.ai-glow {
    position: relative;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Animasi Bintang (Bintang Segi Empat) */
.ai-glow::after, .ai-glow::before {
    content: '✦'; /* Karakter bintang segi empat */
    position: absolute;
    font-size: 12px;
    color: #ffd700; /* Warna emas/kuning cerah */
    opacity: 0;
    animation: sparkle 2s infinite;
}

/* Posisi Bintang Kiri Atas */
.ai-glow::before {
    top: -8px;
    left: -5px;
    animation-delay: 0s;
}

/* Posisi Bintang Kanan Bawah */
.ai-glow::after {
    bottom: -8px;
    right: -5px;
    animation-delay: 1s;
}

/* Keyframes untuk Kelap-Kelip & Bergerak */
@keyframes sparkle {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2) rotate(45deg); opacity: 1; text-shadow: 0 0 10px #fff; }
    100% { transform: scale(0); opacity: 0; }
}

/* Efek Glow pada Teks-nya sendiri */
.ai-glow {
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 5px rgba(255,255,255,0.2); }
    to { text-shadow: 0 0 15px rgba(255,255,255,0.8), 0 0 20px var(--primary-color); }
}

.upload-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}



.card-header i { color: var(--primary); }

/* Input Groups */
#inputForm {
    width: 100%;
    margin: 0 auto;
}

.input-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
}

.location-input-wrapper {
    display: flex;
    gap: 10px;
}

.custom-select {
    flex: 1;
    height: 50px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 15px;
    font-size: 0.95rem;
    transition: 0.3s;
}

.bttn-detect {
    width: 50px;
    height: 50px;
    background: #f0f4ff;
    border: none;
    border-radius: 12px;
    color: #606FC7;
    cursor: pointer;
    transition: 0.3s;
}

.bttn-detect:hover { background: #606FC7; color: white; }

.capture-zone {
    max-width: 1000px; /* Membatasi area upload agar lebih fokus di tengah */
    margin: 0 auto;
}

.drop-area {
    border: 3px dashed #cbd5e0;
    border-radius: 20px;
    padding: 50px 20px;
    text-align: center;
    background: #f8fafc;
    transition: 0.3s;
}

.drop-area:hover { border-color: #606FC7; background: #f0f4ff; }

.icon-circle {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #606FC7;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.bttn-primary-large {
    background: #606FC7;
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(96, 111, 199, 0.3);
    transition: 0.3s;
}

.bttn-primary-large:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(96, 111, 199, 0.4); }

/* --- Result Display Area --- */

.result-display {
    margin-top: 40px;
    border-top: 2px solid #f1f5f9;
    padding-top: 40px;
    animation: fadeIn 0.6s ease-out;
}

/* KUNCI UTAMA: Grid untuk Layout Horizontal */
.result-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 30px;
    align-items: start;
}

/* Kolom Kiri */
.result-left-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Tombol Download di bawah foto */
.download-area {
    width: 100%;
}

.download-area button {
    width: 100%;
    justify-content: center;
}

/* --- 1. Tata Letak Metadata (Jenis Wadah & SPPG) --- */
.metadata-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Berjejer 2 kolom di PC */
    gap: 20px;
    margin-bottom: 20px;
}

/* --- 2. Menghilangkan Garis Horizontal di Atas Form --- */
.card-header {
    border-bottom: none !important; /* Hapus garis di bawah judul kartu */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.upload-card {
    border-top: none !important; /* Pastikan tidak ada border atas */
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

/* --- 3. Menghilangkan Tonjolan Biru (Proteksi CSS) --- */
.canvas-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden; /* MEMOTONG TONJOLAN BIRU */
    background: #1a202c; /* Background gelap agar laser menyala */
    line-height: 0;
    border: 2px solid #e2e8f0;
    min-height: 300px; /* Agar loader punya ruang saat foto belum muncul */
}

#resultCanvas {
    display: block;
    width: 100%;
    height: auto;
}

.report-badge {
    display: inline-block;
    background: #48bb78;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* --- 4. Responsive: Bertumpuk di HP & Tablet Portrait --- */
@media (max-width: 992px) { /* Breakpoint untuk Tablet Portrait & HP */
    .metadata-grid {
        grid-template-columns: 1fr; /* Berubah jadi 1 kolom (bertumpuk) */
    }
    
    .hero-header h1 {
        font-size: 2rem;
    }
}

/* Overlay Loading */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 32, 44, 0.85); /* Lebih gelap agar teks & laser menonjol */
    z-index: 99; /* Pastikan di atas canvas */
    display: none; /* Default sembunyi, dikontrol JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Teks Loading */
.loader-content p {
    margin-top: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-size: 1.1rem;
}

/* Animasi Laser Hijau */
.ai-scanner {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: #48bb78;
    box-shadow: 0 0 20px 5px rgba(72, 187, 120, 0.7);
    z-index: 100;
    animation: scan 1.5s infinite ease-in-out; /* Durasi 1.5 detik agar lebih terlihat */
}

@keyframes scan {
    0% { top: 0%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.nutrition-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%; /* Agar tinggi kartu gizi mengikuti grid */
}

/* --- Responsive: Otomatis Vertikal di HP (Layar < 900px) --- */
@media (max-width: 900px) {
    .result-grid {
        grid-template-columns: 1fr; /* Menjadi 1 kolom (tumpuk vertikal) */
        gap: 20px;
    }
    
    .hero-header h1 { font-size: 2.2rem; }
}

.printing #resultContainer {
    animation: none !important; /* Matikan animasi fadeIn agar tidak stuck di tengah */
    filter: none !important;
    background: white !important;
    width: 1050px !important; /* Lebar optimal untuk A4 landscape/portrait virtual */
    min-width: 1050px !important;
    background: white !important;
    padding: 20px !important;
}

.printing .result-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important; /* Foto di kiri, Gizi di kanan */
    gap: 30px !important;
}

.printing .report-badge {
    background-color: #2f855a !important; /* Hijau yang lebih tua/kontras */
}

.printing .ai-glow {
    background: #4c51bf !important; /* Biru yang lebih solid */
    color: white !important;
}

.printing canvas {
    filter: brightness(1.05) saturate(1.1); /* Sedikit mencerahkan hasil foto kamera */
}

/* Tambahkan di style.css */
.printing #loadingOverlay,
.printing .loading-overlay,
.printing .ai-scanner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}


.printing .nutrition-card {
    box-shadow: none !important; /* Menghilangkan shadow halus agar tidak terlihat "kotor" di PDF */
    border: 1px solid #cbd5e0 !important;
}

/* Sembunyikan tombol agar tidak meninggalkan ruang kosong */
.printing #btnDownloadPDF, 
.printing .bttn-detect,
.printing #loadingOverlay {
    display: none !important;
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .hero-header h1 { font-size: 2rem; }
    .upload-card { padding: 25px; }
    .metadata-grid { grid-template-columns: 1fr; }
}
/* --- Utilities --- */
.divider {
    height: 2px;
    background: #e2e8f0;
    margin: 2rem 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mitra Section Styles */
.mitra-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--white), var(--primary-light));
}

.mitra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Styling */
.mitra-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.mitra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mitra-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.mitra-card:hover::before {
    transform: scaleX(1);
}

/* Icon Wrapper */
.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #f0f4ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: 0.3s;
}

.mitra-card:hover .card-icon-wrapper {
    background: var(--primary-color);
    color: #ffffff;
    transform: rotateY(180deg);
}

.mitra-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.mitra-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    min-height: 60px;
}

/* Button Styling */
.bttn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.bttn-outline:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.stat-item {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
}

footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Dashboard Section */
.dashboard-section {
    padding: 80px 0;
    background-color: var(--background);
}

/* Summary Cards Style */
.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-section .container {
    max-width: 1000px; /* SAMA dengan About dan Home */
    margin: 0 auto;
    padding: 0 20px;
}

.summary-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.summary-card:hover { transform: translateY(-5px); }

.summary-card i {
    font-size: 2rem;
    color: var(--primary-color);
    background: #f0f4ff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.summary-card.accent { border-bottom-color: var(--success); }
.summary-card.accent i { color: var(--success); background: #f0fff4; }

.summary-label {
    display: block;
    color: #718096;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.summary-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

/* Map Wrapper & Toolbar */
.map-wrapper {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    width: 100%;
}

.map-toolbar {
    background: #2d3748;
    color: #ffffff;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #48bb78;
    border-radius: 50%;
    box-shadow: 0 0 10px #48bb78;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    70% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.map-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Info Footer */
.map-footer-info {
    margin-top: 20px;
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .map-container { height: 400px; }
    .summary-card { padding: 15px; }
    .section-header h2 { font-size: 1.8rem; }
}

/* --- Mobile Responsive --- */
@media (max-width: 900px) {
    .result-grid {
        grid-template-columns: 1fr; /* Mobile: Foto di atas, Gizi di bawah */
    }

    .metadata-grid {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        margin: 1rem 2rem;
    }
}

/* About Section Styles */
    .about-section {
        padding: 80px 0;
        background: #f8fafc;
        font-family: 'Inter', sans-serif;
        overflow: hidden;
    }

    .about-section .container {
        max-width: 1000px; /* Samakan dengan .main-content-wrapper .container */
        margin: 0 auto;
        padding: 0 20px;
    }

    .section-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .sub-title {
        color: #48bb78;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
        color: #2d3748;
        margin-top: 10px;
    }

    .header-line {
        width: 80px;
        height: 4px;
        background: #48bb78;
        margin: 20px auto;
        border-radius: 2px;
    }

    /* Layout Grid */
    .about-content {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 40px;
        align-items: center;
    }

    .brin-badge {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 25px;
        padding: 10px;
        background: #f1f5f9; /* Abu-abu sangat muda */
        border-radius: 12px;
        display: inline-flex; /* Agar kotak tidak melebar sepenuh layar */
    }

    .brin-badge img {
        height: 45px; /* Mengecilkan logo agar proporsional */
        width: auto;
    }

    .brin-text {
        display: flex;
        flex-direction: column;
        border-left: 2px solid #cbd5e0;
        padding-left: 15px;
    }

    .brin-text strong {
        font-size: 0.95rem;
        color: #2d3748;
        line-height: 1.2;
    }

    .brin-text span {
        font-size: 0.8rem;
        color: #718096;
        font-weight: 600;
    }

    .about-main-text .lead-text {
        font-size: 1.05rem;
        line-height: 1.7;
        color: #4a5568;
        margin-bottom: 35px;
    }

    /* Menyamakan tinggi kartu statistik agar simetris dengan teks kiri */
    .about-visual {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Feature Cards */
    .feature-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .feature-card {
        background: #ffffff;
        padding: 30px;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-10px);
    }

    .icon-box {
        width: 50px;
        height: 50px;
        background: #f0fff4;
        color: #48bb78;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        color: #2d3748;
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 0.95rem;
        color: #718096;
        line-height: 1.6;
    }

    /* Stats Visual */
    .stat-card {
        display: flex;
        align-items: center;
        background: #ffffff;
        padding: 25px;
        border-radius: 20px;
        margin-bottom: 25px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.08);
        border-left: 5px solid #48bb78;
    }

    .stat-circle {
        width: 70px;
        height: 70px;
        background: #48bb78;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        margin-right: 20px;
        flex-shrink: 0;
    }

    .stat-circle.accent { background: #2d3748; }
    .stat-info h4 { margin: 0; color: #2d3748; }
    .stat-info p { margin: 5px 0 0; color: #a0aec0; font-size: 0.85rem; }

    /* Styling Footer Utama */
    .footer-brand-header {
        display: flex;
        align-items: center;
        justify-content: center; /* Menjaga semua di tengah */
        gap: 15px;
        margin-bottom: 25px;
    }

    .brand-wrapper {
        display: flex;
        align-items: center;
        justify-content: center; /* Kunci Logo & Teks Sejajar di Tengah */
        gap: 15px;
        margin-bottom: 20px;
    }

    .footer-logo-img {
        height: 50px;
        width: auto;
    }

    .footer-logo {
        margin: 0 !important;
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1;
    }

    /* Mengatur Kolom Pertama agar Center */
    .brand-col {
        display: flex;
        flex-direction: column;
        align-items: center; /* Memaksa semua item di kolom ini ke tengah */
        text-align: center;
        width: 100%;
    }

    .footer-desc {
        font-size: 0.9rem;
        color: #cbd5e0;
        max-width: 500px; /* Membatasi lebar agar teks tidak meluber */
        margin: 0 auto 25px !important;
        text-align: center;
    }

    /*.social-links-container {
        display: flex;
        justify-content: center; /* Kunci utama sosmed ke tengah */
        /*width: 100%;
    } */

    .social-links {
        display: flex;
        justify-content: center; /* Memaksa deretan ikon ke tengah */
        gap: 15px;
        margin-top: 10px;
        width: 100%;
    }
    
    .main-footer {
        background-color: #1a202c; /* Biru Gelap Profesional */
        color: #ffffff;
        padding: 60px 0 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin-top: 50px;
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        padding: 0 20px;
    }

    /* Judul dan Logo */
    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 20px;
    }
    .footer-logo span { color: #48bb78; } /* Hijau Aksen */

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-align: center; /* Pastikan teks h4 diatur center */
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #48bb78;
    
    /* KUNCI AGAR CENTER: */
    left: 50%;
    transform: translateX(-50%);
}

    /* List Kontak & Alamat */
    .footer-contact, .footer-addr {
        list-style: none;
        padding: 0;
        line-height: 1.8;
        color: #a0aec0;
    }

    .footer-contact i {
        margin-right: 10px;
        color: #48bb78;
    }

    /* Media Sosial */
    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #2d3748;
        color: white;
        text-align: center;
        line-height: 40px;
        border-radius: 50%;
        margin-right: 10px;
        transition: 0.3s;
    }

    .social-links a:hover {
        background: #48bb78;
        transform: translateY(-5px);
    }

    /* Copyright Section */
    .footer-bottom {
        text-align: center;
        margin-top: 50px;
        padding-top: 20px;
        border-top: 1px solid #2d3748;
        color: #718096;
        font-size: 0.9rem;
    }

    /* Responsif untuk Tablet/PC agar Brand tidak selalu center jika tidak diinginkan */
    @media (min-width: 992px) {
        .brand-col {
            align-items: center;
            text-align: center;
        }
        .brand-wrapper, .social-links {
            justify-content: center;
        }
    }

    /* Responsif */
    @media (max-width: 992px) {
        .about-content { grid-template-columns: 1fr; }
        .feature-grid { grid-template-columns: 1fr; }
    }

    /* Responsif untuk HP */
    @media (max-width: 768px) {
        .footer-container {
            grid-template-columns: 1fr;
            text-align: center;
        }
        .footer-section h4::after {
            left: 50%;
            transform: translateX(-50%);
        }
    }
