:root {
    /* Brand Colors */
    --primary-purple: #9381FF;
    --primary-purple-dark: #7A6BDB;
    --accent-peach: #FFB5A7;
    --soft-mint: #B8F2E6;
    
    /* Neutral Colors */
    --bg-warm-white: #FFFDF9;
    --bg-light-grey: #F4F5F7;
    --text-primary: #2B2B2B;
    --text-secondary: #6B6B6B;
    --white: #FFFFFF;
    
    /* Gradients */
    --hero-gradient: linear-gradient(135deg, var(--primary-purple), var(--soft-mint));
    
    /* Spacing */
    --container-padding: 20px;
    --max-width: 1200px;
    
    /* Shadows */
    --card-shadow: 0 10px 30px rgba(147, 129, 255, 0.1);
    --hover-shadow: 0 15px 35px rgba(147, 129, 255, 0.2);
}

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

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-warm-white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-purple);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 80px 0;
}

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

/* Button System */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(147, 129, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent-peach);
    color: var(--accent-peach);
    /* For better visibility on light bg, maybe use a darker peach or primary text if strictly following guide. 
       Guide says "Peach text". */
}

.btn-secondary:hover {
    background-color: var(--accent-peach);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 253, 249, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-purple);
}

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

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-purple);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-purple);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--bg-warm-white);
    position: relative;
    overflow: hidden;
    padding: 40px 0 60px; /* Reduced top padding from 100px */
}

.btn-white-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    margin-left: 10px;
}

.btn-white-outline:hover {
    background: var(--white);
    color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-background {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--hero-gradient);
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text .tagline {
    color: var(--accent-peach);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.hero-text p.subheading {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    position: relative;
}

.hero-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
    box-shadow: var(--card-shadow);
    /* Glassmorphism overlay feel */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.5);
}

/* Trust Highlights */
.trust-section {
    position: relative;
    margin-top: -50px;
    z-index: 10;
    margin-bottom: 60px;
}

.trust-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trust-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.trust-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

/* About Section */
.about-section {
    background: var(--bg-light-grey);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 400px;
    background: #ddd; /* Placeholder */
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

/* Subjects / Offerings */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.subject-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.subject-card:hover {
    box-shadow: var(--card-shadow);
    border-color: var(--primary-purple);
    transform: translateY(-5px);
}

.subject-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary-purple);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-purple);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-white {
    background: var(--white);
    color: var(--primary-purple);
}

.btn-white:hover {
    background: var(--soft-mint);
    color: var(--primary-purple);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Contact Page Styles */
.contact-hero {
    background: var(--bg-light-grey);
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

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

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

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-light-grey);
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: var(--white);
}

/* Courses Page */
.course-section {
    padding: 60px 0;
}

.course-card-detailed {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 40px;
    align-items: center;
}

.course-card-detailed:nth-child(even) {
    flex-direction: row-reverse;
}

.course-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.course-list {
    margin: 20px 0;
}

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

.course-list li::before {
    content: "✓";
    color: var(--primary-purple);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 50px 0 20px;
    text-align: center;
}

footer p {
    color: rgba(255,255,255,0.6);
}

/* Floating Widgets */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.widget-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.call-widget {
    background: var(--primary-purple);
}

.whatsapp-widget {
    background: #25D366;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide for now, will toggle with JS */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        display: flex;
    }

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

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .trust-section {
        margin-top: 0;
        padding-top: 40px;
    }

    .trust-cards {
        grid-template-columns: 1fr;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .course-card-detailed {
        flex-direction: column !important;
        text-align: center;
    }
    
    .course-list li {
        text-align: left;
        display: inline-block;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* .mobile-sticky-actions {
        display: flex;
    } */
    
    /* Modify body padding if needed, but for floating widgets it's not strictly necessary to reserve space, 
       though good to keep content from being hidden */
    /* body {
        padding-bottom: 80px; 
    } */
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-light-grey);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    z-index: 1;
}

.modal-close:hover {
    background: #FFB5A7;
    color: white;
}
