/*
Theme Name: Soluminds
Theme URI: https://soluminds.com/
Author: Antigravity
Author URI: https://gemini.google.com/
Description: A premium, modern, custom WordPress theme for Soluminds offering Accounting, Finance & Business Transformation Solutions. Built with light, vibrant colors, fast transitions, and an integrated smart finance chatbot.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soluminds
Tags: custom-colors, custom-menu, featured-images, full-width-template, translation-ready, modern, light-theme
*/

/* ----------------------------------------------------
   DESIGN SYSTEM & VARIABLES
   ---------------------------------------------------- */
@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 {
    /* Brighter Tech-Enabled Color Palette */
    --color-bg-light: #F8FAFC;
    --color-bg-white: #FFFFFF;
    --color-bg-card: #FFFFFF;
    --color-bg-card-hover: #F1F5F9;
    --color-primary: #0F172A;
    --color-secondary: #475569;
    --color-accent: #EAA83A;
    --color-accent-rgb: 234, 168, 58;
    --color-accent-light: #F59E0B;
    --color-text-primary: #0F172A;
    --color-text-secondary: #475569;
    --color-border: #E2E8F0;
    --color-border-hover: rgba(234, 168, 58, 0.4);
    
    /* Vibrant gradients */
    --grad-primary: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%); /* Teal to Blue */
    --grad-accent: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);  /* Yellow to Amber */
    
    /* Glassmorphism system */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(226, 232, 240, 0.8);

    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--color-bg-light);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 12px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--grad-accent);
    border-radius: 2px;
}

.center-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 600;
}

p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    font-weight: 400;
}

a {
    color: #3B82F6;
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: #2563EB;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(3.5rem, 6vw, 6rem) 0;
    position: relative;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Header & Glassmorphic Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    transition: var(--transition-smooth);
}

.site-header.scrolled .nav-container {
    padding: 6px 30px;
}

.logo-link img {
    height: 46px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.site-header.scrolled .logo-link img {
    height: 38px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-item a {
    color: var(--color-text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-light);
    transition: var(--transition-smooth);
}

.nav-item a:hover::after,
.nav-item.current-menu-item a::after {
    width: 100%;
}

.nav-item a:hover {
    color: var(--color-accent-light);
}

/* Navigation Dropdown Menu Styles */
.nav-item {
    position: relative;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    list-style: none !important;
    padding: 10px 0;
    min-width: 280px;
    z-index: 1000;
}

.sub-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #FFFFFF;
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

.nav-item:hover .sub-menu {
    display: block !important;
}

.sub-menu li {
    display: block !important;
    margin: 0 !important;
    list-style: none !important;
}

.sub-menu li::before {
    display: none !important; /* Hide list bullets */
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text-secondary) !important;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    text-align: left;
    border: none !important;
}

.sub-menu li a::after {
    display: none !important; /* No underline in sub-menus */
}

.sub-menu li a:hover {
    color: #3B82F6 !important;
    background-color: #F8FAFC;
    padding-left: 24px;
}

/* Ensure parents with submenus have a indicator chevron */
.arrow-down {
    font-size: 0.65rem;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.nav-item:hover .arrow-down {
    transform: rotate(180deg);
    color: var(--color-accent-light);
}

/* Call to Action Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--grad-accent);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    color: #FFFFFF;
}

.btn-secondary {
    background: #FFFFFF;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
    transform: translateY(-2px);
}

/* Hamburger Menu (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-smooth);
}

/* Brighter Glowing Background Mesh */
.ambient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 50%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 50%, transparent 90%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: float-blob 16s infinite alternate ease-in-out;
}

.blob-1 {
    top: 5%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 75%);
}

.blob-2 {
    bottom: 10%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.35) 0%, transparent 75%);
    animation-delay: -4s;
    animation-duration: 20s;
}

@keyframes float-blob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 20px) scale(1.08); }
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background: radial-gradient(100% 100% at top left, rgba(6, 182, 212, 0.05), transparent 60%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-cta {
        justify-content: center;
    }
}

.hero-content {
    max-width: 700px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: inline-block;
}

.hero-description {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    margin: 20px 0 35px 0;
    color: var(--color-secondary);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
    animation: image-float 6s infinite alternate ease-in-out;
}

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

/* Glassmorphic White Cards System */
.glass-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: #CBD5E1;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.glass-card:hover::before {
    opacity: 1;
}

/* Service / Competency Cards */
.card-icon {
    width: 54px;
    height: 54px;
    background: rgba(6, 182, 212, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #06B6D4;
    transition: var(--transition-smooth);
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.glass-card:hover .card-icon {
    background: var(--grad-primary);
    color: #FFFFFF;
    transform: scale(1.05);
}

.card-title {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.card-desc {
    flex-grow: 1;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--color-secondary);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #3B82F6;
}

.card-link svg {
    transition: var(--transition-smooth);
}

.glass-card:hover .card-link svg {
    transform: translateX(6px);
}

/* Competency Grid Header */
.competency-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.competency-header p {
    margin-top: 12px;
    color: var(--color-secondary);
}

/* Service Detail Layout (Subpages) */
.page-header-section {
    padding: 150px 0 60px 0;
    position: relative;
    background: radial-gradient(100% 100% at top left, rgba(6, 182, 212, 0.04), transparent 60%);
    border-bottom: 1px solid var(--color-border);
}

.page-header-content {
    max-width: 850px;
}

.page-header-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
}

.content-row {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.content-main {
    flex: 1 1 650px;
}

.content-sidebar {
    flex: 1 1 350px;
}

/* Custom Lists */
.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: var(--transition-smooth);
}

.service-item:hover {
    border-color: #CBD5E1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transform: translateX(4px);
}

.service-item-icon {
    color: #3B82F6;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-item-details h4 {
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.service-item-details p {
    font-size: 0.95rem;
}

.benefit-card {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.benefit-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-accent-light);
}

.benefit-card p {
    font-size: 0.95rem;
}

/* Our Commitment Block */
.commitment-section {
    background-color: var(--color-bg-white);
}

.commitment-card {
    background: radial-gradient(120% 120% at bottom right, rgba(6, 182, 212, 0.05), rgba(255,255,255,0.9));
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.commitment-title {
    color: var(--color-accent-light);
    margin-bottom: 16px;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.commitment-text {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.6;
    color: var(--color-text-primary);
    max-width: 850px;
    margin: 0 auto;
    font-weight: 500;
}

/* Contact Area */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-list {
    list-style: none;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(6, 182, 212, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06B6D4;
    flex-shrink: 0;
}

.contact-info-text h5 {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-info-text p {
    color: var(--color-text-primary);
    font-weight: 600;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.15);
}

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

/* Footer Styling */
.site-footer {
    background-color: #0F172A;
    color: #94A3B8;
    padding: 60px 0 30px 0;
    border-top: 1px solid #1E293B;
}

.site-footer h4.footer-title {
    color: #FFFFFF;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    margin: 16px 0;
    color: #94A3B8;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-logo img {
    height: 38px;
    width: auto;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: #94A3B8;
}

.footer-links a:hover {
    color: #F59E0B;
    transform: translateX(4px);
    display: inline-block;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1E293B;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
}

/* Chatbot Floating Widget CSS */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
    border: none;
    transition: var(--transition-bounce);
}

.chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.4);
}

.chatbot-toggle svg {
    width: 28px;
    height: 28px;
    transition: var(--transition-smooth);
}

.chatbot-toggle.active svg {
    transform: rotate(90deg);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 500px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
}

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

.chatbot-header {
    background: var(--grad-primary);
    color: #FFFFFF;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.chatbot-status h4 {
    font-size: 0.95rem;
    color: #FFFFFF;
}

.chatbot-status p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 4px;
}

.chatbot-status p::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #10B981;
    border-radius: 50%;
}

.chatbot-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #F8FAFC;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
}

.chat-msg.bot .chat-bubble {
    background-color: #FFFFFF;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-top-left-radius: 2px;
}

.chat-msg.user .chat-bubble {
    background-color: #3B82F6;
    color: #FFFFFF;
    border-top-right-radius: 2px;
}

.chat-time {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    margin-top: 4px;
    margin-left: 4px;
}

.chat-msg.user .chat-time {
    align-self: flex-end;
    margin-right: 4px;
}

/* Typings animation */
.typing-dots {
    display: flex;
    gap: 4px;
    padding: 6px 10px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background-color: var(--color-text-secondary);
    border-radius: 50%;
    animation: typing-bounce 1s infinite alternate;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.chat-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
}

.chat-preset-btn {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    color: #475569;
    transition: var(--transition-smooth);
}

.chat-preset-btn:hover {
    background-color: rgba(6, 182, 212, 0.05);
    border-color: #06B6D4;
    color: #06B6D4;
}

.chatbot-footer {
    padding: 12px 16px;
    background: #FFFFFF;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 10px;
}

.chatbot-input {
    flex-grow: 1;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition-smooth);
}

.chatbot-input:focus {
    border-color: #3B82F6;
}

.chatbot-send {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chatbot-send:hover {
    background: linear-gradient(135deg, #0891b2, #2563eb);
}

/* Animations Class System (Fast updates) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.delay-100 { transition-delay: 50ms; }
.delay-200 { transition-delay: 100ms; }
.delay-300 { transition-delay: 150ms; }
.delay-400 { transition-delay: 200ms; }

/* Mobile Adaptations */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        margin-left: auto; /* Right align the hamburger menu icon */
        position: relative;
        z-index: 1002;
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 40px 30px;
        transition: var(--transition-smooth);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu-wrapper.active {
        right: 0;
    }

    .nav-menu-wrapper .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-menu-wrapper .nav-item {
        width: 100%;
        position: relative;
    }

    .nav-menu-wrapper .sub-menu {
        display: none;
        position: static;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 5px 0 5px 15px;
        min-width: unset;
        width: 100%;
    }

    .nav-menu-wrapper .sub-menu::before {
        display: none;
    }

    .nav-menu-wrapper .nav-item:hover .sub-menu,
    .nav-menu-wrapper .nav-item:focus-within .sub-menu {
        display: block !important;
    }

    .nav-menu-wrapper .sub-menu li a {
        padding: 6px 0;
        font-size: 0.85rem;
        color: var(--color-text-secondary) !important;
    }

    .nav-menu-wrapper .sub-menu li a:hover {
        padding-left: 5px;
        background-color: transparent;
        color: #3B82F6 !important;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    .hero-cta {
        flex-direction: column;
    }

    .commitment-card {
        padding: 40px 20px;
    }

    .chatbot-window {
        width: calc(100vw - 60px);
        height: 450px;
        bottom: 70px;
        right: 0;
    }
}

/* Swirling Particle Canvas on Hero */
.hero-particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

/* Parallax Fixed Banner Section */
.parallax-banner-section {
    position: relative;
    padding: 120px 0;
    background-image: url('assets/images/hero_collaboration.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
}

.parallax-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.72);
    z-index: 1;
}

.parallax-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.parallax-banner-content h2 {
    color: #FFFFFF !important;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.parallax-banner-content p {
    color: #CBD5E1 !important;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ----------------------------------------------------
   NEXT-LEVEL UI EFFECTS & CUSTOM BLEND CURSOR
   ---------------------------------------------------- */

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 9999;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--grad-primary);
}

/* Custom Blend Mode Cursor */
.custom-cursor {
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-accent-light);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    mix-blend-mode: difference;
    background-color: transparent;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent-light);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.15s, height 0.15s;
}

/* Cursor Hover States */
.custom-cursor.hover {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.18);
    border-color: #FFFFFF;
}

/* Hide default cursor on desktop for premium feel, but keep on touch devices */
@media (min-width: 769px) {
    body, a, button, input, textarea, select, .btn, .glass-card {
        cursor: none !important;
    }
}

@media (max-width: 768px) {
    .custom-cursor, .custom-cursor-dot {
        display: none !important;
    }
}
