:root {
    --primary-blue: #0066cc;
    --secondary-orange: #ff8c42;
    --dark-bg: #0a1428;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --success-green: #28a745;
    --warning-yellow: #ffc107;
    --danger-red: #dc3545;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #0052a3);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: var(--light-bg);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(255, 140, 66, 0.05));
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-icon {
    width: 300px;
    height: 300px;
    animation: float 3s ease-in-out infinite;
}

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

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.benefits {
    background: var(--light-bg);
}

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

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.category-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
}

.category-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.category-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Stats */
.stats {
    background: linear-gradient(135deg, var(--primary-blue), #0052a3);
    color: var(--white);
}

.stats h2 {
    color: var(--white);
}

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

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

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

.instructor-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-10px);
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 20px;
}

.instructor-card h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.instructor-card p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.instructor-bio {
    font-size: 14px;
    margin-top: 15px;
}

/* Testimonials */
.testimonials {
    background: var(--light-bg);
}

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

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-orange);
}

.stars {
    color: var(--warning-yellow);
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-card p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 14px;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.newsletter h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.newsletter p {
    margin-bottom: 30px;
    font-size: 18px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 20px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.newsletter-form button {
    white-space: nowrap;
}

.newsletter-note {
    font-size: 14px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--secondary-orange);
    font-size: 18px;
}

.footer-section p {
    margin-bottom: 15px;
    color: #b0b0b0;
    line-height: 1.8;
}

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

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

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-orange);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 66, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-orange);
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 14px;
    color: #b0b0b0;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    font-size: 14px;
    margin-bottom: 8px;
}

.disclaimer {
    color: var(--secondary-orange);
    font-weight: 600;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    padding: 25px;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    animation: slideIn 0.3s ease;
}

.cookie-banner.hidden {
    display: none;
}

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

.cookie-banner h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-size: 18px;
}

.cookie-banner p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    flex: 1;
    min-width: 120px;
}

/* Pages */
.page-header {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(255, 140, 66, 0.1));
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Course Cards */
.course-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.course-card-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

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

.course-level {
    display: inline-block;
    padding: 5px 12px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.course-level.beginner {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-green);
}

.course-level.intermediate {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning-yellow);
}

.course-level.advanced {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-red);
}

.course-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.course-info {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.course-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

/* FAQ */
.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--light-bg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 102, 204, 0.05);
}

.faq-toggle {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: 700;
}

.faq-answer {
    padding: 20px;
    color: var(--text-light);
    display: none;
    line-height: 1.8;
}

.faq-answer.active {
    display: block;
}

/* Contact Form */
.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.info-box h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.info-box p {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-orange));
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.blog-body {
    padding: 25px;
}

.blog-date {
    font-size: 12px;
    color: var(--secondary-orange);
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-orange);
}

.blog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-visual {
        display: none;
    }

    .hero-icon {
        width: 200px;
        height: 200px;
    }

    section h2 {
        font-size: 28px;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

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

    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: auto;
    }

    .benefits-grid,
    .categories-grid,
    .stats-grid,
    .instructors-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .navbar .container {
        padding: 12px 15px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-grid {
        gap: 25px;
    }
}
