/* ===== Homepage Custom Styles ===== */

/* Root Variables */
:root {
    --primary-color: #12128d;
    --secondary-color: #fbff0d;
    --accent-color: #f8f9fa;
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary-color: #12128d;
    --secondary-color: #ef4444;
    --accent-color: #1f2937;
    --text-dark: #f8f9fa;
    --text-light: #9ca3af;
    --white: #111827;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Dark Theme Body */
[data-theme="dark"] body {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Dark Theme Smooth Transitions */
[data-theme="dark"] * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Dark Theme Loading Animation */
[data-theme="dark"] .loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-theme="dark"] .loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Dark Theme Scrollbar */
[data-theme="dark"] ::-webkit-scrollbar {
    width: 8px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: rgba(31, 41, 55, 0.5);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Dark Theme Hero Section */
[data-theme="dark"] .hero-slide {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%) !important;
}

[data-theme="dark"] .hero-slide::before {
    background: rgba(0, 0, 0, 0.5);
}

/* Dark Theme Section Titles */
[data-theme="dark"] .section-title {
    color: var(--text-dark);
}

[data-theme="dark"] .section-description {
    color: var(--text-light);
}

/* Dark Theme Hero Content */
[data-theme="dark"] .hero-title {
    color: var(--text-dark);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .hero-description {
    color: rgba(248, 249, 250, 0.9);
}

/* Dark Theme Stats */
[data-theme="dark"] .stat-number {
    color: var(--text-dark);
}

[data-theme="dark"] .stat-label {
    color: var(--text-light);
}

/* Dark Theme Grade Cards */
[data-theme="dark"] .grade-title {
    color: var(--text-dark);
}

[data-theme="dark"] .grade-description {
    color: var(--text-light);
}

/* Dark Theme Course Cards */
[data-theme="dark"] .course-price {
    color: var(--primary-color);
}

[data-theme="dark"] .course-students {
    color: var(--text-light);
}

/* Dark Theme Navbar */
[data-theme="dark"] .navbar {
    background: rgba(31, 41, 55, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Dark Theme Cards */
[data-theme="dark"] .stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-color);
}

[data-theme="dark"] .stat-card:hover .stat-number {
    transform: scale(1.05);
    color: var(--primary-color);
}

[data-theme="dark"] .stat-card:hover .stat-label {
    color: var(--white);
    transform: translateY(-2px);
}

[data-theme="dark"] .grade-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .grade-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .grade-card:hover .grade-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-color);
}

[data-theme="dark"] .grade-card:hover .grade-title {
    transform: scale(1.05);
    color: var(--primary-color);
}

[data-theme="dark"] .grade-card:hover .grade-description {
    color: var(--white);
    transform: translateY(-2px);
}

[data-theme="dark"] .grade-card:hover .grade-stats .badge {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

[data-theme="dark"] .grade-card:hover .btn {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Dark Theme Course Cards */
[data-theme="dark"] .course-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .course-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .course-title {
    color: var(--text-dark);
}

[data-theme="dark"] .course-card:hover .course-title {
    transform: scale(1.05);
    color: var(--primary-color);
}

[data-theme="dark"] .course-description {
    color: var(--text-light);
}

[data-theme="dark"] .course-card:hover .course-description {
    color: var(--white);
    transform: translateY(-2px);
}

[data-theme="dark"] .course-card:hover .course-price {
    transform: scale(1.05);
    color: var(--primary-color);
}

[data-theme="dark"] .course-card:hover .course-students {
    color: var(--white);
    transform: translateY(-2px);
}

[data-theme="dark"] .course-overlay {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .course-overlay .btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

[data-theme="dark"] .course-overlay .btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Dark Theme Sections */
[data-theme="dark"] .stats-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-top: 1px solid rgba(75, 85, 99, 0.3);
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

[data-theme="dark"] .grades-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-top: 1px solid rgba(75, 85, 99, 0.3);
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

[data-theme="dark"] .courses-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-top: 1px solid rgba(75, 85, 99, 0.3);
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

[data-theme="dark"] .about-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

[data-theme="dark"] .feature-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

[data-theme="dark"] .feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

[data-theme="dark"] .feature-item i {
    color: var(--primary-color);
}

[data-theme="dark"] .feature-item:hover i {
    color: var(--white);
}

[data-theme="dark"] .about-section h2 {
    color: var(--text-dark);
}

[data-theme="dark"] .about-section p {
    color: var(--text-light);
}

[data-theme="dark"] .about-section:hover p {
    color: var(--white);
}

/* Dark Theme Footer */
[data-theme="dark"] .footer-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-top: 1px solid rgba(75, 85, 99, 0.3);
}

[data-theme="dark"] .contact-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .contact-item i {
    color: var(--primary-color);
}

[data-theme="dark"] .contact-item:hover i {
    color: var(--white);
}

[data-theme="dark"] .social-link {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .social-link:hover {
    background: var(--primary-color);
    border-color: var(--white);
}

/* Dark Theme Form Elements */
[data-theme="dark"] .form-control {
    background: rgba(55, 65, 81, 0.8);
    border-color: rgba(75, 85, 99, 0.5);
    color: var(--text-dark);
}

[data-theme="dark"] .form-control:focus {
    background: rgba(55, 65, 81, 0.9);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

[data-theme="dark"] .form-control::placeholder {
    color: var(--text-light);
}

/* Dark Theme Buttons */
[data-theme="dark"] .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-dark);
}

[data-theme="dark"] .btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Dark Theme Search Box */
[data-theme="dark"] .search-box .form-control {
    background: rgba(55, 65, 81, 0.8);
    border-color: rgba(75, 85, 99, 0.5);
    color: var(--text-dark);
}

[data-theme="dark"] .search-box .form-control::placeholder {
    color: var(--text-light);
}

[data-theme="dark"] .search-box .btn {
    background: rgba(55, 65, 81, 0.8);
    border-color: rgba(75, 85, 99, 0.5);
    color: var(--text-dark);
}

[data-theme="dark"] .search-box .btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Dark Theme Footer */
[data-theme="dark"] .footer-title {
    color: var(--text-dark);
}

[data-theme="dark"] .footer-links a {
    color: var(--text-light);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--primary-color);
}

[data-theme="dark"] .contact-item {
    color: var(--text-light);
}

[data-theme="dark"] .contact-item i {
    color: var(--primary-color);
}

[data-theme="dark"] .social-link {
    background: rgba(55, 65, 81, 0.8);
    color: var(--text-light);
}

[data-theme="dark"] .social-link:hover {
    background: var(--primary-color);
    color: white;
}

[data-theme="dark"] .footer-copyright,
[data-theme="dark"] .footer-credits {
    color: var(--text-white);
}

[data-theme="dark"] .footer-link {
    color: var(--text-white);
}

[data-theme="dark"] .footer-link:hover {
    color: var(--primary-color);
}

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

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, #001492 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.navbar {
    background: rgba(0, 19, 146, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
}

.navbar-brand:hover {
    transform: scale(1.05);
    transition: var(--transition);
}

.nav-link {
    font-weight: 500;
    color: var(--white) !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Search Box */
.search-box {
    max-width: 300px;
}

.search-box .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 25px 0 0 25px;
}

.search-box .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box .btn {
    border-radius: 0 25px 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Theme Toggle */
.theme-toggle {
    border-radius: 25px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 500;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle:active {
    transform: translateY(0);
}

.theme-toggle i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle:hover i {
    transform: rotate(180deg) scale(1.1);
}

/* Theme toggle animation */
.theme-toggle i {
    position: relative;
    overflow: hidden;
}

.theme-toggle i::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.theme-toggle:active i::before {
    width: 20px;
    height: 20px;
}

.theme-text {
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

/* Dark theme toggle styles */
[data-theme="dark"] .theme-toggle {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
    color: var(--text-dark);
}

[data-theme="dark"] .theme-toggle:hover i {
    transform: rotate(180deg) scale(1.1);
    color: var(--primary-color);
}

/* Dark Theme Toggle Animation */
[data-theme="dark"] .theme-toggle i::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-attachment: fixed;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: none;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-icon {
    font-size: 20rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
    transition: var(--transition);
}

.carousel-indicators button.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #001392 0%, #03128f 100%);
    backdrop-filter: blur(10px);
    border-top: 0px solid rgba(255, 255, 255, 0.2);
    border-bottom: 0px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

/* Stats Section Animation */
.stats-section {
    animation: statsFadeIn 1s ease-out;
}

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

/* Stats Cards Stagger Animation */
.stat-card {
    animation: statCardSlide 0.8s ease-out;
    animation-fill-mode: both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

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

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.stat-icon {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: var(--transition);
}

.stat-card:hover .stat-label {
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 3rem;
}

/* Grade Cards */
.grades-section {
    background: linear-gradient(135deg, #001392 0%, #021082 100%);
    position: relative;
    overflow: hidden;
}

.grades-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.grades-section .container {
    position: relative;
    z-index: 2;
}

/* Grades Section Animation */
.grades-section {
    animation: gradesFadeIn 1s ease-out;
}

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

/* Grade Cards Stagger Animation */
.grade-card {
    animation: gradeCardSlide 0.8s ease-out;
    animation-fill-mode: both;
}

.grade-card:nth-child(1) { animation-delay: 0.1s; }
.grade-card:nth-child(2) { animation-delay: 0.2s; }
.grade-card:nth-child(3) { animation-delay: 0.3s; }
.grade-card:nth-child(4) { animation-delay: 0.4s; }
.grade-card:nth-child(5) { animation-delay: 0.5s; }
.grade-card:nth-child(6) { animation-delay: 0.6s; }

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

.grade-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.grade-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.grade-icon {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.grade-card:hover .grade-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
    color: var(--secondary-color);
}

.grade-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.grade-card:hover .grade-title {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.grade-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    transition: var(--transition);
}

.grade-card:hover .grade-description {
    color: var(--white);
    transform: translateY(-2px);
}

.grade-stats {
    margin-bottom: 1.5rem;
}

.grade-stats .badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.grade-card:hover .grade-stats .badge {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.grade-card .btn {
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.grade-card:hover .btn {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Courses Section */
.courses-section {
    background: linear-gradient(135deg, #001392 0%, #001392 100%);
    position: relative;
    overflow: hidden;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.courses-section .container {
    position: relative;
    z-index: 2;
}

/* Courses Section Animation */
.courses-section {
    animation: coursesFadeIn 1s ease-out;
}

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

/* Course Cards Stagger Animation */
.course-card {
    animation: courseCardSlide 0.8s ease-out;
    animation-fill-mode: both;
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }
.course-card:nth-child(4) { animation-delay: 0.4s; }

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

.course-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 235px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-overlay .btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.course-overlay .btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.course-card:hover .course-title {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.course-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    flex-grow: 1;
    transition: var(--transition);
}

.course-card:hover .course-description {
    color: var(--white);
    transform: translateY(-2px);
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.course-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.course-card:hover .course-price {
    transform: scale(1.05);
    color: var(--white);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.course-students {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: var(--transition);
}

.course-card:hover .course-students {
    color: var(--white);
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #001392 0%, #1329b6 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

/* About Section Animation */
.about-section {
    animation: aboutFadeIn 1s ease-out;
}

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

/* Feature Items Stagger Animation */
.feature-item {
    animation: featureItemSlide 0.8s ease-out;
    animation-fill-mode: both;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

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

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.about-image img {
    width: 80%;
    height: auto;
    border-radius: var(--border-radius);
    transition: var(--transition);
    filter: brightness(1.1) contrast(1.1);
    float:left;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2);
}

.features-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #001392;
    transition: var(--transition);
    padding: 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-item i {
    font-size: 1.2rem;
    color: #001392;
    transition: var(--transition);
}

.feature-item:hover i {
    transform: scale(1.2);
    color: var(--white);
}

/* About Section Titles */
.about-section h2 {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.about-section h2:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.about-section p {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.about-section:hover p {
    color: var(--white);
    transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb-simple {
    display: flex;
    color: #ffffff;
    font-weight: 500;
}

.breadcrumb-link {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: #001392;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #001392;
    margin: 0 8px;
    font-weight: 400;
}

.breadcrumb-current {
    color: #001392;
    font-weight: 600;
}

/* Course Stats */
.course-stats {
    font-size: 16px;
    color: #001392;
    font-weight: 500;
}

.stat-item {
    color: #001392;
}

.stat-separator {
    color: #001392;
    margin: 0 8px;
}

.welcome-badge .badge {
    background: #001392;
    border: none;
    color: white;
    font-weight: 600;
}

/* Course Status */
.course-status {
    position: absolute;
    top: 10px;
    right: 10px;
}

.course-progress .progress {
    height: 6px;
    border-radius: 3px;
}

.course-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.course-teacher,
.course-students {
    font-size: 14px;
    color: #6c757d;
}

.course-teacher i,
.course-students i {
    margin-left: 5px;
}

/* Empty State */
.empty-state {
    padding: 3rem 0;
    text-align: center;
}

.empty-state i {
    color: #dee2e6;
}

/* About Page Styles */
.about-hero-section {
    background: linear-gradient(135deg, #001392 0%, #10138e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.about-hero-section .container {
    position: relative;
    z-index: 2;
}

.about-hero-section .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-hero-section .hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.about-hero-section .hero-buttons {
    margin-top: 2rem;
}

.about-hero-section .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.about-hero-section .btn-primary {
    background: white;
    color: #001392;
    border: 2px solid white;
}

.about-hero-section .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.about-hero-section .btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.about-hero-section .btn-outline-primary:hover {
    background: white;
    color: #001392;
}

.about-hero-section .hero-image {
    text-align: center;
}

.about-hero-section .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Mission Section */
.mission-section {
    background: linear-gradient(135deg, #001392 0%, #061db2 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.mission-section .container {
    position: relative;
    z-index: 2;
}

.mission-section .section-title {
    color: white;
}

.mission-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.mission-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: #fbff0d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #001392;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(0, 19, 146, 0.3);
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 19, 146, 0.4);
}

.mission-card h4 {
    color: #001392;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mission-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #001392 0%, #001392 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.features-section .container {
    position: relative;
    z-index: 2;
}

.features-section .section-title {
    color: white;
}

.features-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.features-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 1);
    color: #001392;
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #fbff0d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    color: #001392;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(0, 19, 146, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: #001392;
    color: #fbff0d;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 19, 146, 0.4);
}

.feature-content h5 {
    color: #001392;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-content h5 {
    color: #001392;
}

.feature-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-content p {
    color: #6c757d;
}

.features-image {
    text-align: center;
}

.features-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.features-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Statistics Section in About Page */
.about-stats-section {
    background: linear-gradient(135deg, #001392 0%, #051a9f 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.about-stats-section .container {
    position: relative;
    z-index: 2;
}

.about-stats-section .stat-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.about-stats-section .stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.about-stats-section .stat-icon {
    width: 80px;
    height: 80px;
    background: #001392;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(0, 19, 146, 0.3);
    transition: all 0.3s ease;
}

.about-stats-section .stat-card:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 19, 146, 0.4);
}

.about-stats-section .stat-number {
    color: #001392;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about-stats-section .stat-label {
    color: #6c757d;
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-hero-section {
    background: linear-gradient(135deg, #001392 0%, #001392 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.contact-hero-section .container {
    position: relative;
    z-index: 2;
}

.contact-hero-section .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hero-section .hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Contact Methods Section */
.contact-methods-section {
    background: linear-gradient(135deg, #001392 0%, #041ab0 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-methods-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.contact-methods-section .container {
    position: relative;
    z-index: 2;
}

.contact-methods-section .section-title {
    color: white;
}

.contact-methods-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.contact-method-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: #001392;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(0, 19, 146, 0.3);
    transition: all 0.3s ease;
}

.contact-method-card:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 19, 146, 0.4);
}

.contact-method-card h4 {
    color: #001392;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-method-card:hover h4 {
    color: #001392;
}

.contact-method-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-method-card:hover p {
    color: #6c757d;
}

.contact-link {
    color: #001392;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #ec1a23;
    text-decoration: none;
}

.contact-address {
    color: #001392;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.contact-hours small {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, #001392 0%, #001392 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.contact-form-section .container {
    position: relative;
    z-index: 2;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-title {
    color: #001392;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-description {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.contact-form .form-label {
    color: #001392;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #001392;
    box-shadow: 0 0 0 0.2rem rgba(0, 19, 146, 0.25);
}

.contact-form .btn-primary {
    background: #001392;
    border: none;
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 19, 146, 0.3);
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #001392 0%, #041aaa 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

.faq-section .section-title {
    color: white;
}

.faq-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.accordion-button {
    background: rgba(255, 255, 255, 0.95);
    color: #001392;
    font-weight: 600;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.accordion-button:not(.collapsed) {
    background: #001392;
    color: white;
    box-shadow: none;
}

.accordion-button:hover {
    background: rgba(255, 255, 255, 1);
    color: #001392;
}

.accordion-button:not(.collapsed):hover {
    background: #fbff0d;
    color: #001392;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background: rgba(255, 255, 255, 0.95);
    color: #6c757d;
    line-height: 1.6;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

/* Courses Page Styles */
.courses-hero-section {
    background: linear-gradient(135deg, #001392 0%, #001392 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.courses-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.courses-hero-section .container {
    position: relative;
    z-index: 2;
}

.courses-hero-section .hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.courses-hero-section .hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Courses Filter Section */
.courses-filter-section {
    background: linear-gradient(135deg, #001392 0%, #071eb4 100%);
    padding: 2rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.courses-filter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.courses-filter-section .container {
    position: relative;
    z-index: 2;
}

.grade-levels-filter {
    text-align: center;
}

.filter-title {
    color: white;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.grade-levels-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.grade-level-btn {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    text-decoration: none;
    height: fit-content;
}

.grade-level-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.grade-level-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: #001392;
    border-color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
    text-decoration: none;
}

.grade-level-btn i {
    margin-left: 0.75rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.grade-level-btn:hover i {
    transform: scale(1.1);
}

.grade-level-btn.active i {
    color: #001392;
}

/* Courses Container */
.courses-container {
    border-radius: 15px;
    padding: 2rem;
}

.courses-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 0px solid #f8f9fa;
}

.courses-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.courses-subtitle {
    color: #c5c5c5;
    font-size: 1.1rem;
    margin: 0;
}

/* Remove the grid layout and use Bootstrap row/col instead */

/* Course Items */
.course-item {
    transition: all 0.3s ease;
}

.course-item.hidden {
    display: none !important;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.course-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.course-placeholder {
    width: 100%;
    height: 100%;
    background: #001392;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    color: #001392;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.course-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Course Teacher Info */
.course-teacher {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(0, 19, 146, 0.05);
    border-radius: 8px;
    border-left: 3px solid #001392;
}

.teacher-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.teacher-info i {
    color: #001392;
    font-size: 1.1rem;
}

.teacher-label {
    color: #6c757d;
    font-weight: 600;
    font-size: 0.9rem;
}

.teacher-name {
    color: #001392;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.teacher-name:hover {
    color: #ec1a23;
    text-decoration: underline;
}

/* Teacher Profile Page Styles */
.teacher-hero-section {
    background: linear-gradient(135deg, #001392 0%, #001392 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.teacher-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.teacher-hero-section .container {
    position: relative;
    z-index: 2;
}

.teacher-avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.teacher-info {
    color: white;
}

.teacher-name {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.teacher-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.teacher-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.teacher-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item i {
    font-size: 1.2rem;
    color: white;
}

.stat-item span {
    font-weight: 600;
    font-size: 1rem;
}

/* Teacher Courses Section */
.teacher-courses-section {
    background: linear-gradient(135deg, #001392 0%, #041ab0 100%);
    padding: 5rem 0;
    padding-bottom: 150px!important;
}

.teacher-courses-section .section-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-align: center;
}

.teacher-courses-section .section-description {
    color: #c7c7c7;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.6;
}

/* Teacher Biography Section */
.teacher-biography-section {
    background: linear-gradient(135deg, #001392 0%, #001392 100%)
}

.biography-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 19, 146, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.biography-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 19, 146, 0.15);
}

.biography-header {
    background: #fbff0d;
    color: black;
    padding: 2rem;
    text-align: center;
}

.subjects-sidebar {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 19, 146, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.subjects-sidebar:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 19, 146, 0.15);
}

.subjects-header{
    background: #fbff0d;
    color: black;
    padding: 1rem;
    text-align: center;
}

.biography-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.biography-title i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.biography-content {
    padding: 3rem;
}

.biography-text {
    margin-bottom: 2rem;
}

.biography-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

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

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 19, 146, 0.05);
    border-radius: 10px;
    border-left: 4px solid #001392;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(0, 19, 146, 0.1);
    transform: translateX(5px);
}

.detail-item i {
    font-size: 1.5rem;
    color: #001392;
    min-width: 30px;
}

.detail-label {
    font-weight: 600;
    color: #666;
    margin-right: 0.5rem;
}

.detail-value {
    font-weight: 700;
    color: #001392;
}

/* Teacher Gallery Section */
.teacher-gallery-section {
    background: linear-gradient(135deg, #001392 0%, #041ab0 100%);
    color: white;
}

.gallery-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.gallery-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.gallery-title i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.gallery-content {
    padding: 2rem;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 19, 146, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.gallery-overlay i {
    font-size: 3rem;
    color: white;
}

/* Teacher Video Section */
.teacher-video-section {
    background: linear-gradient(135deg, #001392 0%, #001392 100%);
}

.video-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 19, 146, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 19, 146, 0.15);
}

.video-header {
    background: #fbff0d;
    color: #000000;
    padding: 2rem;
    text-align: center;
}

.video-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.video-title i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.video-content {
    padding: 2rem;
}

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

.video-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 19, 146, 0.2);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 19, 146, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-button i {
    font-size: 1.5rem;
    color: white;
    margin-left: 3px;
}

.video-item:hover .video-play-button {
    background: rgba(236, 26, 35, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.video-info {
    padding: 1.5rem;
}

.video-info .video-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #001392;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}

.video-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design for Teacher Profile */
@media (max-width: 768px) {
    .teacher-hero-section {
        padding: 2rem 0;
    }
    
    .teacher-avatar {
        width: 150px;
        height: 150px;
        margin-bottom: 1rem;
    }
    
    .teacher-name {
        font-size: 2rem;
        text-align: center;
    }
    
    .teacher-title {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .teacher-bio {
        font-size: 1rem;
        text-align: center;
    }
    
    .teacher-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .teacher-courses-section .section-title {
        font-size: 2rem;
    }
    
    .teacher-courses-section .section-description {
        font-size: 1.1rem;
    }
    
    /* Biography Section Mobile */
    .biography-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .biography-content {
        padding: 2rem 1rem;
    }
    
    .biography-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    /* Gallery Section Mobile */
    .gallery-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .gallery-content {
        padding: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    /* Video Section Mobile */
    .video-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .video-content {
        padding: 1rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-thumbnail img {
        height: 180px;
    }
    
.video-info {
    padding: 1rem;
}

/* Course Details Page Styles */
.course-hero-section {
    background: linear-gradient(135deg, #001392 0%, #001392 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.course-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.course-hero-section .container {
    position: relative;
    z-index: 2;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.course-badge i {
    font-size: 1.2rem;
}

.course-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.course-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-item i {
    font-size: 1.2rem;
    color: white;
}

.meta-item span {
    font-weight: 600;
    font-size: 1rem;
}

.teacher-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.teacher-link:hover {
    color: #ec1a23;
    text-decoration: underline;
}

.course-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.course-actions .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.course-image {
    text-align: center;
}

.course-image img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.course-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    margin: 0 auto;
}

/* Course Details Section */
.course-details-section {
    background: #f8f9fa;
}

.course-details-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 19, 146, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-details-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 19, 146, 0.15);
}

.details-header {
    background: #fbff0d;
    color: #021391;
    padding: 2rem;
    text-align: center;
}

.details-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.details-title i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.details-content {
    padding: 3rem;
}

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

.detail-section:last-child {
    margin-bottom: 0;
}

.section-title {
    color: #001392;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-content {
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objectives-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.objectives-list li:last-child {
    border-bottom: none;
}

.objectives-list i {
    color: #001392;
    font-size: 1.2rem;
}

.content-modules {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.module-item {
    background: rgba(0, 19, 146, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #001392;
    transition: all 0.3s ease;
}

.module-item:hover {
    background: rgba(0, 19, 146, 0.1);
    transform: translateX(5px);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.module-header h5 {
    color: #001392;
    font-weight: 700;
    margin: 0;
    font-size: 1.2rem;
}

.module-duration {
    background: #001392;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.module-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Course Sidebar */
.course-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 19, 146, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 19, 146, 0.15);
}

.card-header {
    background: #001392;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.card-title i {
    font-size: 1.8rem;
    opacity: 0.9;
}

.card-content {
    padding: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    font-size: 1.5rem;
    color: #001392;
    min-width: 30px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
}

.info-value {
    color: #001392;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Pricing Card */
.pricing-card .card-content {
    text-align: center;
}

.price-display {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #001392;
    display: block;
}

.price-period {
    color: #666;
    font-size: 1rem;
}

.price-details {
    margin-bottom: 1.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.price-item:last-child {
    border-bottom: none;
}

.btn-block {
    width: 100%;
}

/* Teacher Card */
.teacher-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.teacher-avatar {
    width: 60px;
    height: 60px;
    background: rgba(0, 19, 146, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001392;
    font-size: 2rem;
}

.teacher-details h4 {
    margin: 0;
    font-size: 1.2rem;
}

.teacher-details h4 a {
    color: #001392;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.teacher-details h4 a:hover {
    color: #ec1a23;
    text-decoration: underline;
}

.teacher-title {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Related Courses Section */
.related-courses-section {
    background: #f8f9fa;
}

.related-courses-section .section-title {
    color: #001392;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-align: center;
}

.related-courses-section .section-description {
    color: #6c757d;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.6;
}

/* Responsive Design for Course Details */
@media (max-width: 768px) {
    .course-hero-section {
        padding: 2rem 0;
    }
    
    .course-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .course-description {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .course-meta {
        justify-content: center;
        gap: 1rem;
    }
    
    .course-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .course-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .details-content {
        padding: 2rem 1rem;
    }
    
    .card-content {
        padding: 1.5rem 1rem;
    }
    
    .module-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .teacher-info {
        flex-direction: column;
        text-align: center;
    }
    
}
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.course-price {
    color: #001392;
    font-weight: 700;
    font-size: 1.1rem;
}

.course-students {
    color: #6c757d;
    font-size: 0.9rem;
}

.course-actions {
    display: flex;
    gap: 0.5rem;
}

.course-actions .btn {
    flex: 1;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.course-actions .btn-primary {
    background: #001392;
    border: none;
}

.course-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(16 18 141 / 33%);
}

.course-actions .btn-outline-primary {
    border: 2px solid #001392;
    color: #001392;
}

.course-actions .btn-outline-primary:hover {
    background: #001392;
    color: white;
    transform: translateY(-2px);
}

/* No Courses Card */
.no-courses-card {
    background: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.no-courses-icon {
    width: 100px;
    height: 100px;
    background: #0d1e8e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 3rem;
}

.no-courses-card h3 {
    color: #001392;
    font-weight: 700;
    margin-bottom: 1rem;
}

.no-courses-card p {
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Courses Pagination Section */
.courses-pagination-section {
    background: #f8f9fa;
    padding: 2rem 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero-section .hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero-section .hero-description {
        font-size: 1.1rem;
    }
    
    .contact-hero-section .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-section .hero-description {
        font-size: 1.1rem;
    }
    
    .courses-hero-section .hero-title {
        font-size: 2.5rem;
    }
    
    .courses-hero-section .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-left: 0;
        margin-bottom: 1rem;
    }
    
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .grade-levels-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .grade-levels-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .grade-level-item {
        flex: 1;
        min-width: 120px;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .courses-container {
        padding: 1.5rem;
    }
    
    .courses-title {
        font-size: 1.5rem;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .course-actions .btn {
        margin-bottom: 0.5rem;
    }
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, #001392 0%, #001492 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.footer-section .container {
    position: relative;
    z-index: 2;
}

/* Footer Animation */
.footer-section {
    animation: footerFadeIn 1s ease-out;
}

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

/* Footer Items Stagger Animation */
.footer-title,
.contact-item,
.social-link {
    animation: footerItemSlide 0.8s ease-out;
    animation-fill-mode: both;
}

.footer-title:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(1) { animation-delay: 0.2s; }
.contact-item:nth-child(2) { animation-delay: 0.3s; }
.contact-item:nth-child(3) { animation-delay: 0.4s; }
.social-link:nth-child(1) { animation-delay: 0.5s; }
.social-link:nth-child(2) { animation-delay: 0.6s; }
.social-link:nth-child(3) { animation-delay: 0.7s; }
.social-link:nth-child(4) { animation-delay: 0.8s; }

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

.footer-brand img {
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-brand img:hover {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.footer-title:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.contact-item i {
    margin-left: 1rem;
    color: var(--secondary-color);
    width: 20px;
    transition: var(--transition);
}

.contact-item:hover i {
    transform: scale(1.2);
    color: var(--white);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--white);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.footer-copyright{
    color: rgba(255, 255, 255);
    margin: 0;
    text-align: right;
}
.footer-credits {
    color: rgba(255, 255, 255);
    margin: 0;
    text-align: left;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--secondary-color);
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    transition: var(--transition);
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .grade-card,
    .course-card {
        margin-bottom: 2rem;
    }
    
    .search-box {
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }
}

@media (max-width: 576px) {
    .hero-slide{padding-top: 100px;}
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-icon {
        font-size: 15rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .grade-card,
    .course-card {
        padding: 1.5rem;
    }
    
    .course-image {
        height: 150px;
    }
    
    /* Grade Levels Buttons Mobile */
    .grade-levels-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .grade-level-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }
    
    .all-grades-btn {
        padding: 1.5rem 2rem !important;
        font-size: 1.1rem !important;
    }
}

/* Grade Levels Buttons */
.grade-levels-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0rem;
}

.grade-level-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.grade-level-btn::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: all 0.6s ease;
}

.grade-level-btn:hover::before {
    left: 100%;
}

.grade-level-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.grade-level-btn:active {
    transform: translateY(-1px);
}

/* All Grades Button Special Style */
.all-grades-btn {
    background: rgb(251 255 13 / 34%) !important;
    border-color: rgb(251 255 13 / 38%) !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    padding: 1.25rem 2.5rem !important;
    position: relative;
    overflow: hidden;
}

.all-grades-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(251, 255, 13, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.all-grades-btn:hover {
    background: rgb(251 255 13 / 60%) !important;
    border-color: rgb(251 255 13 / 60%) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(236, 26, 35, 0.3) !important;
}

.all-grades-btn:hover::after {
    animation: shimmer 0.8s infinite;
}

/* Dark Theme Overrides */
[data-theme="dark"] body {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

[data-theme="dark"] .navbar {
    background: rgba(31, 41, 55, 0.95) !important;
}

[data-theme="dark"] .course-card {
    background: #374151;
    color: var(--text-dark);
}

[data-theme="dark"] .course-title {
    color: var(--text-dark);
}

[data-theme="dark"] .course-description {
    color: var(--text-light);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

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

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
.input-group{
    direction: ltr;
}

.search-box{margin-left:20px;}

.btn-primary{background-color: #10128d!important;border:1px solid #0004ff!important;}

.breadcrumb{
    height: 150px;
    line-height: 135px;
    margin-top: 68px !important;
    font-size: 30px !important;
    margin-bottom: 50px !important;
    background: #fbff0d!important;
}

.carousel-indicators [data-bs-target]{
    width: 10px !important;
    height: 10px !important;
}

.carousel-indicators button.active{
    background: #ffffff !important;
    border:0 !important;
}

.form-select{background-position:left .75rem center;}

.courses-teacher-name{
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0; 
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #001392;
}

/* Gallery Image Zoom Styles */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Video Play Button Styles */
.video-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: scale(1.05);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button i {
    color: white;
    font-size: 1.5rem;
    margin-left: 3px; /* Adjust for play icon centering */
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail video {
    transition: filter 0.3s ease;
}

.video-item:hover .video-thumbnail video {
    filter: brightness(0.8);
}

/* Course Details Page - Apply Teacher Profile Design */
.course-hero-section {
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.course-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.course-hero-content {
    position: relative;
    z-index: 2;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 8px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.course-badge i {
    margin-left: 8px;
    font-size: 16px;
}

.course-details-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.course-details-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
    color: #b4b4b4;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
}

.meta-item i {
    margin-left: 8px;
    font-size: 16px;
}

.teacher-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.teacher-link:hover {
    color: #ffd700;
}

.course-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.course-actions .btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: none;
    transition: all 0.3s ease;
}

.course-actions .btn-primary {
    background: #ec1a23;
    border-color: #ec1a23;
    box-shadow: 0 4px 15px rgb(16 18 141 / 33%);
}

.course-actions .btn-primary:hover {
    background: #d0171f;
    border-color: #d0171f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(16 18 141 / 33%);
}

.course-actions .btn-outline-primary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.course-actions .btn-outline-primary:hover {
    background: white;
    color: #001392;
    transform: translateY(-2px);
}

.course-details-image {
    position: relative;
    z-index: 2;
    height: 235px;
}

.course-details-image img {
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.course-details-image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Course Details Section */
.course-details-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.course-details-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 19, 146, 0.1);
}

.details-header {
    background: #fbff0d;
    color: #021391;
    padding: 30px;
    text-align: center;
}

.details-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.details-content {
    padding: 40px;
}

.detail-section {
    margin-bottom: 40px;
}


.section-content {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.objectives-list {
    list-style: none;
    padding: 0;
}

.objectives-list li {
    background: rgba(0, 19, 146, 0.05);
    border-left: 4px solid #001392;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 0 10px 10px 0;
    font-weight: 500;
}

.module-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.module-item:hover {
    border-color: #001392;
    box-shadow: 0 5px 15px rgba(0, 19, 146, 0.1);
    transform: translateY(-2px);
}

.module-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 10px;
}

.module-duration {
    background: #fbff0d;
    color: #000000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Course Sidebar */
.course-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 19, 146, 0.1);
    margin-bottom: 30px;
}

.card-header {
    background: #fbff0d;
    color: #021391;
    padding: 20px;
    text-align: center;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-content {
    padding: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #001392;
    margin-left: 10px;
    min-width: 80px;
}

.info-value {
    color: #666;
    font-weight: 500;
}

.pricing-card {
    background: #fbff0d;
    color: #021391;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.price-display {
    margin-bottom: 20px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.price-period {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
}

.price-details {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.price-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.price-item:last-child {
    border-bottom: none;
}

.course-details-teacher-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.course-details-teacher-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid white;
    overflow: hidden;
}

.course-details-teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-details-teacher-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.course-details-teacher-details p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Related Courses Section */
.related-courses-section {
    padding: 80px 0;
    background: #fbff0d;
    color: #0d1e98;
}

.related-courses-section .container h2 {
    color: #0d1e98;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.related-courses-section .course-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.related-courses-section .course-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.related-courses-section .course-card .card-body {
    padding: 25px;
}

.related-courses-section .course-card h5 {
    color: #0d1e8e;
    font-weight: 700;
    margin-bottom: 15px;
}

.related-courses-section .course-card p {
    color: #0d1e8e;
    margin-bottom: 20px;
}

.related-courses-section .course-card .btn-outline-primary {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    border: 1px solid #0d1e8e;
    color: #0d1e8e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-title {
        font-size: 2rem;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .course-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .details-content {
        padding: 25px;
    }
    
    .card-content {
        padding: 20px;
    }
}

/* Register Page Styles */
.register-page-hero-section {
    background: #001392;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.register-page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.register-page-hero-content {
    position: relative;
    z-index: 2;
}

.register-page-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.register-page-hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.register-page-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.register-page-feature-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
}

.register-page-feature-item i {
    margin-left: 8px;
    font-size: 16px;
    color: #4CAF50;
}

.register-page-hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.register-page-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Register Form Section */
.register-page-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #001392 0%, #001392 100%);
}

.register-page-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 19, 146, 0.1);
}

.register-page-form-header {
    background: #fbff0d;
    color: #001392;
    padding: 40px;
    text-align: center;
}

.register-page-form-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.register-page-form-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.register-page-form-content {
    padding: 40px;
}

.register-page-section-divider {
    margin: 40px 0 30px 0;
    padding: 20px 0;
    border-top: 2px solid #f0f0f0;
}

.register-page-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #001392;
    margin: 0;
    display: flex;
    align-items: center;
}

.register-page-section-title i {
    margin-left: 10px;
    font-size: 1.2rem;
}

.register-page-form-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #001392;
    margin-bottom: 8px;
    font-size: 14px;
}

.register-page-form-label i {
    margin-left: 8px;
    font-size: 16px;
}

.register-page-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.register-page-form-control:focus {
    outline: none;
    border-color: #001392;
    box-shadow: 0 0 0 3px rgba(0, 19, 146, 0.1);
}

.register-page-form-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.register-page-form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.register-page-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.register-page-btn i {
    margin-left: 8px;
    font-size: 16px;
}

.register-page-btn-primary {
    background: #fbff0d;
    color: #001392;
    box-shadow: 0 4px 15px rgba(0, 19, 146, 0.3);
}

.register-page-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 19, 146, 0.4);
    color: #001392;
}

.register-page-btn-outline {
    background: transparent;
    border: 2px solid #001392;
    color: #001392;
}

.register-page-btn-outline:hover {
    background: #001392;
    color: white;
    transform: translateY(-2px);
}

/* Alert Styles */
.register-page-form-content .alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.register-page-form-content .alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-left: 4px solid #28a745;
}

.register-page-form-content .alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-page-hero-title {
        font-size: 2rem;
    }
    
    .register-page-hero-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .register-page-form-header {
        padding: 30px 20px;
    }
    
    .register-page-form-content {
        padding: 30px 20px;
    }
    
    .register-page-form-actions {
        flex-direction: column;
    }
    
    .register-page-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Login Page Styles */
.login-page-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #001392 0%, #001392 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-page-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 19, 146, 0.1);
}

.login-page-form-header {
    background: #fbff0d;
    color: #001392;
    padding: 40px;
    text-align: center;
}

.login-page-form-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.login-page-form-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.login-page-form-content {
    padding: 40px;
}

.login-page-login-type-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.login-page-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #001392;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
}

.login-page-section-title i {
    margin-left: 10px;
    font-size: 1.2rem;
}

.login-page-login-type-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.login-page-radio-group {
    position: relative;
}

.login-page-radio-group input[type="radio"] {
    display: none;
}

.login-page-radio-label {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
    min-width: 120px;
    justify-content: center;
}

.login-page-radio-label i {
    margin-left: 8px;
    font-size: 18px;
}

.login-page-radio-group input[type="radio"]:checked + .login-page-radio-label {
    background: #fbff0d;
    color: #001392;
    border-color: #001392;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 19, 146, 0.3);
}

.login-page-credentials-section {
    margin-bottom: 30px;
}

.login-page-form-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #001392;
    margin-bottom: 8px;
    font-size: 14px;
}

.login-page-form-label i {
    margin-left: 8px;
    font-size: 16px;
}

.login-page-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.login-page-form-control:focus {
    outline: none;
    border-color: #001392;
    box-shadow: 0 0 0 3px rgba(0, 19, 146, 0.1);
}

.login-page-form-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.login-page-options-section {
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
}

.login-page-checkbox-group {
    display: flex;
    align-items: center;
}

.login-page-checkbox {
    margin-left: 8px;
    transform: scale(1.2);
}

.login-page-checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.login-page-checkbox-label i {
    margin-left: 8px;
    font-size: 16px;
}

.login-page-forgot-link {
    color: #001392;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-page-forgot-link:hover {
    color: #ec1a23;
    text-decoration: none;
}

.login-page-forgot-link i {
    margin-left: 5px;
}

.login-page-form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.login-page-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.login-page-btn i {
    margin-left: 8px;
    font-size: 16px;
}

.login-page-btn-primary {
    background: #001392;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 19, 146, 0.3);
}

.login-page-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 19, 146, 0.4);
    color: white;
}

.login-page-btn-outline {
    background: transparent;
    border: 2px solid #001392;
    color: #001392;
}

.login-page-btn-outline:hover {
    background: #001392;
    color: white;
    transform: translateY(-2px);
}

/* Login Info Section */
.login-page-info-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #001392 0%, #001bd1 100%);
}

.login-page-info-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.login-page-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #001392;
}

.login-page-info-icon {
    width: 80px;
    height: 80px;
    background: #fbff0d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #001392;
    font-size: 2rem;
}

.login-page-info-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #001392;
    margin-bottom: 15px;
}

.login-page-info-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Alert Styles */
.login-page-form-content .alert {
    border-radius: 10px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.login-page-form-content .alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-left: 4px solid #28a745;
}

.login-page-form-content .alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-page-form-section {
        padding: 40px 0;
    }
    
    .login-page-form-header {
        padding: 30px 20px;
    }
    
    .login-page-form-content {
        padding: 30px 20px;
    }
    
    .login-page-login-type-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .login-page-radio-label {
        min-width: auto;
        width: 100%;
    }
    
    .login-page-form-actions {
        flex-direction: column;
    }
    
    .login-page-btn {
        width: 100%;
        justify-content: center;
    }
    
    .login-page-info-section {
        padding: 40px 0;
    }
}

/* Student Dashboard Styles */
.student-dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: #f8f9fa;
}

/* Student Sidebar */
.student-sidebar {
    width: 280px;
    background: #001392;
    color: white;
    position: fixed;
    top: 0px;
    right: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.student-sidebar-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.student-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2.5rem;
    color: white;
}

.student-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: white;
}

.student-role {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    color: white;
}

.student-sidebar-menu {
    padding: 20px 0;
}

.student-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.student-nav-item {
    margin-bottom: 5px;
}

.student-nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.student-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.student-nav-item.active .student-nav-link {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-right: 3px solid white;
}

.student-nav-link i {
    margin-left: 15px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.student-nav-link span {
    flex: 1;
    font-weight: 500;
}

.student-nav-badge {
    background: #ec1a23;
    color: white;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    margin-right: 10px;
}

.student-sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.student-logout-btn {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.student-logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

.student-logout-btn i {
    margin-left: 10px;
    font-size: 1.1rem;
}

/* Student Main Content */
.student-main-content {
    flex: 1;
    margin-right: 280px;
    padding: 30px;
    background: #f8f9fa;
    min-height: 100vh;
    padding-top: 100px;
}

.student-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.student-page-title-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #001392;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
}

.student-page-title-text i {
    margin-left: 10px;
    font-size: 1.5rem;
}

.student-page-subtitle {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.student-page-date {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.student-page-date i {
    margin-left: 8px;
    font-size: 1rem;
}

/* Statistics Grid */
.student-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.student-stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.student-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.student-stat-icon {
    width: 60px;
    height: 60px;
    background: #001392;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    color: white;
    font-size: 1.5rem;
}

.student-stat-content {
    flex: 1;
}

.student-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #001392;
    margin: 0 0 5px 0;
}

.student-stat-label {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Quick Actions */
.student-quick-actions {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.student-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #001392;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
}

.student-section-title i {
    margin-left: 10px;
    font-size: 1.2rem;
}

.student-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.student-action-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.student-action-card:hover {
    background: #001392;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 19, 146, 0.3);
}

.student-action-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 19, 146, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 1.3rem;
    color: #001392;
    transition: all 0.3s ease;
}

.student-action-card:hover .student-action-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.student-action-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.student-action-content p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* Recent Activity */
.student-recent-activity {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.student-activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.student-activity-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.student-activity-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.student-activity-icon {
    width: 40px;
    height: 40px;
    background: #001392;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: white;
    font-size: 1rem;
}

.student-activity-content {
    flex: 1;
}

.student-activity-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #001392;
    margin: 0 0 5px 0;
}

.student-activity-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 5px 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .student-sidebar {
        transform: translateX(100%);
        width: 100%;
    }
    
    .student-sidebar.show {
        transform: translateX(0);
    }
    
    .student-main-content {
        margin-right: 0;
        padding: 20px 15px;
    }
    
    .student-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .student-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .student-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .student-stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .student-stat-icon {
        margin-left: 0;
        margin-bottom: 15px;
    }
    
    .student-action-card {
        flex-direction: column;
        text-align: center;
    }
    
    .student-action-icon {
        margin-left: 0;
        margin-bottom: 10px;
    }
}

/* Breadcrumb */
.breadcrumb-simple-2 {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-weight: 500;
}

.breadcrumb-link-2 {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-link-2:hover {
    color: #f8f9fa;
    text-decoration: underline;
}

.breadcrumb-separator-2 {
    color: #ffffff;
    margin: 0 8px;
    font-weight: 400;
}

.breadcrumb-current-2 {
    color: #ffffff;
    font-weight: 600;
}

/* User Welcome Styles */
.user-welcome {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    color: white;
    font-size: 0.9rem;
}

.welcome-text {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 2px;
}

.user-name {
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive User Welcome */
@media (max-width: 768px) {
    .user-welcome {
        display: none;
    }
    
    .d-flex.gap-3 {
        gap: 10px !important;
    }
    
    .btn-sm {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Payment Info, Privacy Policy, Terms of Use Pages Styles */
.payment-info-hero-section,
.privacy-policy-hero-section,
.terms-of-use-hero-section {
    background: #001392;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.payment-info-hero-section::before,
.privacy-policy-hero-section::before,
.terms-of-use-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.payment-info-hero-content,
.privacy-policy-hero-content,
.terms-of-use-hero-content {
    position: relative;
    z-index: 2;
}

.payment-info-hero-title,
.privacy-policy-hero-title,
.terms-of-use-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.payment-info-hero-description,
.privacy-policy-hero-description,
.terms-of-use-hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.payment-info-hero-image,
.privacy-policy-hero-image,
.terms-of-use-hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.payment-info-hero-image img,
.privacy-policy-hero-image img,
.terms-of-use-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.payment-info-methods-section,
.payment-info-security-section,
.payment-info-process-section,
.privacy-policy-content-section,
.terms-of-use-content-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #001392 0%, #051bcf 100%);
}

.payment-info-methods-card,
.payment-info-security-card,
.payment-info-process-card,
.privacy-policy-content-card,
.terms-of-use-content-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 19, 146, 0.1);
}

.payment-info-methods-header,
.payment-info-security-header,
.payment-info-process-header,
.privacy-policy-content-header,
.terms-of-use-content-header {
    background: #001392;
    color: white;
    padding: 40px;
    text-align: center;
}

.payment-info-methods-title,
.payment-info-security-title,
.payment-info-process-title,
.privacy-policy-content-title,
.terms-of-use-content-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.payment-info-methods-subtitle,
.payment-info-security-subtitle,
.payment-info-process-subtitle,
.privacy-policy-content-subtitle,
.terms-of-use-content-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.payment-info-methods-content,
.payment-info-security-content,
.payment-info-process-content,
.privacy-policy-content-body,
.terms-of-use-content-body {
    padding: 40px;
}

/* Payment Method Cards */
.payment-method-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.payment-method-card:hover {
    background: #001392;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 19, 146, 0.3);
}

.payment-method-icon {
    width: 80px;
    height: 80px;
    background: #001392;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.payment-method-card:hover .payment-method-icon {
    background: rgba(255, 255, 255, 0.2);
}

.payment-method-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #001392;
}

.payment-method-card:hover .payment-method-title {
    color: white;
}

.payment-method-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.payment-method-card:hover .payment-method-description {
    color: rgba(255, 255, 255, 0.9);
}

.payment-method-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-method-features li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.payment-method-features i {
    margin-left: 8px;
    color: #28a745;
}

.payment-method-card:hover .payment-method-features i {
    color: white;
}

/* Payment Method Details */
.payment-method-details {
    margin-top: 20px;
}

.payment-detail-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-right: 3px solid #001392;
    transition: all 0.3s ease;
}

.payment-detail-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.payment-detail-item strong {
    color: #001392;
    font-weight: 600;
    margin-left: 8px;
}

.payment-method-card:hover .payment-detail-item strong {
    color: white;
}

.payment-detail-item:last-child {
    margin-bottom: 0;
}

/* Security Features */
.security-feature-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.security-feature-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.security-feature-icon {
    width: 50px;
    height: 50px;
    background: #001392;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    color: white;
    font-size: 1.3rem;
}

.security-feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #001392;
    margin: 0 0 5px 0;
}

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

/* Process Steps */
.process-step-card {
    text-align: center;
    padding: 25px 15px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.process-step-card:hover {
    background: #001392;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 19, 146, 0.3);
}

.process-step-number {
    width: 50px;
    height: 50px;
    background: #001392;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
}

.process-step-card:hover .process-step-number {
    background: rgba(255, 255, 255, 0.2);
}

.process-step-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #001392;
}

.process-step-card:hover .process-step-title {
    color: white;
}

.process-step-description {
    color: #666;
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
}

.process-step-card:hover .process-step-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Privacy and Terms Sections */
.privacy-section,
.terms-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.privacy-section:last-child,
.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.privacy-section-title,
.terms-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #001392;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.privacy-section-title i,
.terms-section-title i {
    margin-left: 10px;
    font-size: 1.2rem;
}

.privacy-section-content,
.terms-section-content {
    line-height: 1.8;
}

.privacy-section-content p,
.terms-section-content p {
    color: #333;
    margin-bottom: 15px;
}

.privacy-list,
.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-list li,
.terms-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.privacy-list li:last-child,
.terms-list li:last-child {
    border-bottom: none;
}

.privacy-list strong,
.terms-list strong {
    color: #001392;
    font-weight: 600;
}

/* Payment Method Type Badge */
.payment-method-type-badge {
    display: inline-block;
    background: linear-gradient(135deg, #001392, #12128d);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 19, 146, 0.3);
    vertical-align: middle;
}

.payment-method-title {
    display: block;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-method-title .payment-method-type-badge {
    margin-right: 0;
    margin-left: 8px;
}

/* Responsive adjustments for payment method type badge */
@media (max-width: 768px) {
    .payment-method-type-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
        border-radius: 10px;
    }
    
    .payment-method-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .payment-method-title .payment-method-type-badge {
        margin-left: 0;
        align-self: flex-start;
    }
}

/* Course Enrollment Page Styles */
.course-enrollment-hero-section {
    background: linear-gradient(135deg, #001392 0%, #051bcf 100%);
    color: white;
    text-align: center;
    padding-top: 115px !important;
}

.course-enrollment-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.course-enrollment-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.course-enrollment-info-section,
.enrollment-status-section,
.enrollment-confirmation-section,
.payment-legal-section {
    background: #f8f9fa;
}

.course-enrollment-card,
.enrollment-status-card,
.enrollment-confirmation-card,
.payment-legal-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.course-enrollment-header,
.enrollment-status-header,
.enrollment-confirmation-header,
.payment-legal-header {
    background: linear-gradient(135deg, #001392, #051bcf);
    color: white;
    padding: 25px 30px;
    border-bottom: none;
}

.course-enrollment-title,
.enrollment-status-title,
.enrollment-confirmation-title,
.payment-legal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-enrollment-content,
.enrollment-status-content,
.enrollment-confirmation-content,
.payment-legal-content {
    padding: 30px;
}

.course-info-item,
.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.course-info-item:last-child,
.status-item:last-child {
    border-bottom: none;
}

.course-info-item strong,
.status-item strong {
    color: #001392;
    font-weight: 600;
    min-width: 150px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-completed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-dropped {
    background: #f5c6cb;
    color: #721c24;
}

.status-mismatch {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9em;
    display: inline-block;
}

.status-note {
    margin-top: 20px;
}

.status-note .alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.confirmation-message {
    text-align: center;
    margin-bottom: 30px;
}

.confirmation-message p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.enrollment-form {
    text-align: center;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #001392, #051bcf);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.legal-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 19, 146, 0.3);
    color: white;
}

/* Enrollment Status Styles */
.enrollment-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enrollment-status.status-active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.enrollment-status.status-inactive {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.enrollment-status.status-completed {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.enrollment-status.status-dropped {
    background: #f5c6cb;
    color: #721c24;
    border: 1px solid #f1b0b7;
}

/* Course Actions in Homepage */
.course-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.course-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-info-hero-title,
    .privacy-policy-hero-title,
    .terms-of-use-hero-title {
        font-size: 2rem;
    }
    
    .course-enrollment-hero-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .course-info-item,
    .status-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .course-info-item strong,
    .status-item strong {
        min-width: auto;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
    }
    
    .payment-info-methods-content,
    .payment-info-security-content,
    .payment-info-process-content,
    .privacy-policy-content-body,
    .terms-of-use-content-body {
        padding: 30px 20px;
    }
    
    .payment-method-card,
    .process-step-card {
        margin-bottom: 20px;
    }
    
    .security-feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .security-feature-icon {
        margin-left: 0;
        margin-bottom: 15px;
    }
}
.btn-danger {background: #fbff0a;border:1px solid #fbff0a;
    color: #000000;}

.btn-outline-danger{color:#001392;border:1px solid #fbff0a;}
.btn-outline-danger:hover{background: #fbff0a;color:#000000;border:1px solid #fbff0a;}

a{    text-decoration: none;}

.no-subjects-text{line-height: 50px;
    text-align: center;}

    .error-hero-section {
        background: linear-gradient(135deg, #001392 0%, #0418bb 100%);
        color: #fff;
        position: relative;
        overflow: hidden;
    }
    
    .error-hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%23ffffff\' fill-opacity=\'0.05\'%3E%3Ccircle cx=\'30\' cy=\'30\' r=\'2\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
        opacity: 0.3;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
    }
    
    .hero-title {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    
    .hero-description {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        opacity: 0.9;
    }
    
    .hero-buttons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .hero-buttons .btn {
        padding: 12px 30px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
    
    .hero-buttons .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    
    .error-illustration {
        text-align: center;
        position: relative;
    }
    
    .error-number {
        font-size: 8rem;
        font-weight: 900;
        color: #fff;
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        margin-bottom: 1rem;
        line-height: 1;
    }
    
    .error-icon {
        font-size: 4rem;
        color: #ffc107;
        margin-bottom: 1rem;
        animation: bounce 2s infinite;
    }
    
    .error-message {
        font-size: 1.5rem;
        font-weight: 600;
        color: #fff;
        opacity: 0.9;
    }
    
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-10px);
        }
        60% {
            transform: translateY(-5px);
        }
    }
    
    .error-features-section {
        background: #f8f9fa;
    }
    
    .feature-card {
        background: #fff;
        border-radius: 15px;
        padding: 2rem;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        height: 100%;
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #001392, #0418bb);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        color: #fff;
        font-size: 2rem;
    }
    
    .feature-title {
        color: #001392;
        font-weight: 700;
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }
    
    .feature-description {
        color: #6c757d;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .error-stats-section {
        background: linear-gradient(135deg, #001392 0%, #0418bb 100%);
        color: #fff;
    }
    
    .error-stats-section .section-title {
        color: #fff;
    }
    
    .error-stats-section .section-description {
        color: rgba(255, 255, 255, 0.8);
    }
    
    .stat-card {
        text-align: center;
        padding: 2rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }
    
    .stat-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        color: #fff;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
        font-weight: 800;
        color: #fff;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 500;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .hero-title {
            font-size: 2rem;
        }
        
        .error-number {
            font-size: 5rem;
        }
        
        .hero-buttons {
            flex-direction: column;
            align-items: center;
        }
        
        .hero-buttons .btn {
            width: 100%;
            max-width: 300px;
        }
    }
.navbar-toggler{color: #fff;background: #ffffff;}
@media (max-width: 768px) {
    .navbar-collapse {
        padding-bottom: 20px;
    }
    .navbar-nav {
        text-align: right;
        margin-top: 1rem;
    }
}