.item{
    padding:25px;
}

.icon-box{
    font-size:55px;
    color:#FFC107;
    margin-bottom:15px;
}

.item small{
    display:block;
    color:#f8f9fa;
    font-size:14px;
    margin-bottom:5px;
}

.item h3{
    color:#fff;
    font-size:34px;
    font-weight:700;
    margin-bottom:0;
}

.item p{
    color:#f1f1f1;
    margin-top:5px;
}

:root{
    --primary:#8B0000;
    --secondary:#FFC107;
    --dark:#222;
}

body{
    font-family:'Segoe UI',sans-serif;
    color:#333;
}

.navbar{
    background:var(--primary);
}

.navbar-brand,
.nav-link{
    color:white !important;
}

.btn-itb{
    background:var(--secondary);
    color:#000;
    font-weight:600;
    border:none;
}

.hero{
    background:
    linear-gradient(rgba(139,0,0,.85),
    rgba(139,0,0,.85)),
    url('../images/gedung.png');
    background-size:cover;
    background-position:center;
    color:white;
    padding:120px 0;
}

.hero h1{
    font-size:4rem;
    font-weight:700;
}

.hero p{
    font-size:1.2rem;
}

.info-box{
    background:linear-gradient(
        135deg,
        #b30000,
        #930000
    );

    border-radius:25px;
    overflow:hidden;

    margin-top:-70px;

    position:relative;
    z-index:100;

    box-shadow:
    0 15px 30px rgba(0,0,0,.20);
}

.stat-item{
    padding:30px 25px;
    border-right:1px solid rgba(255,255,255,.15);
}

.stat-item.last{
    border-right:none;
}

.stat-content{
    display:flex;
    align-items:center;
    gap:20px;
}

.stat-icon{
    min-width:60px;
}

.stat-icon i{
    font-size:48px;
    color:#ffc107;
}

.stat-text small{
    display:block;
    color:#f5f5f5;
    font-size:14px;
    margin-bottom:5px;
}

.stat-text h3{
    color:#fff;
    font-size:24px;
    font-weight:700;
    margin-bottom:5px;
    line-height:1.2;
}

.stat-text p{
    color:#f5f5f5;
    font-size:14px;
    margin:0;
}

.section-title{
    font-weight:700;
    margin-bottom:30px;
    position:relative;
}

.section-title::after{
    content:'';
    width:60px;
    height:4px;
    background:var(--secondary);
    display:block;
    margin-top:10px;
}

.stats{
    background:var(--primary);
    color:white;
    border-radius:20px;
}

footer{
    background:#7a0000;
    color:white;
}

footer a{
    color:#ddd;
    text-decoration:none;
}

/* =========================
   INFORMASI TERKINI
========================= */

.news-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
}

.lihat-semua{
    text-decoration:none;
    color:#b30000;
    font-weight:600;
}

.lihat-semua i{
    margin-left:8px;
}

.news-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
    height:100%;
}

.news-card:hover{
    transform:translateY(-8px);
}

.news-img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.news-body{
    padding:22px;
}

.news-category{
    color:#b30000;
    font-size:15px;
    font-weight:600;
    display:block;
    margin-bottom:15px;
}

.news-body h4{
    font-size:20px;
    font-weight:600;
    line-height:1.5;
    min-height:90px;
    color:#222;
}

.news-date{
    margin-top:20px;
    padding-top:18px;
    border-top:1px solid #eee;
    color:#888;
    font-size:15px;
}

.news-date i{
    color:#b30000;
    margin-right:8px;
}

/* ==========================
   STATISTIK MODERN
========================== */

.stats-modern{
    background:linear-gradient(
        135deg,
        #b30000,
        #920000
    );

    border-radius:25px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:35px 20px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.15);
}

.stats-item{
    flex:1;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:20px;

    padding:10px 20px;

    border-right:1px solid rgba(255,255,255,.15);
}

.stats-item.last{
    border-right:none;
}

.stats-item i{
    font-size:55px;
    color:#ffc107;
}

.stats-text h3{
    color:#ffc107;
    font-size:42px;
    font-weight:700;
    margin:0;
    line-height:1;
}

.stats-text p{
    color:#fff;
    margin-top:8px;
    margin-bottom:0;
    font-size:18px;
    font-weight:500;
}

/* Responsive */

@media(max-width:992px){

    .stats-modern{
        flex-direction:column;
    }

    .stats-item{
        width:100%;
        justify-content:flex-start;

        border-right:none;
        border-bottom:1px solid rgba(255,255,255,.15);

        padding:25px;
    }

    .stats-item.last{
        border-bottom:none;
    }

}

/* HERO */

.profil-hero{
background:
linear-gradient(
rgba(139,0,0,.85),
rgba(139,0,0,.85)
),
url('../images/gedung.png');

background-size:cover;
background-position:center;

padding:120px 0;
color:white;
}

.profil-hero h1{
font-size:60px;
font-weight:700;
}

.profil-hero p{
font-size:20px;
max-width:650px;
}

/* TITLE */

.title-line{
width:50px;
height:4px;
background:var(--primary);
margin-bottom:15px;
}

/* KAPRODI */

.kaprodi-img{
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.kaprodi-name{
color:var(--primary);
font-weight:700;
}

/* VISI MISI */

.visi-card{
background:white;
padding:30px;
border-radius:20px;
box-shadow:0 5px 20px rgba(0,0,0,.08);

display:flex;
gap:20px;

height:100%;
}

.icon-circle{
width:70px;
height:70px;

background:var(--primary);

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;
}

.icon-circle i{
font-size:30px;
color:var(--secondary);
}

/* STATISTIK */

.stats-modern{
background:linear-gradient(
135deg,
#b30000,
#930000
);

border-radius:25px;

display:flex;
justify-content:space-between;

padding:35px;

box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.stats-item{
flex:1;

display:flex;
align-items:center;
justify-content:center;

gap:20px;

border-right:1px solid rgba(255,255,255,.15);
}

.stats-item:last-child{
border-right:none;
}

.stats-item i{
font-size:55px;
color:#ffc107;
}

.stats-text h3{
color:#ffc107;
font-size:50px;
font-weight:700;
margin:0;
}

.stats-text p{
color:white;
margin:0;
}

/* DOSEN */

.dosen-card{
transition:.3s;
background:white;
border-radius:15px;
overflow:hidden;

text-align:center;

box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.dosen-card img{
width:100%;
height:250px;
object-fit:cover;
}

.dosen-card h5{
font-size:18px;
font-weight:600;
}

.dosen-card p{
font-size:14px;
color:#666;
}

.dosen-card:hover{
    transform:translateY(-5px);
}

/* FITUR */

.fitur-card{
background:white;
border-radius:15px;
overflow:hidden;

height:100%;

box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.fitur-card img{
width:100%;
height:220px;
object-fit:cover;
}

.fitur-card h4{
padding:15px 15px 5px;
color:var(--primary);
}

.fitur-card p{
padding:0 15px 20px;
}

/* BUTTON */

.btn-itb{
background:var(--primary);
color:white;
border:none;
}

.btn-itb:hover{
background:#e6ac00;
color:white;
}

.section-title{
font-weight:700;
margin-bottom:30px;
}

/* RESPONSIVE */

@media(max-width:992px){

    .stats-modern{
        flex-direction:column;
    }

    .stats-item{
        width:100%;
        justify-content:flex-start;

        border-right:none;
        border-bottom:1px solid rgba(255,255,255,.15);

        padding:25px;
    }

    .stats-item:last-child{
        border-bottom:none;
    }

    .profil-hero h1{
        font-size:42px;
    }

    .hero h1{
        font-size:42px;
    }

    .news-header{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

}

.btn-merah{
    background:var(--primary);
    color:#fff;
    border:none;
}

.btn-merah:hover{
    background:#6f0000;
    color:#fff;
}

img{
    max-width:100%;
    display:block;
}

/* ==========================
   NAVBAR ITBI
========================== */

.navbar-itbi{

    background:rgba(139,0,0,.95);

    backdrop-filter:blur(10px);

    padding:15px 0;

    box-shadow:
    0 2px 15px rgba(0,0,0,.15);
}

.logo-itbi{
    width:55px;
    height:auto;
}

.brand-title{
    color:#fff;
    font-size:18px;
    font-weight:700;
    line-height:1;
}

.brand-subtitle{
    color:#f3f3f3;
    font-size:10px;
    line-height:1.2;
}

.navbar-nav .nav-item{
    margin:0 8px;
}

.navbar-nav .nav-link{
    color:#fff !important;
    font-weight:500;
    font-size:18px;
    position:relative;
    padding:8px 10px;
}

.navbar-nav .nav-link:hover{
    color:#FFC107 !important;
}

.navbar-nav .nav-link.active{
    color:#FFC107 !important;
}

.navbar-nav .nav-link.active::after{
    content:'';

    position:absolute;

    left:0;
    right:0;
    bottom:-12px;

    margin:auto;

    width:85%;
    height:3px;

    background:#FFC107;
    border-radius:10px;
}

.btn-daftar{

    background:#FFC107;

    color:#000;

    font-weight:600;

    padding:12px 25px;

    border-radius:10px;

    transition:.3s;
}

.btn-daftar:hover{

    background:#e6ac00;
    color:#000;

    transform:translateY(-2px);
}

.navbar-toggler{
    border:none;
}

.navbar-toggler:focus{
    box-shadow:none;
}

.navbar-toggler-icon{
    filter:brightness(0) invert(1);
}

@media (max-width: 991px){

    .navbar-collapse{
        background:#8B0000;
        padding:20px;
        margin-top:15px;
        border-radius:15px;
    }

    .navbar-nav{
        text-align:left;
    }

    .navbar-nav .nav-item{
        margin:0;
    }

    .navbar-nav .nav-link{
        padding:12px 0;
        font-size:20px;
    }

    .navbar-nav .nav-link.active::after{
        width:60px;
        left:0;
        right:auto;
        bottom:0;
    }

    .btn-daftar{
        margin-top:15px;
        width:100%;
        text-align:center;
    }

    .logo-itbi{
        width:40px;
    }

    .brand-title{
        font-size:16px;
    }

    .brand-subtitle{
        font-size:8px;
    }

}

@media (max-width:768px){

    .hero{
        min-height:500px;
        text-align:center;
    }

    .hero h1{
        font-size:48px;
    }

    .hero h3{
        font-size:22px;
    }

    .hero p{
        font-size:16px;
    }

}