main {
    flex: 1;
    padding-top: 30px;
}

/* ===== BODY BACKGROUND ===== */
body {
    position: relative;
    font-family: 'Segoe UI', sans-serif;
    background: url('https://i.ytimg.com/vi/TSgW1ZNvzp4/maxresdefault.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(3px);
    z-index: -1;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Circular Logo */
.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    background: white;
}

/* College Name */
.college-name {
    font-size: 17px;
    font-weight: 600;
}

/* System Title */
.system-name {
    font-size: 13px;
    opacity: 0.85;
}

/* college title */
.title-text {
    display: flex;
    flex-direction: column;
}

/* HEADER */

.header {
    background: linear-gradient(90deg, #0a3d62, #1e3799);
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.left-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    font-size: 22px;
    cursor: pointer;
}

/* ===== SIDEBAR ===== */
.sidebar {
    height: 100%;
    width: 260px;
    position: fixed;
    top: 0;
    left: -260px;
    background: linear-gradient(180deg, #1e3799, #0a3d62);
    transition: 0.4s;
    padding-top: 90px;
    z-index: 9999 !important;
    overflow-y: auto;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
    font-weight: 500;
}

.sidebar.active {
    left: 0;
}

.sidebar a,
.submenu-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 25px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
}

.sidebar a:hover,
.submenu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(6px);
    transition: 0.25s;
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sidebar a span,
.submenu-btn span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar i {
    width: 20px;
    text-align: center;
}
.submenu a {
    padding: 10px 20px;
    font-size: 14px;
}
/* FINAL CLEAN SUBMENU */
.submenu {
    
    display:none;
    flex-direction: column;
    padding-left: 20px;
}
.sidebar-submenu.active .submenu {
    max-height: 200px; /* enough height */
}
.submenu.show {
    display: block !important;
}
.submenu {
    display: none;
}
/* Sidebar Submenu */
.arrow {
    transition:  trabsform 0.3s ease;
    font-size: 12px
}

.sidebar-submenu.active>a .arrow {
    transform: rotate(180deg);
}
.sidebar a:hover,
.submenu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    transition: 0.2s;
}
/* ===== OVERLAY ===== */
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1;
}

.overlay.active {
    display: block;
}
.overlay {
  z-index: 1 !important;
}

/* ===== LOGIN CARD ===== */
.login-box {
    max-width: 360px;
    margin: 10px auto;
    padding: 15px;

    border-radius: 12px;

    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);

    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
main {
    min-height: 100vh;
    display: flex;
    align-items: center;   /* vertical center */
    justify-content: center;
}
.login-box input,
.login-box select {
    padding: 6px;
    font-size: 13px;
}
.login-box button {
    padding: 10px;
    font-size: 15px;
    border-radius: 8px;
}

.login-box:hover {
    transform: translateY(-3px);
}

.login-box h5 {
    font-weight: 600;
    margin-bottom: 25px;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
}

.form-control::placeholder {
    color: #ddd;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.25);
}

.btn-primary {
    background: #f39c12;
    border: none;
    font-weight: 600;
    transition: 0.25s;
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

.sidebar a:hover i,
.submenu-btn:hover i {
    color: #f39c12;
    transition: 0.2s;
}

/* LOGIN TABS */

.login-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.login-tabs button {
    border: none;
    padding: 7px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .15);
    color: white;
    font-size: 14px;
    transition: 0.3s;
}

.login-tabs button:hover {
    background: #f39c12;
    transform: scale(1.05);
}

.login-tabs button.active {
    background: #f39c12;
}


/* Captcha */
.captcha-box {
    background: white;
    color: black;
    padding: 6px 15px;
    font-weight: bold;
    letter-spacing: 3px;
    border-radius: 5px;
    display: inline-block;
}

/* Footer */
footer {
    background: rgba(10, 61, 98, 0.95);
    padding: 12px;
    text-align: center;
    color: white;
    margin-top: 20px;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {

    .header {
        flex-direction: column;
        text-align: center;
    }

    .college-name {
        font-size: 14px;
        margin-top: 5px;
    }

    .login-box {
        margin: auto;
        margin-top: 30px;
    }

    .sidebar {
        width: 220px;
    }
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
    min-width: 200px;
}

.dropdown-submenu.show .submenu {
    display: block;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: white;
}
.card {
    margin-bottom: 10px !important;
}

.card-header {
    padding: 8px 12px !important;
}

.card-body {
    padding: 10px !important;
}
.mt-4 {
    margin-top: 10px !important;
}

.mt-3 {
    margin-top: 8px !important;
}
.list-group-item {
    padding: 6px 10px;
    font-size: 13px;
}


.container {
    max-width: 1000px;
}

.announcement-bar {
    background: #f39c12;
    color: white;
    font-weight: 600;
    padding: 8px 10px;
    font-size: 14px;
}
.submenu-btn {
    width: 100%;
    border: none;
    background: none;
    color: white;
    padding: 14px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
}

.submenu-btn i {
    margin-right: 10px;
}

.submenu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}
.glass-card{
background:rgba(255,255,255,0.12);
backdrop-filter:blur(20px);
border:1px solid rgba(255,255,255,0.25);
padding:30px;
border-radius:14px;
color:white;
box-shadow:0 20px 45px rgba(0,0,0,0.55);
margin-bottom:20px;
}
.glass-card h3,
.glass-card h4{
margin-bottom:15px;
font-weight:600;
}
.profile-circle{
width:32px;
height:32px;
border-radius:50%;
background:#1abc9c;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
color:white;
margin-right:8px;
font-size:14px;
}
.profile-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
/* PROFILE IMAGE */
.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0d6efd;
}
/* GLASS CARD */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 20px;
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
/* COVER */
.cover {
    height: 120px;
    background: linear-gradient(90deg,#ffffff33,#ffffff11);
    border-radius: 10px;
}

/* PROFILE SECTION */
.profile-section {
    margin-top: -60px;
}

/* PROFILE IMAGE */
.profile-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

/* INFO BOX */
.info-box {
    background: rgba(255,255,255,0.15);
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s;
}

.info-box i {
    font-size: 20px;
    margin-bottom: 5px;
}

.info-box:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.25);
}
.info-box strong {
    word-break: break-all;
    font-size: 14px;
    min-height: 110px;
}
body {
    background-size: cover;
    animation: zoomBg 20s infinite alternate;
}

@keyframes zoomBg {
    from { background-size: 100%; }
    to { background-size: 110%; }
}