/* === GLOBAL RESET === */
* { 
    margin:0; 
    padding:0; 
    box-sizing:border-box; 
    font-family:'Poppins',sans-serif; 
}

html { scroll-behavior:smooth; }

body { 
    background:#0a0f1e;
    color:#e2e8f0;
    line-height:1.6;
    overflow-x:hidden;
    min-height:100vh;
}

.container { 
    max-width:100%;
    margin:0 auto; 
    padding:0 50px;
}

a { 
    text-decoration:none; 
    color:inherit; 
}

/* === NAVBAR === */
.navbar { 
    background:rgba(15,23,42,.92);
    backdrop-filter:blur(20px);
    box-shadow:0 4px 20px rgba(0,0,0,.3);
    position:sticky; 
    top:0; 
    z-index:1000;
    border-bottom:1px solid rgba(245,158,11,.15);
}

.nav-wrap { 
    display:flex; 
    justify-content:space-between;
    align-items:center; 
    padding:12px 20px;
    width:100%;
    gap:20px;
}

/* === LOGO + TEKS PERUSAHAAN (KIRI) === */
.logo {
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    transition:.3s;
    flex-shrink:0;
}

.logo-img {
    height:50px;
    width:auto;
    max-width:80px;
    object-fit:contain;
    transition:.3s;
    filter:drop-shadow(0 2px 8px rgba(245,158,11,.3));
    border-radius:8px;
}
.logo:hover .logo-img {
    transform:scale(1.05);
    filter:drop-shadow(0 4px 15px rgba(245,158,11,.5));
}

.logo-text-wrap {
    display:flex;
    flex-direction:column;
    line-height:1.2;
}
.logo-text-main {
    font-size:15px;
    font-weight:700;
    color:#fff;
    letter-spacing:.3px;
}
.logo-text-sub {
    font-size:9px;
    font-weight:500;
    color:#f59e0b;
    text-transform:uppercase;
    letter-spacing:.4px;
    margin-top:3px;
    max-width:220px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.logo span { 
    background:linear-gradient(135deg,#f59e0b,#fbbf24);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}
.logo-text {
    font-size:22px;
    font-weight:700;
    color:#fff;
}

/* === MENU NAVIGASI (KANAN) === */
.nav-menu { 
    display:flex; 
    list-style:none; 
    gap:4px;
    align-items:center; 
    margin:0;
    padding:0;
    margin-left:auto; 
}
.nav-menu li { margin:0; }
.nav-menu a { 
    color:#cbd5e1; 
    font-weight:500; 
    transition:.3s; 
    font-size:14px;
    padding:10px 16px;
    border-radius:10px;
    display:inline-block;
    white-space:nowrap;
}
.nav-menu a:hover, 
.nav-menu a.active { 
    color:#f59e0b; 
    background:rgba(245,158,11,.08);
}
.nav-menu a.active {
    background:rgba(245,158,11,.15);
    font-weight:600;
    position:relative;
}
.nav-menu a.active::after {
    content:'';
    position:absolute;
    bottom:-4px;
    left:50%;
    transform:translateX(-50%);
    width:20px;
    height:3px;
    background:linear-gradient(135deg,#f59e0b,#fbbf24);
    border-radius:3px;
}

.btn-login { 
    background:linear-gradient(135deg,#f59e0b,#fbbf24) !important;
    color:#0f172a !important;
    padding:10px 22px; 
    border-radius:30px; 
    font-weight:700 !important;
    box-shadow:0 4px 15px rgba(245,158,11,.4);
}
.btn-login:hover { 
    transform:translateY(-2px);
    box-shadow:0 6px 20px rgba(245,158,11,.6);
}

.menu-toggle { 
    display:none; 
    font-size:26px; 
    cursor:pointer; 
    color:#fff;
    padding:5px 10px;
    border-radius:8px;
    transition:.3s;
}
.menu-toggle:hover { background:rgba(245,158,11,.1); }

.btn-outline-nav {
    color:#f59e0b !important;
    padding:9px 20px;
    border:2px solid rgba(245,158,11,.4);
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}
.btn-outline-nav:hover {
    border-color:#f59e0b;
    color:#f59e0b !important;
    background:rgba(245,158,11,.15);
}

/* === DROPDOWN === */
.nav-menu .dropdown { position:relative; }
.nav-menu .dropdown-toggle {
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:6px;
    user-select:none;
}
.nav-menu .dropdown-toggle::after {
    content:'▾';
    font-size:11px;
    transition:transform .3s ease;
    display:inline-block;
}
.nav-menu .dropdown:hover .dropdown-toggle::after {
    transform:rotate(180deg);
}
.nav-menu .dropdown:hover > .dropdown-toggle {
    color:#f59e0b;
    background:rgba(245,158,11,.08);
}

.nav-menu .dropdown-menu {
    position:absolute;
    top:calc(100% + 12px);
    left:0;
    min-width:240px;
    background:linear-gradient(135deg,#1e293b,#1a2332);
    border:1px solid rgba(245,158,11,.2);
    border-radius:14px;
    padding:10px 0;
    margin:0;
    list-style:none;
    box-shadow:0 20px 45px rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transform:translateY(12px);
    transition:all .35s cubic-bezier(.4,0,.2,1);
    z-index:1001;
    overflow:hidden;
}
.nav-menu .dropdown-menu::before {
    content:'';
    position:absolute;
    top:0; left:0;
    width:100%; height:3px;
    background:linear-gradient(90deg,#f59e0b,#fbbf24);
}
.nav-menu .dropdown-menu::after {
    content:'';
    position:absolute;
    top:-7px;
    left:24px;
    width:14px;
    height:14px;
    background:#1e293b;
    border-left:1px solid rgba(245,158,11,.2);
    border-top:1px solid rgba(245,158,11,.2);
    transform:rotate(45deg);
}
.nav-menu .dropdown:hover .dropdown-menu {
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.nav-menu .dropdown-menu li { margin:0; list-style:none; }
.nav-menu .dropdown-menu li a {
    display:block;
    padding:11px 22px;
    color:#cbd5e1;
    font-size:13.5px;
    font-weight:500;
    border-radius:0;
    background:transparent;
    border-left:3px solid transparent;
    transition:all .25s ease;
    white-space:normal;
    width:100%;
}
.nav-menu .dropdown-menu li a:hover {
    background:rgba(245,158,11,.1);
    color:#f59e0b;
    border-left:3px solid #f59e0b;
    padding-left:28px;
    transform:none;
    box-shadow:none;
}

/* === HERO === */
.hero { 
    background:#0f172a;
    color:#fff; 
    padding:130px 0 150px; 
    text-align:center;
    position:relative;
    overflow:hidden;
    min-height:520px;
    display:flex;
    align-items:center;
}

.hero-slideshow {
    position:absolute;
    inset:0;
    z-index:0;
    overflow:hidden;
}

.hero-slide {
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    opacity:0;
    animation:slideshow 20s infinite;
    transform:scale(1.05);
}

.hero-slide:nth-child(1) { animation-delay:0s; }
.hero-slide:nth-child(2) { animation-delay:5s; }
.hero-slide:nth-child(3) { animation-delay:10s; }
.hero-slide:nth-child(4) { animation-delay:15s; }

@keyframes slideshow {
    0%     { opacity:0; transform:scale(1.05); }
    5%     { opacity:1; }
    25%    { opacity:1; transform:scale(1); }
    30%    { opacity:0; transform:scale(1); }
    100%   { opacity:0; transform:scale(1.05); }
}

.hero-overlay {
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(
        135deg,
        rgba(15,23,42,.88) 0%,
        rgba(15,23,42,.75) 50%,
        rgba(15,23,42,.85) 100%
    );
}

.hero::before {
    content:'';
    position:absolute;
    top:-50%; left:-20%;
    width:600px; height:600px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(245,158,11,.25),transparent 70%);
    animation:pulse 6s ease-in-out infinite;
    z-index:2;
    pointer-events:none;
}
.hero::after {
    content:'';
    position:absolute;
    bottom:-50%; right:-20%;
    width:700px; height:700px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(234,179,8,.15),transparent 70%);
    animation:pulse 8s ease-in-out infinite reverse;
    z-index:2;
    pointer-events:none;
}

@keyframes pulse { 
    0%,100%{transform:scale(1)} 
    50%{transform:scale(1.15)} 
}

.hero-content { 
    position:relative; 
    z-index:3;
    width:100%;
}

.hero-badge {
    display:inline-block;
    padding:8px 20px;
    border-radius:30px;
    background:rgba(245,158,11,.15);
    border:1px solid rgba(245,158,11,.4);
    color:#f59e0b;
    font-size:14px;
    font-weight:600;
    margin-bottom:25px;
}
.hero h1 { 
    font-size:52px; 
    margin-bottom:20px; 
    font-weight:700;
    line-height:1.15;
}
.hero h1 span { 
    background:linear-gradient(135deg,#f59e0b,#fbbf24);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}
.hero p { 
    font-size:18px; 
    max-width:700px; 
    margin:0 auto 30px; 
    opacity:.9; 
}
.hero-btns { 
    display:flex; 
    gap:15px; 
    justify-content:center;
    flex-wrap:wrap;
}

/* === BUTTONS === */
.btn { 
    padding:14px 30px; 
    border-radius:10px; 
    font-weight:600; 
    transition:.3s; 
    display:inline-block; 
    cursor:pointer; 
    border:none;
    font-size:15px;
}
.btn-primary { 
    background:linear-gradient(135deg,#f59e0b,#fbbf24);
    color:#0f172a;
    box-shadow:0 8px 25px rgba(245,158,11,.4);
}
.btn-primary:hover { 
    transform:translateY(-3px);
    box-shadow:0 12px 35px rgba(245,158,11,.6);
}
.btn-outline { 
    border:2px solid rgba(255,255,255,.3);
    color:#fff;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(10px);
}
.btn-outline:hover { 
    background:#fff; 
    color:#0f172a;
    border-color:#fff;
}

/* === SECTION === */
.section { 
    padding:100px 0; 
    background:#0a0f1e;
}
.section-title { 
    text-align:center; 
    font-size:42px; 
    margin-bottom:15px;
    color:#fff;
    font-weight:700;
}
.section-title span {
    background:linear-gradient(135deg,#f59e0b,#fbbf24);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}
.section-sub { 
    text-align:center; 
    color:#94a3b8; 
    margin-bottom:60px;
    font-size:17px;
}
.grid-3 { 
    display:grid; 
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); 
    gap:25px; 
}
.grid-4 { 
    display:grid; 
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); 
    gap:25px; 
}

/* === CARD === */
.card { 
    background:linear-gradient(135deg,#1e293b,#1a2332);
    padding:35px 28px; 
    border-radius:18px; 
    box-shadow:0 5px 20px rgba(0,0,0,.2);
    transition:.4s cubic-bezier(.4,0,.2,1);
    border:1px solid rgba(245,158,11,.15);
    position:relative;
    overflow:hidden;
}
.card::before {
    content:'';
    position:absolute;
    top:0; left:0;
    width:100%; height:4px;
    background:linear-gradient(90deg,#f59e0b,#fbbf24);
    transform:scaleX(0);
    transform-origin:left;
    transition:.4s;
}
.card:hover::before { transform:scaleX(1); }
.card:hover { 
    transform:translateY(-8px); 
    box-shadow:0 20px 45px rgba(245,158,11,.2);
    border-color:rgba(245,158,11,.4);
}
.card-icon { 
    font-size:40px; 
    margin-bottom:15px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:70px;
    height:70px;
    border-radius:16px;
    background:linear-gradient(135deg,#f59e0b,#fbbf24);
    color:#0f172a;
    box-shadow:0 10px 25px rgba(245,158,11,.3);
}
.card h3 { 
    margin-bottom:12px; 
    color:#fff;
    font-size:19px;
}
.card p {
    color:#94a3b8;
    font-size:14px;
    line-height:1.7;
}

/* === STATS === */
.stats { 
    background:linear-gradient(135deg,#0f172a,#1e293b);
    color:#fff; 
    padding:80px 0; 
    text-align:center;
    position:relative;
    overflow:hidden;
}
.stats::before {
    content:'';
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 20% 50%,rgba(245,158,11,.15),transparent 50%);
}
.stats .grid-4 { position:relative; z-index:2; }
.stats h3 { 
    font-size:52px; 
    margin-bottom:8px;
    font-weight:700;
    background:linear-gradient(135deg,#f59e0b,#fbbf24);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}
.stats p {
    opacity:.85;
    font-size:15px;
}

/* === CTA === */
.cta { 
    background:linear-gradient(135deg,#0f172a,#1e293b);
    color:#fff; 
    padding:90px 0; 
    text-align:center;
    position:relative;
    overflow:hidden;
}
.cta h2 { 
    font-size:42px; 
    margin-bottom:18px;
}
.cta h2 span {
    background:linear-gradient(135deg,#f59e0b,#fbbf24);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}
.cta p { 
    margin-bottom:35px; 
    opacity:.85;
    font-size:17px;
}

/* === SERTIFIKAT CARD === */
.sert-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}
.sert-card {
    background:linear-gradient(135deg,#1e293b,#0f172a);
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(245,158,11,.15);
    transition:.3s;
}
.sert-card:hover {
    transform:translateY(-6px);
    border-color:rgba(245,158,11,.5);
    box-shadow:0 20px 45px rgba(245,158,11,.2);
}
.sert-preview {
    height:180px;
    background:linear-gradient(135deg,#0f172a,#1e293b);
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    overflow:hidden;
}
.sert-preview img { width:100%; height:100%; object-fit:cover; }
.sert-preview .pdf-icon { font-size:70px; color:rgba(245,158,11,.5); }
.sert-badge {
    position:absolute;
    top:15px;
    right:15px;
    padding:6px 14px;
    border-radius:20px;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    background:rgba(16,185,129,.9);
    color:#fff;
}
.sert-body { padding:22px; }
.sert-body h3 { color:#fff; font-size:17px; margin-bottom:12px; }
.sert-meta {
    display:flex; flex-direction:column; gap:6px;
    font-size:13px; color:#94a3b8;
}
.sert-meta strong { color:#f59e0b; }

/* === FOOTER === */
footer,
.site-footer { 
    background:#0a0f1e; 
    color:#94a3b8; 
    padding:70px 0 25px;
    border-top:1px solid rgba(245,158,11,.1);
}
.footer-grid { 
    display:grid; 
    grid-template-columns:2fr 1fr 1fr; 
    gap:50px; 
    margin-bottom:45px; 
}
footer h3, 
footer h4,
.footer-col h3,
.footer-col h4 { 
    color:#fff; 
    margin-bottom:18px;
    font-size:20px;
}
footer h3 span,
.footer-col h3 span {
    background:linear-gradient(135deg,#f59e0b,#fbbf24);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}
footer a,
.footer-col a { 
    display:block; 
    margin-bottom:10px; 
    transition:.3s;
    font-size:14px;
    color:#94a3b8;
}
footer a:hover,
.footer-col a:hover { 
    color:#f59e0b;
    padding-left:5px;
}
footer p,
.footer-col p {
    font-size:14px;
    line-height:1.7;
    margin-bottom:8px;
}
.footer-logo img {
    filter:drop-shadow(0 2px 8px rgba(245,158,11,.3));
}
.copyright,
.footer-bottom { 
    text-align:center; 
    padding-top:25px; 
    border-top:1px solid #1e293b; 
    font-size:13px;
    color:#64748b;
}

/* === FADE IN === */
.fade-in {
    opacity:0;
    transform:translateY(30px);
    transition:.8s;
}
.fade-in.show {
    opacity:1;
    transform:translateY(0);
}

/* === RESPONSIVE === */
@media(max-width:1100px){
    .logo-text-sub { max-width:150px; font-size:8px; }
}

@media(max-width:900px){
    /* NAVBAR MOBILE */
    .nav-wrap {
        padding:10px 15px;
    }
    
    .nav-menu { 
        display:none; 
        position:absolute;
        top:100%;
        left:0;
        right:0;
        background:rgba(15,23,42,.98);
        backdrop-filter:blur(20px);
        flex-direction:column; 
        padding:25px; 
        gap:8px;
        border-bottom:2px solid rgba(245,158,11,.3);
        box-shadow:0 20px 40px rgba(0,0,0,.3);
        max-height:calc(100vh - 65px);
        overflow-y:auto;
        margin-left:0;
    }
    .nav-menu.active { display:flex; }
    .nav-menu a { width:100%; text-align:left; }
    .nav-menu a.active::after { display:none; }
    .menu-toggle { display:block; }

    /* Logo mobile */
    .logo-img { height:42px; max-width:60px; }
    .logo-text-main { font-size:13px; }
    .logo-text-sub { 
        font-size:7px; 
        max-width:130px;
    }

    /* Hero mobile */
    .hero h1 { font-size:34px; }
    .hero { padding:90px 0 110px; min-height:400px; }
    .section-title { font-size:30px; }
    .grid-3, .grid-4, .footer-grid { grid-template-columns:1fr; }
    .btn-login, .btn-outline-nav { width:100%; text-align:center; }

    /* Dropdown mobile */
    .nav-menu .dropdown {
        width:100%;
        position:relative;
    }
    .nav-menu .dropdown-toggle {
        width:100%;
        display:flex;
        justify-content:space-between;
        align-items:center;
    }
    .nav-menu .dropdown-toggle::after {
        font-size:14px;
        transition:transform .3s ease;
    }
    .nav-menu .dropdown.active .dropdown-toggle::after {
        transform:rotate(180deg);
    }
    .nav-menu .dropdown.active > .dropdown-toggle {
        color:#f59e0b;
        background:rgba(245,158,11,.1);
    }
    .nav-menu .dropdown-menu {
        position:static;
        opacity:1;
        visibility:visible;
        transform:none;
        box-shadow:none;
        background:rgba(245,158,11,.06);
        border:none;
        border-left:3px solid rgba(245,158,11,.4);
        border-radius:0;
        max-height:0;
        overflow:hidden;
        padding:0;
        margin:0;
        transition:max-height .4s ease, padding .3s ease, margin .3s ease;
        min-width:0;
    }
    .nav-menu .dropdown-menu::before,
    .nav-menu .dropdown-menu::after {
        display:none;
    }
    .nav-menu .dropdown.active .dropdown-menu {
        max-height:450px;
        padding:6px 0;
        margin-top:4px;
        margin-bottom:8px;
    }
    .nav-menu .dropdown-menu li a {
        padding:10px 18px 10px 28px;
        font-size:13px;
        color:#e2e8f0;
        border-left:none;
    }
    .nav-menu .dropdown-menu li a:hover {
        background:rgba(245,158,11,.15);
        color:#f59e0b;
        padding-left:32px;
        border-left:none;
    }
}