/* --- VARIABEL GLOBAL & TEMA ELIT --- */
:root {
    --navy-blue: #0A192F;       
    --navy-light: #112240;      
    --gold-primary: #C5A059;    
    --gold-light: #E6C875;      
    --bg-white: #FFFFFF;        
    --bg-offwhite: #F8F9FA;     
    --text-main: #333333;       
    --text-muted: #555555; 
    
    /* MENYESUAIKAN FONT DARI FILE HTML USER (Lora & Lato) */
    --font-heading: 'Lora', serif; 
    --font-body: 'Lato', sans-serif; 
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(10, 25, 47, 0.1);
}

/* --- RESET & BASIC SETUP --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.7; /* Line height dilegakan */
    font-size: 16px; /* Ukuran pas untuk Lato */
    overflow-x: hidden;
}

/* --- PERBAIKAN MARGIN KIRI KANAN BIAR GAK SEMPIT (Presisi) --- */
.container {
    max-width: 1350px; /* Melebarkan jangkauan layout */
    margin: 0 auto;
    padding: 0 5%; /* Menambahkan ruang bernapas di sisi kanan & kiri */
}

img {
    max-width: 100%;
    height: auto;
}

/* --- UTILITY CLASSES --- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-gold { color: var(--gold-primary); }

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem; 
    font-weight: 600;
    color: var(--navy-blue);
    line-height: 1.3;
    margin-bottom: 25px;
}

.title-line {
    width: 70px;
    height: 3px;
    background-color: var(--gold-primary);
    margin-bottom: 40px;
}

section {
    padding: 120px 0;
}

/* --- NAVBAR (HEADER) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bg-white); 
    padding: 20px 0; 
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px; 
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 55px; 
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px; 
}

.nav-link {
    text-decoration: none;
    color: var(--navy-blue); 
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary);
}

.btn-portal {
    background-color: var(--gold-primary);
    color: var(--bg-white) !important;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--gold-primary);
}

.btn-portal:hover {
    background-color: transparent;
    color: var(--gold-primary) !important;
}

/* --- TOMBOL HAMBURGER --- */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--navy-blue); 
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    margin-top: 105px; 
    height: calc(100vh - 105px); 
    min-height: 550px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.6) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 850px; 
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--bg-white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    color: #E2E8F0;
    margin-bottom: 45px;
    font-weight: 300;
}

.hero p strong {
    font-weight: 700;
    color: var(--gold-primary);
    font-size: 1.3rem;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: #25D366; 
    color: var(--bg-white);
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: var(--transition);
    border: 2px solid #25D366;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary i {
    font-size: 1.2rem;
}

.btn-primary:hover {
    background-color: #1EBE5A;
    border-color: #1EBE5A;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background-color: rgba(197, 160, 89, 0.05);
}

/* --- ABOUT SECTION --- */
.about {
    background-color: var(--bg-white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 80px; 
}

.about-text {
    flex: 1.2;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-features .feature-card:nth-child(3) {
    grid-column: span 2;
}

.feature-card {
    background-color: var(--bg-offwhite);
    padding: 40px 30px; 
    border-radius: 8px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.feature-card:hover {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-hover);
    border-bottom: 3px solid var(--gold-primary);
    transform: translateY(-5px);
}

.feature-icon i {
    font-size: 2.8rem;
    color: var(--gold-primary);
    margin-bottom: 25px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- SERVICES SECTION --- */
.services {
    background-color: var(--bg-offwhite);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; 
    margin-top: 60px;
}

.service-item {
    background: var(--bg-white);
    padding: 60px 40px; 
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 0;
    background-color: var(--navy-blue);
    transition: var(--transition);
    z-index: -1;
}

.service-item:hover::before {
    height: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item i {
    font-size: 3.5rem;
    color: var(--gold-primary);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-item p {
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.service-item:hover i,
.service-item:hover h3,
.service-item:hover p {
    color: var(--bg-white);
}

/* --- PARTNERS SECTION --- */
.partners {
    background-color: var(--bg-white);
    padding: 100px 0;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-wrap: wrap;
    gap: 50px 80px; 
    margin-top: 60px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy-blue);
    text-decoration: none; 
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
    cursor: pointer;
}

.partner-logo img {
    max-height: 75px;  
    max-width: 200px;  
    width: auto;
    height: auto;
    object-fit: contain; 
    transition: var(--transition);
}

.partner-logo i {
    font-size: 2.5rem;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--gold-primary);
    transform: scale(1.05); 
}

/* --- FOOTER --- */
.footer {
    background-color: var(--navy-blue);
    color: var(--bg-white);
    position: relative;
}

.footer-accent-line {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-light) 50%, var(--gold-primary) 100%);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 80px 5%; 
    flex-wrap: wrap;
    gap: 60px;
}

.footer-brand {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 25px;
    background-color: var(--bg-white);
    padding: 10px;
    border-radius: 4px;
}

.company-desc {
    color: #A0AABF;
    font-size: 1rem;
    max-width: 380px;
    line-height: 1.8;
}

.footer-contact {
    flex: 1;
    min-width: 280px;
}

.footer-contact h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-bottom: 25px;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 18px;
}

.footer-contact a {
    color: #A0AABF;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
}

.footer-contact a:hover i.fa-whatsapp {
    color: #25D366;
}

.footer-contact i {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.footer-contact a:hover {
    color: var(--gold-primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding: 25px;
    background-color: #061122;
    color: #6B7A99;
    font-size: 0.9rem;
}

/* --- RESPONSIVE DESIGN (HP & TABLET) --- */
@media (max-width: 1024px) {
    .container { padding: 0 5%; }
    .hero h1 { font-size: 3.2rem; }
}

@media (max-width: 992px) {
    .about-container { flex-direction: column; gap: 50px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-cta { justify-content: center; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; z-index: 1001; }
    
    .nav-menu {
        position: fixed;
        left: -100%; 
        top: 0;
        flex-direction: column;
        background-color: var(--bg-white); 
        width: 100%;
        height: 100vh;
        justify-content: center;
        transition: 0.5s ease-in-out;
        box-shadow: var(--shadow-hover);
    }
    
    .nav-menu.active { left: 0; }
    
    .nav-link { color: var(--navy-blue) !important; font-size: 1.2rem; }
    
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--navy-blue); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--navy-blue); }

    .hero { min-height: 80vh; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
    
    .about-features { grid-template-columns: 1fr; }
    .about-features .feature-card:nth-child(3) { grid-column: span 1; }
    
    .services-grid { grid-template-columns: 1fr; }
    
    .footer-container { flex-direction: column; padding: 60px 5%; }
}