/* ==========================================================================
   WEBSITE MASTERS - OFFICIAL DESIGN SYSTEM & GLOBAL STYLES
   ========================================================================== */

/* Outfit font imported directly in HTML head for improved page load performance */

/* Reset and Core Variables */
:root {
    /* Color Tokens (Default Light Mode - Clean Slate Palette aligned with contact.php) */
    --primary-color: #92C83E;
    --primary-rgb: 146, 200, 62;
    --secondary-color: #0F172A;
    --secondary-rgb: 15, 23, 42;
    
    --bg-color: #F8FAFC; /* Crisp slate-neutral light background */
    --bg-secondary: #EDF2F7; /* Slate secondary background */
    --text-color: #0F172A; /* Deep slate navy text for high contrast & readability */
    --text-muted: #64748B; /* Sleek slate muted text matching contact.php (#64748b) */
    
    --border-color: #e2e8f03b; /* Clean slate border matching contact.php */
    --glass-bg: rgba(255, 255, 255, 0.92); /* Luminous glassmorphism card background */
    --glass-border: #E2E8F0; /* Crisp slate card border */
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 2px 10px rgba(15, 23, 42, 0.03);
    --glow-color: rgba(146, 200, 62, 0.14);
    
    /* Dedicated component colors (Light Mode - Aligned with contact.php Slate Navy) */
    --gradient-cta: linear-gradient(135deg, #111827 0%, #1F2937 100%); /* Header gradient matching contact.php */
    --footer-bg: #0F141C; /* Deep dark slate navy footer matching contact.php */
    --announcement-bg: #141B27; /* Dark slate topbar matching contact.php message-box/labels */
    --announcement-color: #E2E8F0;
    
    /* Layout Tokens */
    --max-width: 1280px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* Transition Defaults */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Premium Gradient Tokens */
    --gradient-primary: linear-gradient(135deg, #92C83E 0%, #7CB02F 100%);
    --gradient-dark: linear-gradient(135deg, #0F141C 0%, #141B27 100%);
    --gradient-blend: linear-gradient(135deg, #0F141C 0%, #1F2937 50%, #92C83E 100%);
    --gradient-text: linear-gradient(135deg, #0F172A 20%, #92C83E 100%);
    --gradient-glow: radial-gradient(circle, rgba(146, 200, 62, 0.14) 0%, rgba(146, 200, 62, 0) 70%);

    /* Premium Sliding Theme Toggle Tokens */
    --theme-toggle-bg: rgba(15, 23, 42, 0.06);
    --theme-toggle-border: #CBD5E1;
    --theme-toggle-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.05);
    --thumb-gradient: linear-gradient(135deg, #FFB300 0%, #FF6D00 100%);
    --thumb-shadow: 0 2px 8px rgba(255, 109, 0, 0.4);
    --icon-light-color: #FFFFFF;
    --icon-dark-color: #64748B;
}

/* Dark Mode Color Overrides (Styled to match contact.php email template palette) */
[data-theme="dark"] {
    --bg-color: #0f141c; /* Deep dark slate navy background from contact.php body */
    --bg-secondary: #141b27; /* Darker slate navy background from contact.php field-label & message-box */
    --text-color: #e2e8f0; /* Crisp light slate body text from contact.php */
    --text-muted: #94a3b8; /* Soft slate label & subheader text from contact.php */
    
    --border-color: #2d3748; /* Sleek slate border from contact.php table & container borders */
    --glass-bg: rgba(26, 34, 48, 0.88); /* Rich dark slate container background (#1a2230) */
    --glass-border: #2d3748; /* Sleek slate border from contact.php */
    --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
    --glow-color: rgba(146, 200, 62, 0.15);
    
    /* Dedicated component colors (Dark Mode) */
    --gradient-cta: linear-gradient(135deg, #111827 0%, #1f2937 100%); /* Header gradient from contact.php */
    --footer-bg: #0f141c; /* Deep dark slate footer matching contact.php */
    --announcement-bg: #141b27; /* Dark slate topbar matching contact.php message-box/labels */
    --announcement-color: #e2e8f0;

    /* Premium Gradients (Dark Mode) */
    --gradient-primary: linear-gradient(135deg, #92C83E 0%, #7CB02F 100%);
    --gradient-dark: linear-gradient(135deg, #0f141c 0%, #141b27 100%);
    --gradient-blend: linear-gradient(135deg, #0f141c 0%, #1f2937 50%, #92C83E 100%);
    --gradient-text: linear-gradient(135deg, #FFFFFF 10%, #cbd5e1 60%, #92C83E 100%);

    /* Premium Sliding Theme Toggle Tokens */
    --theme-toggle-bg: #141b27;
    --theme-toggle-border: #2d3748;
    --theme-toggle-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.4);
    --thumb-gradient: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
    --thumb-shadow: 0 2px 8px rgba(6, 182, 212, 0.4);
    --icon-light-color: #94a3b8;
    --icon-dark-color: #FFFFFF;
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    font-size: 0.875rem; /* Keep text slightly smaller (14px) */
}

p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem; /* Standardize all paragraphs to 14px */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Typography Utility Classes */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.85rem; }

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

.section-tag {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-desc {
    color: var(--text-muted);
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    max-width: 650px;
    margin-bottom: 0rem;
}

/* Common Layout Components */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.section-light {
    background-color: var(--bg-color);
}

.section-dark {
    background-color: var(--bg-secondary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Frosted Glassmorphism Class */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 15px 35px var(--glow-color), var(--card-shadow) !important;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF; /* Reverted to White as requested */
    box-shadow: 0 4px 15px rgba(146, 200, 62, 0.25);
    border: 1.5px solid var(--primary-color);
}

/* Shiny hover overlay effect */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(146, 200, 62, 0.4);
    background-color: #7cb02f; /* Premium dark-green hover state for visibility */
    border-color: #7cb02f;
}

.btn-secondary {
    background-color: var(--bg-color); /* Matches current theme background */
    color: var(--text-color); /* Matches current theme text */
    border: 1.5px solid var(--text-color); /* Matches current theme text */
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    color: var(--primary-color); /* Primary green text on hover */
    background-color: var(--bg-color); 
    border-color: var(--primary-color); /* Primary green border */
    box-shadow: 0 8px 20px var(--glow-color);
}

/* Theme Toggle Button Styles */
.theme-toggle-btn {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 72px;
    height: 38px;
    padding: 0 9px;
    border-radius: 9999px;
    border: 1px solid var(--theme-toggle-border);
    background: var(--theme-toggle-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    box-shadow: var(--theme-toggle-shadow);
    transition: transform var(--transition-normal), border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
    .theme-toggle-btn:hover {
        transform: scale(1.03);
        border-color: var(--primary-color);
        box-shadow: 0 0 15px var(--glow-color), var(--theme-toggle-shadow);
    }

    /* Dynamic width stretching on hover (fluid feel) */
    .theme-toggle-btn:hover::before {
        width: 34px;
    }

    /* Adjust translateX on hover stretch in dark mode to align perfectly */
    [data-theme="dark"] .theme-toggle-btn:hover::before {
        transform: translateX(30px);
    }
}

.theme-toggle-btn:active {
    transform: scale(0.97);
}

/* Sliding Thumb (Pseudo-element) */
.theme-toggle-btn::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--thumb-gradient);
    box-shadow: var(--thumb-shadow);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, box-shadow 0.4s ease, width 0.3s ease;
    z-index: 1;
}

/* Slide to the right in Dark Mode */
[data-theme="dark"] .theme-toggle-btn::before {
    transform: translateX(34px);
}

/* Sun and Moon Icons */
.theme-toggle-btn svg {
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Active and Inactive Colors and Rotations */
.theme-toggle-btn .sun-icon {
    color: var(--icon-light-color);
    transform: rotate(0deg) scale(1);
}

.theme-toggle-btn .moon-icon {
    color: var(--icon-dark-color);
    transform: rotate(45deg) scale(0.9);
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
    transform: rotate(-45deg) scale(0.9);
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
    transform: rotate(0deg) scale(1);
}



/* Micro Interactions & Animations */
.hover-reveal-img {
    transition: transform var(--transition-normal);
}

.hover-reveal-img:hover {
    transform: scale(1.03);
}

.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.scroll-reveal.active {
    opacity: 1;
    transform: none;
}

.scroll-reveal-left {
    opacity: 1;
    transform: none;
    transition: none;
}

.scroll-reveal-left.active {
    opacity: 1;
    transform: none;
}

.scroll-reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
}

.scroll-reveal-right.active {
    opacity: 1;
    transform: none;
}

/* Magic Cursor Styles */
.magic-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.magic-cursor-outer {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

/* Keyframes */


@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(15px) rotate(-2deg); }
}

@media (max-width: 768px) {
    .magic-cursor, .magic-cursor-outer {
        display: none !important;
    }
    .section {
        padding: 2rem 0;
    }
}

/* Floating Support Widgets Container */
.floating-widgets-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

/* Base Floating Button Styles */
.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.08);
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    background-color: #25D366;
    color: #FFFFFF;
}

.whatsapp-btn:hover {
    background-color: #20BA5A;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.wa-btn-icon {
    width: 28px;
    height: 28px;
    font-size: 28px;
    line-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Tooltip on load */
.btn-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FFFFFF;
    color: #1A1A1A;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    animation: tooltip-fade 0.5s ease forwards;
    pointer-events: none;
    display: none;
}

@keyframes tooltip-fade {
    0% { opacity: 0; transform: translateY(-50%) translateX(10px); }
    100% { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* WhatsApp Drawer Styling */
.whatsapp-chat-drawer {
    position: absolute;
    bottom: 68px;
    right: 0;
    width: 320px;
    background-color: #FFFFFF;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: drawer-fade-in 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    z-index: 1000;
}

@keyframes drawer-fade-in {
    0% { opacity: 0; transform: translateY(15px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.whatsapp-drawer-header {
    background-color: #25D366;
    color: #FFFFFF;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.wa-header-icon {
    width: 38px;
    height: 38px;
}

.wa-header-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.wa-header-text p {
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.3;
}

.whatsapp-drawer-body {
    padding: 1.25rem;
    background-color: #F8F9FA;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wa-body-caption {
    font-size: 0.75rem;
    color: #666666;
    text-align: center;
}

.wa-agent-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #FFFFFF;
    padding: 0.85rem 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #1A1A1A;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.wa-agent-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.wa-agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: relative;
}

.avatar-dot.online {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background-color: #4CAF50;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

.wa-agent-info h5 {
    font-size: 0.88rem;
    font-weight: 700;
}

.wa-agent-info p {
    font-size: 0.75rem;
    color: #666666;
}

.wa-link-icon {
    width: 20px;
    height: 20px;
    color: #25D366;
    margin-left: auto;
}

/* FAQ Instant Chat Widget */
.faq-chat-btn {
    background-color: #007BFF;
    color: #FFFFFF;
}

.faq-chat-btn:hover {
    background-color: #0069D9;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35);
}

.chat-btn-icon {
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.close-btn-icon {
    width: 24px;
    height: 24px;
}

.faq-chat-drawer {
    position: absolute;
    bottom: 68px;
    right: 0;
    width: 340px;
    background-color: #FFFFFF;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: drawer-fade-in 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    z-index: 1000;
}

.faq-chat-header {
    background-color: #007BFF;
    color: #FFFFFF;
    padding: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    animation: status-dot-pulse 1.8s infinite;
}

@keyframes status-dot-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(76, 175, 80, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.drawer-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.6rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.drawer-close-btn:hover {
    color: #FFFFFF;
    transform: scale(1.15);
}

.faq-header-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.faq-header-info p {
    font-size: 0.75rem;
    opacity: 0.9;
}

.faq-chat-body {
    padding: 1.25rem;
    max-height: 380px;
    overflow-y: auto;
    background-color: #F8F9FA;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    padding: 0.85rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.88rem;
    line-height: 1.45;
    max-width: 85%;
}

.bot-message {
    background-color: #E2E3E5;
    color: #1A1A1A;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.user-message {
    background-color: #007BFF;
    color: #FFFFFF;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.faq-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.faq-option-btn {
    text-align: left;
    background-color: #FFFFFF;
    color: #007BFF;
    border: 1px solid rgba(0, 123, 255, 0.2);
    padding: 0.65rem 0.9rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.faq-option-btn:hover {
    background-color: #007BFF;
    color: #FFFFFF;
}

/* Close button animations when drawer is active */
.floating-btn.active {
    background-color: #DC3545 !important;
}

[data-theme="dark"] .whatsapp-chat-drawer,
[data-theme="dark"] .faq-chat-drawer {
    background-color: #141b27;
    border-color: #2d3748;
}

[data-theme="dark"] .whatsapp-drawer-body,
[data-theme="dark"] .faq-chat-body {
    background-color: #0f141c;
}

[data-theme="dark"] .wa-agent-row {
    background-color: #1a2230;
    border-color: #2d3748;
    color: #e2e8f0;
}

[data-theme="dark"] .bot-message {
    background-color: #1a2230;
    color: #e2e8f0;
}

[data-theme="dark"] .faq-option-btn {
    background-color: #1a2230;
    border-color: #2d3748;
}

[data-theme="dark"] .btn-tooltip {
    background-color: #141b27;
    color: #e2e8f0;
    border-color: #2d3748;
}

@media (max-width:426px) {
.btn {
    padding: 0.8rem 1.2rem;
}
}

/* ==========================================================================
   Mobile App Bottom Navigation Bar System
   ========================================================================== */
.mobile-app-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 62px;
    background: rgba(244, 246, 241, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
    z-index: 1001;
    align-items: center;
    justify-content: space-around;
    padding: 0 0.25rem calc(0px + env(safe-area-inset-bottom, 0px)) 0.25rem;
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="dark"] .mobile-app-bottom-bar {
    background: rgba(15, 20, 28, 0.95);
    border-top-color: #2d3748;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .mobile-app-bottom-bar {
        display: flex;
    }

    body {
        padding-bottom: 62px;
    }

    .floating-widgets-container {
        bottom: 78px;
    }
}

.app-tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 100%;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    transition: color var(--transition-fast), transform var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}

.app-tab-item i,
.app-tab-item svg,
.app-tab-item .tab-icon {
    width: 22px;
    height: 22px;
    font-size: 1.2rem;
    stroke-width: 1.75px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast), color var(--transition-fast), stroke var(--transition-fast);
}

.app-tab-item:hover,
.app-tab-item:focus {
    color: var(--primary-color);
}

.app-tab-item:hover svg,
.app-tab-item:focus svg {
    stroke: var(--primary-color);
}

.app-tab-item.active {
    color: var(--primary-color);
    font-weight: 700;
}

.app-tab-item.active i,
.app-tab-item.active svg {
    transform: translateY(-2px) scale(1.08);
    color: var(--primary-color);
    stroke: var(--primary-color);
}

/* Active Top Glow Line Indicator */
.app-tab-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(146, 200, 62, 0.5);
}