/* College Page Styles */

body {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    background-color: #0b1326;
    color: #e2e8f0;
}
.glass-panel {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.1);
}
.gradient-text {
    background: linear-gradient(135deg, #00D4FF 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Blueprint Station Frame */
.blueprint-card {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(10, 16, 32, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.blueprint-card:hover {
    border-color: rgba(0, 212, 255, 0.55);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 212, 255, 0.2);
}

.blueprint-card::before,
.blueprint-card::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    pointer-events: none;
    z-index: 10;
}
.blueprint-card::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid #00D4FF;
    border-left: 2px solid #00D4FF;
}
.blueprint-card::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid #00D4FF;
    border-right: 2px solid #00D4FF;
}

/* Sort Pills */
.sort-pill {
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
}

.sort-pill:hover {
    color: #f8fafc;
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(15, 23, 42, 0.9);
}

.sort-pill.active {
    color: #070c1a;
    background: #00D4FF;
    border-color: #00D4FF;
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.45);
    font-weight: 700;
}

/* Course Search Input */
.course-search-input {
    background: rgba(10, 16, 32, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
}

.course-search-input:focus {
    outline: none;
    border-color: #00D4FF;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.35);
    background: rgba(15, 23, 42, 0.95);
}

/* Course Card Styles */
.course-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(10, 16, 32, 0.9) 100%);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 14px;
    padding: 20px 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.course-card:hover {
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.12);
    transform: translateY(-2px);
}
.course-card.expanded {
    border-color: #00D4FF;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 212, 255, 0.2);
    background: linear-gradient(135deg, rgba(20, 32, 58, 0.85) 0%, rgba(12, 20, 40, 0.95) 100%);
}
.course-description {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 100, 130, 0.3);
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.7;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}
.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.course-info {
    flex: 1;
}
.course-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}
.course-subtitle {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 500;
}
.course-subtitle span {
    color: #cbd5e1;
    font-weight: 600;
}
/* Course Status Indicator */
.course-status {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.status-indicator {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}
.course-status.completed .status-indicator {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}
.course-status.completed .status-indicator::after {
    content: '✓';
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}
.course-status.completed:hover .status-indicator {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}
.course-status.in-progress .status-indicator {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}
.course-status.in-progress .status-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}
.course-status.in-progress:hover .status-indicator {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
}
.course-status.not-started .status-indicator {
    background: linear-gradient(135deg, rgba(100, 100, 130, 0.5) 0%, rgba(80, 80, 110, 0.5) 100%);
    border: 2px solid rgba(156, 163, 175, 0.4);
    box-shadow: 0 0 20px rgba(100, 100, 130, 0.2);
}
.course-status.not-started:hover .status-indicator {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(100, 100, 130, 0.4);
    border-color: rgba(156, 163, 175, 0.6);
}
.course-status {
    cursor: help;
    position: relative;
}
.course-status:hover::before {
    position: absolute;
    bottom: -40px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #e2e8f0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 100;
    border: 1px solid rgba(156, 163, 175, 0.3);
    animation: tooltipFade 0.2s ease;
}
.course-status.completed:hover::before {
    content: 'Completed';
}
.course-status.in-progress:hover::before {
    content: 'In Progress';
}
.course-status.not-started:hover::before {
    content: 'Not Started';
}
.course-status:hover::after {
    content: '';
    position: absolute;
    bottom: -28px;
    right: 8px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 0, 0, 0.8);
    z-index: 100;
}
@keyframes tooltipFade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}
.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #e2e8f0;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}
.close-modal:hover {
    color: #60a5fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a2e;
    color: #e2e8f0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Textured Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    pointer-events: none;
    z-index: 0;
}

/* College Header */
.college-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(42, 42, 66, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(100, 100, 130, 0.3);
    z-index: 1000;
    padding: 0 20px;
    height: 80px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #9ca3af 0%, #d1d5db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    flex: 1;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(100, 100, 130, 0.3) 0%, rgba(80, 80, 110, 0.3) 100%);
    border: 1px solid rgba(156, 163, 175, 0.3);
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-btn:hover {
    background: linear-gradient(135deg, rgba(120, 120, 150, 0.5) 0%, rgba(100, 100, 130, 0.5) 100%);
    border-color: rgba(156, 163, 175, 0.6);
    color: #e2e8f0;
    transform: translateX(-3px);
}

.college-logo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 175px;
    height: 175px;
}

.header-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Main Content */
.college-main {
    margin-top: 80px;
    padding: 60px 20px;
    min-height: calc(100vh - 80px);
    position: relative;
    z-index: 1;
}

/* College Hero Banner */
.college-hero {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.college-hero:hover .hero-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

/* College Info Section */
.college-info-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.college-info-box {
    background: linear-gradient(135deg, rgba(50, 50, 80, 0.5) 0%, rgba(40, 40, 70, 0.5) 100%);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    padding: 50px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.college-info-box:hover {
    border-color: rgba(156, 163, 175, 0.5);
    background: linear-gradient(135deg, rgba(60, 60, 90, 0.6) 0%, rgba(50, 50, 80, 0.6) 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* About College Section */
.about-college-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(20, 30, 55, 0.6) 0%, rgba(11, 19, 38, 0.75) 100%);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.about-college-section:hover {
    border-color: rgba(156, 163, 175, 0.5);
    background: linear-gradient(135deg, rgba(60, 60, 90, 0.5) 0%, rgba(50, 50, 80, 0.5) 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.about-college-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

.about-college-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-college-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.college-circular-logo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 3px solid rgba(96, 165, 250, 0.2);
}

.about-college-section:hover .college-circular-logo {
    transform: scale(1.05);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 15px 50px rgba(96, 165, 250, 0.2);
}

.about-college-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: -0.5px;
}

.about-college-description {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
    min-height: 80px;
}

.college-website-btn {
    display: inline-block;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(96, 165, 250, 0.5);
    width: fit-content;
}

.college-website-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 1);
}

/* Courses Section */
.courses-section {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 40px 0;
}

.courses-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.course-item {
    background: linear-gradient(135deg, rgba(20, 30, 55, 0.6) 0%, rgba(11, 19, 38, 0.75) 100%);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.course-item:hover {
    border-color: rgba(156, 163, 175, 0.5);
    background: linear-gradient(135deg, rgba(60, 60, 90, 0.5) 0%, rgba(50, 50, 80, 0.5) 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

/* Section Divider */
.section-divider {
    max-width: 1200px;
    margin: 60px auto;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(100, 100, 130, 0.5) 50%, transparent 100%);
}

/* Materials Section */
.materials-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0 60px;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 40px;
}

.sort-dropdown {
    background: linear-gradient(135deg, rgba(20, 30, 55, 0.6) 0%, rgba(11, 19, 38, 0.75) 100%);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 8px;
    color: #e2e8f0;
    padding: 12px 18px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    min-width: 150px;
}

.sort-dropdown:hover {
    border-color: rgba(156, 163, 175, 0.5);
    background: linear-gradient(135deg, rgba(60, 60, 90, 0.5) 0%, rgba(50, 50, 80, 0.5) 100%);
}

.sort-dropdown:focus {
    outline: none;
    border-color: rgba(156, 163, 175, 0.7);
    box-shadow: 0 0 15px rgba(100, 100, 130, 0.3);
}

.sort-dropdown option {
    background-color: #1a1a2e;
    color: #e2e8f0;
}

.courses-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
    padding-right: 20%;
    flex: 1;
}

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Course Card */
.course-card {
    background: linear-gradient(135deg, rgba(20, 30, 55, 0.6) 0%, rgba(11, 19, 38, 0.75) 100%);
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 12px;
    padding: 25px 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.course-card:hover {
    border-color: rgba(156, 163, 175, 0.5);
    background: linear-gradient(135deg, rgba(60, 60, 90, 0.5) 0%, rgba(50, 50, 80, 0.5) 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: translateX(5px);
}

.course-card.expanded {
    background: linear-gradient(135deg, rgba(60, 60, 100, 0.6) 0%, rgba(50, 50, 90, 0.6) 100%);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 30px 100px rgba(0, 212, 255, 0.25);
    transform: scale(1.04);
    padding: 30px 35px;
}

.course-description {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 100, 130, 0.3);
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.7;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.course-info {
    flex: 1;
}

.course-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.course-subtitle {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 500;
}

.course-subtitle span {
    color: #cbd5e1;
    font-weight: 600;
}

/* Course Status Indicator */
.course-status {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-indicator {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

/* Status: Completed (Green) */
.course-status.completed .status-indicator {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.course-status.completed .status-indicator::after {
    content: '✓';
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.course-status.completed:hover .status-indicator {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

/* Status: In Progress (Yellow) */
.course-status.in-progress .status-indicator {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.course-status.in-progress .status-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.course-status.in-progress:hover .status-indicator {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
}

/* Status: Not Started (Grey) */
.course-status.not-started .status-indicator {
    background: linear-gradient(135deg, rgba(100, 100, 130, 0.5) 0%, rgba(80, 80, 110, 0.5) 100%);
    border: 2px solid rgba(156, 163, 175, 0.4);
    box-shadow: 0 0 20px rgba(100, 100, 130, 0.2);
}

.course-status.not-started:hover .status-indicator {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(100, 100, 130, 0.4);
    border-color: rgba(156, 163, 175, 0.6);
}

/* Tooltip */
.course-status {
    cursor: help;
    position: relative;
}

.course-status:hover::before {
    position: absolute;
    bottom: -40px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #e2e8f0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 100;
    border: 1px solid rgba(156, 163, 175, 0.3);
    animation: tooltipFade 0.2s ease;
}

.course-status.completed:hover::before {
    content: 'Completed';
}

.course-status.in-progress:hover::before {
    content: 'In Progress';
}

.course-status.not-started:hover::before {
    content: 'Not Started';
}

.course-status:hover::after {
    content: '';
    position: absolute;
    bottom: -28px;
    right: 8px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 0, 0, 0.8);
    z-index: 100;
}

@keyframes tooltipFade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-image {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.course-image:hover {
    transform: scale(1.05);
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #e2e8f0;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.close-modal:hover {
    color: #60a5fa;
}

.modal-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 2001;
}

.modal-btn {
    background: linear-gradient(135deg, rgba(100, 100, 130, 0.5) 0%, rgba(80, 80, 110, 0.5) 100%);
    border: 1px solid rgba(156, 163, 175, 0.4);
    color: #e2e8f0;
    padding: 12px 18px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: linear-gradient(135deg, rgba(120, 120, 150, 0.7) 0%, rgba(100, 100, 130, 0.7) 100%);
    border-color: rgba(156, 163, 175, 0.8);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .close-modal {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }

    .modal-nav {
        bottom: 20px;
        gap: 15px;
    }

    .modal-btn {
        padding: 10px 15px;
        font-size: 1rem;
    }
}

.college-info-left {
    flex: 1;
}

.college-name {
    font-size: 2rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.college-major {
    font-size: 1.2rem;
    color: #b0b8c0;
    font-weight: 500;
}

.college-info-right {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.cgpa-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cgpa-label {
    font-size: 0.9rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.cgpa-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d1d5db 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.4rem;
    }

    .college-info-box {
        flex-direction: column;
        padding: 30px 25px;
        gap: 30px;
    }

    .college-name {
        font-size: 1.5rem;
    }

    .college-major {
        font-size: 1rem;
    }

    .cgpa-value {
        font-size: 2.5rem;
    }

    .college-info-left,
    .college-info-right {
        width: 100%;
    }

    .cgpa-display {
        width: 100%;
    }

    .courses-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .course-status {
        align-self: flex-end;
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .sort-dropdown {
        width: 100%;
        min-width: unset;
    }

    .courses-title {
        width: 100%;
        text-align: left;
        font-size: 1.4rem;
    }

    .about-college-section {
        margin: 40px 20px;
        padding: 35px 25px;
    }

    .about-college-title {
        font-size: 1.5rem;
    }

    .college-website-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .college-hero {
        height: 280px;
        margin-bottom: 40px;
    }

    .about-college-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .college-circular-logo {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .college-header {
        height: 70px;
    }

    .college-header .header-inner {
        gap: 10px;
    }

    .college-logo-header {
        width: 45px;
        height: 45px;
    }

    .college-main {
        margin-top: 70px;
        padding: 30px 15px;
    }

    .college-info-section {
        padding: 20px 0;
    }

    .college-info-box {
        padding: 25px 15px;
    }

    .page-title {
        font-size: 1.2rem;
    }

    .college-name {
        font-size: 1.2rem;
    }

    .college-major {
        font-size: 0.9rem;
    }

    .cgpa-value {
        font-size: 2rem;
    }

    .courses-section {
        margin-top: 30px;
        padding: 20px 0;
    }

    .courses-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .course-card {
        padding: 18px 20px;
    }

    .course-title {
        font-size: 0.95rem;
    }

    .status-indicator {
        width: 30px;
        height: 30px;
    }

    .sort-dropdown {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .courses-title {
        font-size: 1.1rem;
    }

    .about-college-section {
        margin: 30px 15px;
        padding: 25px 20px;
    }

    .about-college-title {
        font-size: 1.3rem;
    }

    .about-college-description {
        font-size: 0.9rem;
        min-height: 60px;
    }

    .college-website-btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .college-hero {
        height: 220px;
        margin-bottom: 30px;
        border-radius: 8px;
    }

    .college-circular-logo {
        width: 180px;
        height: 180px;
    }
}
