/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    word-break: break-word;
}
svg {
    max-width: 100%;
}

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

/* Header and Navigation */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(11, 41, 37, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #0b2925;
    text-decoration: none;
}

.nav-logo .logo-icon {
    margin-right: 0.5rem;
}

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

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #4dffea;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4dffea;
}

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

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #0b2925;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}


/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: #0b2925;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section.bg-light {
    background-color: #f8fcfd;
}

.section.bg-primary {
    background-color: #0b2925;
    color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0b2925;
}

.section.bg-primary .section-header h2 {
    color: #ffffff;
}

.section-icon {
    margin-bottom: 1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #4dffea 0%, #0b2925 100%);
    color: #ffffff;
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Grid Layouts */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

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

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

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

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

/* Cards */
.advantage-card,
.review-card,
.trainer-card,
.value-card,
.benefit-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(11, 41, 37, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover,
.review-card:hover,
.trainer-card:hover,
.value-card:hover,
.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(77, 255, 234, 0.2);
}

.card-icon,
.value-icon,
.benefit-icon {
    margin-bottom: 1rem;
}

.advantage-card h3,
.value-card h3,
.benefit-item h3 {
    margin-bottom: 1rem;
    color: #0b2925;
}

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

.course-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(11, 41, 37, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(77, 255, 234, 0.2);
}

.course-card.featured {
    border: 2px solid #4dffea;
}

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

.course-content {
    padding: 2rem;
    position: relative;
}

.course-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #4dffea;
    color: #0b2925;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

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

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

.course-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.feature-tag {
    background: #f0f9ff;
    color: #0b2925;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #4dffea;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    text-decoration: line-through;
    color: #999;
}

.discounted-price,
.current-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0b2925;
}

.discount-badge {
    background: #ff4757;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
}

.course-duration {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #666;
}

.meta-icon {
    fill: #666;
}

/* Featured Course */
.featured-course {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: #ffffff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(11, 41, 37, 0.1);
}

.featured-course .course-features {
    list-style: none;
    padding: 0;
}

.featured-course .course-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.featured-course .course-features li:last-child {
    border-bottom: none;
}

/* Trainer Cards */
.trainer-avatar {
    margin-bottom: 1.5rem;
}

.trainer-info h3 {
    color: #0b2925;
    margin-bottom: 0.5rem;
}

.trainer-title {
    color: #4dffea;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Review Cards */
.review-card {
    text-align: left;
}

.review-avatar {
    margin-bottom: 1rem;
}

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-content cite {
    font-style: normal;
    font-weight: bold;
    color: #4dffea;
}

/* Forms */
.newsletter-form,
.contact-form {
    display: grid;
    gap: 1rem;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.newsletter-text p {
    color: #ffffff;
    opacity: 0.9;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0b2925;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4dffea;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    min-width: 18px;
}

.checkmark {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #4dffea;
    color: #0b2925;
    border-color: #4dffea;
}

.btn-primary:hover {
    background-color: #0b2925;
    color: #4dffea;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #0b2925;
    color: #4dffea;
    border-color: #0b2925;
}

.btn-secondary:hover {
    background-color: #4dffea;
    color: #0b2925;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #0b2925;
    border-color: #0b2925;
}

.btn-outline:hover {
    background-color: #0b2925;
    color: #4dffea;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.contact-icon {
    min-width: 24px;
    margin-top: 0.2rem;
}

.contact-text h3 {
    color: #0b2925;
    margin-bottom: 0.5rem;
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    margin-bottom: 1rem;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(11, 41, 37, 0.1);
}

.faq-item h3 {
    color: #0b2925;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Thanks Page */
.thanks-section {
    padding: 6rem 0;
    text-align: center;
}

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

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

.thanks-content h1 {
    color: #0b2925;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

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

.next-steps h2 {
    color: #0b2925;
    margin-bottom: 2rem;
}

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

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #4dffea;
    color: #0b2925;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-content h3 {
    color: #0b2925;
    margin-bottom: 0.5rem;
}

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

.contact-reminder {
    background: #f8fcfd;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.contact-reminder h3 {
    color: #0b2925;
    margin-bottom: 1rem;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4dffea;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: #0b2925;
}

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

.legal-text h2 {
    color: #0b2925;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    color: #0b2925;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.legal-text a {
    color: #4dffea;
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0b2925;
    color: #ffffff;
    padding: 1.5rem 0;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.cookie-text h3 {
    color: #4dffea;
    margin-bottom: 0.5rem;
}

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

.cookie-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

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

.modal-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h3 {
    color: #0b2925;
    margin-bottom: 1.5rem;
}

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

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Footer */
footer {
    background-color: #0b2925;
    color: #ffffff;
    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 {
    color: #4dffea;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    margin-right: 0.5rem;
}

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

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

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4dffea;
}

.contact-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(77, 255, 234, 0.1);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: rgba(77, 255, 234, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(77, 255, 234, 0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* CTA Section */
.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.cta-content p {
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(11, 41, 37, 0.1);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem;
        margin: 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-course {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .courses-catalog {
        grid-template-columns: 1fr;
    }

    .trainers-grid {
        grid-template-columns: 1fr;
    }

    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }

    .contact-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 2rem 0;
    }

    .advantages-grid,
    .values-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-content, [class*="-grid"] {
        grid-template-columns: 1fr;
    }
    .course-meta {
    flex-direction: column;}
    .contact-item {
    flex-direction: column;}
}

/* Print styles */
@media print {
    .cookie-banner,
    .cookie-modal,
    header,
    footer {
        display: none !important;
    }

    main {
        margin-top: 0;
    }

    .section {
        padding: 2rem 0;
    }

    .btn {
        display: none;
    }
}

/* High contrast and accessibility */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000000;
        color: #ffffff;
        border-color: #000000;
    }

    .btn-secondary {
        background-color: #ffffff;
        color: #000000;
        border-color: #000000;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}