/* Academics Hero Section */
.academics-hero {
    background: linear-gradient(rgba(0, 33, 71, 0.9), rgba(0, 33, 71, 0.9));
    position: relative;
}

.academics-hero img {
    border: 5px solid #fff;
}

/* Program Cards */
.program-code {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 55px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bs-primary);
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bs-primary);
    border: 4px solid #fff;
}

/* Counter Animation */
.counter {
    font-weight: bold;
}

/* Resource Cards */
.resource-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 33, 71, 0.1);
    margin: 0 auto 1.5rem;
}

/* Library Hours Table */
.table td {
    padding: 1rem;
    vertical-align: middle;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-item::before {
        left: -30px;
    }
    
    .program-code {
        width: 50px;
        height: 50px;
    }
}
