/* =====================================================
   AIHRIS Enterprise
   Corporate Digital Portal
   Version : 1.0.0
   ===================================================== */

:root{

    --primary:#0F3D91;
    --secondary:#1E88E5;
    --dark:#1b1b1b;
    --light:#f5f7fb;
    --white:#ffffff;
    --gray:#6c757d;
    --border:#e8e8e8;
    --danger:#dc3545;
    --success:#28a745;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;
    background:#f5f7fb;
    color:#333;
    line-height:1.6;

}

h1,h2,h3,h4,h5,h6{

    font-family:'Poppins',sans-serif;
    font-weight:700;

}

a{

    text-decoration:none;

}

/* ==================================================
   NAVBAR
================================================== */

.navbar{

    background:#ffffff;

    border-bottom:1px solid #e8e8e8;

    box-shadow:0 2px 12px rgba(0,0,0,.05);

    padding:12px 0;

}

.navbar-brand{

    display:flex;

    align-items:center;

}

.navbar-brand img{

    width:55px;

    height:55px;

    object-fit:contain;

}

.brand-title{

    font-family:'Poppins',sans-serif;

    font-size:20px;

    font-weight:700;

    color:#0F3D91;

    line-height:1.1;

}

.brand-subtitle{

    font-size:13px;

    color:#777;

}

.navbar-nav{

    gap:8px;

}

.navbar-nav .nav-link{

    color:#555 !important;

    font-size:15px;

    font-weight:600;

    padding:10px 18px;

    border-radius:10px;

    transition:.25s;

}

.navbar-nav .nav-link:hover{

    background:#eef4ff;

    color:#0F3D91 !important;

}

.navbar-nav .nav-link.active{

    background:#0F3D91;

    color:#fff !important;

}

.navbar .btn{

    padding:10px 24px;

    border-radius:10px;

    font-weight:600;

}

/* ============================
   RESPONSIVE
============================ */

@media(max-width:992px){

.navbar-nav{

margin-top:20px;

gap:5px;

}

.navbar .btn{

width:100%;

margin-top:15px;

}

}

@media(max-width:576px){

.brand-title{

font-size:16px;

}

.brand-subtitle{

font-size:11px;

}

.navbar-brand img{

width:45px;

height:45px;

}

}
/* ================= HERO ================= */

.hero{

    background:linear-gradient(rgba(10,45,120,.82),rgba(10,45,120,.82)),
    url('../img/hero.jpg');

    background-size:cover;
    background-position:center;

    min-height:540px;

    display:flex;
    align-items:center;

    color:white;

}

.hero h1{

    font-size:52px;

}

.hero p{

    font-size:18px;

    margin-top:20px;

}

.hero .btn{

    margin-top:30px;
    margin-right:10px;
    border-radius:30px;
    padding:12px 28px;

}

/* ================= SECTION ================= */

.section{

    padding:70px 0;

}

/* ================= CARD MENU ================= */

.portal-card{

    background:white;

    border-radius:18px;

    padding:35px;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.05);

    height:100%;

    border:1px solid #eee;

}

.portal-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 35px rgba(0,0,0,.12);

}

.portal-card i{

    font-size:45px;

    color:var(--primary);

    margin-bottom:20px;

}

.portal-card h4{

    margin-bottom:15px;

}

/* ================= NEWS ================= */

.news-card{

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 5px 18px rgba(0,0,0,.08);

    transition:.3s;

    height:100%;

}

.news-card:hover{

    transform:translateY(-6px);

}

.news-body{

    padding:25px;

}

.news-date{

    color:#888;

    font-size:13px;

}

.news-title{

    font-size:22px;

    margin:12px 0;

}

.news-body p{

    color:#666;

}

.readmore{

    font-weight:600;

}

/* ================= SIDEBAR ================= */

.sidebar-box{

    background:white;

    border-radius:15px;

    padding:25px;

    margin-bottom:25px;

    box-shadow:0 5px 18px rgba(0,0,0,.05);

}

.sidebar-box h5{

    margin-bottom:20px;

}

.sidebar-box ul{

    list-style:none;

    padding:0;

}

.sidebar-box li{

    padding:10px 0;

    border-bottom:1px solid #eee;

}

.sidebar-box li:last-child{

    border:none;

}

/* ================= FOOTER ================= */

footer{

    background:#0b2447;

    color:white;

}

footer h5{

    margin-bottom:10px;

}

footer p{

    margin-bottom:5px;

}
/* ==========================================
   FOOTER
========================================== */

.footer{

    background:#0F3D91;
    color:#fff;

    padding:18px 0;

    margin-top:60px;

    font-size:14px;

}

.footer-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.footer strong{

    color:#ffc107;

}

@media(max-width:768px){

.footer-content{

    flex-direction:column;

    gap:8px;

    text-align:center;

}

}

/* ================= BUTTON ================= */

.btn-primary{

    background:var(--primary);
    border:none;

}

.btn-primary:hover{

    background:#0a2d78;

}

/* ================= TITLE ================= */

.title{

    text-align:center;

    margin-bottom:60px;

}

.title h2{

    font-size:36px;

}

.title p{

    color:#777;

}

/* ================= MOBILE ================= */

@media(max-width:992px){

.hero{

text-align:center;

padding:90px 20px;

min-height:auto;

}

.hero h1{

font-size:38px;

}

.portal-card{

margin-bottom:25px;

}

.title h2{

font-size:28px;

}

.news-title{

font-size:20px;

}

}

@media(max-width:576px){

.hero h1{

font-size:30px;

}

.hero p{

font-size:15px;

}

.btn{

width:100%;
margin-bottom:10px;

}

.navbar-brand{

font-size:18px;

}

}
/*=====================template ada galery-home only)===============*/
.landing-home .hero{
    height:100vh;
    padding:12px 0;
}

.landing-home .hero-image img{
    height:100%;
    object-fit:cover;
}

.landing-home .menu-card{
    padding:15px 18px;
}

.landing-home .btn-login{
    margin-bottom:12px;
}
/* ==========================================
   NAVBAR
========================================== */

.navbar{
    background:#fff;
    border-bottom:1px solid #e9ecef;
    padding:10px 0;
}

.navbar-brand img{
    border-radius:8px;
}

.navbar-nav{
    gap:8px;
}

.navbar-nav .nav-link{

    font-family:'Inter',sans-serif;
    font-size:15px;
    font-weight:600;

    color:#555 !important;

    padding:10px 18px;

    border-radius:10px;

    transition:.25s;

}

.navbar-nav .nav-link:hover{

    background:#eef4ff;

    color:#0d6efd !important;

}

.navbar-nav .nav-link.active{

    background:#0d6efd;

    color:#fff !important;

}

.navbar .btn{

    border-radius:12px;

    padding:10px 22px;

}