/* ==========================================================
   PT BUNGO GUNUNG TUJUH
   Company Profile v1.0
========================================================== */

:root{

    --primary:#146C43;
    --primary-dark:#0B3D2E;
    --gold:#D4AF37;
    --white:#ffffff;
    --dark:#1b1b1b;
    --gray:#666;
    --bg:#f5f7fa;

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    background:var(--bg);
    color:var(--dark);
    overflow-x:hidden;

}

/* ==========================
        NAVBAR
========================== */

.navbar{

    padding:18px 0;
    transition:.4s;
    background:transparent;

}

.navbar-brand{

    font-size:22px;
    font-weight:700;

}

.nav-link{

    color:#fff !important;
    margin-left:15px;
    font-weight:500;
    transition:.3s;

}

.nav-link:hover{

    color:var(--gold)!important;

}

/* nanti javascript akan menambah class ini */

.navbar.scrolled{

    background:rgba(20,108,67,.95);

    backdrop-filter:blur(10px);

    box-shadow:0 10px 30px rgba(0,0,0,.15);

    padding:12px 0;

}

/* ==========================
        HERO
========================== */

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    background-image:url('../img/banner.jpg');

    background-position:center;

    background-size:cover;

    overflow:hidden;

}

.hero .overlay{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:linear-gradient(

        rgba(0,0,0,.72),

        rgba(0,0,0,.60)

    );

}

.hero .container{

    position:relative;

    z-index:2;

}

.hero-title{

    font-size:68px;

    font-weight:800;

    color:#fff;

    line-height:1.15;

    margin-bottom:25px;

}

.hero-text{

    font-size:18px;

    color:#eee;

    max-width:650px;

    line-height:32px;

}

.hero .btn{

    padding:15px 34px;

    border-radius:50px;

    font-weight:600;

}

.btn-warning{

    background:var(--gold);

    border:none;

}

.btn-warning:hover{

    transform:translateY(-3px);

    transition:.3s;

}

.btn-outline-light:hover{

    transform:translateY(-3px);

}

/* ==========================
        COUNTER
========================== */

.counter{

    margin-top:-70px;

    position:relative;

    z-index:5;

}

.counter-box{

    background:#fff;

    border-radius:20px;

    padding:40px 20px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.3s;

}

.counter-box:hover{

    transform:translateY(-10px);

}

.counter-box h2{

    color:var(--primary);

    font-size:46px;

    font-weight:700;

}

.counter-box p{

    margin-top:10px;

    color:#777;

    font-weight:500;

}

/* ==========================
        SECTION
========================== */

.section-padding{

    padding:100px 0;

}

.about img{

    border-radius:25px;

}

.about h2{

    font-size:42px;

    font-weight:700;

}

.about p{

    color:#666;

    line-height:32px;

    margin-bottom:20px;

}

/* ==========================
        CARD
========================== */

.card-modern{

    border:none;

    border-radius:20px;

    overflow:hidden;

    transition:.35s;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.card-modern:hover{

    transform:translateY(-12px);

}

.card-modern img{

    height:220px;

    object-fit:cover;

}

/* ==========================
        BUTTON
========================== */

.btn-success{

    background:var(--primary);

    border:none;

}

.btn-success:hover{

    background:var(--primary-dark);

}

/* ==========================
        FOOTER
========================== */

.footer{

    background:var(--primary-dark);

    color:#fff;

    padding:70px 0;

}

.footer h4{

    font-weight:700;

}

.footer p{

    opacity:.8;

}

/* ==========================
        SCROLLBAR
========================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:#eee;

}

/* ==========================
        RESPONSIVE
========================== */

@media(max-width:991px){

.hero-title{

font-size:46px;

}

.hero{

text-align:center;

}

.counter{

margin-top:40px;

}

.counter-box{

margin-bottom:25px;

}

.about{

text-align:center;

}

.about img{

margin-bottom:30px;

}

}

@media(max-width:576px){

.hero-title{

font-size:36px;

}

.hero-text{

font-size:16px;

line-height:28px;

}

.navbar-brand{

font-size:17px;

}

.hero .btn{

width:100%;

margin-bottom:15px;

}

}