@font-face {
    font-family: 'SportedFont';
    src: url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&display=swap');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --dark-color: #1A535C;
    --light-color: #F7FFF7;
    --gradient-bg: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'SportedFont', 'Comfortaa', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    background-color: var(--light-color);
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.section-title {
    font-size: 3.8rem;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-bg);
    border-radius: 10px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background-color: var(--dark-color);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container h1 {
    font-size: 3.2rem;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 700;
}

.tagline {
    font-size: 1.4rem;
    color: var(--secondary-color);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 1.8rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    color: white;
}

.main-nav a:hover {
    background-color: var(--primary-color);
    color: white;
}

.hero-section {
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    color: white;
    padding-right: 2rem;
    max-width: 50%;
}

.hero-content h2 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 90%;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-section {
    padding: 8rem 5%;
    background-color: white;
    position: relative;
}

.hexagon-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hexagon {
    position: relative;
    width: 100%;
    padding-top: 115%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
}

.hexagon > * {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

.hexagon h3 {
    margin-top: 60%;
    font-size: 2.4rem;
}

.hexagon p {
    margin-top: 75%;
    font-size: 1.6rem;
}

.hexagon img {
    width: 70%;
    height: auto;
    top: 30%;
    border-radius: 50%;
    object-fit: cover;
}

.hexagon:nth-child(2) {
    background-color: var(--secondary-color);
}

.hexagon:nth-child(3) {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.hexagon:nth-child(4) {
    background-color: var(--dark-color);
}

.main-hex {
    grid-column: 1 / span 3;
    padding-top: 40%;
    background-color: var(--primary-color);
    margin-bottom: 2rem;
}

.main-hex h2 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    top: 35%;
}

.main-hex p {
    font-size: 1.8rem;
    top: 60%;
}

.programs-section {
    padding: 8rem 5%;
    background-color: var(--light-color);
}

.programs-grid {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    display: flex;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-card.reverse {
    flex-direction: row-reverse;
}

.program-image {
    flex: 1;
    min-height: 300px;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.program-content {
    flex: 1;
    padding: 3rem;
}

.program-content h3 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.program-content p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefits-list {
    margin-left: 2rem;
}

.benefits-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.testimonials-section {
    padding: 8rem 5%;
    background-color: white;
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial.reverse {
    flex-direction: row-reverse;
}

.testimonial-image {
    flex: 0 0 200px;
}

.testimonial-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
}

.testimonial-content {
    flex: 1;
    padding: 0 2rem;
}

.quote {
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.author {
    font-weight: bold;
    color: var(--dark-color);
    font-size: 1.6rem;
}

.experts-section {
    padding: 8rem 5%;
    background-color: var(--light-color);
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.expert-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-10px);
}

.expert-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0;
}

.expert-card h3 {
    font-size: 2.2rem;
    margin: 2rem 0 0.5rem;
    color: var(--dark-color);
}

.position {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.bio {
    padding: 0 2rem 2rem;
    font-size: 1.5rem;
    line-height: 1.7;
}

.contact-section {
    padding: 8rem 5%;
    background-color: white;
}

.contact-container {
    display: flex;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--dark-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.contact-info {
    flex: 1;
    padding: 4rem;
    color: white;
}

.contact-info h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.contact-list {
    margin: 3rem 0;
}

.contact-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.contact-type {
    font-weight: bold;
    color: var(--secondary-color);
    margin-right: 1rem;
    min-width: 80px;
    display: inline-block;
}

.working-hours {
    margin-top: 3rem;
    font-style: italic;
    color: var(--accent-color);
}

.contact-form-container {
    flex: 1;
    padding: 4rem;
    background-color: white;
}

.contact-form-container h3 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-weight: bold;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.2rem;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1.6rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: center;
    min-width: 200px;
}

.submit-button:hover {
    background-color: var(--dark-color);
    transform: translateY(-5px);
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.footer-logo h2 {
    font-size: 2.8rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-nav h3,
.footer-policies h3,
.footer-contact h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.footer-nav ul,
.footer-policies ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a,
.footer-policies a {
    color: white;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-policies a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1200px) {
    .hero-section {
        height: auto;
        padding: 5rem 5%;
    }
    
    .hexagon-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-hex {
        grid-column: 1 / span 2;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 55%;
    }
    
    .hero-section {
        flex-direction: column;
        gap: 4rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding-right: 0;
    }
    
    .program-card, .program-card.reverse {
        flex-direction: column;
    }
    
    .testimonial, .testimonial.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-image {
        margin-bottom: 2rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 2rem;
    }
    
    .logo-container {
        margin-bottom: 2rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hexagon-layout {
        grid-template-columns: 1fr;
    }
    
    .main-hex {
        grid-column: 1;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .cta-button {
        padding: 1.2rem 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 3.6rem;
    }
    
    .program-content, .contact-info, .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 375px) {
    html {
        font-size: 45%;
    }
    
    .main-nav ul {
        gap: 1rem;
    }
    
    .main-nav a {
        font-size: 1.6rem;
        padding: 0.5rem;
    }
    
    .testimonial, .contact-form-container {
        padding: 1.5rem;
    }
}