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

/* ----------------------------------------------------------------------
   DESIGN SYSTEM VARIABLE DEFINITIONS (PREMIUM LIGHT CORPORATE)
   Inspiration: Stripe, Notion, Freshworks, OpenAI
---------------------------------------------------------------------- */
:root {
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
    
    /* Global Color Tokens (Light Corporate Theme) */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8fafc;
    --color-bg-card: #ffffff;
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-border: #e5e7eb;
    
    /* Parent Entity Accents (Midnight Blue / Trust Accent) */
    --color-parent-accent: #2563eb;
    --color-parent-accent-hover: #1d4ed8;
    --color-parent-accent-rgb: 37, 99, 235;
    --color-parent-accent-gradient: linear-gradient(135deg, #2563eb, #1d4ed8);
    
    /* WTS TechX Accent Tokens (Dynamic remap is identical to blue trust) */
    --color-wts-accent: #2563eb;
    --color-wts-accent-hover: #1d4ed8;
    --color-wts-accent-rgb: 37, 99, 235;
    --color-wts-accent-gradient: linear-gradient(135deg, #2563eb, #1d4ed8);

    /* Edus Vision Accent Tokens (Soft Sunset Coral Red) */
    --color-edus-accent: #e11d48;
    --color-edus-accent-hover: #be123c;
    --color-edus-accent-rgb: 225, 29, 72;
    --color-edus-accent-gradient: linear-gradient(135deg, #e11d48, #be123c);

    /* Active Layout Bindings (Remapped via body class) */
    --bg: var(--color-bg-primary);
    --bg-alt: var(--color-bg-secondary);
    --bg-card: var(--color-bg-card);
    --text: var(--color-text-primary);
    --text-muted: var(--color-text-secondary);
    --border: var(--color-border);
    --accent: var(--color-parent-accent);
    --accent-hover: var(--color-parent-accent-hover);
    --accent-rgb: var(--color-parent-accent-rgb);
    --accent-gradient: var(--color-parent-accent-gradient);
    
    /* Functional Tokens */
    --success: #10b981;
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
}

/* ----------------------------------------------------------------------
   DYNAMIC BRAND TEMPLATES (ACCENT SWITCHING ONLY)
---------------------------------------------------------------------- */
body.brand-theme-wts {
    --accent: var(--color-wts-accent);
    --accent-hover: var(--color-wts-accent-hover);
    --accent-rgb: var(--color-wts-accent-rgb);
    --accent-gradient: var(--color-wts-accent-gradient);
}

body.brand-theme-edus {
    --accent: var(--color-edus-accent);
    --accent-hover: var(--color-edus-accent-hover);
    --accent-rgb: var(--color-edus-accent-rgb);
    --accent-gradient: var(--color-edus-accent-gradient);
}

/* ----------------------------------------------------------------------
   CORE STYLES / RESET
---------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--accent);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 9999;
    font-weight: 600;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 20px;
}

/* Grid & Layout Containers */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(60px, 8vw, 100px) 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -0.02em; font-weight: 700; }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--color-parent-accent-hover);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ----------------------------------------------------------------------
   PREMIUM BUTTONS & CTAs (Notion / Stripe Flat Style)
---------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 8px;
    outline: none;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    border: 1px solid transparent;
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.15);
}
.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: var(--bg-alt);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* ----------------------------------------------------------------------
   HEADER NAVIGATION (Transparent at top, solid white on scroll)
---------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

/* Corporate Brand Logo */
.logo {
    display: flex;
    align-items: center;
    line-height: 1;
    gap: 10px;
}
.logo-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--text) 60%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-transform: uppercase;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link:hover, .nav-item:hover .nav-link {
    color: var(--text);
}

.nav-link svg {
    width: 10px;
    height: 10px;
    transition: transform 0.2s ease;
    stroke: var(--text-muted);
}
.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    list-style: none;
    z-index: 100;
}
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Solutions Mega Menu */
.header .container {
    position: relative;
}

.mega-dropdown {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 32px;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 4px;
}

.mega-menu-list li a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: var(--transition);
}

.mega-menu-list li a:hover {
    color: var(--accent);
    background-color: var(--bg-alt);
    padding-left: 16px;
}

.mega-menu-column.highlight-column {
    border-left: 1px solid var(--border);
    padding-left: 32px;
}

.dropdown-item a {
    display: block;
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}
.dropdown-item a:hover {
    color: var(--accent);
    background-color: var(--bg-alt);
}

/* Navigation Action Trigger */
.nav-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text);
    margin-bottom: 4px;
    transition: var(--transition);
}
.mobile-toggle span:last-child {
    margin-bottom: 0;
}

/* Mobile Menu Overlay Backdrop */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ----------------------------------------------------------------------
   FOOTER (Clean Corporate 4-Column Layout)
---------------------------------------------------------------------- */
.footer {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-about {
    margin-top: 16px;
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-nap {
    color: var(--text-muted);
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--text);
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.social-icon {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}
.social-icon:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
}
.footer-legal-links a {
    color: var(--text-muted);
}
.footer-legal-links a:hover {
    color: var(--text);
}

/* ----------------------------------------------------------------------
   CARDS & CONTAINERS (Notion-like Flat Borders)
---------------------------------------------------------------------- */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}
.card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Badge tags */
.badge {
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(var(--accent-rgb), 0.06);
    color: var(--accent);
    border: 1px solid rgba(var(--accent-rgb), 0.12);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* FAQ Layout Accordion */
.faq-grid {
    display: grid;
    gap: 16px;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-question {
    padding: 20px 24px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    outline: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out, padding 0.25s ease-out;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 24px 20px 24px;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
    line-height: 1;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

/* ----------------------------------------------------------------------
   Exo AI CHATBOT WIDGET (Premium AI Light Theme)
---------------------------------------------------------------------- */
.exo-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.exo-chat-button {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
}
.exo-chat-button:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.exo-badge-pulse {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    animation: exo-pulse 2s infinite;
}
@keyframes exo-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.exo-chat-box {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    max-width: calc(100vw - 60px);
    height: 480px;
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.exo-chat-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.exo-chat-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 14px 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.exo-chat-title {
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}
.exo-chat-subtitle {
    font-size: 0.75rem;
    color: #38bdf8;
    font-weight: 500;
}
.exo-chat-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.exo-chat-close:hover {
    color: #ffffff;
}

.exo-chat-messages {
    flex: 1;
    padding: 16px;
    background-color: #f8fafc;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exo-msg {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.exo-msg-bot {
    align-items: flex-start;
}
.exo-msg-user {
    align-items: flex-end;
}

.exo-msg-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.82rem;
    line-height: 1.45;
}
.exo-msg-bot .exo-msg-bubble {
    background-color: #ffffff;
    border: 1px solid var(--border);
    color: var(--text);
    border-bottom-left-radius: 2px;
    box-shadow: var(--shadow-sm);
}
.exo-msg-user .exo-msg-bubble {
    background-color: var(--accent);
    color: #ffffff;
    border-bottom-right-radius: 2px;
}

.exo-chat-chips {
    padding: 8px 12px;
    background-color: #f1f5f9;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    scrollbar-width: none;
}
.exo-chat-chips::-webkit-scrollbar {
    display: none;
}
.exo-chip {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
    flex: 0 0 auto;
}
.exo-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(var(--accent-rgb), 0.02);
}

.exo-chat-input-area {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background-color: #ffffff;
    border-top: 1px solid var(--border);
}
#exo-user-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.85rem;
    color: var(--text);
    background: transparent;
    padding-right: 8px;
}
#exo-send-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
#exo-send-btn:hover {
    color: var(--accent);
}

.exo-typing-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 6px 10px;
}
.exo-typing-dots span {
    width: 6px;
    height: 6px;
    background-color: #94a3b8;
    border-radius: 50%;
    animation: exo-bounce 1.4s infinite ease-in-out both;
}
.exo-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.exo-typing-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes exo-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}


/* ----------------------------------------------------------------------
   MEDIA QUERIES (RESPONSIVENESS)
---------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .mobile-toggle {
        display: block;
        position: relative;
        z-index: 1005;
    }
    
    /* Responsive Mobile Menu Drawer overlay sliding from right */
.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-card);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 100px 24px 32px 24px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    gap: 20px;
    z-index: 1006;
}
    
    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Mobile navigation overlay with blur */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }
    .nav-overlay.active {
        visibility: visible;
        opacity: 1;
        pointer-events: all;
    }
    .nav-overlay {
        pointer-events: none;
    }

    /* Quick Reply Chips */
    .quick-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        margin-bottom: 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .chip {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 6px 12px;
        font-size: 0.9rem;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
        white-space: nowrap;
    }
    .chip:hover {
        background: var(--accent);
        color: #fff;
    }
    /* Modal for Quick Answers */
    .quick-modal {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 8px;
        max-width: 90%;
        width: 400px;
        padding: 24px;
        z-index: 2000;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        display: none;
    }
    .quick-modal.active {
        display: block;
    }
    .quick-modal .close-btn {
        position: absolute;
        top: 8px;
        right: 8px;
        background: transparent;
        border: none;
        font-size: 1.2rem;
        cursor: pointer;
    }
    
    /* Hide dropdowns/mega menus by default on mobile */
    .nav-item .dropdown-menu,
    .nav-item .mega-menu {
        display: none;
    }
    .nav-item.active .dropdown-menu,
    .nav-item.active .mega-menu {
        display: block;
    }
    .dropdown-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        width: 100%;
        border: none;
        background: transparent;
        padding-left: 16px;
        margin-top: 4px;
    }
    
    .nav-item.active .dropdown-menu {
        display: block;
    }
    
    /* Mobile Mega Menu */
    .mega-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        width: 100%;
        border: none;
        background: transparent;
        padding: 0;
        margin-top: 4px;
    }
    
    .nav-item.active .mega-menu {
        display: block;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Ensure quick chips scroll nicely on mobile */
    @media (max-width: 600px) {
        .quick-chips {
            justify-content: flex-start;
        }
    }
    
    .mega-menu-column.highlight-column {
        display: none;
    }
    
    .mega-menu-column {
        padding-left: 16px;
    }
    
    .mega-menu-title {
        font-size: 0.8rem;
        margin-bottom: 8px;
        margin-top: 8px;
    }
    
    .mega-menu-list li a {
        padding: 6px 0;
    }
    
    .mega-menu-list li a:hover {
        background-color: transparent;
        padding-left: 4px;
    }
    
    .nav-ctas {
        display: none;
    }
    
    .solutions-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding: 8px 16px !important;
        margin-left: -24px !important;
        margin-right: -24px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 12px !important;
        scrollbar-width: none !important;
    }
    .solutions-tabs::-webkit-scrollbar {
        display: none !important;
    }
    .solutions-tab {
        flex: 0 0 auto !important;
        scroll-snap-align: center;
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .footer-legal-links {
        justify-content: center !important;
        padding-left: 0 !important;
        margin-top: 12px !important;
        width: 100%;
    }

    /* Mobile Hero Layout & Typography */
    .hero-section h1 {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
    }
    .hero-section p {
        font-size: 0.98rem !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }
    
    /* Mobile Trust Bar Slider */
    .trust-bar.mobile-slider {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        justify-content: flex-start !important;
        padding: 16px 20px !important;
        gap: 16px !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        border-bottom: 1px solid var(--border) !important;
    }
    .trust-bar.mobile-slider::-webkit-scrollbar {
        display: none !important;
    }
    .trust-bar.mobile-slider .trust-pillar {
        flex: 0 0 auto !important;
        scroll-snap-align: center !important;
        background-color: var(--bg-card) !important;
        border: 1px solid var(--border) !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
        font-size: 0.78rem !important;
        font-weight: 600 !important;
        text-transform: capitalize !important;
    }
    .trust-bar.mobile-slider .trust-pillar svg {
        width: 16px !important;
        height: 16px !important;
        stroke-width: 2px !important;
    }

    /* Mobile Hero Buttons & Trust badges styling */
    .hero-ctas {
        display: flex !important;
        gap: 8px !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
    }
    .hero-ctas .btn {
        flex: 1 1 50% !important;
        padding: 10px 4px !important;
        font-size: 0.78rem !important;
        text-align: center !important;
        white-space: nowrap !important;
        width: auto !important;
    }
    .hero-trust-indicators {
        justify-content: center !important;
        gap: 16px 24px !important;
        margin-top: 24px !important;
        width: 100% !important;
    }
    .hero-trust-indicators > div {
        font-size: 0.82rem !important;
    }

    /* Mobile Why Choose Icon Grid styling */
    .why-choose-icons-container {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }
    .why-choose-icons-container span {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
    }
    .why-choose-icons-container .svg-icon {
        width: 20px !important;
        height: 20px !important;
    }
    .why-choose-icons-container div > div {
        width: 38px !important;
        height: 38px !important;
    }
}

/* ----------------------------------------------------------------------
   RESPONSIVE UTILITY GRIDS
---------------------------------------------------------------------- */
.grid-1-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) {
    .grid-1-2 {
        grid-template-columns: 0.75fr 1.25fr;
        gap: 48px;
    }
}

.grid-2-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) {
    .grid-2-1 {
        grid-template-columns: 1.25fr 0.75fr;
        gap: 48px;
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 640px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}
@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 640px) {
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.grid-5 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 600px) {
    .grid-5 {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 900px) {
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1200px) {
    .grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ----------------------------------------------------------------------
   BENTO GRID & INTERACTIVE LAYOUT UPGRADES
---------------------------------------------------------------------- */

/* Dot Grid Overlay Background */
.dot-grid {
    position: relative;
}
.dot-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 1;
}
.dot-grid > div {
    position: relative;
    z-index: 2;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .span-col-2 {
        grid-column: span 2;
    }
    .span-row-2 {
        grid-row: span 2;
    }
}

.bento-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 16px 32px -12px rgba(var(--accent-rgb), 0.08);
}

/* Inline SVG Icon Styling */
.svg-icon {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: var(--transition);
}
.card:hover .svg-icon,
.bento-card:hover .svg-icon {
    transform: scale(1.1);
}

/* Interactive Mock Browser Frame */
.mock-browser {
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 380px;
    transition: var(--transition);
}

.mock-browser-header {
    background-color: #f1f5f9;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mock-browser-dots {
    display: flex;
    gap: 6px;
}
.mock-browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mock-browser-dot.red { background-color: #ef4444; }
.mock-browser-dot.yellow { background-color: #f59e0b; }
.mock-browser-dot.green { background-color: #10b981; }

.mock-browser-tabs {
    display: flex;
    background-color: #e2e8f0;
    border-radius: 6px;
    padding: 2px;
}
.mock-browser-tab {
    padding: 4px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    background: transparent;
    color: var(--text-muted);
    transition: var(--transition);
    font-family: var(--font-heading);
}
.mock-browser-tab.active {
    background-color: #ffffff;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.mock-browser-url {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
    flex-grow: 1;
    max-width: 260px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-browser-body {
    padding: 24px;
    flex-grow: 1;
    overflow-y: auto;
    position: relative;
    background-color: #f8fafc;
}

.mock-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mock-content.active {
    display: block;
    opacity: 1;
}

/* WTS TechX Mock Code Window */
.mock-code-window {
    background-color: #0f172a;
    color: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    height: 100%;
    overflow-y: auto;
    border: 1px solid #334155;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.code-keyword { color: #f472b6; }
.code-string { color: #34d399; }
.code-comment { color: #64748b; }
.code-function { color: #60a5fa; }

/* Edus Vision Mock Dashboard UI */
.mock-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.mock-stat-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.mock-stat-num {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-edus-accent);
    font-family: var(--font-heading);
}
.mock-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.mock-chart-container {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mock-chart-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mock-chart-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    width: 60px;
    font-weight: 500;
}
.mock-chart-progress {
    flex-grow: 1;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}
.mock-chart-fill {
    height: 100%;
    background-color: var(--color-edus-accent);
    border-radius: 4px;
    width: 0%;
    transition: width 0.8s ease;
}

/* PageSpeed Meter Widget */
.pagespeed-widget {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.pagespeed-circle {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagespeed-svg {
    transform: rotate(-90deg);
    width: 90px;
    height: 90px;
}
.pagespeed-track {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 8;
}
.pagespeed-fill {
    fill: none;
    stroke: #10b981;
    stroke-width: 8;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    transition: stroke-dashoffset 1.5s ease-in-out;
}
.pagespeed-num {
    position: absolute;
    font-size: 1.4rem;
    font-weight: 800;
    color: #10b981;
    font-family: var(--font-heading);
}

.pagespeed-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-grow: 1;
}
.pagespeed-metric {
    display: flex;
    align-items: center;
    gap: 4px;
}
.pagespeed-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
}

/* ----------------------------------------------------------------------
   FAQ SEARCH & SHOW MORE TRANSITIONS
---------------------------------------------------------------------- */
.faq-search-wrapper {
    margin: -10px auto 32px auto;
    max-width: 500px;
    position: relative;
}
.faq-search-input {
    width: 100%;
    padding: 12px 20px 12px 48px;
    border: 1.5px solid var(--border);
    border-radius: 30px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    background-color: #ffffff;
    transition: var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 18px center;
    background-size: 16px;
}
.faq-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
}
.faq-hidden {
    display: none !important;
}
.faq-item-fade {
    animation: faqFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.faq-empty-state {
    text-align: center;
    padding: 32px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ----------------------------------------------------------------------
   HORIZONTAL PROCESS TIMELINE JOURNEY
---------------------------------------------------------------------- */
.process-timeline-wrapper {
    position: relative;
    padding: 20px 0;
    margin-top: 40px;
}
.process-timeline-line {
    position: absolute;
    top: 36px;
    left: 8%;
    right: 8%;
    height: 4px;
    background-color: var(--border);
    z-index: 1;
}
.process-timeline-progress {
    position: absolute;
    top: 36px;
    left: 8%;
    height: 4px;
    width: 0%;
    background: var(--accent-gradient);
    z-index: 1;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    list-style: none;
}
.process-step {
    width: 16%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.process-node {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}
.process-step.active .process-node {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(var(--accent-rgb), 0.02);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.15);
}
.process-step.active .process-node::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0.35;
    animation: timelinePulse 2.5s infinite;
}
@keyframes timelinePulse {
    0% { transform: scale(1); opacity: 0.35; }
    100% { transform: scale(1.25); opacity: 0; }
}
.process-step-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 18px;
    margin-bottom: 6px;
}
.process-step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
    padding: 0 4px;
}

@media (max-width: 900px) {
    .process-timeline-line {
        top: 0;
        bottom: 0;
        left: 36px;
        width: 4px;
        height: auto;
    }
    .process-timeline-progress {
        top: 0;
        left: 36px;
        width: 4px;
        height: 0%;
        transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .process-timeline {
        flex-direction: column;
        gap: 36px;
    }
    .process-step {
        flex-direction: row;
        text-align: left;
        width: 100%;
        gap: 24px;
        align-items: flex-start;
    }
    .process-node {
        flex-shrink: 0;
    }
    .process-step-title {
        margin-top: 4px;
    }
}

/* ----------------------------------------------------------------------
   CONTACT DUAL COLUMN SPLIT GRID
---------------------------------------------------------------------- */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: flex-start;
}
@media (min-width: 992px) {
    .contact-split-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 64px;
    }
}
.contact-card-gradient {
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border);
    background-color: var(--bg-card);
}
.contact-map-preview {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 24px;
    position: relative;
    height: 280px;
    background-color: #f1f5f9;
}
.contact-map-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.contact-channel-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-channel-item:last-child {
    margin-bottom: 0;
}
.contact-channel-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(var(--accent-rgb), 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

/* ----------------------------------------------------------------------
   MEGA FOOTER LAYOUT
---------------------------------------------------------------------- */
.footer-megacolumns {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}
@media (max-width: 1024px) {
    .footer-megacolumns {
        grid-template-columns: 1.25fr repeat(2, 1fr);
    }
    .footer-megacolumns > div:last-child {
        grid-column: span 2;
    }
}
@media (max-width: 768px) {
    .footer-megacolumns {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }
    .footer-info {
        grid-column: span 2;
    }
    .footer-megacolumns > div:last-child {
        grid-column: span 1;
    }
}
.footer-directories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 480px) {
    .footer-directories {
        grid-template-columns: 1fr;
    }
}
.footer-verified-badge {
    margin-top: 24px;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 280px;
}
.footer-verified-badge svg {
    color: var(--success);
    width: 20px;
    height: 20px;
}
.footer-verified-text {
    font-size: 0.78rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--text-muted);
}
.footer-verified-text strong {
    color: var(--text);
    display: block;
}

/* ----------------------------------------------------------------------
   ENTERPRISE REFACTOR ADDITIONAL STYLES
---------------------------------------------------------------------- */

.trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 40px;
    padding: 30px 20px;
    background-color: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}
.trust-pillar {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.trust-pillar svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2px;
}

/* Infinite Autoscrolling Client Logo Marquee */
.logo-marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 12px 0;
}
.logo-marquee-container::before,
.logo-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.logo-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-alt), transparent);
}
.logo-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-alt), transparent);
}
.logo-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: logoMarquee 25s linear infinite;
}
.logo-marquee-track:hover {
    animation-play-state: paused;
}
.logo-marquee-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex-shrink: 0;
    overflow: hidden !important;
}
.logo-marquee-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}
.logo-marquee-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
}

@keyframes logoMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Interactive Solutions Architecture styling */
.solutions-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.solutions-tab {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 28px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.solutions-tab:hover, .solutions-tab.active {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}
.solutions-panels {
    position: relative;
    margin-top: 30px;
}
.solutions-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.solutions-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    opacity: 1;
}
@media (max-width: 768px) {
    .solutions-panel.active {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Featured Solutions Grid */
.featured-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 1024px) {
    .featured-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .featured-solutions-grid {
        grid-template-columns: 1fr;
    }
}
.featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.featured-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}
.featured-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

/* Industry Cards Grid & Hover Effect */
.industry-card {
    transition: var(--transition);
    cursor: pointer;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* FAQ 2-Column Desktop Grid */
.faq-grid-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) {
    .faq-grid-cols {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.faq-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Mobile swipeable slider enhancements */
@media (max-width: 768px) {
    .mobile-slider {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 4px 20px 4px;
        margin-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    .mobile-slider::-webkit-scrollbar {
        height: 4px;
    }
    .mobile-slider::-webkit-scrollbar-thumb {
        background-color: var(--border);
        border-radius: 4px;
    }
    .mobile-slider > * {
        flex: 0 0 85% !important;
        scroll-snap-align: start;
        max-width: none !important;
    }
}

/* Sticky Bottom Mobile CTA & Floating Inquiry */
.sticky-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--bg-card);
    box-shadow: 0 -4px 10px rgba(0,0,0,0.06);
    border-top: 1px solid var(--border);
}
@media (max-width: 768px) {
    .sticky-cta-bar {
        display: block;
    }
    body {
        padding-bottom: 60px;
    }
}

.floating-inquiry-btn {
    position: fixed;
    bottom: 80px;
    left: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    transition: var(--transition);
}
.floating-inquiry-btn:hover {
    transform: scale(1.1);
}
.floating-inquiry-btn svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    fill: none;
}
@media (max-width: 768px) {
    .floating-inquiry-btn {
        bottom: 80px; /* clear mobile sticky bar */
    }
}

/* ----------------------------------------------------------------------
   RESPONSIVE ILLUSTRATIONS & IMAGES (Notion / Stripe Style)
---------------------------------------------------------------------- */
.illustration-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.illustration-img:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg) !important;
}

/* Individual sizing tokens */
.img-hero { max-width: 520px; box-shadow: var(--shadow-lg); }
.img-about { max-width: 480px; box-shadow: var(--shadow-md); }
.img-tab { max-width: 440px; box-shadow: var(--shadow-md); border-radius: 8px; }
.img-flowchart { max-width: 750px; box-shadow: var(--shadow-md); }
.img-subpage { max-width: 480px; box-shadow: var(--shadow-md); }

@media (max-width: 768px) {
    .img-hero, .img-about, .img-tab, .img-subpage {
        max-width: 80% !important;
        margin: 24px auto 0 auto !important;
        display: block !important;
    }
    .img-flowchart {
        max-width: 100% !important;
        margin: 24px auto 0 auto !important;
        display: block !important;
    }
}

/* Responsive Hero padding */
.hero-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg);
    position: relative;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
@media (max-width: 768px) {
    .hero-section {
        padding: 24px 0 40px 0 !important;
    }
}


