body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7fc;
    color: #333;
    padding-top: 70px;
}

.navbar-custom {
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: #00d4ff !important;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
    animation: advancedLogoAnimation 4s infinite ease-in-out;
}

.navbar-brand-text {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes advancedLogoAnimation {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }
    25% {
        transform: translateY(-15px) scale(1.1) rotate(5deg);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    }
    50% {
        transform: translateY(0) scale(1) rotate(0deg);
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }
    75% {
        transform: translateY(-10px) scale(1.05) rotate(-5deg);
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    }
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }
}

.hero-section {
    position: relative;
    height: 80vh;
    background: url('projectpic1.jpg') no-repeat center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-text {
    position: relative;
    z-index: 1;
    background: rgba(240, 237, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    max-width: 600px;
}

.card-custom {
    background: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card-custom:hover {
    transform: translateY(-5px);
}

.card-feature {
    background: #e6f0ff; /* Light blue background for feature cards */
}

.online { border-left: 5px solid #28a745; }
.offline { border-left: 5px solid #dc3545; }

.btn-custom {
    background: linear-gradient(45deg, #00d4ff, #1e3c72);
    border: none;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
    width: auto;
    text-align: center;
    line-height: normal;
    cursor: pointer; /* Ensure clickable appearance */
}

.btn-custom:hover {
    background: linear-gradient(45deg, #1e3c72, #00d4ff);
    transform: scale(1.05);
}

.footer {
    background: #1e3c72;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

.lab-section .accordion-button {
    background: #2a5298;
    color: #fff;
    border-radius: 10px;
}

.lab-section .accordion-button:not(.collapsed) {
    background: #1e3c72;
}

.about-section {
    position: relative;
    min-height: 100vh;
    background: url('projectpic3.jpg') no-repeat center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.refresh-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.contact-list a {
    color: #1e3c72;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-list a:hover {
    color: #00d4ff;
}

.contact-icon {
    color: #2a5298;
    width: 20px;
    text-align: center;
}

.social-list a {
    font-size: 20px;
    color: #2a5298;
    transition: color 0.3s;
}

.social-list a:hover .social-icon {
    color: #00d4ff;
}

.social-icon {
    width: 30px;
    text-align: center;
}

.archive-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    max-width: 100%;
    overflow-x: auto;
}

.archive-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.archive-img:hover {
    transform: scale(1.05);
}

.feature-icon {
    font-size: 2.5rem;
    color: #2a5298;
}

.section-icon {
    font-size: 2.5rem;
    color: #2a5298;
}

@media (max-width: 768px) {
    .btn-custom {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 30px;
    }
    .navbar-brand-text {
        font-size: 1.2rem;
    }
    .refresh-btn {
        padding: 8px 15px;
        font-size: 14px;
        bottom: 10px;
        right: 10px;
    }
    .archive-img {
        width: 100px;
        height: 100px;
    }
    .archive-grid {
        overflow-x: auto;
    }
    .btn-custom {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}