/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f5f5;
    color: #333;
    text-align: center;
    padding: 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    height: auto;
}

h1 {
    font-size: 24px;
    font-weight: 600;
}

/* Back Button */
.back-btn {
    background: #ff4757;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin: 15px;
    transition: 0.3s ease;
}

.back-btn:hover {
    background: #e84118;
}

/* PDF Section */
.pdf-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.pdf-btn {
    display: block;
    text-decoration: none;
    background: #007bff;
    color: white;
    padding: 12px;
    border-radius: 5px;
    margin: 10px auto;
    width: 80%;
    max-width: 300px;
    font-size: 16px;
    transition: 0.3s;
}

.pdf-btn:hover {
    background: #0056b3;
}

/* Syllabus Section */
.syllabus {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.class-section {
    margin-top: 15px;
}

.class-btn {
    background: #28a745;
    color: white;
    border: none;
    width: 100%;
    max-width: 400px;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.class-btn:hover {
    background: #218838;
}

/* Expandable Content */
.content {
    display: none;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

.content ul {
    list-style-type: none;
    padding: 0;
}

.content ul li {
    padding: 5px 0;
    font-size: 16px;
}
.content {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.content.open {
    max-height: 500px;
}
/* Footer */
footer {
    margin-top: 20px;
    font-size: 14px;
    color: gray;
}
