* {
    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: #333;
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}

.logo img {
    max-height: 50px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.hero {
    background-image: url('img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 60, 114, 0.6);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-dates {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: inline-block;
}

.cta-button {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
    font-weight: bold;
}

.cta-button:hover {
    background: #ff5722;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.5);
}


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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3c72;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ff6b35;
    border-radius: 2px;
}

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

.program-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-icon {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.program-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

.program-motto {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
}

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

.feature-item {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-comfort {
    padding: 0;
    background: transparent;
    grid-column: 1 / -1;
}

.feature-comfort:hover {
    transform: none;
}

.feature-trainings {
    padding: 0;
    background: transparent;
    grid-column: 1 / -1;
}

.feature-trainings:hover {
    transform: none;
}

.feature-field {
    padding: 0;
    background: transparent;
    grid-column: 1 / -1;
}

.feature-field:hover {
    transform: none;
}

.feature-plays {
    padding: 0;
    background: transparent;
    grid-column: 1 / -1;
}

.feature-plays:hover {
    transform: none;
}

.feature-counselors {
    padding: 0;
    background: transparent;
    grid-column: 1 / -1;
}

.feature-counselors:hover {
    transform: none;
}

.feature-individual {
    padding: 0;
    background: transparent;
    grid-column: 1 / -1;
}

.feature-individual:hover {
    transform: none;
}

.feature-masters {
    padding: 0;
    background: transparent;
    grid-column: 1 / -1;
}

.feature-masters:hover {
    transform: none;
}

.feature-number {
    font-size: 2rem;
    font-weight: bold;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.comfort-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.comfort-carousel-container {
    position: relative;
    border-radius: 15px;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.comfort-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.comfort-carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comfort-carousel-slide img,
.comfort-carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.comfort-carousel-slide img:hover {
    transform: scale(1.05);
}

.comfort-carousel-slide video:hover {
    transform: scale(1.05);
}

.comfort-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 2rem;
    text-align: center;
    z-index: 5;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0.7) 80%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0.7) 80%, rgba(0,0,0,0) 100%);
}

.comfort-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.comfort-overlay p {
    font-size: 1.1rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin: 0;
}

.comfort-carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1e3c72;
    transition: all 0.3s;
    z-index: 10;
    font-weight: bold;
}

.comfort-carousel-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.comfort-carousel-button.prev {
    left: 20px;
}

.comfort-carousel-button.next {
    right: 20px;
}

.comfort-carousel-dots {
    display: none;
}

.comfort-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.comfort-carousel-dot.active {
    background: #ff6b35;
    transform: scale(1.3);
}

.image-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.3s;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.image-modal-content .close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.image-modal-content .close:hover {
    background: rgba(0,0,0,0.8);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.schedule {
    background: #f8f9fa;
}

.timeline-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ff6b35, #1e3c72);
}

.timeline-item {
    position: relative;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 30px;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #ff6b35;
    border: 2px solid white;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 2px #f8f9fa;
}

.timeline-content {
    background: white;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-left: 3rem;
    width: calc(100% - 3rem);
    text-align: left;
}

.timeline-time {
    font-weight: bold;
    color: #1e3c72;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.timeline-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.3;
}

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

.trainer-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.trainer-photo {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
}

.trainer-info {
    padding: 1.5rem;
}

.contact-section {
    background: #1e3c72;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.contact-info {
    font-size: 1.3rem;
    margin: 2rem 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #000;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #1e3c72;
}

.form-group textarea:focus {
    outline: none;
    border-color: #1e3c72;
}

.submit-button {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    font-weight: bold;
}

.submit-button:hover {
    background: #ff5722;
    transform: translateY(-2px);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-dates {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1e3c72;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
}

footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    border-radius: 10px;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #1e3c72;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-dots {
    display: none;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-container {
        height: 300px;
    }

    .carousel-button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .comfort-carousel-container {
        height: 350px;
    }

    .comfort-overlay {
        padding: 1.5rem 1rem;
    }

    .comfort-overlay h3 {
        font-size: 1.4rem;
    }

    .comfort-overlay p {
        font-size: 0.95rem;
    }

    .comfort-carousel-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .comfort-carousel-button.prev {
        left: 10px;
    }

    .comfort-carousel-button.next {
        right: 10px;
    }

    .image-modal-content {
        width: 95%;
    }

    .image-modal-content .close {
        top: -35px;
        right: -10px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        margin-left: 2.5rem !important;
        width: calc(100% - 2.5rem);
    }

    .faq-question {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 1.2rem 1rem;
        font-size: 0.9rem;
    }
}

.faq-section {
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1e3c72;
    user-select: none;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b35;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.privacy-checkbox {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.privacy-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.privacy-checkbox label {
    font-weight: normal;
    margin-bottom: 0;
    display: inline;
}

.privacy-checkbox a {
    color: #1e3c72;
    text-decoration: underline;
}

.privacy-checkbox a:hover {
    color: #2a5298;
}
