/* CSS Custom Properties */
:root {
    --primary-color: #89e0b5;
    --secondary-color: #363d3a;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 70px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

h2 {
    font-size: 2rem;
    color: var(--secondary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Layout Components */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 15px;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Header and Navigation */
.header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* Main Content */
main {
    margin-top: var(--header-height);
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(137, 224, 181, 0.8) 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--secondary-color);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary-color);
}

/* Page Header */
.page-header {
    background-color: var(--bg-light);
    padding: 2rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

/* Company Info Section */
.company-info {
    background-color: var(--bg-light);
}

.section-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

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

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

/* Featured Course Section */
.featured-course {
    background-color: var(--bg-light);
}

.featured-course-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.course-details {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.course-detail {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-icon {
    width: 20px;
    height: 20px;
}

.course-pricing {
    margin: 1rem 0;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    margin-right: 1rem;
}

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

.next-start {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.course-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.achievement-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.achievement-text {
    font-size: 1.125rem;
    color: var(--text-color);
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

.star {
    width: 20px;
    height: 20px;
}

.review-author {
    font-weight: 600;
    margin-top: 1rem;
    color: var(--secondary-color);
}

/* Course Catalog */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

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

.course-card.featured {
    border: 2px solid var(--primary-color);
}

.course-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #ff4444;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.course-content {
    padding: 1.5rem;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.course-form {
    margin-top: 1rem;
}

/* Benefits Section */
.course-benefits {
    background-color: var(--bg-light);
}

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

.benefit-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
}

/* Training Page Styles */
.content-section {
    margin-bottom: 3rem;
}

.format-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.format-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.time-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.time-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.time-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.preparation-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.sidebar-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Contact Page */
.contact-form-section {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    flex-direction: row;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
}

.contact-info-section {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 4px;
}

.office-hours {
    margin-bottom: 2rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
}

.day {
    font-weight: 500;
}

.quick-contact {
    background-color: var(--primary-color);
}

.quick-contact-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.quick-contact-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.contact-box {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.cookie-table {
    overflow-x: auto;
    margin: 1rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
}

.cookie-table th,
.cookie-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background-color: var(--bg-light);
    font-weight: 600;
}

.cookie-settings-section {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    text-align: center;
}

.last-updated {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Thanks Page */
.thanks-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
}

.thanks-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thanks-message {
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.next-steps {
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.contact-info-box {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 3rem;
}

.urgent-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 500;
}

.contact-link:hover {
    color: var(--primary-color);
}

.thanks-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.additional-info {
    background-color: var(--bg-color);
}

.info-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    height: 100%;
}

.info-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem;
    z-index: 2000;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner p {
    margin-bottom: 0;
    color: white;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.cookie-option p {
    margin-top: 0.5rem;
    margin-left: 30px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
}

.social-link img {
    width: 20px;
    height: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

footer p {
color: white;}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .col-md-4,
    .col-md-6,
    .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .advantages-grid,
    .reviews-grid,
    .courses-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
    }
    
    .urgent-contact {
        flex-direction: column;
        gap: 1rem;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .time-breakdown {
        gap: 1rem;
    }
    
    .time-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    body {
    word-break: break-word;}
    [class*="-grid"] {
        grid-template-columns: 1fr;
    }
    img {
    max-width: 100% !important;}
    .format-card, .step {
    flex-direction: column;}
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal {
        display: none;
    }
    
    main {
        margin-top: 0;
    }
    
    .btn {
        display: none;
    }
    
    * {
        box-shadow: none !important;
    }
}
