/* Header Styling */
.com-header {
    background: #e0f0ff;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #105196;
    position: relative;
    z-index: 1000;
}

/* Logo Group */
.com-logo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 250px;
}

/* IIT Logo */
.com-logo {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

/* Text Block */
.com-text {
    line-height: 1.3;
}

.com-name {
    display: block;
    color: #105196;
    font-weight: 700;
    font-size: 22px;
}

.com-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #0d3b6a;
}

/* Toggle Button */
.com-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #105196;
    cursor: pointer;
}

/* Logout/Login Button */
.logout-button {
    padding: 8px 18px;
    background-color: #105196;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(16, 81, 150, 0.3);
    margin-left: auto;
}

/* Mobile Menu Container */
.com-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.profile{
    color: #105196;
    font-weight: 630;
    font-size: 18px;
}
/* Responsive Styling */
@media (max-width: 768px) {
    .com-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .com-toggle {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .com-menu {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        display: none;
    }

    .com-menu.show {
        display: flex;
    }

    .logout-button {
        width: 100%;
        justify-content: center;
    }

    .com-logo-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .com-name {
        font-size: 20px;
    }

    .com-subtitle {
        font-size: 16px;
    }
}