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

:root {
    --primary-color: #6d33ff;
    --primary-dark: #5b2bd9;
    --secondary-color: #ffffff;
    --text-color: #333333;
    --light-text: #666666;
    --background-color: #ffffff;
    --light-background: #f5f7fa;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --danger-color: #f44336;
    --accent-color: #ff6b6b;
    --gradient-start: #6d33ff;
    --gradient-end: #2196f3;
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 24px;
}

h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

p {
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--light-text);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

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

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

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

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

.btn-secondary:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.btn-tertiary {
    background-color: var(--light-background);
    color: var(--text-color);
}

.btn-tertiary:hover {
    background-color: #e9ecef;
}

.btn-text {
    background: transparent;
    color: var(--text-color);
    padding: 12px 16px;
}

.btn-text:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    padding: 20px 0;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 32px;
}

.main-nav a {
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

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

.hero-text {
    flex: 1;
    max-width: 550px;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Courses Overview */
.courses-overview {
    padding: 80px 0;
    background-color: var(--light-background);
}

.course-cards {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.course-card {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.course-icon {
    width: 60px;
    height: 60px;
    background-color: #e9f0ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.course-icon img {
    width: 30px;
    height: 30px;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
}

.feature {
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: #f0f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

/* Course Categories */
.course-categories {
    padding: 80px 0;
    background-color: var(--light-background);
}

.category-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}

.category-card {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.category-image {
    flex: 0 0 35%;
    max-width: 35%;
}

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

.category-content {
    flex: 1;
    padding: 30px;
}

.category-content ul {
    margin-top: 15px;
    padding-left: 20px;
}

.category-content li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
}

.category-content li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonial-cards {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    flex: 1;
    background-color: var(--light-background);
    border-radius: 8px;
    padding: 30px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--light-text);
    font-size: 0.875rem;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background-color: var(--light-background);
}

.pricing-cards {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

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

.pricing-card.featured:hover {
    transform: translateY(-5px) scale(1.05);
}

.price {
    margin: 20px 0 30px;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--light-text);
}

.features-list {
    margin-bottom: 30px;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.feature-included:before {
    content: "✓";
    color: var(--success-color);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.feature-excluded {
    color: var(--light-text);
    text-decoration: line-through;
}

.feature-excluded:before {
    content: "×";
    color: var(--light-text);
    position: absolute;
    left: 0;
}

/* Contact */
.contact {
    padding: 80px 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

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

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(109, 51, 255, 0.2);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background-color: #1e1e2d;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 0 0 40%;
    max-width: 40%;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    justify-content: space-around;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.875rem;
}

address {
    font-style: normal;
    opacity: 0.8;
    line-height: 1.8;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.cookie-popup.mobile {
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    border-radius: 8px 8px 0 0;
}

.cookie-content {
    padding: 20px;
}

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

.cookie-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Thank You Popup */
.thank-you-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 400px;
    width: 100%;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    text-align: center;
}

.thank-you-popup.mobile {
    max-width: 300px;
}

.thank-you-content {
    padding: 30px;
}

.thank-you-content h3 {
    margin-bottom: 10px;
    text-transform: uppercase;
}

.thank-you-content p {
    margin-bottom: 20px;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .course-cards, 
    .testimonial-cards, 
    .pricing-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .category-card {
        flex-direction: column;
    }
    
    .category-image {
        max-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-brand,
    .footer-links {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav {
        margin: 15px 0;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0 10px;
    }
    
    .features {
        gap: 20px;
    }
    
    .feature {
        min-width: 150px;
    }
    
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .course-card, 
    .pricing-card {
        padding: 20px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

html {
    scroll-behavior: smooth;
}

.main-section {
    padding: 80px 0;
}

.main-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}