@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --sidebar-bg: #1d093b;
    --sidebar-text: #ffffff;
    --primary-color: #cfa846;
    --primary-hover: #b8943f;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --text-primary: #1d093b;
    --text-secondary: #5a5468;
    --border-color: #eadaa2;
    --shadow: 0 4px 15px rgba(29, 9, 59, 0.1);
    --shadow-lg: 0 10px 30px rgba(29, 9, 59, 0.15);
    --bg-cream: #faf7f0;
    --white: #ffffff;
    --brand-violet: #1d093b;
    --brand-violet-dark: #120526;
    --brand-gold: #cfa846;
    --brand-gold-light: #eadaa2;
    --brand-gold-hover: #b8943f;
    --brand-teal: #14b8a6;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-primary);
    line-height: 1.6;
}



/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--brand-violet) 0%, var(--brand-violet-dark) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(207,168,70,0.1)"/></svg>');
    background-size: 200px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.stat-item i {
    color: var(--brand-gold);
    font-size: 1.5rem;
}

/* Categories Section */
.categories-section {
    padding: 60px 20px;
    background: var(--white);
    text-align: center;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--brand-violet);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.category-tab {
    padding: 12px 28px;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.category-tab:hover {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

.category-tab.active {
    background: var(--brand-violet);
    border-color: var(--brand-violet);
    color: var(--white);
}

/* Courses Grid Section */
.courses-grid-section {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.courses-grid-section .section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.view-options {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--text-secondary);
}

.view-btn:hover,
.view-btn.active {
    border-color: var(--brand-violet);
    background: var(--brand-violet);
    color: var(--white);
}

.course-category {
    margin-bottom: 60px;
}

.course-category h3 {
    font-size: 1.8rem;
    color: var(--brand-violet);
    margin-bottom: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.course-category h3 i {
    color: var(--brand-gold);
}

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

/* Course Tile */
.course-tile {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.course-tile:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-gold);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-badge.nielit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.course-badge.okcl {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
}

.course-badge.career {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: var(--white);
}

.course-badge.competitive {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: var(--brand-violet-dark);
}

.course-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-violet) 0%, var(--brand-violet-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--brand-gold);
    font-size: 1.8rem;
    margin: 5px auto;
}

.course-tile h4 {
    font-size: 1.3rem;
    color: var(--brand-violet);
    margin-bottom: 8px;
    font-weight: 700;
}

.course-tile p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-meta i {
    color: var(--brand-gold);
}

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

.course-level {
    padding: 5px 12px;
    background: var(--bg-cream);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-violet);
}

.btn-enroll {
    padding: 8px 18px;
    background: var(--brand-violet);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-enroll:hover {
    background: var(--brand-gold);
    color: var(--brand-violet);
}

/* Competitive Marquee */
.competitive-marquee {
    background: var(--brand-violet-dark);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    overflow: hidden;
    border: 2px solid var(--brand-gold);
}

.marquee-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    animation: scrollRight 20s linear infinite;
}

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

.competitive-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--brand-violet) 0%, var(--brand-violet-dark) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background: var(--brand-gold);
    color: var(--brand-violet);
    border: none;
}

.btn-primary:hover {
    background: var(--brand-gold-hover);
    transform: translateY(-2px);
}

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

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

/* Footer */
.main-footer {
    background: var(--brand-violet-dark);
    color: var(--white);
    padding: 60px 20px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-section h4 {
    color: var(--brand-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--brand-gold);
}

.footer-section ul li i {
    color: var(--brand-gold);
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 9, 59, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--brand-gold);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--brand-violet);
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: var(--brand-gold);
    color: var(--brand-violet);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--brand-gold-hover);
    color: var(--white);
}

.modal-body {
    padding: 25px;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle-btn {
        display: flex;
    }
    
    .header-buttons {
        display: none;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: 60px 20px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .category-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .category-tab {
        width: 100%;
    }
    
    .courses-grid-section .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}