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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-popup.show {
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    background: #4A148C;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    margin: 20px;
    text-align: center;
    color: white;
}

.cookie-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.btn-accept {
    background: #B8E64A;
    color: #4A148C;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background: #A8D63A;
    transform: translateY(-2px);
}

.btn-decline {
    background: transparent;
    color: #B8E64A;
    border: 2px solid #B8E64A;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-decline:hover {
    background: #B8E64A;
    color: #4A148C;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%);
    color: white;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./assets/bg.jpg');
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo h1 {
    font-size: 32px;
    font-weight: 800;
    color: #B8E64A;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.hero-text h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #B8E64A;
    color: #4A148C;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 230, 74, 0.3);
}

.cta-button:hover {
    background: #A8D63A;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(184, 230, 74, 0.4);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

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

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #4A148C;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* Courses Section */
.courses {
    padding: 100px 0;
    background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%);
    color: white;
}

.courses-header {
    text-align: center;
    margin-bottom: 60px;
}

.courses-header h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.courses-header p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.course-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 35px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.course-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #B8E64A;
}

.course-card p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

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

/* News Section */
.news {
    padding: 100px 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.news-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

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

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #4A148C;
    margin: 25px 25px 15px;
    line-height: 1.3;
}

.news-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 25px 25px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%);
    color: white;
}

.testimonials h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.testimonials > p {
    font-size: 18px;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 35px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial h4 {
    font-size: 18px;
    font-weight: 600;
    color: #B8E64A;
    margin-bottom: 15px;
}

.testimonial p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    font-style: italic;
}

/* Technology Section */
.technology {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.technology-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #4A148C;
    margin-bottom: 25px;
    line-height: 1.3;
}

.technology-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 35px;
}

.technology-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Registration Section */
.registration {
    padding: 100px 0;
    background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%);
    color: white;
}

.registration-header {
    text-align: center;
    margin-bottom: 60px;
}

.registration-header h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 25px;
}

.registration-header p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.registration-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.registration-form h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 40px;
}

.registration-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.registration-form input {
    padding: 18px 25px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
}

.registration-form input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(184, 230, 74, 0.3);
}

.registration-form input::placeholder {
    color: #666;
}

.submit-button {
    background: #B8E64A;
    color: #4A148C;
    padding: 18px 35px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    margin-top: 20px;
}

.submit-button:hover {
    background: #A8D63A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 230, 74, 0.4);
}

/* Footer */
.footer {
    background: #2C0A4A;
    color: white;
    padding: 40px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

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

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

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

.footer-copyright p {
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content,
    .about-content,
    .technology-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .courses-grid,
    .news-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h2 {
        font-size: 32px;
    }
    
    .about-text h2,
    .technology-text h2 {
        font-size: 28px;
    }
    
    .courses-header h2,
    .registration-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-text h2 {
        font-size: 28px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .about,
    .courses,
    .news,
    .testimonials,
    .technology,
    .registration {
        padding: 60px 0;
    }
    
    .about-text h2,
    .technology-text h2 {
        font-size: 24px;
    }
    
    .courses-header h2,
    .registration-header h2 {
        font-size: 26px;
    }
    
    .testimonials h2 {
        font-size: 26px;
    }
    
    .course-card,
    .testimonial {
        padding: 25px;
    }
    
    .news-item h3 {
        font-size: 18px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .cookie-content h3 {
        font-size: 20px;
    }
    
    .cookie-content p {
        font-size: 14px;
    }
    
    .btn-accept,
    .btn-decline {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 24px;
    }
    
    .courses-header h2,
    .registration-header h2 {
        font-size: 22px;
    }
    
    .about-text h2,
    .technology-text h2,
    .testimonials h2 {
        font-size: 20px;
    }
    
    .course-card h3 {
        font-size: 18px;
    }
    
    .testimonial h4 {
        font-size: 16px;
    }
    
    .cta-button,
    .submit-button {
        padding: 15px 25px;
        font-size: 16px;
    }
}