/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Banner */
.top-banner {
    background-color: #121212;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    color: #FFFFFF;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.banner-separator {
    width: 6px;
    height: 6px;
    background-color: #4CAF50;
    border-radius: 50%;
}

/* Container */
.container {
    display: flex;
    margin-top: 40px;
    min-height: calc(100vh - 40px);
}

/* Sidebar */
.sidebar {
    width: 280px;
    background-color: #1A1A1A;
    position: fixed;
    left: 0;
    top: 40px;
    bottom: 0;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-header {
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
}

.sidebar-nav {
    flex: 1;
    margin-bottom: 40px;
}

.nav-list {
    list-style: none;
}

.nav-list li {
    margin-bottom: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.nav-link:hover,
.nav-link.active {
    background-color: #333;
}

.nav-icon {
    font-size: 18px;
    width: 20px;
    text-align: center;
}


.sidebar-cta {
    margin-top: auto;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background-color: #4CAF50;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #45a049;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
    background-color: #000000;
    min-height: calc(100vh - 40px);
}

/* Typography */
h1 {
    font-size: 48px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 24px;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.3;
}

h3 {
    font-size: 28px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.4;
}

h4 {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.4;
}

h5 {
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.4;
}

h6 {
    font-size: 18px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.4;
}

p {
    font-size: 16px;
    color: #E0E0E0;
    margin-bottom: 16px;
    line-height: 1.6;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 16px;
    padding-left: 0;
}

ul li, ol li {
    margin-bottom: 8px;
    padding-left: 8px;
    position: relative;
}

ul li::before {
    content: "•";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: -16px;
}

/* Cards */
.card {
    background-color: #1E1E1E;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #333;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Course Cards */
.course-card {
    background-color: #1E1E1E;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.course-image {
    width: 100%;
    height: 200px;
    background-color: #333;
    position: relative;
    overflow: hidden;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Course Hero Image */
.course-hero-image {
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.course-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

.course-tag {
    background-color: #333;
    color: #FFFFFF;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.course-content {
    padding: 20px;
}

.course-title {
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.3;
}

.course-description {
    font-size: 14px;
    color: #B0B0B0;
    line-height: 1.5;
}

/* Hero Section */
.hero-section {
    height: 400px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 40px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    border-radius: 12px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 20px;
    color: #E0E0E0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #45a049;
}

.btn-secondary {
    background-color: #333;
}

.btn-secondary:hover {
    background-color: #444;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #FFFFFF;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background-color: #1E1E1E;
    border: 1px solid #333;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #4CAF50;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
}

.form-checkbox label {
    font-size: 14px;
    color: #B0B0B0;
    line-height: 1.4;
}

/* Footer */
.footer {
    background-color: #1A1A1A;
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-left p {
    color: #B0B0B0;
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-right a {
    color: #B0B0B0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #FFFFFF;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1A1A1A;
    border-top: 1px solid #333;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-text {
    flex: 1;
    color: #E0E0E0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #4CAF50;
    text-decoration: none;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-btn-accept {
    background-color: #4CAF50;
    color: #FFFFFF;
}

.cookie-btn-accept:hover {
    background-color: #45a049;
}

.cookie-btn-decline {
    background-color: #333;
    color: #FFFFFF;
    border: 1px solid #555;
}

.cookie-btn-decline:hover {
    background-color: #444;
}

.cookie-btn-settings {
    background-color: transparent;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.cookie-btn-settings:hover {
    background-color: #4CAF50;
    color: #FFFFFF;
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: #1A1A1A;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid #333;
}

.cookie-modal h2 {
    color: #FFFFFF;
    margin-bottom: 20px;
    font-size: 24px;
}

.cookie-modal h3 {
    color: #FFFFFF;
    margin-bottom: 12px;
    font-size: 18px;
}

.cookie-modal p {
    color: #E0E0E0;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 16px;
    background-color: #1E1E1E;
    border-radius: 8px;
    border: 1px solid #333;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cookie-category-title {
    color: #FFFFFF;
    font-weight: 500;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #333;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-toggle.active {
    background-color: #4CAF50;
}

.cookie-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: #FFFFFF;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle.active .cookie-toggle-slider {
    transform: translateX(26px);
}

.cookie-category-description {
    color: #B0B0B0;
    font-size: 13px;
    line-height: 1.4;
}

.cookie-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 50px;
    right: 20px;
    z-index: 1002;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background: #45a049;
    transform: scale(1.05);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }
    
    .main-content {
        margin-left: 240px;
        padding: 30px;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 100%;
        max-width: 320px;
        z-index: 1001;
        position: fixed;
        top: 40px;
        left: 0;
        bottom: 0;
        height: calc(100vh - 40px);
        overflow-y: auto;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px 20px 20px 20px;
        width: 100%;
        margin-top: 0;
        padding-top: 80px;
    }
    
    .sidebar-header {
        padding: 20px 0;
        border-bottom: 1px solid #333;
        margin-bottom: 20px;
    }
    
    .sidebar-nav {
        margin-bottom: 20px;
    }
    
    .nav-link {
        padding: 16px 20px;
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .sidebar-cta {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid #333;
        position: sticky;
        bottom: 0;
        background: #1A1A1A;
    }
    
    .cta-button {
        padding: 18px 24px;
        font-size: 18px;
        width: 100%;
    }
    
    /* Fix text cutting on mobile */
    .main-content ul,
    .main-content ol {
        margin-left: 0;
        padding-left: 20px;
    }
    
    .main-content ul li,
    .main-content ol li {
        margin-left: 0;
        padding-left: 20px;
        position: relative;
    }
    
    .main-content ul li::before {
        content: "•";
        color: #4CAF50;
        font-weight: bold;
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-modal-content {
        padding: 20px;
        margin: 10px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .card {
        padding: 16px;
    }
    
    .course-content {
        padding: 16px;
    }
}

@media (max-width: 320px) {
    .main-content {
        padding: 12px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .card {
        padding: 12px;
    }
    
    .course-content {
        padding: 12px;
    }
    
    .sidebar {
        max-width: 100%;
        width: 100%;
    }
    
    .mobile-menu-btn {
        top: 45px;
        right: 15px;
        left: auto;
        padding: 10px;
        font-size: 16px;
        width: 44px;
        height: 44px;
    }
    
    .nav-link {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .cta-button {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .main-content {
        padding: 12px 16px;
        padding-top: 70px;
    }
    
    .main-content ul,
    .main-content ol {
        margin-left: 0;
        padding-left: 16px;
    }
    
    .main-content ul li,
    .main-content ol li {
        margin-left: 0;
        padding-left: 16px;
    }
}
