/* Base Styles */
:root {
    --primary-color: #4a2c8f;
    --primary-light: #6a3fc8;
    --primary-dark: #321c68;
    --secondary-color: #4de076;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #000000;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #e0e0e0;
    --dark-gray: #444444;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Button Styles */
.btn, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    letter-spacing: 0.5px;
}

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

.btn:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

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

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

/* Header */
header {
    padding: 1rem 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

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

.logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
}

.logo-img {
    height: 60px;
    margin-bottom: 0.5rem;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    background-image: url('./img/1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero .btn {
    margin-top: 1rem;
}

/* Courses Section */
.courses {
    padding: 5rem 0;
    background-color: var(--white);
}

.courses h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.course-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

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

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Target Group Section */
.target-group {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.target-group h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.target-list {
    max-width: 800px;
    margin: 0 auto;
}

.target-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.target-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Reasons Section */
.reasons {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.reasons .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.reasons-content {
    flex: 1;
}

.reasons-image {
    flex: 1;
    display: none;
}

.reasons h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.reasons-list {
    margin-bottom: 2rem;
}

.reasons-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.check-icon {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--white);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.process-card {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.process-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--white);
}

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

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    background-color: var(--white);
    color: var(--primary-color);
}

.submit-btn:hover {
    background-color: var(--gray);
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
}

.footer-logo a {
    color: var(--white);
}

.footer-contact {
    flex: 2;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.icon {
    margin-right: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
}

.cookie-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Thank You Page */
.thank-you {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
}

.thank-you h1 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.thank-you p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Page Content for Privacy and Terms */
.page-content {
    padding: 5rem 0;
}

.page-content h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.content-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.content-box h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-box ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-box ul li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .reasons .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .courses h2,
    .target-group h2,
    .reasons h2,
    .how-it-works h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Show reasons image on larger screens */
@media (min-width: 1200px) {
    .reasons-image {
        display: block;
    }
}