/* ======= GLOBAL STYLES ======= */
:root {
    /* Vaporwave/Neon color palette */
    --primary-color: #ff00ff; /* Magenta */
    --secondary-color: #00ffff; /* Cyan */
    --accent-color: #ffff00; /* Yellow */
    --background-dark: #0a0a1a; /* Dark blue */
    --background-light: #1a1a2e; /* Lighter blue */
    --text-light: #ffffff; /* White text */
    --text-dim: #cccccc; /* Slightly dimmed text */
    --neon-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 15px #ff00ff, 0 0 20px #ff00ff;
    --neon-shadow-cyan: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff, 0 0 20px #00ffff;
    --neon-shadow-yellow: 0 0 5px #ffff00, 0 0 10px #ffff00, 0 0 15px #ffff00, 0 0 20px #ffff00;
    --gradient-bg: linear-gradient(135deg, #1a1a2e 0%, #0a0a1a 100%);
    --card-bg: rgba(26, 26, 46, 0.8);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 60%, rgba(0, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 0, 0.1) 0%, transparent 20%);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.neon-line {
    height: 2px;
    width: 100px;
    background: var(--primary-color);
    margin: 0 auto;
    box-shadow: var(--neon-shadow);
}

.neon-text {
    color: var(--primary-color);
    text-shadow: var(--neon-shadow);
}

.neon-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 5px var(--primary-color);
    z-index: 1;
}

.neon-btn:hover {
    color: var(--background-dark);
    text-shadow: none;
}

.neon-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.neon-btn:hover::before {
    left: 0;
}

.outline-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 0 5px var(--secondary-color);
}

.outline-btn:hover {
    background-color: var(--secondary-color);
    color: var(--background-dark);
}

.neon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 0, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 0, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.neon-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.neon-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    text-shadow: 0 0 5px var(--secondary-color);
}

/* ======= HEADER STYLES ======= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 0, 255, 0.2);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--neon-shadow);
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

/* ======= HERO SECTION ======= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--background-dark);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 255, 0.2) 0%, transparent 70%);
    z-index: 0;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: var(--neon-shadow-cyan);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-dim);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* ======= ABOUT SECTION ======= */
.about {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    min-width: 300px;
    margin-right: 50px;
}

.about-text p {
    margin-bottom: 20px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 50px;
    flex: 1;
    min-width: 300px;
}

.stat-box {
    text-align: center;
    margin: 15px;
    min-width: 120px;
}

.stat-box h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* ======= SERVICES SECTION ======= */
.services {
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 0, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1) 0%, transparent 100%);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: var(--neon-shadow-cyan);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-dim);
}

/* ======= TEACHERS SECTION ======= */
.teachers {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.teacher-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.teacher-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: var(--background-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 15px var(--secondary-color);
}

.teacher-avatar i {
    font-size: 3rem;
    color: var(--secondary-color);
}

.teacher-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.teacher-specialty {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.teacher-card p {
    color: var(--text-dim);
}

/* ======= TESTIMONIALS SECTION ======= */
.testimonials {
    position: relative;
    overflow: hidden;
}

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

.testimonial-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 0, 0.2);
    margin: 20px auto;
    max-width: 600px;
}

.quote {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: var(--neon-shadow-yellow);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-controls button {
    background-color: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    color: var(--accent-color);
    text-shadow: var(--neon-shadow-yellow);
}

/* ======= BLOG PREVIEW SECTION ======= */
.blog-preview {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 0, 255, 0.2);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.2);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.blog-content p {
    color: var(--text-dim);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

.blog-more {
    text-align: center;
    margin-top: 50px;
}

/* ======= CONTACT SECTION ======= */
.contact {
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 50px;
}

.contact-info {
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: var(--neon-shadow-cyan);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.info-item i {
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.social-media {
    margin-top: 30px;
}

.social-media h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-dark);
    color: var(--text-light);
    margin-right: 15px;
    transition: var(--transition);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--background-dark);
    transform: translateY(-5px);
}

.contact-form {
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 255, 0.2);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: var(--neon-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 5px;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* ======= FOOTER STYLES ======= */
footer {
    background-color: var(--background-dark);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 0, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.footer-logo h3 {
    font-size: 1.5rem;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-dim);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ======= THANK YOU PAGE ======= */
.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.thank-you-content {
    flex: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    animation: pulse 2s infinite;
    text-shadow: var(--neon-shadow-cyan);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.thank-you-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: var(--neon-shadow-cyan);
}

.thank-you-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-dim);
}

.next-steps {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.next-steps h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: var(--neon-shadow-cyan);
}

.thank-you-cta {
    margin-top: 30px;
}

.thank-you-cta a {
    margin: 0 10px;
}

.thank-you-image {
    max-width: 500px;
    margin: 40px auto 0;
    animation: float 5s ease-in-out infinite;
}

/* ======= RESPONSIVE STYLES ======= */
@media screen and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .about-text {
        margin-right: 0;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background-dark);
        padding: 20px 0;
        border-top: 1px solid rgba(255, 0, 255, 0.2);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .contact-grid,
    .blog-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    section {
        padding: 60px 0;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .service-card,
    .teacher-card,
    .testimonial-card {
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ======= ANIMATIONS ======= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
    }
    50% {
        text-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
    }
    100% {
        text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
    }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}
