/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 15px;
    padding: 25px;
    max-width: 400px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
}

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

.cookie-content {
    color: white;
}

.cookie-icon {
    font-size: 24px;
    margin-bottom: 15px;
}

.cookie-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.cookie-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

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

.btn-accept-all,
.btn-necessary {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-accept-all {
    background: white;
    color: #ff6b35;
}

.btn-necessary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-accept-all:hover,
.btn-necessary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Header */
.header {
    background: #1a1f3a;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-logo span {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff6b35;
}

.nav-burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-burger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

.nav-burger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
}

.nav-burger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #8b4a6b, #a0522d);
    color: white;
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-submit {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    padding: 12px 25px;
    font-size: 14px;
}

/* Courses Section */
.courses {
    background: #1a1f3a;
    color: white;
    padding: 100px 0;
}

.courses h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #4a9eff;
}

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

.course-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.course-image {
    height: 180px;
    overflow: hidden;
}

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

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #4a9eff;
}

.course-content p {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.course-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 20px;
}

/* About Section */
.about {
    background: #f8f9fa;
    padding: 100px 0;
}

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

.about-image {
    border-radius: 15px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #4a9eff;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.about-highlight {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-highlight h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ff6b35;
}

.about-highlight p {
    font-size: 14px;
    margin-bottom: 20px;
}

/* Blog Section */
.blog {
    background: #1a1f3a;
    color: white;
    padding: 100px 0;
}

.blog h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #4a9eff;
}

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

.blog-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.blog-image {
    height: 180px;
    overflow: hidden;
}

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

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #4a9eff;
}

.blog-content p {
    font-size: 14px;
    line-height: 1.5;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #8b4a6b, #a0522d);
    color: white;
    padding: 100px 0;
}

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

.contact-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.contact-text p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-info p {
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-form {
    background: rgba(26, 31, 58, 0.8);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px #ff6b35;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

/* Footer */
.footer {
    background: #1a1f3a;
    color: white;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    text-align: center;
}

.footer-logo span {
    font-size: 24px;
    font-weight: bold;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer-copyright p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-burger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a1f3a;
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

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

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

    .hero {
        padding: 120px 0 80px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .courses,
    .about,
    .blog,
    .contact {
        padding: 60px 0;
    }

    .courses h2,
    .about-text h2,
    .blog h2,
    .contact-text h2 {
        font-size: 28px;
    }

    .courses-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 24px;
    }

    .contact-form {
        padding: 25px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-submit {
        padding: 12px 20px;
        font-size: 14px;
    }
}