/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #2F4F4F;
    background-color: #E0FFFF;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: #008B8B;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 139, 139, 0.3);
}

.btn-primary:hover {
    background-color: #20B2AA;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 139, 139, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #008B8B;
    border: 2px solid #008B8B;
}

.btn-secondary:hover {
    background-color: #008B8B;
    color: white;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(224, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
}

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

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00CED1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    align-items: center;
    background: linear-gradient(135deg, #E0FFFF 0%, #B0E0E6 100%);
    padding-top: 120px;
    overflow: hidden;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    color: #00CED1;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #20B2AA;
    margin-bottom: 1.5rem;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-image {
    animation: fadeInRight 1s ease 0.3s both;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 206, 209, 0.2);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: #00CED1;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #20B2AA;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: white;
}

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

.about-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-icon {
    color: #00CED1;
    flex-shrink: 0;
}

.about-info h3 {
    color: #008B8B;
    margin-bottom: 0.5rem;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Classes Section */
.classes {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F0FFFF 0%, #E0FFFF 100%);
}

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

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

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 206, 209, 0.2);
}

.class-icon {
    color: #00CED1;
    margin-bottom: 1rem;
}

.class-title {
    color: #008B8B;
    margin-bottom: 1rem;
}

.class-description {
    margin-bottom: 1.5rem;
}

.class-details {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.class-duration,
.class-level {
    background: #E0FFFF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #008B8B;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: white;
}

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

.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-icon {
    color: #00CED1;
    flex-shrink: 0;
}

.benefit-content h4 {
    color: #008B8B;
    margin-bottom: 0.5rem;
}

.benefits-image img {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Instructors Section */
.instructors {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F0FFFF 0%, #E0FFFF 100%);
}

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

.instructor-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 206, 209, 0.2);
}

.instructor-image {
    height: 250px;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-info {
    padding: 2rem;
}

.instructor-info h3 {
    color: #008B8B;
    margin-bottom: 0.5rem;
}

.instructor-title {
    color: #00CED1;
    font-weight: 500;
    margin-bottom: 1rem;
}

.instructor-bio {
    margin-bottom: 1.5rem;
}

.instructor-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.certification {
    background: #E0FFFF;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #008B8B;
}

/* Facilities Section */
.facilities {
    padding: 5rem 0;
    background: white;
}

.facility-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.facility-item:nth-child(even) {
    direction: rtl;
}

.facility-item:nth-child(even) > * {
    direction: ltr;
}

.facility-image img {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.facility-info h3 {
    color: #008B8B;
    margin-bottom: 1.5rem;
}

.facility-features {
    margin-bottom: 1.5rem;
}

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

.feature svg {
    color: #00CED1;
    flex-shrink: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F0FFFF 0%, #E0FFFF 100%);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-quote {
    color: #00CED1;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: #008B8B;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: #20B2AA;
    font-size: 0.9rem;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.testimonial-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #B0E0E6;
    cursor: pointer;
    transition: background 0.3s ease;
}

.testimonial-btn.active {
    background: #00CED1;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    color: #00CED1;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #008B8B;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: #F0FFFF;
    padding: 2rem;
    border-radius: 15px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #008B8B;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0FFFF;
    border-radius: 10px;
    font-family: 'Raleway', sans-serif;
    background: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00CED1;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #2F4F4F;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin: 0 auto 1rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: #B0E0E6;
    font-style: italic;
}

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

.footer-column h4 {
    color: #00CED1;
    margin-bottom: 1rem;
}

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

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

.footer-column ul li a {
    color: #B0E0E6;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #00CED1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4F6F6F;
    color: #B0E0E6;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #00CED1;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #20B2AA;
    transform: translateY(-2px);
}

/* Success Page */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #E0FFFF 0%, #B0E0E6 100%);
}

.success-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 0;
}

.success-icon {
    color: #00CED1;
    margin-bottom: 2rem;
}

.success-title {
    color: #00CED1;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.success-next-steps {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.success-next-steps h3 {
    color: #008B8B;
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.step-icon {
    color: #00CED1;
    flex-shrink: 0;
}

.step-content h4 {
    color: #008B8B;
    margin-bottom: 0.5rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Legal Pages */
.legal-page {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background: white;
}

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

.legal-content h1 {
    color: #00CED1;
    margin-bottom: 0.5rem;
}

.legal-intro {
    color: #20B2AA;
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #008B8B;
    margin-bottom: 1rem;
}

.legal-section h3 {
    color: #20B2AA;
    margin-bottom: 0.5rem;
}

.legal-section ul {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

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

.legal-actions {
    text-align: center;
    margin-top: 3rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(224, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Hero */
    .hero-content .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    /* Benefits */
    .benefits-content {
        grid-template-columns: 1fr;
    }
    
    /* Facilities */
    .facility-item {
        grid-template-columns: 1fr;
    }
    
    .facility-item:nth-child(even) {
        direction: ltr;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Success Page */
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .class-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}