/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins", sans-serif; }

:root {
    --primary: #00203F;
    --yellow: #D89E00;
    --white: #fff;
}

/* TOP STRIP */
.top-strip {
    background: var(--yellow);
    padding: 6px 0;
}

.top-container {
    max-width: 1250px;
    margin: auto;
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.top-container a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

/* MAIN HEADER */
.main-header {
    background: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.header-container {
    max-width: 1250px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-logo { display: flex; align-items: center; gap: 15px; }

.college-logo { width: 80px; }

.title-text h1 { font-size: 24px; font-weight: 700; color: #000; }
.title-text h2 { font-size: 20px; color: #c21807; }
.title-text p  { font-size: 14px; color: #444; }

.right-logos img { width: 120px; margin-left: 10px; }

/* NAV BAR */
.nav-bar {
    background: var(--primary);
    padding: 12px 0;
}

.nav-menu {
    max-width: 1250px;
    margin: auto;
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    color: var(--white);
    font-size: 15px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu li a:hover { color: var(--yellow); }
.slider {
    width: 100%;
    height: 420px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 420px;
    position: absolute;
}

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    background: rgba(0,0,0,0.45);
    padding: 10px 20px;
    border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .slider, .slide img {
        height: 260px;
    }

    .text {
        font-size: 20px;
        bottom: 20px;
        left: 20px;
    }
}

/* Hamburger */
#menu-toggle { display: none; }
.hamburger { display: none; cursor: pointer; }
.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 6px 0;
    border-radius: 5px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hamburger { display: block; margin-left: 20px; }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--primary);
        width: 250px;
        height: 100vh;
        padding: 40px 20px;
        gap: 20px;
        transition: 0.4s;
    }

    #menu-toggle:checked ~ .nav-menu { right: 0; }
}

