/* Global Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --danger-color: #e74c3c;
    --success-color: #27ae60;
    --accent-color: #9b59b6;
    --text-color: #333;
    --border-radius: 5px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Header Styles */
header {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: space-around;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    animation: fadeIn 1.5s ease;
}

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

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

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

/* Courses Section */
.courses {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.course-container,
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.course-img {
    height: 180px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img img {
    transform: scale(1.1);
}

.course-img i {
    font-size: 4rem;
    color: white;
}

.course-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-content h3 {
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.course-content p {
    margin-bottom: 1.25rem;
    color: #666;
    flex-grow: 1;
}

.course-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    color: #666;
    font-size: 0.9rem;
}

.detail {
    display: flex;
    align-items: center;
}

.detail i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.course-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.course-actions .btn {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

/* Course Filter Styles */
.course-filter-section {
    padding: 2rem 0;
    background-color: white;
}

.course-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.course-filter-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.course-filter-btn:hover,
.course-filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature p {
    color: #666;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 2rem;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    margin-bottom: 1rem;
    color: white;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Services Page Styles */
.services-overview {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
}

.service-item h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Subjects Section */
.subjects {
    padding: 4rem 2rem;
}

.subject-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.subject-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.subject-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.subject-header i {
    font-size: 2rem;
    margin-right: 1rem;
}

.subject-content {
    padding: 2rem;
}

.subject-content h4 {
    color: var(--dark-color);
    margin: 1rem 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.subject-content ul {
    list-style-type: none;
    margin-bottom: 1.5rem;
}

.subject-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.subject-content li:before {
    content: '✓';
    color: var(--success-color);
    position: absolute;
    left: 0;
}

/* Testimonials */
.testimonials {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    padding: 2rem;
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 4rem;
    color: #eee;
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: Georgia, serif;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-info h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: white;
    color: var(--primary-color);
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h2 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}
/* Form Group */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    animation: fadeIn 0.3s ease;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

.success-message i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Map Section */
.map-section {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.map-container {
    margin-top: 2rem;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* About Page Styles */
.about-section {
    padding: 4rem 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Mission & Vision */
.mission-vision {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.mission-vision-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-box,
.vision-box,
.values-box {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.mission-box:hover,
.vision-box:hover,
.values-box:hover {
    transform: translateY(-10px);
}

.mission-box .icon,
.vision-box .icon,
.values-box .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-box .icon i,
.vision-box .icon i,
.values-box .icon i {
    font-size: 2rem;
}

.mission-box h3,
.vision-box h3,
.values-box h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Team Section */
.team-section {
    padding: 4rem 2rem;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.member-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.position {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.member-info p {
    margin-bottom: 1.5rem;
}

.member-info .social-links {
    display: flex;
    gap: 0.5rem;
}

.member-info .social-icon {
    width: 35px;
    height: 35px;
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Achievements Section */
.achievements-section {
    padding: 4rem 2rem;
    background-color: var(--primary-color);
    color: white;
}

.achievements-section .section-title {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.achievement {
    padding: 1.5rem;
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.achievement-count {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.achievement-title {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Gallery Page Styles */
.gallery-section {
    padding: 4rem 2rem;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-info {
    text-align: center;
    padding: 1rem;
}

.gallery-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.gallery-info p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.gallery-expand {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.gallery-expand:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: var(--border-radius);
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.lightbox-caption {
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.lightbox-caption h3 {
    margin-bottom: 0.5rem;
}

/* Enrollment Section Styles */
.enrollment-section {
    padding: 4rem 2rem;
    background-color: var(--light-color);
}

.enrollment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.enrollment-info h3,
.enrollment-form-container h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.benefits-list i {
    color: var(--success-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.testimonial-box {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    padding: 1.5rem;
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 4rem;
    color: #eee;
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: Georgia, serif;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-style: italic;
}

.enrollment-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.enrollment-form .form-group {
    margin-bottom: 1.25rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Course Modal Styles */
.course-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-container {
    background-color: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-content {
    padding: 2rem;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.topics-list,
.benefits-list {
    list-style: none;
}

.topics-list li,
.benefits-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.topics-list i,
.benefits-list i {
    color: var(--success-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.modal-actions {
    margin-top: 2rem;
    text-align: center;
}

/* Dashboard Styles */
.dashboard-section {
    padding: 2rem;
    background-color: var(--light-color);
}

.dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-top: 1rem;
    min-height: 700px;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    height: 100%;
}

.user-profile {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-color);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-menu {
    list-style: none;
    margin-bottom: 2rem;
}

.dashboard-menu li {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.dashboard-menu li i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.dashboard-menu li:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.dashboard-menu li.active {
    background-color: var(--primary-color);
    color: white;
}

.sidebar-footer {
    margin-top: auto;
    text-align: center;
}

/* Dashboard Main Content */
.dashboard-main {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    overflow: hidden;
}

.dashboard-tab {
    display: none;
}

.dashboard-tab.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.dashboard-welcome {
    margin-bottom: 2rem;
}

.dashboard-welcome h2 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.dashboard-welcome p {
    color: #666;
}

/* Stats Cards */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.stat-card.fadeIn {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stat-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.stat-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Recent Activity */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-header h3 {
    color: var(--dark-color);
    margin: 0;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.activity-list {
    margin-bottom: 2rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    background-color: #f9f9f9;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.activity-item.slideIn {
    opacity: 1;
    transform: translateX(0);
}

.activity-item:hover {
    background-color: #f0f0f0;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}

.activity-icon i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.activity-details h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--dark-color);
}

.activity-details p {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    color: #666;
}

.activity-time {
    font-size: 0.8rem;
    color: #999;
}

/* Upcoming Classes */
.class-list {
    margin-bottom: 2rem;
}

.class-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    background-color: #f9f9f9;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.class-item.slideIn {
    opacity: 1;
    transform: translateX(0);
}

.class-item:hover {
    background-color: #f0f0f0;
}

.class-item.upcoming {
    background-color: rgba(var(--primary-rgb), 0.05);
    border-left: 4px solid var(--primary-color);
}

.class-time {
    width: 120px;
    margin-right: 1rem;
}

.class-time h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--dark-color);
}

.class-time p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.class-details {
    flex: 1;
}

.class-details h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--dark-color);
}

.class-details p {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    color: #666;
}

.teacher {
    font-size: 0.85rem;
    color: #999;
}

.class-action {
    margin-left: 1rem;
}

/* My Courses Tab */
.enrolled-courses {
    margin-bottom: 3rem;
}

.course-progress {
    margin-bottom: 1.25rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.progress-bar {
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--success-color);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.recommended-courses h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

/* Assignments Tab */
.assignment-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.assignments-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.assignment-item {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.assignment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.assignment-status {
    width: 150px;
    margin-right: 1.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.status-badge.pending {
    background-color: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.status-badge.submitted {
    background-color: rgba(33, 150, 243, 0.1);
    color: #2196f3;
}

.status-badge.graded {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.due-date {
    font-size: 0.85rem;
    color: #666;
}

.assignment-details {
    flex: 1;
}

.assignment-details h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.assignment-details p {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: #666;
}

.assignment-meta {
    display: flex;
    gap: 1.5rem;
}

.assignment-meta span {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
}

.assignment-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.assignment-actions {
    margin-left: 1.5rem;
    display: flex;
    align-items: center;
}

/* Progress Tab */
.progress-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.progress-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    text-align: center;
}

.progress-card h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.circular-progress {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    position: relative;
}

.circle-progress {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.progress-details {
    margin-top: 3rem;
}

.progress-section {
    margin-bottom: 2.5rem;
}

.progress-section h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.topic-progress {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.topic-item {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.topic-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.topic-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--dark-color);
}

.topic-info span {
    font-weight: 600;
    color: var(--primary-color);
}

.achievements-section {
    margin-top: 3rem;
}

.achievements-section h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.achievement-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.achievement-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
}

.achievement-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.achievement-card h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.achievement-card p {
    font-size: 0.9rem;
    color: #666;
}

.achievement-card.locked {
    opacity: 0.6;
}

.achievement-card.locked .achievement-icon {
    background-color: #f0f0f0;
}

.achievement-card.locked .achievement-icon i {
    color: #999;
}

/* Schedule Tab */
.schedule-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.schedule-controls h3 {
    margin: 0;
    color: var(--dark-color);
}

.weekly-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.schedule-day {
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.schedule-day.today {
    border: 2px solid var(--primary-color);
}

.day-header {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem;
    text-align: center;
}

.day-header h4 {
    margin: 0 0 0.25rem;
}

.day-header p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.day-classes {
    padding: 1rem;
}

.schedule-class {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.schedule-class:last-child {
    margin-bottom: 0;
}

.schedule-class.active {
    border-left: 3px solid var(--success-color);
}

.schedule-class.upcoming {
    border-left: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
}

.class-time {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.schedule-class.upcoming .class-info {
    flex: 1;
}

/* Resources Tab */
.resource-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.resources-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.resource-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}

.resource-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.resource-content {
    flex: 1;
}

.resource-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.resource-content p {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: #666;
}

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.resource-meta span {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
}

.resource-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.resource-actions {
    margin-left: 1rem;
}

/* Settings Tab */
.settings-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.settings-section {
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.settings-section h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.form-check-input {
    margin-right: 0.75rem;
}

.form-check-label {
    font-size: 0.95rem;
    color: #333;
}

.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-sidebar {
        padding: 1rem;
    }
    
    .user-profile {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .profile-image {
        width: 80px;
        height: 80px;
    }
    
    .dashboard-main {
        padding: 1.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .weekly-schedule {
        grid-template-columns: 1fr;
    }
    
    .resources-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .activity-item,
    .class-item,
    .assignment-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .activity-icon,
    .class-time,
    .assignment-status {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .assignment-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .assignment-actions,
    .resource-actions,
    .class-action {
        margin-left: 0;
        margin-top: 1rem;
        align-self: flex-start;
    }
    
    .progress-overview {
        grid-template-columns: 1fr;
    }
    
    .circular-progress {
        width: 120px;
        height: 120px;
    }
    
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .resource-filters,
    .assignment-filters {
        overflow-x: auto;
        padding-bottom: 0.5rem;
        flex-wrap: nowrap;
    }
    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: var(--dark-color);
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    nav ul.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
    
    nav li {
        margin: 0.5rem 0;
    }
    
    nav a {
        transition: transform 0.2s ease;
    }
    
    nav a:hover {
        transform: translateX(5px);
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .menu-toggle.active {
        transform: rotate(90deg);
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .course-container,
    .courses-grid,
    .features-container,
    .services-grid,
    .subject-container,
    .testimonial-container,
    .about-content,
    .mission-vision-container,
    .team-container,
    .contact-container,
    .course-grid,
    .features-grid,
    .gallery-grid,
    .enrollment-container {
        grid-template-columns: 1fr;
    }
    
    .course-filter {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .course-filter-btn {
        width: 80%;
        margin-bottom: 0.5rem;
    }
    
    .course-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .modal-container {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .page-header {
        padding: 3rem 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

/* Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

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

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

@keyframes slideIn {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}