:root {
    --primary: #0a4d8c;
    --primary-dark: #063664;
    --secondary: #ffc107;
    --dark: #101828;
    --text: #475467;
    --light: #f5f7fb;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* TOP BAR */

.top-bar {
    min-height: 42px;
    background: var(--primary-dark);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 6%;
    font-size: 14px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.top-right a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

.top-right a:hover {
    color: var(--secondary);
}


/* NAVIGATION */

.navbar {
    min-height: 82px;
}

.navbar-brand {
    color: var(--primary) !important;
}

.navbar .nav-link {
    color: var(--dark);
    font-weight: 500;
    margin: 0 5px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
}

.btn {
    border-radius: 10px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-warning {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #111;
}

.btn:hover {
    transform: translateY(-2px);
}


/* HERO */

.hero {
    min-height: 680px;
    background:
        linear-gradient(
            rgba(3, 24, 48, 0.68),
            rgba(3, 24, 48, 0.68)
        ),
        url("../images/hostel-main.jpg");
        
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 100px 20px 140px;
}

.hero-overlay {
    width: 100%;
    max-width: 1000px;
}

.hero-overlay h5 {
    color: var(--secondary);
    letter-spacing: 7px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-overlay h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 25px;
}

.hero-overlay p {
    font-size: 22px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 210px;
    padding: 15px 30px;
    border-radius: 50px;
}

.hero-buttons .btn-outline-light {
    background: transparent;
    color: var(--white);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}


/* STATISTICS */

.stats {
    margin-top: -75px;
    position: relative;
    z-index: 5;
}

.stats-box {
    background: var(--white);
    border-radius: 18px;
    padding: 35px 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.15);
}

.stat {
    padding: 10px;
}

.stat h2 {
    color: var(--primary);
    font-size: 38px;
    margin-bottom: 8px;
}

.stat p {
    color: var(--text);
    font-weight: 600;
    margin: 0;
}


/* SECTIONS */

.about,
.hostels,
.facilities {
    padding: 90px 0 !important;
}

.about {
    background: var(--white);
}

.hostels {
    width: 100%;
    margin: 0;
    background: #f4f7fc;
}

.facilities {
    background: var(--white);
}

.text-center h2 {
    color: var(--primary) !important;
    font-size: clamp(30px, 4vw, 42px);
}

.text-center p {
    max-width: 700px;
    margin: 15px auto 0;
    color: var(--text);
}


/* FEATURES */

.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.features > div {
    flex: 1;
    min-width: 280px;
}

.feature-card {
    height: 100%;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid #eaecf0;
    box-shadow: 0 12px 35px rgba(16, 24, 40, 0.07);
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(16, 24, 40, 0.13);
}

.icon-circle {
    width: 75px;
    height: 75px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
}

.feature-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text);
    line-height: 1.7;
}


/* HOSTELS */

.hostel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hostel-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(16, 24, 40, 0.1);
    transition: 0.3s ease;
}

.hostel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(16, 24, 40, 0.16);
}

.hostel-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.hostel-info {
    padding: 28px;
}

.hostel-info h4 {
    color: var(--primary);
    margin: 5px 0 15px;
}

.hostel-info p {
    margin-bottom: 10px;
}

.hostel-info hr {
    margin: 20px 0;
    border-color: #d0d5dd;
}

.hostel-info .btn {
    padding: 14px;
}


/* FACILITIES */

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.facility-card {
    min-height: 180px;
    background: var(--light);
    padding: 28px 20px;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(16, 24, 40, 0.06);
    transition: 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-6px);
    background: var(--white);
}

.facility-icon {
    font-size: 44px;
    margin-bottom: 15px;
}

.facility-card h4 {
    font-size: 20px;
    margin: 0;
}


/* FOOTER */

footer {
    background: #101828 !important;
}

footer p {
    color: #f2f4f7;
}


/* TABLES */

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 15px;
    text-align: left;
}

th {
    background: var(--primary);
    color: var(--white);
}


/* TABLET */

@media (max-width: 991px) {

    .top-bar {
        padding: 10px 4%;
    }

    .top-left {
        gap: 12px;
    }

    .hero {
        min-height: 620px;
    }

    .stats-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .hostel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar-collapse {
        padding: 20px 0;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 12px 15px;
    }

    .top-left {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 15px;
        font-size: 12px;
    }

    .top-right {
        gap: 25px;
    }

    .navbar-brand {
        font-size: 21px !important;
    }

    .hero {
        min-height: 600px;
        padding: 80px 18px 120px;
    }

    .hero-overlay h5 {
        letter-spacing: 4px;
        font-size: 14px;
    }

    .hero-overlay h1 {
        font-size: 40px;
    }

    .hero-overlay p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 !important;
    }

    .stats {
        margin-top: -65px;
    }

    .stats-box {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 10px;
    }

    .stat h2 {
        font-size: 28px;
    }

    .stat p {
        font-size: 13px;
    }

    .about,
    .hostels,
    .facilities {
        padding: 65px 0 !important;
    }

    .hostel-grid,
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .hostel-card img {
        height: 210px;
    }

    .facility-card {
        min-height: 145px;
    }

}
/* ATT HOSTEL LOGO */

.site-logo{
    width:180px;
    height:auto;
    display:block;
}

@media (max-width:768px){
    .site-logo{
        width:140px;
    }
}
/* FIX DESKTOP NAVBAR ALIGNMENT */

.navbar .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.navbar-brand{
    display:flex;
    align-items:center;
    margin:0;
    padding:0;
}

.site-logo{
    width:150px;
    height:auto;
    display:block;
}

.navbar-nav{
    list-style:none;
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
    padding-left:0;
}

.navbar-nav li{
    list-style:none;
}

@media (max-width:768px){
    .site-logo{
        width:140px;
    }
}
/* REMOVE ALL NAVIGATION LIST ICONS */

.navbar ul,
.navbar li,
.navbar-nav,
.navbar-nav li{
    list-style-type:none !important;
    list-style:none !important;
}

.navbar li::before,
.navbar-nav li::before{
    content:none !important;
    display:none !important;
}