@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

:root {
    --main-dark-blue: #1a3a5f;
    --main-blue: #2a5f8a;
    --light-blue: #7ab5d6;
    --very-light-blue: #c7e0f0;
    --accent-blue: #0f4c81;
    --text-color: #333;
    --light-text: #f5f5f5;
    --bg-color: #f9fcff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comfortaa', cursive;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--main-dark-blue);
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--light-blue);
    margin: 15px auto;
    border-radius: 2px;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 5rem 2rem;
}

.main-header {
    background: linear-gradient(135deg, var(--main-dark-blue), var(--main-blue));
    color: var(--light-text);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-container h1 {
    font-size: 1.8rem;
    color: var(--light-text);
    margin-bottom: 0;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--light-blue);
}

.hero-section {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    background: linear-gradient(to bottom, var(--very-light-blue), var(--bg-color));
    padding: 3rem 2rem;
    gap: 2rem;
}

.hero-content {
    text-align: center;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cta-button {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--main-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-section {
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hexagon-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hexagon {
    width: 200px;
    height: 230px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hexagon:hover {
    transform: scale(1.05);
}

.hexagon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    max-width: 900px;
    text-align: center;
}

.about-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.benefit {
    background: linear-gradient(to bottom right, var(--very-light-blue), white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit h3 {
    color: var(--accent-blue);
    margin-bottom: 0.8rem;
}

.services-section {
    background: linear-gradient(to bottom, var(--bg-color), var(--very-light-blue), var(--bg-color));
}

.services-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3 {
    color: var(--main-blue);
    padding: 1.5rem 1.5rem 0.5rem;
}

.service-card p {
    padding: 0 1.5rem;
}

.service-btn {
    display: inline-block;
    background: var(--main-blue);
    color: var(--light-text);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    margin: 1rem 1.5rem 1.5rem;
    transition: background 0.3s ease;
}

.service-btn:hover {
    background: var(--accent-blue);
}

.instructors-section {
    background-color: var(--bg-color);
}

.instructors-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.instructor-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.instructor-image {
    flex: 1;
    min-height: 300px;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-info {
    flex: 2;
    padding: 2rem;
}

.instructor-position {
    color: var(--main-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonials-section {
    background: linear-gradient(to bottom, var(--bg-color), var(--very-light-blue));
    text-align: center;
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    gap: 1.5rem;
}

.testimonial-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--light-blue);
}

.testimonial-content {
    text-align: center;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-name {
    font-weight: 700;
    color: var(--main-blue);
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-container {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-info {
    flex: 1;
    background: linear-gradient(135deg, var(--main-dark-blue), var(--main-blue));
    color: var(--light-text);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--light-text);
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--very-light-blue);
    border-radius: 8px;
    font-family: 'Comfortaa', cursive;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-blue);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--accent-blue);
    color: var(--light-text);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-family: 'Comfortaa', cursive;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--main-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-hours {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-hours h4 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.main-footer {
    background: var(--main-dark-blue);
    color: var(--light-text);
    padding: 3rem 2rem 1rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    text-align: center;
}

.footer-logo h3 {
    color: var(--light-text);
    margin-top: 1rem;
}

.footer-logo .logo {
    width: 70px;
    height: 70px;
    margin: 0 auto;
}

.footer-nav, .footer-policies {
    text-align: center;
}

.footer-nav h4, .footer-policies h4 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.footer-nav ul, .footer-policies ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a, .footer-policies a {
    color: var(--very-light-blue);
    transition: color 0.3s ease;
}

.footer-nav a:hover, .footer-policies a:hover {
    color: var(--light-blue);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
    .hero-section {
        flex-direction: row;
        justify-content: space-between;
        padding: 5rem 2rem;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .about-benefits {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .instructor-card {
        flex-direction: row;
    }
    
    .instructor-card.reversed {
        flex-direction: row-reverse;
    }
    
    .testimonials-container {
        flex-direction: row;
    }
    
    .contact-section {
        flex-direction: row;
    }
    
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-logo, .footer-nav, .footer-policies {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .main-nav {
        display: none;
    }
    
    .logo-container h1 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .hexagon {
        width: 150px;
        height: 180px;
    }
}

@media (max-width: 374px) {
    body {
        min-width: 375px;
    }
}

/* Styles for privacy, cookies, terms pages */
.policy-page {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-header h1 {
    font-size: 2.5rem;
    color: var(--main-dark-blue);
}

.policy-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    text-align: left;
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.policy-section h2:after {
    margin: 15px 0;
}

.policy-section h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    color: var(--main-blue);
}

.policy-list {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-list li {
    margin-bottom: 0.8rem;
}

.home-button {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.home-button:hover {
    background: var(--main-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styles for thank you page */
.thankyou-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 2rem;
}

.thankyou-content {
    max-width: 700px;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.thankyou-title {
    color: var(--accent-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.thankyou-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.checkmark {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark:before {
    content: "";
    width: 30px;
    height: 15px;
    border-bottom: 5px solid white;
    border-left: 5px solid white;
    transform: rotate(-45deg) translate(3px, -5px);
}