@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #4B0082;
    --secondary-color: #3A5FCD;
    --accent-color: #7B68EE;
    --light-color: #E6E6FA;
    --dark-color: #191970;
    --text-color: #333;
    --bg-color: #F8F8FF;
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Comfortaa', cursive;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: "";
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

section {
    padding: 5rem 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

.primary-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.secondary-btn {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.secondary-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    font-weight: 600;
    position: relative;
}

.main-nav a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.main-nav a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

.hero-section {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 90px;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.05), rgba(58, 95, 205, 0.1));
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-content {
    flex: 1;
    padding: 2rem 5%;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero-content h2:after {
    left: 0;
    transform: none;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 90%;
    border-radius: 50% 20% / 10% 40%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-section {
    background-color: #f9f9ff;
    position: relative;
    overflow: hidden;
}

.hexagon-layout {
    position: relative;
}

.hexagon-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hexagon {
    width: 300px;
    height: 340px;
    margin: 20px;
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hexagon img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

.programs-section {
    position: relative;
}

.programs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.program-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.program-card p {
    padding: 0 1.5rem;
    color: var(--text-color);
    flex-grow: 1;
}

.program-card ul {
    padding: 0 1.5rem 1rem;
    list-style: disc;
    margin-left: 1.5rem;
}

.program-card ul li {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.program-card .btn {
    align-self: center;
    margin: 1rem 1.5rem 1.5rem;
}

.program-card.highlight {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.program-card.highlight:hover {
    transform: scale(1.05) translateY(-10px);
}

.benefits-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.05), rgba(58, 95, 205, 0.1));
    position: relative;
    overflow: hidden;
    padding: 5rem 1rem;
}

.benefits-content {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefits-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.benefits-image img {
    max-width: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonials-section {
    background-color: #f9f9ff;
    padding: 5rem 1rem;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--accent-color);
}

.testimonial-card h3 {
    margin-bottom: 0.5rem;
}

.testimonial-card p {
    text-align: center;
    font-style: italic;
    color: var(--text-color);
}

.testimonial-card .stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 1rem;
}

.instructors-section {
    padding: 5rem 1rem;
}

.instructors-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.instructor-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.instructor-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.instructor-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.instructor-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
}

.contact-section {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.05), rgba(58, 95, 205, 0.1));
    padding: 5rem 1rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 1rem 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h3 {
    color: white;
}

.footer-logo p {
    color: var(--light-color);
}

.footer-nav,
.footer-policies,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h3:after {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    bottom: -10px;
    left: 0;
}

.footer ul {
    padding: 0;
}

.footer li {
    margin-bottom: 0.8rem;
}

.footer a {
    color: var(--light-color);
}

.footer a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h2 {
        text-align: center;
    }
    
    .hero-content h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .hexagon {
        width: 250px;
        height: 280px;
    }
    
    .program-card.highlight {
        transform: scale(1);
    }
    
    .program-card.highlight:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .benefits-section,
    .contact-section {
        flex-direction: column;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hexagon {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 1.5rem;
        margin: 15px 0;
    }
}