/* ===================================================
   HERO SLIDER
=================================================== */

.hero-section{
    margin-top:0;
}

.hero-image{
    width:100%;
    height:92vh;
    object-fit:cover;
}

.hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
    z-index:1;
}

.carousel-caption{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    bottom:auto;
    z-index:2;
    text-align:center;
    width:100%;
}

.carousel-caption h1{
    font-size:56px;
    font-weight:700;
    margin-bottom:20px;
    text-shadow:2px 2px 15px rgba(0,0,0,.6);
}

.carousel-caption p{
    font-size:22px;
    max-width:700px;
    margin:auto;
    margin-bottom:30px;
    text-shadow:1px 1px 10px rgba(0,0,0,.6);
}

.carousel-caption .btn{
    padding:12px 30px;
    border-radius:30px;
    font-weight:600;
}

.carousel-indicators button{
    width:14px;
    height:14px;
    border-radius:50%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    width:50px;
    height:50px;
}

/* ===================================================
   HERO RESPONSIVE
=================================================== */

@media (max-width:768px){

    .hero-image{
        height:60vh;
    }

    .carousel-caption h1{
        font-size:32px;
    }

    .carousel-caption p{
        font-size:16px;
    }

    .carousel-caption .btn{
        margin-top:10px;
        display:block;
        width:220px;
        margin-left:auto;
        margin-right:auto;
    }

}

/* ===================================================
   SECTION SAMBUTAN
=================================================== */

.section-sambutan{
    padding:80px 0;
    background:#fff;
}

.logo-sekolah{
    width:220px;
    max-width:100%;
    height:auto;
    display:block;
    margin:auto;
    transition:all .3s ease;
}

.logo-sekolah:hover{
    transform:scale(1.05);
}

.section-sambutan h2{
    font-size:42px;
    font-weight:700;
    margin-bottom:15px;
}

.section-sambutan h5{
    color:#666;
    margin-bottom:20px;
}

.section-sambutan p{
    text-align:justify;
    line-height:1.9;
    color:#555;
}

.section-sambutan .btn{
    border-radius:30px;
    padding:10px 28px;
}

/* ===================================================
   SAMBUTAN RESPONSIVE
=================================================== */

@media (max-width:768px){

    .section-sambutan{
        padding:50px 0;
    }

    .logo-sekolah{
        width:160px;
        margin-bottom:25px;
    }

    .section-sambutan h2{
        font-size:30px;
        text-align:center;
    }

    .section-sambutan h5{
        text-align:center;
    }

    .section-sambutan p{
        text-align:left;
        font-size:15px;
    }

    .section-sambutan .btn{
        width:100%;
    }

}

/* ==========================================
   HALAMAN GURU
========================================== */

.card-img-top{

height:280px;

object-fit:cover;

}

.card{

transition:.3s;

}

.card:hover{

transform:translateY(-8px);

box-shadow:0 10px 30px rgba(0,0,0,.15);

}

/* ===========================
   HERO PREVIEW
=========================== */

.hero-preview{

    position:absolute;

    right:60px;

    bottom:40px;

    width:300px;

    height:180px;

    overflow:hidden;

    border-radius:18px;

    border:4px solid rgba(255,255,255,.35);

    box-shadow:0 15px 35px rgba(0,0,0,.35);

    z-index:20;

    transition:.5s;

}

.hero-preview img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:1s;

}

.hero-preview:hover img{

    transform:scale(1.08);

}

@media(max-width:991px){

.hero-preview{

    width:220px;

    height:130px;

    right:20px;

    bottom:25px;

}

}

@media(max-width:768px){

.hero-preview{

    display:none;

}

}

