/*==================================================
KPMIBMR WEBSITE
GENERAL STYLE
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*====================
RESET
====================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#f5f7fb;

    color:#333;

    overflow-x:hidden;

    line-height:1.6;

    -webkit-font-smoothing:antialiased;

    -moz-osx-font-smoothing:grayscale;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

    transition:.3s;

}

ul{

    list-style:none;

}

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}


/*=========================================
NAVBAR
=========================================*/

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    background:transparent;

    transition:.35s ease;

    z-index:9999;

}

.navbar.scrolled{

    background:#ffffff;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    padding:14px 8%;

}

.logo{

    display:flex;

    align-items:center;

    gap:12px;

    text-decoration:none;

}

.logo img{

    width:46px;

}

.logo span{

    color:#8BEA63;

    font-size:24px;

    font-weight:700;

    transition:.3s;

}

.navbar.scrolled .logo span{

    color:#198754;

}

.menu{

    display:flex;

    gap:35px;

    list-style:none;

    margin:0;

    padding:0;

}

.menu a{

    color:#8BEA63;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.menu a:hover{

    color:#8BEA63;

}

.navbar.scrolled .menu a{

    color:#198754;

}

.navbar.scrolled .menu a:hover{

    color:#198754;

}

.btn-login{

    background:#22b573;

    color:#fff;

    text-decoration:none;

    padding:12px 26px;

    border-radius:10px;

    font-weight:600;

    transition:.3s;

}

.btn-login:hover{

    background:#198754;

}

.navbar.scrolled .btn-login{

    background:#198754;

}


/* ==========================================
   HERO
========================================== */

.hero{

    position: relative;

    min-height: 500px;

    padding-top: 90px;

    background: url("../img/hero.png") center center/cover no-repeat;

    display: flex;

    align-items: center;

    overflow: hidden;

}

.hero-overlay{

    position: absolute;

    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(7,70,38,.75) 0%,
        rgba(7,70,38,.55) 45%,
        rgba(7,70,38,.15) 100%
    );

}

.hero-content{

    position: relative;

    z-index: 2;

    width: 100%;

    padding: 40px 0;

}

.hero-text{

    max-width: 520px;

    color: #ffffff;

}

.hero-badge{

    display: inline-block;

    background: #28a745;

    color: #ffffff;

    padding: 8px 18px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 18px;

}

.hero-text h1{

    font-size: 38px;

    font-weight: 700;

    line-height: 1.2;

    margin-bottom: 18px;

    color: #ffffff;

}

.hero-text h1 span{

    color: #7CFC00;

}

.hero-text p{

    font-size: 16px;

    line-height: 1.8;

    color: #f5f5f5;

    margin-bottom: 28px;

    max-width: 560px;

}

.hero-button{

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}

.btn-hijau{

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 13px 24px;

    background: #28a745;

    color: #ffffff;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;

}

.btn-hijau:hover{

    background: #1e7e34;

    transform: translateY(-3px);

}

.btn-outline{

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 13px 24px;

    border: 2px solid #ffffff;

    color: #ffffff;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;

}

.btn-outline:hover{

    background: #ffffff;

    color: #198754;

}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px){

    .hero{

        min-height: 450px;

        background-position: center;

    }

    .hero-content{

        padding: 35px 0;

    }

    .hero-text h1{

        font-size: 36px;

    }

}

@media (max-width: 768px){

    .hero{

        min-height: 400px;

        text-align: center;

    }

    .hero-content{

        padding: 30px 0;

    }

    .hero-text{

        max-width: 100%;

    }

    .hero-text h1{

        font-size: 30px;

    }

    .hero-text p{

        font-size: 15px;

    }

    .hero-button{

        justify-content: center;

    }

}




/*====================
LOGIN
====================*/

.login-page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#eef7f2;

}

.login-box{

    width:430px;

    background:white;

    padding:45px;

    border-radius:18px;

    box-shadow:0 15px 40px rgba(0,0,0,.12);

}

.login-box h2{

    text-align:center;

    margin-bottom:30px;

}

.login-box input{

    width:100%;

    padding:14px;

    margin-bottom:20px;

    border:1px solid #ddd;

    border-radius:10px;

}

.login-box button{

    width:100%;

    padding:14px;

    border:none;

    border-radius:10px;

    background:#198754;

    color:white;

    font-size:16px;

    cursor:pointer;

}

.login-box button:hover{

    background:#146c43;

}


/*=========================================
FOOTER
=========================================*/

.footer{

    background:#14532D;

    padding:60px 0 25px;

}

/*=========================================
GRID
=========================================*/

.footer-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));

    gap:25px;

}

/*=========================================
CARD
=========================================*/

.footer-card{

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:25px;

    transition:.35s;

}

.footer-card:hover{

    transform:translateY(-6px);

    background:rgba(255,255,255,.12);

}

/*=========================================
TEXT
=========================================*/

.footer-card h3{

    color:#ffffff;

    font-size:22px;

    margin-bottom:18px;

}

.footer-card p{

    color:#d8d8d8;

    margin-bottom:15px;

    display:flex;

    align-items:center;

    gap:10px;

}

.footer-card a{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:#8BEA63;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.footer-card a:hover{

    color:#ffffff;

}

.footer-card i{

    width:18px;

    text-align:center;

}

/*=========================================
COPYRIGHT
=========================================*/

.footer-bottom{

    margin-top:45px;

    padding-top:20px;

    border-top:1px solid rgba(255,255,255,.10);

    color:#d8d8d8;

    text-align:center;

}


/*====================
RESPONSIVE
====================*/

@media(max-width:768px){

.menu{

display:flex;

}

.hero h1{

font-size:38px;

}

.login-box{

width:95%;

}

}


/*=========================================
NAVBAR RESPONSIVE TANPA HAMBURGER
=========================================*/

@media (max-width:768px){

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-direction:row;
    padding:15px 18px;
}

.logo{
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img{
    width: 36px;
}

.logo span{
    font-size: 18px;
}

.menu{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:15px;

}

.menu a{

    font-size:15px;

}

.btn-login{

    display:inline-block;

    padding:10px 20px;

}

}


/*====================================
MOBILE NAVBAR
====================================*/

.mobile-action{
    display:none;
}

@media (max-width:768px){

.menu,
.btn-login{

    display:none;

}

.mobile-action{
    display:flex;
    align-items:center;
    gap:8px;
}

.btn-mobile{
    padding:8px 14px;
    font-size:14px;
    border-radius:8px;
    white-space:nowrap;
}

.logo img{

    width:42px;

}

.logo span{

    font-size:22px;

}

.navbar{

    padding:15px 20px;

}

}