/* ================= GLOBAL ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    }
    
    html{
    scroll-behavior:smooth;
    }
    
    body{
    font-family:'Segoe UI', sans-serif;
    background:#f4f7fb;
    color:#333;
    }
    
    .container{
    width:90%;
    max-width:1200px;
    margin:auto;
    }
    
    /* ================= NAVBAR ================= */
    
    .navbar{
    position:fixed;
    top:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
    transition:0.4s;
    z-index:1000;
    background:transparent;
    }
    
    .navbar.scrolled{
    background:#ffffff;
    box-shadow:0 4px 20px rgba(0,0,0,0.08);
    }
    
    .logo img{
    height:65px;
    }
    
    .navbar ul{
    display:flex;
    gap:25px;
    list-style:none;
    }
    
    .navbar a{
    text-decoration:none;
    color:white;
    font-size:14px;
    font-weight:500;
    transition:0.3s;
    }
    
    .navbar.scrolled a{
    color:#333;
    }
    
    .navbar a:hover{
    color:#1e73be;
    }
    
    nav ul li a.active{
    color:#00aaff;
    font-weight:bold;
    }
    
    /* ================= HERO VIDEO ================= */
    
    .hero-video{
    position:relative;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    overflow:hidden;
    }
    
    .hero-bg-video{
    position:absolute;
    top:50%;
    left:50%;
    width:100%;
    height:100%;
    object-fit:cover;
    transform:translate(-50%,-50%);
    z-index:0;
    }
    
    .hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
    z-index:1;
    }
    
    #particles-js{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:2;
    }
    
    .hero-content{
    position:relative;
    z-index:3;
    max-width:800px;
    padding:20px;
    }
    
    .hero-content h1{
    font-size:64px;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:15px;
    }
    
    .hero-content p{
    font-size:20px;
    opacity:0.9;
    }
    
    .hero-color{
    padding-top:140px;
    padding-bottom:100px;
    text-align:center;
    background-color:#598fd0;
    background-image: radial-gradient(#b7b9bc 1px, transparent 1px);
    background-size:15px 20px;
    }
    
    /* ================= SERVICES ================= */
    
    .services{
    padding:120px 60px 100px;
    text-align:center;
    background:#eef3f9;
    }
    
    .services h2{
    font-size:30px;
    margin-bottom:15px;
    }
    
    .division-desc{
    text-align:center;
    max-width:800px;
    margin:0 auto 60px;
    line-height:1.8;
    }
    
    .service-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    }
    
    .service-card{
    position:relative;
    background:white;
    padding:40px 30px;
    border-radius:14px;
    box-shadow:0 5px 25px rgba(0,0,0,0.05);
    transition:0.35s;
    cursor:pointer;
    overflow:hidden;
    }
    
    .service-image{
    position:absolute;
    bottom:-100%;
    left:0;
    width:100%;
    height:100%;
    transition:0.5s;
    }
    
    .service-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    }
    
    .service-card:hover .service-image{
    bottom:0;
    }
    
    .service-card:hover .service-text{
    opacity:0;
    }
    
    .service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 50px rgba(0,0,0,0.12);
    }
    
    /* ================= DIVISION ================= */
    
    .division{
    padding:100px 0;
    background:#f6f8fb;
    }
    
    .primary-header{
    text-align:center;
    max-width:800px;
    margin:0 auto 70px;
    }
    
    .primary-header h2{
    font-size:32px;
    margin-bottom:15px;
    }
    
    .primary-header p{
    font-size:16px;
    line-height:1.8;
    }
    
    .division-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
    }
    
    .division-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
    transition:0.3s;
    display:flex;
    flex-direction:column;
    }
    
    .division-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
    }
    
    .division-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    }
    
    .division-content{
    padding:30px;
    }
    
    .division-content h3{
    color:#003366;
    font-size:22px;
    margin-bottom:10px;
    text-align:center;
    }
    
    .division-content p{
    color:#555;
    line-height:1.7;
    text-align:justify;
    }
    
    /* ================= SLIDER CARD ================= */
    
    .slider{
    display:flex;
    gap:30px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding:20px 10px;
    scrollbar-width:none;
    }
    
    .slider::-webkit-scrollbar{
    display:none;
    }
    
    .slider-wrapper{
    position:relative;
    display:flex;
    align-items:center;
    }
    
    .slide-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:#000000;
    color:rgb(252, 251, 251);
    border:none;
    width:40px;
    height:40px;
    border-radius:50%;
    cursor:pointer;
    z-index:10;
    }
    
    .prev{ left:-20px; }
    .next{ right:-20px; }
    
    .slider .division-card{
    min-width:320px;
    max-width:320px;
    flex-shrink:0;
    }
    
    .slider .division-content{
    padding:15px;
    text-align:center;
    }
    
    .slider .division-content h3{
    font-size:18px;
    margin-bottom:5px;
    }
    
    .slider .division-content p{
    font-size:13px;
    line-height:1.4;
    }

    .slider .division-card img{
        height:200px;
        }
        
        .slider .division-content h3{
        font-size:18px;
        }
        
        .slider .division-content p{
        font-size:13px;
        }

        .slider .division-content h3{
            color:#1e293b;
        }
        
        .slider .division-content p{
            color:#2e3238;
        }
    
    /* ================= BIO ENERGY ================= */
    
    .bio-energy{
    padding:120px 0;
    background:#eef3f9;
    }
    
    .bio-energy .division-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    max-width:900px;
    margin:auto;
    }
    
    .bio-energy .division-card{
    border-radius:22px;
    padding:30px;
    color:#fff;
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
    }
    
    .bio-energy .division-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:14px;
    margin-bottom:25px;
    }
    
    .bio-energy .division-content h3{
    font-size:32px;
    margin-bottom:15px;
    color:#fff;
    }
    
    .bio-energy .division-content p{
    font-size:17px;
    line-height:1.7;
    opacity:0.95;
    color:#fff;
    }
    
    .bio-energy .division-card:nth-child(1){
    background:#0b5fa5;
    }
    
    .bio-energy .division-card:nth-child(2){
    background:#0b8c8f;
    }
    
    /* ================= 3F+ CONCEPT ================= */
    
    .concept-3f{
    padding:100px 0;
    background:#f5f7fa;
    }
    
    .concept-header{
    text-align:center;
    }
    
    .concept-header h2{
    font-size:42px;
    margin-bottom:50px;
    }
    
    .concept-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    }
    
    .concept-card{
    background:white;
    padding:20px;
    border-radius:10px;
    transition:0.3s;
    }
    
    .concept-card img{
    width:100%;
    height:170px;
    object-fit:cover;
    border-radius:8px;
    margin-bottom:15px;
    }
    
    .concept-card h3{
    font-size:20px;
    margin-bottom:10px;
    }
    
    .concept-card p{
    font-size:15px;
    line-height:1.6;
    color:#555;
    }
    
    .concept-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    }
    
    /* ================= CONTACT ================= */
    
    .contact{
    padding:80px 0;
    background:#f9f9f9;
    }
    
    .contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    }
    
    .contact-form{
    background:#fff;
    padding:35px;
    border:2px solid #333;
    }
    
    .form-group{
    margin-bottom:20px;
    }
    
    .form-group label{
    font-weight:bold;
    display:block;
    margin-bottom:6px;
    }
    
    .form-group input,
    .form-group textarea{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    font-size:14px;
    }
    
    .form-group textarea{
    height:120px;
    }
    
    .contact-form button{
    margin-top:20px;
    width:100%;
    padding:14px;
    border:none;
    background:#003366;
    color:white;
    font-size:16px;
    cursor:pointer;
    }
    
    .contact-form button:hover{
    background:#001f4d;
    }
    
    /* ================= MAP ================= */
    
    .map{
    padding:80px 20px;
    text-align:center;
    }
    
    .map-container iframe{
    width:80%;
    max-width:900px;
    height:450px;
    border-radius:10px;
    }
    
    /* ================= FOOTER ================= */
    
    .footer{
    background:hsl(25, 96%, 21%);
    color:#cfd8e3;
    padding:40px 30px;
    }
    
    .footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    margin-bottom:30px;
    }
    
    .footer-logo{
    height:45px;
    margin-bottom:20px;
    }
    
    .footer-col h4{
    color:white;
    margin-bottom:15px;
    }
    
    .footer-col p{
    font-size:14px;
    line-height:1.7;
    }
    
    .footer-bottom{
    border-top:1px solid rgba(255,255,255,0.1);
    padding-top:15px;
    text-align:center;
    font-size:13px;
    color:#9fb0c5;
    }
    
    /* ================= ABOUT ================= */
    
    .about{
    padding:120px 20px 80px;
    background:#ffffff;
    display:flex;
    justify-content:center;
    }
    
    .about .container{
    max-width:850px;
    background:#f7f9fc;
    padding:40px 50px;
    border-radius:10px;
    box-shadow:0 5px 25px rgba(0,0,0,0.05);
    }
    
    .about h2{
    text-align:center;
    font-size:32px;
    margin-bottom:25px;
    }
    
    .about p{
    font-size:16px;
    line-height:1.9;
    text-align:justify;
    color:#444;
    }
    
    /* ================= RESPONSIVE ================= */
    
    @media(max-width:768px){

        /* NAVBAR */
        .navbar{
        padding:15px 20px;
        }
        
        .navbar ul{
        gap:12px;
        flex-wrap:wrap;
        justify-content:center;
        }
        
        /* HERO */
        .hero-content{
        padding:15px;
        }
        
        .hero-content h1{
        font-size:34px;
        }
        
        .hero-content p{
        font-size:15px;
        line-height:1.6;
        }
        
        /* SECTION SPACING */
        .services{
        padding:80px 20px;
        }
        
        .division{
        padding:80px 20px;
        }
        
        .bio-energy{
        padding:80px 20px;
        }
        
        .concept-3f{
        padding:80px 20px;
        }
        
        /* GRID */
        .division-grid{ grid-template-columns:1fr; }
        .bio-energy .division-grid{ grid-template-columns:1fr; }
        .concept-grid{ grid-template-columns:1fr; }
        .contact-grid{ grid-template-columns:1fr; }
        
        /* SLIDER FIX (BIAR FULL DI HP) */
        .slider{
        padding-left:20px;
        }
        
        .slider .division-card{
        min-width:85%;
        max-width:85%;
        }
        
        /* TEXT */
        .division-content p{
        text-align:left;
        }
        
        /* FOOTER */
        .footer-container{
        grid-template-columns:1fr;
        text-align:center;
        }
        
        /* LOGO */
        .logo img{
        height:50px;
        }
        
        /* MAP */
        .map-container iframe{
        width:100%;
        height:300px;
        }
        
        }

    /* BIO CONCLUSION */
.bio-conclusion{
    padding:120px 20px;
    background:linear-gradient(135deg,#1e5f8a,#1b8a8f);
    color:white;
    text-align:center;
    }
    
    .bio-conclusion .container{
    max-width:900px;
    margin:auto;
    }
    
    .bio-conclusion h2{
    font-size:48px;
    margin-bottom:15px;
    }
    
    .conclusion-line{
    width:60px;
    height:4px;
    background:white;
    margin:20px auto 40px;
    border-radius:3px;
    }
    
    .bio-conclusion p{
    font-size:18px;
    line-height:1.9;
    margin-bottom:25px;
    text-align:center; 
    }

    /* ================= HAMBURGER MENU ================= */

.menu-toggle{
    display:none;
    flex-direction:column;
    cursor:pointer;
    gap:5px;
    }
    
    .menu-toggle span{
    width:25px;
    height:3px;
    background:#333;
    transition:0.3s;
    }
    
    /* MOBILE */
    @media(max-width:768px){
    
    .menu-toggle{
    display:flex;
    }
    
    .navbar{
    position:fixed;
    }
    
    /* MENU HIDDEN DEFAULT */
    .navbar ul{
    position:absolute;
    top:80px;
    right:0;
    width:100%;
    background:white;
    flex-direction:column;
    align-items:center;
    gap:20px;
    padding:20px 0;
    display:none;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    }
    
    /* ACTIVE MENU */
    .navbar ul.active{
    display:flex;
    }
    
    /* TEXT WARNA */
    .navbar ul li a{
    color:#333;
    }
    
    }

    .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);
        }