/* Global Styles */
:root {
    --primary-color: #7a70cc;
    --primary-light: #9b93e1;
    --primary-dark: #5d54aa;
    --secondary-color: #61dafb;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-bg: #222222;
    --light-bg: #ffffff;
    --accent-bg: #f3f4f6;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

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

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Buttons */
.btn, .btn-small, .btn-cookie, .btn-cookie-outline {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to right, var(--secondary-color), #60c2f8);
    color: var(--dark-bg);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-cookie {
    width: 100%;
    margin-bottom: 10px;
}

.btn-cookie-outline {
    width: 100%;
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--text-color);
}

.btn:hover, .btn-small:hover, .btn-cookie:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-cookie-outline:hover {
    background-color: rgba(97, 218, 251, 0.1);
}

.centered-btn {
    display: block;
    margin: 30px auto 0;
    max-width: 200px;
}

/* Header */
header {
    background-color: var(--dark-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #433d9b 100%);
    color: var(--light-text);
    padding: 60px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero h2 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.about .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

/* Key Message Section */
.key-message {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0;
    text-align: center;
}

.key-message .container {
    max-width: 800px;
}

.key-message h2 {
    margin-bottom: 20px;
}

.key-message .btn {
    margin-top: 20px;
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.benefits h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.benefit-card {
    background-color: var(--accent-bg);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    margin-bottom: 20px;
}

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

/* History Section */
.history {
    padding: 60px 0;
    background-color: var(--accent-bg);
}

.history .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.history-image {
    flex: 1;
}

.history-content {
    flex: 1;
}

/* Courses Section */
.courses {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.courses h2 {
    text-align: center;
    margin-bottom: 40px;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.course-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.course-image {
    overflow: hidden;
}

.course-image img {
    width: 100%;
    transition: var(--transition);
}

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

.course-content {
    padding: 20px;
}

.course-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.course-description {
    margin-bottom: 20px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.course-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.contact .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.contact-image {
    flex: 1;
}

.contact-content {
    flex: 1;
}

.contact-info {
    margin: 20px 0;
}

.contact-address a {
    color: var(--light-text);
    text-decoration: underline;
}

.contact-form {
    margin-top: 30px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.9);
}

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

/* Thank You Page */
.thank-you {
    background: linear-gradient(135deg, var(--primary-color) 0%, #433d9b 100%);
    color: var(--light-text);
    padding: 80px 0;
}

.thank-you .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.thank-you-content {
    flex: 1;
}

.thank-you-image {
    flex: 1;
}

/* Legal Content */
.legal-content {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.legal-content h1 {
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-section ul li {
    list-style-type: disc;
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 40px 0;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    grid-column: span 4;
}

.footer-links {
    display: flex;
    gap: 20px;
    grid-column: span 4;
    margin: 15px 0;
}

.footer-info {
    grid-column: span 4;
    margin-bottom: 15px;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-copyright {
    grid-column: span 4;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

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

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 15px;
}

.cookie-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
}

/* Media Queries */
@media (min-width: 768px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
    }
    
    .footer-logo,
    .footer-links,
    .footer-info,
    .footer-copyright {
        grid-column: auto;
    }
    
    .cookie-buttons {
        flex-direction: row;
        gap: 15px;
    }
    
    .btn-cookie,
    .btn-cookie-outline {
        width: auto;
        margin-bottom: 0;
    }
}

@media (max-width: 992px) {
    .hero .container,
    .about .container,
    .history .container,
    .contact .container,
    .thank-you .container {
        flex-direction: column;
    }
    
    .hero-image,
    .about-image,
    .contact-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .history-image {
        margin-bottom: 30px;
    }
    
    .thank-you-image {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 15px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .benefits-grid,
    .courses-grid {
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}