@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #06070b;
    --bg-surface: rgba(13, 16, 27, 0.65);
    --bg-surface-hover: rgba(22, 28, 45, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(168, 85, 247, 0.4);
    
    --primary: #a855f7;
    --primary-glow: rgba(168, 85, 247, 0.15);
    --secondary: #06b6d4;
    --secondary-glow: rgba(6, 182, 212, 0.15);
    --accent: #3b82f6;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --bg-navbar-scrolled: rgba(6, 7, 11, 0.75);
    --bg-footer: rgba(6, 7, 11, 0.9);
}

/* Light theme overrides */
.light-theme {
    --bg-main: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.7);
    --bg-surface-hover: rgba(241, 245, 249, 0.85);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-color-hover: rgba(168, 85, 247, 0.4);
    
    --primary: #9333ea;
    --primary-glow: rgba(147, 51, 234, 0.1);
    --secondary: #0891b2;
    --secondary-glow: rgba(8, 145, 178, 0.1);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #94a3b8;
    
    --bg-navbar-scrolled: rgba(255, 255, 255, 0.8);
    --bg-footer: rgba(241, 245, 249, 0.9);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients */
.bg-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.bg-glows::before,
.bg-glows::after {
    content: '';
    position: absolute;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
}

.bg-glows::before {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 80%);
}

.bg-glows::after {
    bottom: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 80%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Header & Nav */
header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

header.navbar.scrolled {
    background: var(--bg-navbar-scrolled);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.9rem 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    text-decoration: none;
}

.logo span {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo img, .logo svg {
    height: 70px;
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.4));
    transition: var(--transition);
}

header.navbar.scrolled .logo img,
header.navbar.scrolled .logo svg {
    height: 50px;
}

.logo:hover img, .logo:hover svg {
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.7));
    transform: translateY(-1px) scale(1.02);
}

nav.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

nav.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Glass Card Utility */
.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
}

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

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

.section-header span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.btn-group {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-sphere {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(20px);
    animation: pulse 6s infinite alternate;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

@keyframes pulse {
    0% { transform: scale(0.9) translate(-10px, -10px); opacity: 0.25; }
    100% { transform: scale(1.1) translate(10px, 10px); opacity: 0.4; }
}

/* Services Section */
.services {
    padding: 3.5rem 0;
}

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

.service-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Features list inside card */
.service-list {
    margin-top: 1.25rem;
    list-style: none;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li::before {
    content: "✓";
    color: var(--secondary);
    font-weight: bold;
}

/* Eduflex Highlights */
.eduflex-section {
    padding: 3rem 0;
    position: relative;
}
.eduflex-section + .eduflex-section {
    padding-top: 0;
}

.eduflex-banner {
    padding: 4rem;
    border-radius: 24px;
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.15), transparent 60%), var(--bg-surface);
}

.eduflex-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.eduflex-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--secondary);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.eduflex-content h3 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.eduflex-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* Quotes Section */
.quotes-section {
    padding: 3rem 0;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.03), transparent);
}

.quote-box {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    padding: 0 2rem;
}

.quote-box::before {
    content: "“";
    font-size: 5rem;
    color: rgba(168, 85, 247, 0.2);
    position: absolute;
    top: -40px;
    left: -20px;
}

/* About Section */
.about {
    padding: 3.5rem 0;
}

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

.about-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.about-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.metric-card {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.metric-card h4 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-card p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.about-visual img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

/* Career Section */
.career {
    padding: 3.5rem 0;
}

.career-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.career-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.career-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.openings-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.opening-item {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opening-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.opening-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.career-image img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

/* Contact Section */
.contact {
    padding: 3.5rem 0;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-details-box {
    padding: 2.5rem;
}

.contact-details-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.contact-method-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-method-text h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-method-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.map-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) grayscale(100%) contrast(90%);
}

.contact-form {
    padding: 3rem;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

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

/* Toast Message */
.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}
.form-feedback.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
}
.form-feedback.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}
.form-feedback.info {
    display: block;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: #22d3ee;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-footer);
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-nav h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

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

.footer-nav ul li {
    margin-bottom: 0.75rem;
}

.footer-nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    border-color: transparent;
    transform: scale(1.08);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Responsive Rules */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .career-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero {
        padding-top: 120px;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    .btn-group {
        justify-content: center;
    }
    .eduflex-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    nav.nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(6, 7, 11, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }
    nav.nav-links.active {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.75rem;
    }
    .eduflex-banner {
        padding: 2rem;
    }
    .contact-form {
        padding: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color-hover);
    color: var(--secondary);
    transform: scale(1.05);
}

.light-theme .theme-toggle-btn {
    background: rgba(15, 23, 42, 0.05);
}

.light-theme .theme-toggle-btn:hover {
    background: rgba(15, 23, 42, 0.1);
}

.light-theme .map-wrapper iframe {
    filter: none;
}


/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

.whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    top: 0;
    left: 0;
    box-sizing: border-box;
    animation: wa-pulse 2s infinite;
    pointer-events: none;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
        font-size: 1.8rem;
    }
}

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
    font-family: var(--font-body);
}

.chatbot-launcher {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #ffffff;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition);
}

.chatbot-launcher:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

/* Chat Window */
.chatbot-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 320px;
    height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.chatbot-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chatbot-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.chatbot-header span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.online-indicator {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.chatbot-close-btn:hover {
    color: var(--text-main);
}

.chatbot-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    animation: message-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes message-slide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.bot {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid var(--border-color);
}

.chat-message.user {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chatbot-options {
    padding: 0.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
}

.chat-opt-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

.chat-opt-btn:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #ffffff;
    border-color: transparent;
}

.chatbot-input-area {
    display: flex;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.chatbot-input-area input {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 0.85rem 1rem;
    color: var(--text-main);
    font-size: 0.85rem;
    font-family: var(--font-body);
}

.chatbot-input-area input:focus {
    outline: none;
}

.chatbot-input-area button {
    background: none;
    border: none;
    color: var(--secondary);
    padding: 0 1rem;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.chatbot-input-area button:hover {
    color: var(--primary);
}

/* Light Theme Overrides for Chat Messages */
.light-theme .chat-message.bot {
    background: rgba(15, 23, 42, 0.05);
    border-color: var(--border-color);
}
.light-theme .chat-opt-btn {
    background: rgba(15, 23, 42, 0.05);
}

@media (max-width: 768px) {
    .chatbot-container {
        bottom: 1.5rem;
        left: 1.5rem;
    }
    .chatbot-launcher {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
    .chatbot-window {
        bottom: 70px;
        width: 280px;
        height: 380px;
    }
}
