.notes-subtitle {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0.8;
}/* Dark Theme for Notes & Resources Page */
body {
    margin: 0;
    padding: 0;
    font-family: 'Calibri', Arial, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    padding-top: 70px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('https://png.pngtree.com/thumb_back/fh260/back_our/20190621/ourmid/pngtree-teacher-s-college-classroom-coaching-course-poster-background-image_188494.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(30, 30, 40, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Main Headers */
h1 {
    text-align: center;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 100, 0, 0.5);
    position: relative;
    padding-bottom: 15px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff5e00, #8a2be2);
    border-radius: 2px;
}

h2 {
    font-size: 2.2rem;
    color: #ff5e00;
    margin-top: 20px;
    text-shadow: 0 0 8px rgba(255, 94, 0, 0.3);
    font-weight: bold;
}

/* Content Flex Layout */
.content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
    margin-bottom: 80px; /* Increase bottom margin to create more space */
}

.syllabus-section,
.time-table-section {
    flex: 1;
    padding: 25px;
    border-radius: 12px;
    background-color: rgba(25, 25, 35, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.syllabus-section:hover,
.time-table-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 94, 0, 0.2);
}

/* Section Titles */
.syllabus-section h2,
.time-table-section h2 {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    width: 100%;
}

.syllabus-section h2::after,
.time-table-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #ff5e00, #8a2be2);
    border-radius: 1.5px;
}

/* Text styles */
p {
    margin: 15px 0;
    line-height: 1.6;
}

/* Buttons */
.btn, 
.drive-link {
    display: block;
    padding: 14px 24px;
    margin: 20px 0;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #5000ff, #0e0e52);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(80, 0, 255, 0.3);
}

.btn:hover, 
.drive-link:hover {
    background: linear-gradient(135deg, #6a11ff, #1e1e92);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(106, 17, 255, 0.4);
}

.btn:active,
.drive-link:active {
    transform: translateY(1px);
}

.btn::before,
.drive-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before,
.drive-link:hover::before {
    left: 100%;
}

/* Semester Cards Grid */
.notes-container {
    text-align: center;
    padding: 20px;
    margin-top: 60px; /* Add space between sections */
    animation: fadeIn 1s ease-in-out;
}

.semester-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px auto;
    max-width: 1200px;
}

.semester {
    background: rgba(35, 35, 45, 0.6);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.semester::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.semester:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 94, 0, 0.2);
}

.semester:hover::before {
    opacity: 1;
}

/* Footer Styling */
footer {
    background-color: rgba(20, 20, 30, 0.95);
    color: #f0f0f0;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(100, 100, 150, 0.2);
}

footer a {
    font-weight: bold;
    color: #ff5e00;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
}

.social-links {
    margin: 15px 0;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    font-size: 22px;
    color: #f0f0f0;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #ff5e00;
    transform: translateY(-3px);
}

/* Special text styles */
.batch-text {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #ff5e00, #ffcc00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Animation for semester content */
@keyframes glow {
    0% { box-shadow: 0 0 10px rgba(255, 94, 0, 0.2); }
    50% { box-shadow: 0 0 20px rgba(255, 94, 0, 0.4); }
    100% { box-shadow: 0 0 10px rgba(255, 94, 0, 0.2); }
}

/* Media queries for responsive design */
@media screen and (max-width: 992px) {
    .content {
        flex-direction: column;
        margin-bottom: 60px; /* Smaller margin on mobile */
    }
    
    .notes-container {
        margin-top: 40px; /* Smaller margin on mobile */
    }
    
    .syllabus-section, 
    .time-table-section {
        width: 100%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
        margin: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .semester-links {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .semester {
        padding: 20px;
    }
    
    .btn, .drive-link {
        padding: 12px 20px;
    }
    
    .batch-text {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .semester-links {
        grid-template-columns: 1fr;
    }
    
    .btn, .drive-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}
