/* assets/css/index.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #f8fafc; 
    color: #334155; 
    overflow-x: hidden; 
}

/* Navbar Resmi */
.navbar-gov { transition: all 0.3s ease; padding: 15px 0; background: transparent; }
.navbar-gov.scrolled { background: #ffffff; padding: 10px 0; border-bottom: 1px solid #e2e8f0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.navbar-gov .nav-link { color: #f8fafc; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.5px; margin: 0 10px; text-transform: uppercase; transition: color 0.2s; }
.navbar-gov.scrolled .nav-link { color: #475569; }
.navbar-gov .nav-link:hover { color: #93c5fd; }
.navbar-gov.scrolled .nav-link:hover { color: #2563eb; }
.navbar-brand-text { font-weight: 800; font-size: 1.2rem; color: #ffffff; letter-spacing: 1px; transition: color 0.3s;}
.navbar-gov.scrolled .navbar-brand-text { color: #1e3a8a; }
.navbar-brand-subtitle { font-size: 0.65rem; color: #cbd5e1; letter-spacing: 1px; transition: color 0.3s; }
.navbar-gov.scrolled .navbar-brand-subtitle { color: #64748b; }

/* Efek Cermin pada Hero Section dengan Gradasi Diagonal */
.hero-section { 
    position: relative; 
    height: 100vh; 
    min-height: 600px; 
    display: flex; 
    align-items: center; 
    color: white; 
    overflow: hidden;
    background-color: #1e3a8a;
}
.hero-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('../gambar/cover.jpg') center center / cover no-repeat;
    transform: scaleX(-1);
    z-index: 0;
}
.hero-section::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(105deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.85) 50%, rgba(0,0,0,0) 65%, rgba(0,0,0,0) 100%);
    z-index: 1;
}
.hero-section .container { position: relative; z-index: 2; }

.hero-badge { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); color: #e0f2fe; padding: 6px 16px; border-radius: 4px; font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; display: inline-block; margin-bottom: 20px;}
.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.1rem; color: #e2e8f0; max-width: 700px; line-height: 1.6; margin-bottom: 40px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

.btn-gov-primary { background: #2563eb; color: #ffffff; border: 1px solid #2563eb; font-weight: 600; padding: 10px 28px; border-radius: 6px; transition: background-color 0.2s; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.btn-gov-primary:hover { background: #1d4ed8; border-color: #1d4ed8; color: #ffffff; }
.btn-gov-outline { background: transparent; color: #ffffff; border: 2px solid #ffffff; font-weight: 600; padding: 10px 28px; border-radius: 6px; transition: all 0.2s; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-gov-outline:hover { background: #ffffff; color: #1e3a8a; }

/* SECTION INFORMASI PILAR */
.informasi-section {
    position: relative;
    background: url('../gambar/v.jpg') center center / cover no-repeat fixed;
    padding: 100px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}
.informasi-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(115deg, rgba(0,0,0,0) 0%, rgba(15,23,42,0) 40%, rgba(30,58,138,0.5) 75%, rgba(15,23,42,0.8) 100%);
}
.informasi-content { position: relative; z-index: 2; }

.section-title-white { font-weight: 800; color: #ffffff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; text-shadow: 0 4px 15px rgba(0,0,0,0.7); }
.section-divider-white { width: 60px; height: 4px; background: #60a5fa; border-radius: 2px; margin-bottom: 30px; box-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.informasi-content p.text-light { text-shadow: 0 2px 10px rgba(0,0,0,0.8); font-weight: 500; }
.informasi-content p.text-info { text-shadow: 0 2px 5px rgba(0,0,0,0.9); cursor: default; }

.pillar-shape {
    background: rgba(30, 58, 138, 0.4); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    padding: 20px 40px 20px 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    box-shadow: -10px 15px 25px rgba(0,0,0,0.15);
    transform: skewX(-15deg);
    margin-right: -30px; 
}
.pillar-content { transform: skewX(15deg); display: flex; align-items: center; width: 100%; }
.pillar-shape:hover {
    background: rgba(37, 99, 235, 0.75); 
    border-color: #93c5fd;
    transform: skewX(-15deg) translateX(-20px); 
    box-shadow: -15px 20px 30px rgba(0,0,0,0.3);
}

.shape-1 { width: 70%; }
.shape-2 { width: 85%; }
.shape-3 { width: 100%; }

.pillar-icon { font-size: 2.2rem; margin-right: 25px; transition: all 0.3s; color: #93c5fd; }
.pillar-shape:hover .pillar-icon { color: #ffffff; }
.pillar-text { font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 1px; }

/* Integrasi */
.integration-section { background: #ffffff; color: #334155; padding: 80px 0; border-bottom: 1px solid #e2e8f0; }
.gov-footer { background: #1e3a8a; color: #bfdbfe; padding: 50px 0 20px 0; font-size: 0.85rem; border-top: 4px solid #f59e0b; }
.gov-footer h6 { color: #ffffff; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-links a { color: #bfdbfe; text-decoration: none; transition: color 0.2s; display: block; margin-bottom: 10px; }
.footer-links a:hover { color: #ffffff; }

/* WIDGET LIMBOT CHATBOT */
.chat-toggle-btn {
    position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px;
    background: #2563eb; color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; cursor: pointer; box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    z-index: 1049; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none;
}
.chat-toggle-btn:hover { transform: scale(1.08) translateY(-5px); background: #1d4ed8; }

.chat-widget {
    position: fixed; bottom: 110px; right: 30px; width: 380px; height: 550px;
    background: #ffffff; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: flex; flex-direction: column; z-index: 1050;
    transform: translateY(20px) scale(0.9); opacity: 0; pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0; overflow: hidden;
}
.chat-widget.active { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }

.chat-header { background: #1e3a8a; color: #ffffff; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 2;}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 42px; height: 42px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; border: 2px solid #60a5fa;}

.chat-body { flex: 1; padding: 20px; overflow-y: auto; background: #f8fafc; display: flex; flex-direction: column; gap: 16px; scroll-behavior: smooth; }
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background-color: #cbd5e1; border-radius: 4px; }

.chat-bubble-wrapper { display: flex; gap: 10px; max-width: 90%; animation: slideInUp 0.4s ease forwards; }
.wrapper-bot { align-self: flex-start; }
.wrapper-user { align-self: flex-end; flex-direction: row-reverse; }

.chat-bot-icon { width: 28px; height: 28px; background: #2563eb; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; margin-top: auto; }

.chat-bubble { padding: 14px 16px; border-radius: 14px; font-size: 0.9rem; line-height: 1.6; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.bubble-bot { background: #ffffff; color: #334155; border: 1px solid #e2e8f0; border-bottom-left-radius: 4px; }
.bubble-user { background: #2563eb; color: #ffffff; border-bottom-right-radius: 4px; box-shadow: 0 4px 10px rgba(37,99,235,0.15); }

.typing-indicator { display: flex; gap: 4px; padding: 14px 18px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; border-bottom-left-radius: 4px; align-self: flex-start; width: fit-content; display: none; }
.dot { width: 6px; height: 6px; background: #94a3b8; border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both; }
.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

.chat-footer { padding: 12px 20px; background: #ffffff; border-top: 1px solid #e2e8f0; text-align: center; font-size: 0.7rem; color: #94a3b8; }

@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* Modal Login Resmi */
.modal-backdrop.show { opacity: 0.6 !important; background-color: #0f172a !important; }
.solid-modal { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.modal-header { border-bottom: 1px solid #e2e8f0; }
.form-label-login { font-size: 0.75rem; color: #475569; font-weight: 700; letter-spacing: 0.5px; }
.form-control-login { background: #f8fafc; border: 1px solid #cbd5e1; color: #1e293b; padding-left: 2.5rem; border-radius: 6px; transition: border-color 0.2s; font-size: 0.9rem;}
.form-control-login:focus { border-color: #2563eb; box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15); background: #ffffff; }
.input-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #64748b; z-index: 5; font-size: 1.1rem;}
.password-toggle { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); cursor: pointer; color: #64748b; z-index: 5; transition: color 0.2s; font-size: 1.1rem;}
.password-toggle:hover { color: #1e3a8a; }