:root{
    --primary: #2563eb;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #f1f5f9;
    color: #1e293b;
}

a{
    text-decoration: none;
}

.section-title{
    font-size: 38px;
    font-weight: 700;
    color: var(--dark);
}

.section-subtitle{
    color: var(--gray);
    font-size: 17px;
}
.navbar{
    transition: all .3s ease;
}

.navbar-brand{
    letter-spacing: .5px;
}

.nav-link{
    position: relative;
    color: #334155 !important;
}

.nav-link:hover{
    color: #2563eb !important;
}

.nav-link::after{
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: 0;
    background: #2563eb;
    transition: .3s;
}

.nav-link:hover::after{
    width: 100%;
}
.hover-card{
transition: all .3s ease;
}

.hover-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.12)!important;
}
.navbar .nav-link.active{
    color: #0d6efd !important;
}

.navbar .nav-link.active::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #0d6efd;
    border-radius: 20px;
}
.hover-fasilitas {
    transition: 0.2s ease;
    cursor: default;
}

.hover-fasilitas:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #0d6efd;
}

.custom-pagination {
    gap: 6px;
}

.custom-pagination .page-link {
    border: none;
    padding: 10px 16px;
    color: #555;
    background: #f8f9fa;
    transition: all 0.2s ease;
    border-radius: 999px;
    font-weight: 500;
}

.custom-pagination .page-item.active .page-link {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 6px 18px rgba(13,110,253,.25);
    transform: translateY(-1px);
}

.custom-pagination .page-link:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.custom-pagination .page-item.disabled .page-link {
    opacity: 0.5;
}
.kost-img-wrapper {
    width: 100%;
    height: 350px;   /* FIXED HEIGHT */
    overflow: hidden;
    position: relative;
}

.kost-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* optional hover effect */
.kost-img:hover {
    transform: scale(1.05);
}