/* =======================
   Header Base Styles
======================= */
.top-header {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #141e30, #243b55);
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-sizing: border-box; /* Layout shift se bachne ke liye */
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px; /* Thoda proper gap */
}

/* College Banner Logo */
.header-banner {
    height: 65px; /* 60px container me 50px image perfectly balance rahegi */
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

/* Menu Icon */
.menu-icon {
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

/* Dropdown Menu */
.dropdown {
    display: none;
    position: absolute;
    top: 65px; /* Navbar height ke exact niche */
    left: 20px;
    background: #fff;
    width: 220px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
    z-index: 1001;
}

.dropdown a {
    display: block;
    padding: 14px;
    text-decoration: none;
    color: #222;
    border-bottom: 1px solid #eee;
}

.dropdown a:hover {
    background: #f1f1f1;
}

/* Right Side */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box {
    width: 170px;
    padding: 9px 14px;
    border: none;
    border-radius: 30px;
    outline: none;
    font-size: 14px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    cursor: pointer;
    border-radius: 50%;
    background: #fff;
    padding: 0; /* 'padding: px;' fix kar diya gaya hai */
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =======================
   Mobile Responsive
======================= */
@media (max-width: 768px) {
    .top-header {
        height: 60px;
        padding: 0 12px;
    }

    .header-left {
        gap: 8px;
    }

    .header-banner {
        height: 42px; /* Mobile screen par perfect fit */
    }

    .menu-icon {
        font-size: 26px;
    }

    .search-box {
        width: 110px;
        padding: 7px 12px;
        font-size: 13px;
    }

    .icon-btn {
        width: 32px;
        height: 32px;
        padding: 0;
    }

    .dropdown {
        top: 62px;
        left: 10px;
        width: 210px;
    }
}