/* ==================================
   CSS Variables & Basic Setup
   ================================== */
:root {
    /* Dark Glass Palette */
    --clr-bg-main: #0b0c10;
    --clr-bg-secondary: #12131a;
    --clr-bg-tertiary: #191b24;
    --clr-white: #ffffff;
    --clr-text-main: #f8fafc;
    --clr-text-light: #94a3b8;
    
    /* Glowing Accents */
    --clr-accent: #38bdf8; /* Cyan */
    --clr-accent-hover: #0ea5e9;
    --clr-glow: #818cf8; /* Purple glow */

    /* Glass Effect Variables - Dark Mode */
    --glass-bg: rgba(20, 22, 30, 0.5); /* Semi-transparent black/grey */
    --glass-border: rgba(255, 255, 255, 0.08); /* Subtle white border */
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    --glass-blur: blur(16px);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--clr-text-main);
    background: linear-gradient(135deg, var(--clr-bg-main), var(--clr-bg-secondary), var(--clr-bg-tertiary));
    background-size: 300% 300%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

body.index-page {
    background: linear-gradient(rgba(11, 12, 16, 0.6), rgba(11, 12, 16, 0.85)), url('assets/images/index_bg.png') center/cover fixed;
    animation: none;
}

/* Typography */
h1, h2, h3, h4, .logo, .hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.portion {
    padding: 100px 0;
}

/* ==================================
   Animated Background Blobs (Glowing)
   ================================== */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.15; /* Dimmed for dark mode */
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--clr-accent); /* Cyan glow */
    top: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--clr-glow); /* Purple glow */
    bottom: 20%;
    right: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: #10b981; /* Green glow */
    top: 40%;
    left: 20%;
    animation: float 12s ease-in-out infinite 2s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==================================
   Glassmorphism Utilities
   ================================== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}

/* ==================================
   Navigation
   ================================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 15px 30px;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3); /* Subtle text glow */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 400;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--clr-accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--clr-accent); /* Underline glow */
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--clr-accent);
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-accent);
}

/* ==================================
   Buttons
   ================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--clr-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--clr-accent);
    color: var(--clr-accent);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.1) inset;
}

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.1);
    color: var(--clr-white);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3) inset;
}

/* ==================================
   Hero Section
   ================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-container {
    text-align: center;
    padding: 60px 40px;
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--clr-white), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--clr-text-light);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

/* ==================================
   Section Headers
   ================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.subtitle {
    display: inline-block;
    color: var(--clr-accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--clr-white);
}

/* ==================================
   About Section
   ================================== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 50px;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--clr-white);
}

.about-text p {
    color: var(--clr-text-light);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 400;
}

.benefits-list i {
    color: var(--clr-accent);
    font-size: 1.2rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    padding: 10px; /* Space for the glowing border */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    transition: var(--transition-smooth);
    display: block;
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

/* ==================================
   Classes Cards Section
   ================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.glass-card:hover::before {
    left: 200%;
}

.glass-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 15px rgba(56, 189, 248, 0.15); /* Drop shadow + glowing highlight */
    border-color: rgba(255, 255, 255, 0.15);
}

.card-icon {
    font-size: 3rem;
    color: var(--clr-accent);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.glass-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--clr-white);
}

.glass-card p {
    color: var(--clr-text-light);
}

/* ==================================
   Why Choose Us Section
   ================================== */
.why-wrapper {
    padding: 60px;
    text-align: center;
}

.why-wrapper h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: var(--clr-white);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255,255,255,0.03); /* Extremely subtle white */
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.02);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    background: rgba(255,255,255,0.08); /* Highlight on hover */
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
}

.f-icon i {
    font-size: 2rem;
    color: var(--clr-accent);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--clr-white);
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--clr-text-light);
}

/* ==================================
   Schedule Section
   ================================== */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px;
}

.schedule-col {
    padding: 20px;
    background: rgba(0,0,0,0.3); /* Darker backdrop inside the glass */
    border-radius: 15px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.03);
}

.schedule-col:hover {
    background: rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.08);
}

.time-slot {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Subtle divider */
    padding-bottom: 10px;
}

.schedule-col ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.05); /* Subtle dark dashed line */
    font-weight: 500;
}

.schedule-col ul li:last-child {
    border-bottom: none;
}

.schedule-col ul li span {
    color: var(--clr-white);
    font-weight: 500;
    background: var(--clr-accent);
    color: #0b0c10; /* Invert text color on pills */
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* ==================================
   Testimonials
   ================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    padding: 40px 30px;
    position: relative;
    border-radius: 20px;
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(56, 189, 248, 0.15); /* Accent tint */
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--clr-text-light); /* Softer text for paragraphs */
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.author {
    font-weight: 600;
    color: var(--clr-white);
}

/* ==================================
   Footer & Contact form
   ================================== */
.footer-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px;
    margin-bottom: 30px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--clr-white);
}

.contact-info > p {
    color: var(--clr-text-light);
    margin-bottom: 30px;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 400;
}

.contact-details i {
    color: var(--clr-accent);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05); /* Darker circles */
    border-radius: 50%;
    color: var(--clr-accent);
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--clr-accent);
    color: #fff;
    border-color: var(--clr-accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(0,0,0,0.3); /* Dark semi-transparent fields */
    border: 1px solid var(--glass-border);
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    color: var(--clr-white);
    transition: var(--transition-smooth);
}

.input-group input::placeholder, .input-group textarea::placeholder {
    color: #475569; /* Slate 600 placeholder */
}

.input-group input:focus, .input-group textarea:focus {
    background: rgba(0,0,0,0.5);
    border-color: var(--clr-accent);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.submit-btn {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-bottom: 20px;
    color: var(--clr-text-light);
    font-size: 0.9rem;
}

/* ==================================
   Scroll Reveal Animations
   ================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==================================
   Responsive Design
   ================================== */
@media (max-width: 992px) {
    .about-wrapper, .footer-wrapper {
        grid-template-columns: 1fr;
    }
    .hero-title { font-size: 3rem; }
    .hero-desc { font-size: 1.1rem; }
    .about-image { margin-top: 30px; order: -1; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95); /* Dark solidish background for mobile menu */
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        flex-direction: column;
        border-radius: 20px;
        padding: 20px;
        text-align: center;
        border: 1px solid var(--glass-border);
        box-shadow: 0 20px 40px rgba(0,0,0,0.8);
        margin-top: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    
    .schedule-grid { padding: 20px; }
    .why-wrapper { padding: 30px 20px; }
    .footer-wrapper { padding: 30px 20px; }
}
