/* ============================================================
   SCHOLARS EDUCATIONAL - MODERN LMS WEBSITE STYLES
   Education-Focused Design with Tailwind Integration
   ============================================================ */


/* ============================================================
   ROOT & BASE STYLES
   ============================================================ */

:root {
    --primary: #063B86;
    --primary-light: #1a5cc9;
    --primary-dark: #042555;
    --secondary: #FCD55C;
    --accent-black: #00050F;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #00050F;
    --light: #f8fafc;
    --border: #e2e8f0;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}


/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.header-premium {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.nav-brand-logo {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-brand:hover .nav-brand-logo {
    transform: translateY(-2px);
}

.nav-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-item {
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 0.375rem;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
    background-color: rgba(3, 105, 161, 0.08);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 80%;
}

.nav-cta-primary {
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    background-color: transparent;
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-cta-primary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(3, 105, 161, 0.3);
}

.nav-cta-secondary {
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(6, 59, 134, 0.3);
}

.nav-cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(6, 59, 134, 0.4);
}


/* Mobile Menu */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    .nav-item {
        display: block;
        width: 100%;
    }
}


/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 59, 134, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(252, 213, 92, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(3, 105, 161, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 1px solid rgba(3, 105, 161, 0.3);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-search-bar {
    display: flex;
    gap: 0.5rem;
    background: white;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.hero-search-bar input::placeholder {
    color: var(--text-light);
}

.hero-search-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search-btn:hover {
    box-shadow: 0 8px 16px rgba(3, 105, 161, 0.3);
    transform: translateY(-2px);
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 8px 16px rgba(6, 59, 134, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(6, 59, 134, 0.4);
}

.hero-btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.hero-btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(3, 105, 161, 0.2);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(3, 105, 161, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 2px dashed var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.3;
}


/* ============================================================
   FEATURED COURSES SECTION
   ============================================================ */

.courses-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.section-header {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.course-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border);
}

.course-card:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    transform: translateY(-8px);
    border-color: var(--primary-light);
}

.course-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, #e0e7ff 100%);
}

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

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

.course-badge,
.school-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.375rem;
    z-index: 2;
}

.course-badge {
    background: rgba(16, 185, 129, 0.95);
    color: white;
}

.school-tag {
    top: 3.5rem;
    left: 1rem;
    background: rgba(3, 105, 161, 0.95);
    color: white;
    font-weight: 600;
    font-size: 0.7rem;
}

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

.course-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.course-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.course-duration,
.course-level {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-bottom: 1rem;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.stars {
    color: #f59e0b;
}

.course-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.course-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(3, 105, 161, 0.3);
}


/* ============================================================
   FEATURES SECTION
   ============================================================ */

.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.feature-card {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    font-size: 2rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}


/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */

.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    transform: translateY(-4px);
}

.testimonial-rating {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-light);
}


/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
    padding: 4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 1.5rem;
    text-align: center;
    color: white;
    margin: 5rem 0;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.cta-btn {
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary);
    font-weight: 700;
    border: none;
    border-radius: 0.625rem;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}


/* ============================================================
   SCHOOLS SECTION
   ============================================================ */

.schools-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.school-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.school-item:hover {
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    transform: translateY(-8px);
    border-color: var(--primary-light);
}

.school-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 0.75rem;
    color: white;
    font-size: 1.5rem;
}

.school-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.school-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.school-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.school-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer-premium {
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-light);
    gap: 1rem;
}

.footer-link i {
    color: var(--primary-light);
    width: 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    color: white;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-light);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(3, 105, 161, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

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

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

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

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-down {
    animation: slideInDown 0.6s ease-out;
}


/* ============================================================
   UTILITIES & RESPONSIVE
   ============================================================ */

.container-premium {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-premium {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        min-height: auto;
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-cta-buttons {
        flex-direction: column;
    }
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    .course-card {
        margin-bottom: 1rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .cta-section {
        padding: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .hero-search-bar {
        flex-direction: column;
    }
    .hero-search-bar input,
    .hero-search-btn {
        width: 100%;
    }
    .nav-cta-primary,
    .nav-cta-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}


/* ============================================================
   LOGIN & AUTHENTICATION PAGES
   ============================================================ */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 40rem;
    height: 40rem;
    background: radial-gradient(circle, rgba(6, 59, 134, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.login-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 35rem;
    height: 35rem;
    background: radial-gradient(circle, rgba(252, 213, 92, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1100px;
    border-radius: 1.25rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    background: white;
    overflow: hidden;
    position: relative;
    z-index: 1;
}


/* Left Sidebar */

.login-sidebar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-sidebar::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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

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

.sidebar-logo {
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.sidebar-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.sidebar-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 2rem 0;
    font-weight: 500;
}

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

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    flex-shrink: 0;
}


/* Right Panel - Login Form */

.login-panel {
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-container {
    width: 100%;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.form-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
}

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

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--primary);
    font-size: 1.1rem;
    pointer-events: none;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: 2px solid var(--border);
    border-radius: 0.625rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: #ffffff;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 59, 134, 0.1);
    background-color: rgba(6, 59, 134, 0.01);
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-control.is-invalid {
    border-color: var(--danger);
}

textarea.form-control {
    padding: 0.875rem 1rem;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.toggle-password-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password-btn:hover {
    color: var(--primary);
}

.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.5rem;
    color: var(--danger);
    font-size: 0.85rem;
}

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

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border);
    border-radius: 0.35rem;
    cursor: pointer;
    accent-color: var(--primary);
    transition: var(--transition);
}

.form-check-input:hover {
    border-color: var(--primary);
}

.form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.forgot-password-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.forgot-password-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 59, 134, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
    background: rgba(3, 105, 161, 0.08);
    border-color: var(--primary-dark);
}

.btn-lg {
    padding: 1rem 1.75rem;
    font-size: 1rem;
}

.w-100 {
    width: 100%;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

.mt-5 {
    margin-top: 2rem;
}

.my-4 {
    margin: 1.5rem 0;
}

.text-end {
    text-align: right;
}

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

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner 0.75s linear infinite;
}

.spinner-border-sm {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 2px;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.me-2 {
    margin-right: 0.5rem;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(10, 177, 122, 0.04) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 0.625rem;
    color: var(--success);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.security-badge i {
    font-size: 1rem;
}

.form-divider {
    text-align: center;
    color: var(--text-light);
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.signup-section {
    padding: 1.5rem 0 0 0;
    border-top: 1px solid var(--border);
}

.signup-section p {
    color: var(--text-light);
    font-weight: 500;
}


/* Responsive Design */

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    .login-sidebar {
        padding: 2.5rem 2rem;
        min-height: 250px;
        justify-content: flex-start;
    }
    .sidebar-title {
        font-size: 1.5rem;
    }
    .login-panel {
        padding: 2.5rem 2rem;
    }
    .form-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .login-page {
        padding: 1rem;
    }
    .login-sidebar {
        display: none;
    }
    .login-panel {
        padding: 2rem 1.5rem;
    }
    .form-header h2 {
        font-size: 1.25rem;
    }
    .form-header p {
        font-size: 0.85rem;
    }
    .sidebar-title {
        font-size: 1.25rem;
    }
    .form-control {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        font-size: 16px;
    }
    .input-wrapper i {
        left: 0.75rem;
        font-size: 1rem;
    }
    .btn-lg {
        padding: 0.875rem 1.5rem;
    }
}


/* ============================================================
   REGISTER & LEARNER FORM PAGES
   ============================================================ */

.register-page,
.learner-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}

.register-page::before,
.learner-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 40rem;
    height: 40rem;
    background: radial-gradient(circle, rgba(6, 59, 134, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.register-page::after,
.learner-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 35rem;
    height: 35rem;
    background: radial-gradient(circle, rgba(252, 213, 92, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.register-container,
.learner-container {
    width: 100%;
    max-width: 700px;
    border-radius: 1.25rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    background: white;
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 3.5rem 3rem;
}

.register-header,
.learner-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.register-header h2,
.learner-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.5px;
}

.register-header p,
.learner-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
}

.register-subtext,
.learner-subtext {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0.5rem 0 0 0;
}

.register-form,
.learner-form {
    display: flex;
    flex-direction: column;
}

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

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group-wrapper {
    display: flex;
    flex-direction: column;
}

.checkbox-group,
.select-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-item,
.select-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.checkbox-input,
.select-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border);
    border-radius: 0.35rem;
    cursor: pointer;
    accent-color: var(--primary);
    transition: var(--transition);
}

.checkbox-input:hover,
.select-input:hover {
    border-color: var(--primary);
}

.checkbox-label,
.select-label {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
    user-select: none;
}

.file-upload-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.file-upload-input {
    position: relative;
}

.file-upload-input input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    border: 2px dashed var(--border);
    border-radius: 0.625rem;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(6, 59, 134, 0.02);
    font-weight: 600;
    color: var(--text-dark);
}

.file-upload-label:hover {
    border-color: var(--primary);
    background: rgba(6, 59, 134, 0.05);
}

.file-upload-label i {
    font-size: 1.5rem;
    color: var(--primary);
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(6, 59, 134, 0.08);
    border: 1px solid rgba(6, 59, 134, 0.2);
    border-radius: 0.5rem;
    font-size: 0.85rem;
}

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

.remove-file-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: var(--transition);
}

.remove-file-btn:hover {
    color: var(--danger);
    text-decoration: underline;
}

.form-divider {
    text-align: center;
    color: var(--text-light);
    font-weight: 600;
    margin: 2rem 0;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.auth-link p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.auth-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-link a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section-title i {
    color: var(--primary);
    font-size: 1.25rem;
}


/* Responsive Design */

@media (max-width: 768px) {
    .register-container,
    .learner-container {
        padding: 2.5rem 2rem;
    }
    .register-header h2,
    .learner-header h2 {
        font-size: 1.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .file-upload-label {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .register-page,
    .learner-page {
        padding: 1rem;
    }
    .register-container,
    .learner-container {
        padding: 2rem 1.5rem;
    }
    .register-header h2,
    .learner-header h2 {
        font-size: 1.25rem;
    }
    .form-control {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        font-size: 16px;
    }
}


/* ============================================================
   SUCCESS PAGE - APPLICATION SUBMISSION
   ============================================================ */

.success-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-container {
    max-width: 800px;
    width: 100%;
}

.success-header {
    text-align: center;
    margin-bottom: 50px;
}

.success-icon-wrapper {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #063B86 0%, #0d5bb8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #FCD55C;
    box-shadow: 0 10px 40px rgba(6, 59, 134, 0.2);
    animation: scaleIn 0.6s ease-out;
}

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

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00050F;
    margin-bottom: 10px;
}

.success-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.success-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.confirmation-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
    border-left: 4px solid #063B86;
    border-radius: 8px;
    margin-bottom: 30px;
}

.confirmation-icon {
    flex-shrink: 0;
    font-size: 28px;
    color: #063B86;
}

.confirmation-text h3 {
    color: #00050F;
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.confirmation-text p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.timeline-section {
    margin: 40px 0;
}

.timeline-title {
    color: #00050F;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-marker {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #063B86;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(6, 59, 134, 0.3);
}

.timeline-number {
    color: #FCD55C;
}

.timeline-content {
    flex: 1;
    padding-top: 5px;
}

.timeline-content h4 {
    color: #00050F;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.timeline-status {
    display: inline-block;
    padding: 6px 12px;
    background: #e8f4f8;
    color: #063B86;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.timeline-status.pending {
    background: #fff3cd;
    color: #856404;
}

.timeline-note {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid #FCD55C;
}

.timeline-note i {
    color: #FCD55C;
    font-size: 20px;
    flex-shrink: 0;
}

.timeline-note p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

.info-section {
    margin: 40px 0;
}

.info-title {
    color: #00050F;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
}

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

.info-card {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #063B86;
}

.info-icon {
    font-size: 32px;
    color: #063B86;
    margin-bottom: 15px;
}

.info-card h4 {
    color: #00050F;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-card p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-card a {
    color: #063B86;
    font-weight: 600;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.success-footer {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
    line-height: 1.6;
    margin-top: 20px;
}

.mt-6 {
    margin-top: 3rem;
}

.pt-4 {
    padding-top: 1rem;
}

.border-top {
    border-top: 1px solid #eee;
}


/* Success Page CTA Section */

.success-content .cta-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.btn-outline-success {
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--success);
    background-color: transparent;
    border: 2px solid var(--success);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-success:hover {
    background-color: var(--success);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}


/* Responsive Success Page */

@media (max-width: 768px) {
    .success-page {
        padding: 20px 10px;
    }
    .success-container {
        margin-top: 20px;
    }
    .success-title {
        font-size: 2rem;
    }
    .success-content {
        padding: 25px;
    }
    .confirmation-box {
        flex-direction: column;
        gap: 15px;
    }
    .timeline::before {
        left: 15px;
    }
    .timeline-item {
        gap: 20px;
    }
    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .success-content .cta-section {
        flex-direction: column;
    }
    .success-content .cta-section .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .success-title {
        font-size: 1.5rem;
    }
    .success-subtitle {
        font-size: 1rem;
    }
    .success-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    .success-content {
        padding: 20px;
    }
    .timeline-title,
    .info-title {
        font-size: 1.2rem;
    }
    .timeline-marker {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}


/* ============================================================
   ALL COURSES PAGE STYLES
   ============================================================ */

.all-courses-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.courses-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.header-content {
    animation: fadeInUp 0.6s ease-out;
}

.courses-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.courses-page-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
}


/* ============================================================
   FILTER SECTION STYLES
   ============================================================ */

.filter-section {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.search-bar-wrapper {
    margin-bottom: 1.5rem;
}

.filter-search-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.filter-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 59, 134, 0.1);
}

.filter-search-input::placeholder {
    color: var(--text-light);
}

.filter-toggle-wrapper {
    margin-bottom: 1.5rem;
}

.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-toggle-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 59, 134, 0.3);
}

.filter-toggle-btn i {
    font-size: 1.1rem;
}

.toggle-icon {
    transition: transform 0.3s ease;
    margin-left: auto;
}

.filter-toggle-btn .toggle-icon.rotated {
    transform: rotate(180deg);
}

.filter-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-container.active {
    max-height: 1000px;
    opacity: 1;
}

.filter-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: var(--transition);
}

.filter-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(26, 92, 201, 0.1);
}

.filter-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.filter-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-dropdown {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2em 1.2em;
    padding-right: 2.5rem;
}

.filter-dropdown:hover {
    border-color: var(--primary-light);
}

.filter-dropdown:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 59, 134, 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    grid-column: 1 / -1;
}

.btn-apply-filter,
.btn-reset-filter {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-apply-filter:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 59, 134, 0.3);
}

.btn-reset-filter {
    background: white;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-reset-filter:hover {
    background: #f0f7ff;
}


/* ============================================================
   ALL COURSES SECTION STYLES
   ============================================================ */

.all-courses-section {
    padding: 2rem 0 4rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.results-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.results-count {
    color: var(--text-light);
    font-size: 0.95rem;
}

.course-count {
    color: var(--primary);
    font-weight: 600;
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.sort-select {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: white;
    color: var(--text-dark);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.sort-select:hover {
    border-color: var(--primary-light);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 59, 134, 0.1);
}


/* ============================================================
   ALL CATEGORIES PAGE
   ============================================================ */

.all-categories-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f8 100%);
}

.categories-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.categories-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.categories-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.categories-page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.categories-page-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 300;
}

.categories-section {
    padding: 60px 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.category-body {
    padding: 25px;
    flex-grow: 1;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.category-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.category-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

.category-footer {
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.category-btn:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.category-btn i {
    transition: transform 0.3s ease;
}

.category-card:hover .category-btn i {
    transform: translateX(3px);
}


/* Empty State */

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.empty-state p {
    color: #666;
    font-size: 1.05rem;
}


/* Responsive Categories */

@media (max-width: 768px) {
    .categories-page-title {
        font-size: 2.2rem;
    }
    .categories-page-subtitle {
        font-size: 1rem;
    }
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    .category-header {
        padding: 30px 20px;
        min-height: 130px;
    }
    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    .category-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .categories-header {
        padding: 40px 15px;
    }
    .categories-page-title {
        font-size: 1.8rem;
    }
    .categories-page-subtitle {
        font-size: 0.95rem;
    }
    .categories-section {
        padding: 30px 15px;
    }
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .category-header {
        padding: 25px 15px;
        min-height: 110px;
    }
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    .category-body {
        padding: 20px;
    }
    .category-footer {
        padding: 15px 20px;
    }
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.courses-grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

.courses-grid-4col {
    grid-template-columns: repeat(4, 1fr);
}


/* ============================================================
   PAGINATION STYLES
   ============================================================ */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn,
.pagination-number {
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: white;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(:disabled),
.pagination-number:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-number.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-prev,
.pagination-next {
    font-size: 0.9rem;
}

.pagination-dots {
    padding: 0 0.5rem;
    color: var(--text-light);
}

.pagination-numbers {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}


/* ============================================================
   RESPONSIVE DESIGN - ALL COURSES
   ============================================================ */

@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .courses-grid-4col {
        grid-template-columns: repeat(3, 1fr);
    }
    .filter-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .courses-page-title {
        font-size: 2rem;
    }
    .courses-page-subtitle {
        font-size: 1rem;
    }
    .courses-header {
        padding: 2.5rem 0;
        margin-bottom: 2rem;
    }
    .filter-section {
        padding: 1.5rem 0;
        margin-bottom: 1.5rem;
    }
    .filter-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .filter-container.active {
        max-height: 1500px;
    }
    .filter-container.active {
        max-height: 1500px;
    }
    .filter-actions {
        flex-direction: column;
    }
    .btn-apply-filter,
    .btn-reset-filter {
        width: 100%;
    }
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .sort-wrapper {
        width: 100%;
    }
    .sort-select {
        flex: 1;
    }
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .courses-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pagination-numbers {
    gap: 0.15rem;
}

.pagination-btn,
.pagination-number {
    min-width: 36px;
    height: 36px;
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .courses-page-title {
        font-size: 1.5rem;
    }
    .courses-page-subtitle {
        font-size: 0.9rem;
    }
    .courses-header {
        padding: 2rem 0;
        margin-bottom: 1rem;
    }
    .filter-section {
        padding: 1rem 0;
    }
    .filter-card {
        padding: 1rem;
    }
    .filter-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    .filter-toggle-btn {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    .filter-search-input {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .results-title {
        font-size: 1.25rem;
    }
    .results-count {
        font-size: 0.85rem;
    }
    .sort-label {
        font-size: 0.85rem;
    }
    .sort-select {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    .pagination {
        gap: 0.25rem;
    }
    .pagination-btn,
    .pagination-number {
        min-width: 32px;
        height: 32px;
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    .pagination-prev,
    .pagination-next {
        font-size: 0.8rem;
    }
}

.filter-toggle-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.filter-search-input {
    padding: 0.75rem;
    font-size: 0.95rem;
}

.courses-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.courses-grid-4col {
    grid-template-columns: 1fr;
}

.results-title {
    font-size: 1.25rem;
}

.results-count {
    font-size: 0.85rem;
}

.sort-label {
    font-size: 0.85rem;
}

.sort-select {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}

.pagination {
    gap: 0.25rem;
}

.pagination-btn,
.pagination-number {
    min-width: 32px;
    height: 32px;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

.pagination-prev,
.pagination-next {
    font-size: 0.8rem;
}


/* ============================================================
   COURSE DETAIL PAGE - VIEW COURSE PAGE
   ============================================================ */

.view-course-page {
    background-color: #f8fafc;
    min-height: 100vh;
}


/* Course Header Section */

.course-header-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.course-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.course-header-image {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.course-featured-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.course-badge-featured {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: capitalize;
}

.course-header-info {
    display: flex;
    flex-direction: column;
}

.course-detail-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.course-detail-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}


/* Course Stats */

.course-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

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

.stat-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-value {
    font-weight: 600;
}

.rating-count {
    color: var(--text-light);
    font-size: 0.875rem;
}


/* Instructor Info */

.instructor-info-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f0f9ff;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.instructor-avatar {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.instructor-details {
    flex: 1;
}

.instructor-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.instructor-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}


/* Enrollment Section */

.course-enrollment-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.price-section {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
}

.course-price-large {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
}


/* Course Buttons */

.course-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.course-btn-primary:hover:not(:disabled) {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 59, 134, 0.3);
}

.course-btn-enrolled {
    background-color: #e5e7eb;
    color: #6b7280;
    cursor: not-allowed;
}

.course-btn-outline {
    background-color: transparent;
    border: 2px solid var(--border);
    color: var(--text-dark);
}

.course-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: #f0f9ff;
}

.btn-block {
    width: 100%;
}


/* Course Content Section */

.course-content-section {
    background-color: #f8fafc;
    padding: 3rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


/* Content Blocks */

.content-block {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.content-block-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
}


/* Learning Points */

.learning-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.learning-point {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.learning-point i {
    color: var(--success);
    margin-top: 0.25rem;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.learning-point span {
    color: var(--text-dark);
    line-height: 1.5;
}


/* Curriculum */

.curriculum-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.curriculum-module {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
}

.module-header {
    width: 100%;
    padding: 1rem;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-dark);
}

.module-header:hover {
    background-color: #f1f5f9;
}

.module-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    text-align: left;
}

.chevron-icon {
    transition: var(--transition);
    color: var(--primary);
}

.module-header.active .chevron-icon {
    transform: rotate(180deg);
}

.module-title {
    font-weight: 600;
    color: var(--text-dark);
}

.module-duration {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 400;
}

.module-lessons {
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
}

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

.lesson-item i {
    color: var(--primary);
    flex-shrink: 0;
}

.lesson-title {
    flex: 1;
}

.lesson-duration {
    font-size: 0.875rem;
    color: var(--text-light);
}


/* Requirements */

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.requirements-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    font-size: 1.1rem;
}


/* Full Description */

.course-full-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.course-full-description:last-child {
    margin-bottom: 0;
}


/* Sidebar */

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

.sidebar-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.enrollment-card {
    padding: 0;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.price-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.price {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
}

.card-details {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: #f8fafc;
    border-radius: 0.375rem;
}

.detail-item i {
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.detail-item div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
}

.detail-value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}


/* Features Card */

.features-card {
    padding: 1.5rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--primary);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.no-curriculum,
.no-lessons {
    color: var(--text-light);
    padding: 1rem;
    text-align: center;
    font-style: italic;
}


/* ============================================================
   COURSE DETAIL PAGE - RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 1200px) {
    .course-header-grid {
        gap: 2.5rem;
    }
    .content-grid {
        grid-template-columns: 1fr 320px;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .course-header-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .content-grid {
        grid-template-columns: 1fr;
    }
    .course-enrollment-section {
        flex-direction: column;
        align-items: stretch;
    }
    .course-btn {
        width: 100%;
    }
    .learning-points {
        grid-template-columns: 1fr;
    }
    .price-section {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .course-header-section {
        padding: 1.5rem 0;
    }
    .course-detail-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    .course-detail-description {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    .course-stats {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .stat-item {
        font-size: 0.875rem;
    }
    .instructor-info-box {
        margin-bottom: 1.5rem;
        padding: 0.75rem;
    }
    .instructor-avatar {
        width: 3rem;
        height: 3rem;
    }
    .course-enrollment-section {
        gap: 1rem;
    }
    .course-price-large {
        font-size: 1.5rem;
    }
    .content-block {
        padding: 1.5rem;
    }
    .content-block-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    .content-grid {
        gap: 1.5rem;
    }
    .card-details {
        padding: 1rem;
        gap: 0.75rem;
    }
    .detail-item {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .course-header-section {
        padding: 1rem 0;
    }
    .course-detail-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    .course-detail-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }
    .course-stats {
        gap: 0.5rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    .stat-item {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    .stat-item i {
        font-size: 0.9rem;
    }
    .instructor-info-box {
        padding: 0.75rem;
        margin-bottom: 1rem;
        gap: 0.75rem;
    }
    .instructor-avatar {
        width: 2.5rem;
        height: 2.5rem;
    }
    .instructor-name {
        font-size: 0.9rem;
    }
    .course-enrollment-section {
        flex-direction: column;
        gap: 0.75rem;
    }
    .price-section {
        margin-bottom: 0.5rem;
    }
    .price-label {
        font-size: 0.75rem;
    }
    .course-price-large {
        font-size: 1.5rem;
    }
    .course-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.875rem;
    }
    .content-block {
        padding: 1rem;
    }
    .content-block-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    .learning-points {
        gap: 0.75rem;
    }
    .learning-point {
        gap: 0.5rem;
        font-size: 0.9rem;
    }
    .learning-point i {
        font-size: 0.95rem;
        margin-top: 0.1rem;
    }
    .module-header {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    .module-duration {
        font-size: 0.8rem;
    }
    .lesson-item {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    .requirements-list li {
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    .requirements-list li::before {
        font-size: 0.95rem;
    }
    .card-image {
        height: 150px;
    }
    .card-content {
        padding: 1rem;
    }
    .course-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    .price {
        font-size: 1.5rem;
    }
    .card-details {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    .detail-item {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    .detail-item i {
        font-size: 1rem;
    }
    .detail-label {
        font-size: 0.7rem;
    }
    .detail-value {
        font-size: 0.85rem;
    }
    .card-title {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    .feature-item {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    .feature-item i {
        font-size: 1rem;
    }
}


/* ============================================================
   COURSE ENROLLMENT FORM - CHECKOUT PAGE
   ============================================================ */

.enrollment-page {
    background-color: #f8fafc;
    min-height: 100vh;
}


/* Enrollment Header */

.enrollment-header {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-link:hover {
    color: var(--primary-dark);
}

.breadcrumb-separator {
    color: var(--text-light);
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 600;
}

.enrollment-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}


/* Enrollment Content */

.enrollment-content {
    padding: 3rem 0;
}

.enrollment-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.enrollment-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


/* Enrollment Card */

.enrollment-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.course-summary {
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
}

.course-summary-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.course-summary-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f1f5f9;
}

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

.course-summary-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.course-instructor,
.course-level {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0.25rem 0;
}

.course-instructor i,
.course-level i {
    color: var(--primary);
}


/* Pricing Section */

.pricing-section {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.price-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.price-amount {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.price-row.total {
    border-top: 2px solid var(--border);
    padding-top: 1rem;
    margin-top: 1rem;
}

.price-row.total .price-label {
    color: var(--text-dark);
    font-weight: 700;
}

.price-row.total .price-amount {
    font-size: 1.25rem;
    color: var(--primary);
}

.price-divider {
    height: 1px;
    background-color: var(--border);
    margin: 1rem 0;
}


/* Enrollment Terms */

.enrollment-terms {
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.terms-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.terms-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.terms-list li i {
    color: var(--success);
    margin-top: 0.25rem;
    flex-shrink: 0;
}


/* Enrollment Agreement */

.enrollment-agreement {
    padding: 1.5rem 2rem;
}

.agreement-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.agreement-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.agreement-link:hover {
    text-decoration: underline;
}


/* Enrollment Sidebar */

.enrollment-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.action-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: sticky;
    top: 2rem;
}

.student-info {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.student-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.student-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.student-item:last-child {
    margin-bottom: 0;
}

.student-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
}

.student-value {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}


/* Badges */

.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-primary {
    background-color: #dbeafe;
    color: #1e40af;
}


/* Enrollment Button Section */

.enrollment-button-section {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.enrollment-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.enrollment-btn-primary:hover:not(:disabled) {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 59, 134, 0.3);
}

.enrollment-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


/* Back Link Section */

.back-link-section {
    padding: 0 1.5rem 1rem 1.5rem;
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-dark);
}


/* Security Info */

.security-info {
    padding: 1rem 1.5rem;
    background-color: #f0f9ff;
    border-top: 1px solid var(--border);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.security-badge i {
    font-size: 1.1rem;
}

.security-text {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}


/* FAQ Card */

.faq-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    padding: 1.5rem;
    margin: 0;
    border-bottom: 1px solid var(--border);
}

.faq-items {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}


/* ============================================================
   ABOUT US PAGE
   ============================================================ */

.about-us-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.about-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.about-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.about-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.about-title {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.about-subtitle {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}


/* Sections */

.about-section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
    margin: 0 auto;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}


/* Who We Are Section */

.who-we-are-section {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-text {
    padding: 30px;
}

.about-subtitle-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-description {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}


/* Vision & Mission Section */

.vision-mission-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8f1f8 100%);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.vision-card,
.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.vision-card:hover,
.mission-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.card-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}


/* Core Values Section */

.core-values-section {
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
}

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

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.value-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.value-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}


/* Our Structure Section */

.our-structure-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8f1f8 100%);
}

.schools-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.school-showcase-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.school-showcase-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-10px);
}

.showcase-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    align-self: center;
}

.showcase-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.showcase-subtitle {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.showcase-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.showcase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: center;
    width: fit-content;
}

.showcase-btn:hover {
    background: var(--primary-dark);
    gap: 15px;
    box-shadow: 0 4px 12px rgba(6, 59, 134, 0.3);
}

.showcase-btn i {
    transition: transform 0.3s ease;
}

.school-showcase-card:hover .showcase-btn i {
    transform: translateX(3px);
}


/* CTA Section */

.about-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.cta-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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


/* Responsive Design */

@media (max-width: 768px) {
    .about-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .about-section {
        padding: 50px 20px;
    }
    .about-subtitle-text {
        font-size: 1.5rem;
    }
    .cta-title {
        font-size: 1.8rem;
    }
    .schools-showcase {
        grid-template-columns: 1fr;
    }
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .about-header {
        padding: 50px 15px;
    }
    .about-title {
        font-size: 1.8rem;
    }
    .about-section {
        padding: 40px 15px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .about-text {
        padding: 20px;
    }
    .about-description {
        font-size: 1rem;
        text-align: left;
    }
    .card-icon {
        font-size: 2.5rem;
    }
    .card-title {
        font-size: 1.4rem;
    }
    .value-icon {
        font-size: 2rem;
    }
    .value-name {
        font-size: 1.1rem;
    }
    .showcase-icon {
        font-size: 2.5rem;
    }
    .showcase-title {
        font-size: 1.3rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .cta-btn {
        width: 100%;
    }
}

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-question {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-answer {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}


/* ============================================================
   COURSE ENROLLMENT FORM - RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 1200px) {
    .enrollment-grid {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 1024px) {
    .enrollment-grid {
        grid-template-columns: 1fr;
    }
    .action-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .enrollment-header {
        padding: 1.5rem 0;
    }
    .enrollment-title {
        font-size: 1.5rem;
    }
    .breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    .enrollment-content {
        padding: 1.5rem 0;
    }
    .enrollment-card {
        border-radius: 0.5rem;
    }
    .course-summary {
        padding: 1.5rem;
    }
    .course-summary-item {
        gap: 1rem;
    }
    .course-summary-image {
        width: 100px;
        height: 100px;
    }
    .course-name {
        font-size: 1rem;
    }
    .course-instructor,
    .course-level {
        font-size: 0.85rem;
    }
    .summary-title {
        font-size: 1.1rem;
    }
    .pricing-section {
        padding: 1rem;
    }
    .price-row {
        font-size: 0.9rem;
    }
    .price-row.total .price-amount {
        font-size: 1.1rem;
    }
    .enrollment-terms {
        padding: 1.5rem;
    }
    .terms-title {
        font-size: 1rem;
    }
    .terms-list li {
        font-size: 0.9rem;
    }
    .enrollment-agreement {
        padding: 1rem 1.5rem;
    }
    .agreement-text {
        font-size: 0.8rem;
    }
    .action-card {
        margin-top: 0;
    }
    .student-info {
        padding: 1.25rem;
    }
    .student-title {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    .student-item {
        margin-bottom: 0.75rem;
    }
    .enrollment-button-section {
        padding: 1.25rem;
    }
    .enrollment-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    .back-link-section {
        padding: 0 1.25rem 0.75rem 1.25rem;
    }
    .security-info {
        padding: 0.75rem 1.25rem;
    }
    .faq-title {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    .faq-items {
        padding: 1.25rem;
        gap: 1rem;
    }
    .faq-question {
        font-size: 0.85rem;
    }
    .faq-answer {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .enrollment-header {
        padding: 1rem 0;
    }
    .enrollment-title {
        font-size: 1.25rem;
    }
    .breadcrumb {
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    .breadcrumb-link {
        display: none;
    }
    .breadcrumb-link:last-child {
        display: inline-flex;
    }
    .breadcrumb-separator {
        display: none;
    }
    .breadcrumb-current {
        font-size: 0.85rem;
    }
    .enrollment-content {
        padding: 1rem 0;
    }
    .enrollment-grid {
        gap: 1rem;
    }
    .course-summary {
        padding: 1rem;
    }
    .course-summary-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    .course-summary-image {
        width: 80px;
        height: 80px;
    }
    .course-name {
        font-size: 0.95rem;
    }
    .summary-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .pricing-section {
        padding: 0.875rem;
    }
    .price-row {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }
    .price-amount {
        font-size: 0.95rem;
    }
    .price-row.total .price-amount {
        font-size: 1rem;
    }
    .enrollment-terms {
        padding: 1rem;
    }
    .terms-title {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    .terms-list li {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    .enrollment-agreement {
        padding: 0.75rem 1rem;
    }
    .agreement-text {
        font-size: 0.75rem;
    }
    .student-info {
        padding: 1rem;
    }
    .student-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    .student-item {
        margin-bottom: 0.5rem;
    }
    .student-label {
        font-size: 0.7rem;
    }
    .student-value {
        font-size: 0.85rem;
    }
    .badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
    .enrollment-button-section {
        padding: 1rem;
    }
    .enrollment-btn {
        padding: 0.675rem 1rem;
        font-size: 0.85rem;
    }
    .back-link-section {
        padding: 0 1rem 0.5rem 1rem;
    }
    .back-link {
        font-size: 0.85rem;
    }
    .security-info {
        padding: 0.5rem 1rem;
    }
    .security-badge {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    .security-badge i {
        font-size: 1rem;
    }
    .security-text {
        font-size: 0.75rem;
    }
    .faq-title {
        padding: 1rem;
        font-size: 0.9rem;
    }
    .faq-items {
        padding: 1rem;
        gap: 0.75rem;
    }
    .faq-question {
        font-size: 0.8rem;
    }
    .faq-answer {
        font-size: 0.75rem;
    }
}


/* ============================================================
   CONTACT US PAGE
   ============================================================ */

.contact-us-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.contact-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.contact-title {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.contact-subtitle {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}


/* Contact Section */

.contact-section {
    padding: 80px 20px;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}


/* Contact Info Column */

.contact-info-column {
    display: flex;
    flex-direction: column;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: left;
}

.contact-info-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
}

.contact-info-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-info-text {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 12px;
}

.contact-info-link {
    font-size: 1.05rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-info-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.contact-location {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.contact-hours {
    font-size: 1rem;
    color: #555;
    margin: 0;
    margin-top: 5px;
}


/* Contact Form Column */

.contact-form-column {
    display: flex;
    flex-direction: column;
}

.contact-form-card {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-control {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 59, 134, 0.1);
}

.form-control::placeholder {
    color: #bbb;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.5;
}

.contact-submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    box-shadow: 0 8px 24px rgba(6, 59, 134, 0.35);
    transform: translateY(-2px);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn i {
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(5px);
}


/* Social Links Section */

.contact-socials-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8f1f8 100%);
    padding: 60px 20px;
    text-align: center;
}

.socials-content {
    max-width: 700px;
    margin: 0 auto;
}

.socials-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.socials-subtitle {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.social-facebook {
    color: #1877f2;
}

.social-facebook:hover {
    background: #1877f2;
    color: white;
}

.social-twitter {
    color: #1da1f2;
}

.social-twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-instagram {
    color: #e4405f;
}

.social-instagram:hover {
    background: #e4405f;
    color: white;
}

.social-linkedin {
    color: #0a66c2;
}

.social-linkedin:hover {
    background: #0a66c2;
    color: white;
}

.social-youtube {
    color: #ff0000;
}

.social-youtube:hover {
    background: #ff0000;
    color: white;
}


/* Map Section */

.contact-map-section {
    padding: 0;
    overflow: hidden;
}

.map-container {
    width: 100%;
    height: 500px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f1f8 0%, #f0f4f8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #999;
}

.map-placeholder i {
    font-size: 4rem;
    opacity: 0.3;
}

.map-placeholder p {
    font-size: 1.1rem;
    opacity: 0.6;
}


/* Responsive Design */

@media (max-width: 768px) {
    .contact-title {
        font-size: 2.2rem;
    }
    .contact-section {
        padding: 50px 20px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-form-card {
        padding: 35px;
    }
    .form-title {
        font-size: 1.6rem;
    }
    .contact-info-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .socials-title {
        font-size: 1.8rem;
    }
    .map-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .contact-header {
        padding: 50px 15px;
    }
    .contact-title {
        font-size: 1.8rem;
    }
    .contact-subtitle {
        font-size: 1rem;
    }
    .contact-section {
        padding: 40px 15px;
    }
    .contact-form-card {
        padding: 25px;
    }
    .form-title {
        font-size: 1.4rem;
    }
    .contact-form {
        gap: 20px;
    }
    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .contact-info-card {
        padding: 25px;
    }
    .contact-icon {
        font-size: 2rem;
    }
    .contact-info-title {
        font-size: 1.1rem;
    }
    .contact-submit-btn {
        width: 100%;
    }
    .contact-socials-section {
        padding: 40px 15px;
    }
    .socials-title {
        font-size: 1.5rem;
    }
    .social-links {
        gap: 15px;
    }
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    .map-container {
        height: 300px;
    }
}


/* ============================================================
   FILTERED RESULTS PAGE
   ============================================================ */

.filtered-results-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.results-header-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.results-header-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.results-header-content {
    position: relative;
    z-index: 1;
}

.results-page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.results-page-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 500px;
    margin: 0 auto;
}

.results-content-section {
    padding: 60px 20px;
}

.results-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}


/* Sidebar - Filters */

.results-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.filters-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.filters-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.filter-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.filter-input,
.filter-select {
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(6, 59, 134, 0.1);
}

.filter-input::placeholder {
    color: #bbb;
}

.filter-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
    cursor: pointer;
}

.reset-filters-btn {
    background: #f0f4f8;
    color: var(--primary);
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reset-filters-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(6, 59, 134, 0.25);
}


/* Main Results Area */

.results-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.results-info {
    background: white;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.results-count {
    display: flex;
    align-items: center;
    gap: 10px;
}

.count-text {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.count-number,
.total-number {
    font-weight: 700;
    color: var(--primary);
}


/* Results Grid */

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

.result-course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.result-course-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.result-course-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f0f4f8;
}

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

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

.result-course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.result-course-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.result-course-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin: 0;
}

.result-course-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.result-course-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.meta-item {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: var(--primary);
    width: 16px;
}

.result-course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
}

.result-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #f59e0b;
}

.result-rating i {
    font-size: 0.8rem;
}

.result-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.result-course-btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.result-course-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(6, 59, 134, 0.3);
}


/* No Results State */

.no-results-state {
    background: white;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.no-results-icon {
    font-size: 4.5rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 12px 0;
}

.no-results-text {
    font-size: 1rem;
    color: #666;
    margin: 0 0 30px 0;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.no-results-reset-btn {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.no-results-reset-btn:hover {
    box-shadow: 0 6px 20px rgba(6, 59, 134, 0.3);
    transform: translateY(-2px);
}


/* Pagination */

.results-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}


/* Responsive Design */

@media (max-width: 1024px) {
    .results-page-title {
        font-size: 2.2rem;
    }
    .results-layout {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }
    .filters-card {
        padding: 25px;
    }
    .results-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .results-header-section {
        padding: 40px 15px;
    }
    .results-page-title {
        font-size: 1.8rem;
    }
    .results-content-section {
        padding: 40px 15px;
    }
    .results-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .filters-card {
        position: static;
        padding: 20px;
    }
    .filters-title {
        font-size: 1.2rem;
    }
    .results-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    .result-course-image {
        height: 150px;
    }
    .result-course-body {
        padding: 15px;
        gap: 10px;
    }
    .no-results-state {
        padding: 40px 25px;
    }
    .no-results-icon {
        font-size: 3.5rem;
    }
    .no-results-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .results-header-section {
        padding: 30px 12px;
    }
    .results-page-title {
        font-size: 1.5rem;
    }
    .results-page-subtitle {
        font-size: 0.95rem;
    }
    .results-content-section {
        padding: 30px 12px;
    }
    .filter-label {
        font-size: 0.85rem;
    }
    .filter-input,
    .filter-select {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
    .reset-filters-btn {
        font-size: 0.85rem;
        padding: 10px 15px;
    }
    .results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .result-course-image {
        height: 120px;
    }
    .result-course-title {
        font-size: 1rem;
    }
    .result-course-description {
        font-size: 0.8rem;
    }
    .result-price {
        font-size: 1.1rem;
    }
    .result-course-btn {
        padding: 10px;
        font-size: 0.85rem;
    }
    .no-results-state {
        padding: 30px 15px;
    }
    .no-results-icon {
        font-size: 2.5rem;
    }
    .no-results-title {
        font-size: 1.2rem;
    }
    .no-results-text {
        font-size: 0.9rem;
    }
    .no-results-reset-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}


/* ============================================================
   PAYMENT FAILURE PAGE STYLES
   ============================================================ */

.payment-failure-page {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
}


/* Failure Header */

.failure-header-section {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.failure-header-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.failure-animation-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.failure-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.failure-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    letter-spacing: -0.5px;
}

.failure-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 300;
}


/* Failure Content */

.failure-content-section {
    padding: 4rem 0;
}

.failure-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

.failure-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


/* Error Details Card */

.error-details-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.error-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.error-header i {
    font-size: 2rem;
    color: #ef4444;
}

.error-header h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.error-message-section {
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid #ef4444;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.error-message-text {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.transaction-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.info-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Courier New', monospace;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid var(--border);
}


/* Troubleshooting Card */

.troubleshooting-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
}

.solutions-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.solution-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.solution-item:hover {
    background: #f0f9ff;
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.solution-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(248, 113, 113, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.solution-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.solution-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}


/* Alternative Payment Methods */

.alternatives-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.alternatives-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.method-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.method-badge:hover {
    border-color: var(--primary);
    background: #f0f9ff;
}

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

.method-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}


/* Sidebar */

.failure-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.action-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.action-card.retry-action {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    border: none;
}

.action-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.action-description {
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.625rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    width: 100%;
    text-align: center;
}

.btn-primary-large {
    background: white;
    color: #f59e0b;
}

.action-card.retry-action .btn-primary-large:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.btn-secondary-large {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border);
    width: 100%;
    padding: 0.875rem 1.5rem;
}

.btn-secondary-large:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f9ff;
}


/* FAQ Card */

.faq-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.faq-title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.faq-items-small {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item-small {
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.faq-item-small:hover {
    background: #f0f9ff;
    border-color: var(--primary);
}

.faq-item-small summary {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    user-select: none;
}

.faq-item-small p {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}


/* Support Card */

.support-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    text-align: center;
}

.support-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.support-card p {
    margin: 0 0 1.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.support-link:hover {
    background: var(--primary);
    color: white;
}


/* Help Section */

.help-section {
    background: white;
    border-top: 1px solid var(--border);
    padding: 4rem 0;
}

.help-content {
    text-align: center;
    margin-bottom: 3rem;
}

.help-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
}

.help-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.option {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.option:hover {
    border-color: var(--primary);
    background: #f0f9ff;
    transform: translateY(-4px);
}

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

.option h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.option p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}


/* ============================================================
   RESPONSIVE DESIGN - PAYMENT FAILURE PAGE
   ============================================================ */

@media (max-width: 1024px) {
    .failure-grid {
        grid-template-columns: 1fr;
    }
    .failure-sidebar {
        order: -1;
    }
    .solutions-list,
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .failure-main-title {
        font-size: 2rem;
    }
    .failure-subtitle {
        font-size: 1rem;
    }
    .failure-icon-large {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
    .card-title {
        font-size: 1.25rem;
    }
    .contact-options {
        grid-template-columns: 1fr;
    }
    .solution-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .failure-header-section {
        padding: 2rem 0;
    }
    .failure-main-title {
        font-size: 1.5rem;
    }
    .failure-icon-large {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
        margin: 0 auto 1.5rem;
    }
    .failure-content-section,
    .help-section {
        padding: 2rem 0;
    }
    .error-details-card,
    .troubleshooting-card,
    .alternatives-card,
    .action-card,
    .faq-card,
    .support-card {
        padding: 1.5rem;
    }
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    .help-content h2 {
        font-size: 1.5rem;
    }
    .contact-options {
        gap: 1rem;
    }
    .option {
        padding: 1.5rem;
    }
    .option i {
        font-size: 2rem;
    }
}


/* ============================================================
   PAYMENT SUCCESS PAGE STYLES
   ============================================================ */

.payment-success-page {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
}


/* Success Header */

.success-header-section {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.success-header-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.success-animation-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.success-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    letter-spacing: -0.5px;
}

.success-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 300;
}


/* Success Content */

.success-content-section {
    padding: 4rem 0;
}

.success-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

.success-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


/* Confirmation Card */

.confirmation-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.confirmation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.confirmation-header i {
    font-size: 2rem;
    color: #10b981;
}

.confirmation-header h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.transaction-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.reference-code {
    font-family: 'Courier New', monospace;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid var(--border);
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.success-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}


/* What's Next Card */

.whats-next-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.step-item:hover {
    background: #f0f9ff;
    border-color: var(--primary-light);
    transform: translateX(8px);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.step-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}


/* Benefits Card */

.benefits-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(52, 211, 153, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 0.75rem;
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.15) 100%);
    transform: translateY(-4px);
}

.benefit-item i {
    font-size: 2rem;
    color: #10b981;
}

.benefit-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}


/* Success Sidebar */

.success-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.action-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.action-card.primary-action {
    background: linear-gradient(135deg, var(--primary) 0%, #0d5ba3 100%);
    color: white;
    border: none;
}

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

.action-card.primary-action .btn-primary-large:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.info-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

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

.info-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

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

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.info-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
}


/* CTA Section */

.success-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0d5ba3 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0 0 2rem 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 0.625rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.cta-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/* ============================================================
   RESPONSIVE DESIGN - PAYMENT SUCCESS PAGE
   ============================================================ */

@media (max-width: 1024px) {
    .success-grid,
    .failure-grid {
        grid-template-columns: 1fr;
    }
    .success-sidebar,
    .failure-sidebar {
        order: -1;
    }
    .benefits-grid,
    .solutions-list,
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .success-main-title,
    .failure-main-title {
        font-size: 2rem;
    }
    .success-subtitle,
    .failure-subtitle {
        font-size: 1rem;
    }
    .success-icon-large,
    .failure-icon-large {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
    .card-title {
        font-size: 1.25rem;
    }
    .contact-options {
        grid-template-columns: 1fr;
    }
    .solution-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .step-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .success-content-section,
    .failure-content-section,
    .help-section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .success-header-section,
    .failure-header-section {
        padding: 2rem 0;
    }
    .success-main-title,
    .failure-main-title {
        font-size: 1.5rem;
    }
    .success-icon-large,
    .failure-icon-large {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
        margin: 0 auto 1.5rem;
    }
    .success-content-section,
    .failure-content-section,
    .help-section {
        padding: 2rem 0;
    }
    .confirmation-card,
    .whats-next-card,
    .benefits-card,
    .error-details-card,
    .troubleshooting-card,
    .alternatives-card,
    .action-card,
    .faq-card,
    .support-card,
    .info-card {
        padding: 1.5rem;
    }
    .card-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    .cta-content h2 {
        font-size: 1.5rem;
    }
    .contact-options {
        gap: 1rem;
    }
    .option {
        padding: 1.5rem;
    }
    .option i {
        font-size: 2rem;
    }
    .benefits-grid {
        gap: 1rem;
    }
    .benefit-item {
        padding: 1rem;
    }
    .benefit-item i {
        font-size: 1.5rem;
    }
    .steps-container {
        gap: 1rem;
    }
    .step-item {
        gap: 1rem;
        padding: 1rem;
    }
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .step-content h4 {
        font-size: 0.9rem;
    }
    .step-content p {
        font-size: 0.8rem;
    }
    .confirmation-header {
        gap: 0.75rem;
    }
    .confirmation-header i {
        font-size: 1.5rem;
    }
    .confirmation-header h2 {
        font-size: 1.2rem;
    }
    .cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}