.header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.header-text {
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
}

/* Improved Font Sizes for Better Readability */
.institution-name {
    color: #1a237e;
    /* font-size: 2rem; Increased from 1.5rem */
    font-size: 1.2rem; /* Increased from 1.5rem */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.institution-type {
    color: #0d47a1;
    /* font-size: 1.5rem; Increased from 1rem */
    font-size: 2rem; /* Increased from 1rem */
    font-weight: 600;
}

.institution-affiliation {
    color: #1565c0;
    font-size: 1.2rem; /* Increased from 0.8rem */
    font-weight: 500;
}

.header-logo-wrapper {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

/* Mobile Styles */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .logo-container-mobile {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    /* Adjusted Mobile Font Sizes */
    .institution-name {
        font-size: 1.2rem;
    }

    .institution-type {
        font-size: 1.8rem;
        line-height: 30px;
    }

    .institution-affiliation {
        margin-top: 10px;
        font-size: 1rem;
    }

    .header-text {
        order: 2;
        padding: 0 10px;
    }

    .first-logo,
    .second-logo {
        order: 1;
    }

    .header-logo-wrapper img {
        max-width: 120px; /* Increased from 100px */
    }
}


.announcement-section {
    background-color: #f3f9ff;
}

.announcement-wrapper {
    border-left: 4px solid #0d6efd;
}

.announcement-badge {
    text-decoration: none;
    min-width: 200px;
}

.announcement-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.announcement-link {
    color: #444;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.announcement-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
}

.announcement-separator {
    color: #aaa;
    margin: 0 0.75rem;
    font-weight: bold;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .d-flex.flex-md-row {
        flex-direction: column !important;
    }

    .announcement-badge {
        margin-bottom: 1rem;
    }
}

.alert-ragging {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.alert-ragging:hover {
    transform: scale(1.02);
}

.siren-text {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    transition: background 0.3s ease;
}

.btn-light:hover {
    background: #fff;
    color: #dc3545 !important;
}

.siren-effect {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: siren 2s infinite;
}

@keyframes siren {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .siren-text {
        font-size: 1.25rem;
    }

    .btn-sm {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .mt-3 {
        gap: 1.5rem;
    }
}

/* past news and notice page */


/* Notice Card Styling */
.notice-card {
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-nine__admin {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: none;
}

.notice-text {
    flex: 1;
}


.notice-para {
    color: var(--paragraph);
    font-size: 15px;
    margin-top: 5px;
    line-height: 24px;
}

.notice-link {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sub-bg);
    transition: all 0.3s ease;
}

.notice-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.notice-arrow i {
    font-size: 18px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.notice-card:hover .notice-link {
    background: var(--primary-color);
}

.notice-card:hover .notice-arrow i {
    color: var(--white);
    transform: rotate(45deg);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .blog-nine__admin {
        padding: 15px;
    }
    
    .notice-text h5 {
        font-size: 14px;
    }
    
    .notice-para {
        font-size: 12px;
    }
    
    .notice-link {
        width: 40px;
        height: 40px;
    }
    
    .notice-arrow i {
        font-size: 16px;
    }
}

/* central reserach laboratory focus area */
.research-section {
    padding: 2rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    
    .section-title {
    color: var(--heading-color);
    position: relative;
    padding-bottom: 15px;
    }
    
    .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    }
    
    .research-item {
    height: 100%;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    }
    
    .research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
    }
    
    .research-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    }
    
    .research-content h4 {
    color: var(--heading-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
    }
    
    .research-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    }
    
    .research-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--paragraph);
    font-size: 0.95rem;
    line-height: 1.5;
    }
    
    .research-content ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    }


    /* Hostel page */
    .warden-contact {
        color: #2EB97E;
        border-color: #2EB97E;
    }
    .warden-contact:hover  {
        background-color: #2EB97E;
        color: white;
        border-color: #2EB97E;
    }