/* =========================================================================
   WATNEOPORTAL PREMIUM DESIGN SYSTEM (VANILLA CSS)
   ========================================================================= */

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

:root {
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Theme colors: Official WhatsApp Branding Combination */
    --primary: #008069; /* WhatsApp Dark Green */
    --primary-hover: #005e4d; /* WhatsApp Deep Green Hover */
    --primary-glow: rgba(0, 128, 105, 0.08);
    --secondary: #25D366; /* WhatsApp Active Green */
    --accent: #00a884; /* WhatsApp Teal Accent */
    --dark: #111b21; /* WhatsApp Deep Dark Text */
    --dark-surface: #202c33; /* WhatsApp Web Chat bg dark */
    --light: #f0f2f5; /* WhatsApp light app body gray */
    --light-surface: #ffffff; /* White card face */
    --border-color: #e9edef; /* Official WhatsApp Web border */
    --text-primary: #111b21; /* WhatsApp Primary Text */
    --text-secondary: #54656f; /* WhatsApp Secondary Text */
    --text-muted: #8696a0; /* WhatsApp Soft Meta Text */

    /* Gradients: Premium subtle gradients matching WhatsApp */
    --gradient-primary: linear-gradient(135deg, #008069 0%, #128c7e 100%); 
    --gradient-dark: #111b21;
    --gradient-card: #ffffff;

    /* Shadows: Premium modern soft shadows */
    --shadow-sm: 0 1px 2px 0 rgba(11, 27, 33, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(11, 27, 33, 0.05), 0 2px 4px -2px rgba(11, 27, 33, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(11, 27, 33, 0.04), 0 4px 6px -4px rgba(11, 27, 33, 0.04);
    --shadow-glow: 0 0 20px rgba(0, 128, 105, 0.15);
    
    /* Smooth modern corner radii */
    --radius-sm: 8px; 
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* watneo.com dark design variables */
    --waba-green: #25D366;
    --waba-dark-green: #075E54;
    --waba-teal: #128C7E;
    --waba-dark-bg: #0c0f1c;
    --waba-card-bg: #1a1f35;
    --waba-border: rgba(255, 255, 255, 0.1);
    --waba-text-light: #ffffff;
    --waba-text-muted: #e0e0e0;
    --waba-text-gray: #b0b0b0;

    /* official whatsapp.com brand color palette for light pages */
    --wa-bg-light: #ffffff;
    --wa-bg-gray: #f8fafc;
    --wa-bg-mint: #f4fbf7;
    --wa-text-dark: #111b21;
    --wa-text-muted: #54656f;
    --wa-dark-green: #008069;
    --wa-green: #25D366;
    --wa-teal: #128C7E;
    --wa-border: #e2e8f0;
    --wa-card-bg: #ffffff;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.625;
    font-size: 0.95rem; /* Clean, modern body size */
    letter-spacing: -0.02em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.035em; /* Sleek modern tracking */
    margin-bottom: 0.75rem;
}
h1 { font-size: 2.5rem; line-height: 1.15; font-weight: 800; }
h2 { font-size: 2rem; line-height: 1.2; font-weight: 800; }
h3 { font-size: 1.5rem; line-height: 1.25; font-weight: 700; }
h4 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
h5 { font-size: 1.1rem; line-height: 1.35; font-weight: 600; }
h6 { font-size: 0.95rem; line-height: 1.4; font-weight: 600; }

/* NAVBAR CUSTOMIZATION */
.navbar-premium {
    background: #ffffff !important;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 0.8rem 0;
}
.navbar-premium .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.navbar-premium .nav-link {
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: 0.5rem 1.1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.navbar-premium .nav-link:hover {
    color: var(--primary) !important;
    background: rgba(18, 140, 126, 0.05);
}
.navbar-premium .nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* PREMIUM BUTTONS */
.btn-premium {
    background: var(--primary);
    color: white !important;
    font-weight: 600;
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--primary);
    transition: var(--transition);
}
.btn-premium:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}
.btn-premium-outline {
    background: transparent;
    color: var(--primary) !important;
    font-weight: 600;
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--primary);
    transition: var(--transition);
}
.btn-premium-outline:hover {
    background: var(--primary);
    color: white !important;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 2.5rem 0 3.5rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}
.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    font-weight: 800;
}
.hero-title span {
    color: var(--primary);
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* CARDS & CONTAINERS */
.card-premium {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}
.card-premium:hover {
    border-color: var(--primary);
}
.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 140, 126, 0.06);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
    border: 1px solid rgba(18, 140, 126, 0.1);
}
.card-premium:hover .card-icon {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* SECTION HEADERS */
.section-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(18, 140, 126, 0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 1px solid rgba(18, 140, 126, 0.15);
}
.section-title {
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

/* PREBUILT TEMPLATE GALLERY VIEW */
.gallery-tab {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
    justify-content: center;
}
.gallery-tab-btn {
    border: 1px solid var(--border-color);
    background: white;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm); /* Flat look corners instead of pill-shaped */
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}
.gallery-tab-btn:hover, .gallery-tab-btn.active {
    background: var(--primary);
    color: white !important;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.template-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.template-header-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}
.template-phone-mockup {
    background: #efeae2;
    border-radius: var(--radius-md); /* Flat look corner radius */
    border: 1px solid #ddd;
    padding: 1rem;
    font-family: inherit;
    font-size: 0.85rem;
    margin: 1rem 0;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.template-message-bubble {
    background: #e1ffc7;
    border-radius: 8px 8px 8px 0;
    padding: 0.8rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    color: #303030;
    position: relative;
    max-width: 90%;
}
.template-message-footer {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.4rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 0.4rem;
}
.template-message-button {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.4rem;
    text-align: center;
    color: #075E54;
    font-weight: 600;
    margin-top: 0.5rem;
    cursor: pointer;
}

/* FOOTER CUSTOMIZATION */
.footer-premium {
    background: var(--dark);
    color: var(--text-muted);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--dark-surface);
}
.footer-premium h5 {
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.footer-premium a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.footer-premium a:hover {
    color: var(--accent);
    padding-left: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.9rem;
}

/* MICRO-ANIMATIONS */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.float-element {
    animation: float 4s ease-in-out infinite;
}

/* =========================================================================
   COMPACT & PROFESSIONAL WORKSPACE OVERLAY FOR PORTALS (LIGHT FLAT LAYOUT)
   ========================================================================= */

.portal-wrapper {
    font-size: 0.875rem !important; /* Standard, highly readable professional base size */
}

.portal-sidebar {
    width: 240px !important;
}

.portal-sidebar .logo {
    padding: 1rem 1.25rem !important;
    font-size: 1.25rem !important; /* Elegant logo sizing */
    letter-spacing: 1px !important;
}

.sidebar-menu {
    padding: 0.75rem 0.5rem !important;
}

.sidebar-link {
    padding: 0.55rem 0.9rem !important;
    font-size: 0.875rem !important; /* Professional sidebar link size */
    gap: 0.6rem !important;
}

.sidebar-link i {
    font-size: 1rem !important;
}

.portal-header {
    padding: 0.65rem 1.5rem !important; /* Compact header */
}

.portal-header .font-heading {
    font-size: 1.1rem !important;
}

.portal-body {
    padding: 1.5rem !important; /* Compact panel padding */
}

/* Compact Widget/KPI boxes */
.widget-box {
    padding: 1.15rem 1.25rem !important;
    border-radius: var(--radius-sm) !important;
}

.widget-box h3 {
    font-size: 1.625rem !important; /* Well proportioned metric numbers */
    margin-bottom: 0.2rem !important;
}

.widget-box h6 {
    font-size: 0.725rem !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
}

.widget-icon {
    font-size: 1.35rem !important;
    width: 44px !important;
    height: 44px !important;
}

/* Compact spacious-looking Tables */
.table th {
    padding: 0.75rem 0.6rem !important; 
    font-size: 0.725rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

.table td {
    padding: 0.75rem 0.6rem !important;
    font-size: 0.875rem !important;
}

.form-select, .form-control {
    padding: 0.475rem 0.75rem !important; /* Professional standard size inputs */
    font-size: 0.875rem !important;
}

.btn-premium, .btn-premium-outline {
    padding: 0.45rem 1.15rem !important;
    font-size: 0.85rem !important;
}

/* =========================================================================
   BOOTSTRAP OVERRIDES FOR COMPLETE FLAT LOOK
   ========================================================================= */

/* 1. Global Box Shadow Eraser */
.shadow, .shadow-sm, .shadow-md, .shadow-lg, .shadow-xl, .shadow-2xl, .shadow-none {
    box-shadow: none !important;
    border: 1px solid var(--border-color) !important;
}

/* 2. Global Border Radius Adjustments for Crisp Flat Aesthetics */
.rounded, .rounded-1, .rounded-2, .rounded-3, .rounded-4, .rounded-5, .rounded-pill {
    border-radius: var(--radius-sm) !important;
}
.rounded-circle {
    /* Circle dimensions are allowed but must remain flat */
    box-shadow: none !important;
}

/* 3. Global Color Overrides for Brand Consistency */

/* Success Mapping: default leaf green -> brand teal */
.bg-success {
    background-color: var(--primary) !important;
}
.text-success {
    color: var(--primary) !important;
}
.border-success {
    border-color: var(--primary) !important;
}
.bg-success-subtle {
    background-color: var(--primary-glow) !important;
    color: var(--primary) !important;
}
.btn-success {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #ffffff !important;
}
.btn-outline-success {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
}
.btn-outline-success:hover, .btn-outline-success:focus, .btn-outline-success:active {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
}

/* Primary Mapping: default bootstrap blue -> brand teal or dark slate */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: none !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #ffffff !important;
}
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
}
.bg-primary {
    background-color: var(--primary) !important;
}
.text-primary {
    color: var(--primary) !important;
}

/* 4. Form inputs flat styling */
.form-control, .form-select, .input-group-text {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: none !important;
    font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: none !important;
    outline: none;
}

/* 5. Alerts flat styling */
.alert {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: none !important;
}

/* 6. Premium Badges Styling */
.badge {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid transparent;
}

/* 7. Premium Dashboard Metrics & Stats */
.widget-box h3 {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: 1.85rem !important;
    letter-spacing: -0.03em !important;
    color: #0f172a !important;
}
.widget-box h6 {
    font-size: 0.725rem !important;
    letter-spacing: 0.08em !important;
    font-weight: 700 !important;
    color: #64748b !important;
}
.widget-icon {
    border-radius: var(--radius-sm) !important;
}
.portal-sidebar .logo {
    font-size: 1.5rem !important;
}
.sidebar-link {
    font-family: var(--font-heading) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
}
.font-heading {
    font-family: var(--font-heading) !important;
}

/* =========================================================================
   PUBLIC PORTAL REDESIGN: Sleek Modern Dark Mode / Glassmorphism Design
   ========================================================================= */

.public-body {
    background-color: #ffffff !important; /* Pure white background */
    color: #0f172a !important; /* Premium dark slate text */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    overflow-x: hidden;
}

.public-body main {
    background-color: #ffffff !important;
}

.public-body h1, 
.public-body h2, 
.public-body h3, 
.public-body h4, 
.public-body h5, 
.public-body h6 {
    color: #0f172a !important; /* Crisp high-contrast headlines */
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.public-body h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #0f172a 40%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.public-body p, 
.public-body li, 
.public-body label, 
.public-body div:not(.whatsapp-chatbot-container):not(.whatsapp-chatbot-container *):not(.template-message-bubble):not(.whatsapp-phone-frame):not(.whatsapp-phone-frame *):not(.bg-success):not(.btn):not(.client-avatar):not(.stat-number):not(.stat-card):not(.section-tag) {
    color: #475569 !important; /* Soft slate gray body text */
}

.public-body a:not(.btn) {
    color: #008069;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.public-body a:not(.btn):hover {
    color: #00a884;
    text-shadow: none;
}

/* Gradient text utility */
.public-body .gradient-text {
    background: linear-gradient(135deg, #008069 0%, #00a884 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* NAVIGATION HEADER (Clean White Glass) */
.public-body .navbar-premium {
    background-color: rgba(240, 253, 244, 0.95) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 14px 0;
    transition: var(--transition);
}

.public-body .navbar-premium .navbar-brand {
    color: #008069 !important;
    font-weight: 800;
    font-size: 1.6rem;
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
}

.public-body .navbar-premium .navbar-brand i {
    color: #008069 !important;
    filter: none;
}

.public-body .navbar-premium .nav-link {
    color: #475569 !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 12px !important;
    border-radius: 8px;
    transition: var(--transition);
}

.public-body .navbar-premium .nav-link:hover,
.public-body .navbar-premium .nav-link.active {
    color: #008069 !important;
    background: rgba(0, 128, 105, 0.05) !important;
}

/* BUTTONS (WhatsApp Corporate Green) */
.public-body .btn-premium {
    background: linear-gradient(135deg, #008069 0%, #00a884 100%) !important;
    border: 1px solid rgba(0, 128, 105, 0.1) !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 700;
    padding: 11px 28px;
    box-shadow: 0 4px 15px rgba(0, 128, 105, 0.15) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.public-body .btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s ease;
    z-index: -1;
}

.public-body .btn-premium:hover::before {
    left: 100%;
}

.public-body .btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 128, 105, 0.3) !important;
    border-color: rgba(0, 128, 105, 0.2) !important;
}

.public-body .btn-premium-outline {
    background-color: transparent !important;
    border: 1.5px solid #008069 !important;
    color: #008069 !important;
    border-radius: 50px !important;
    font-weight: 600;
    padding: 10px 28px;
    transition: var(--transition);
}

.public-body .btn-premium-outline:hover {
    background-color: rgba(0, 128, 105, 0.05) !important;
    color: #008069 !important;
    border-color: #00a884 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 128, 105, 0.1);
}

/* SECTIONS (Clean Layouts) */
.public-body .hero-section {
    background: #f0fdf4 !important;
    padding: 60px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    position: relative;
}

.public-body .section-tag {
    background: rgba(0, 128, 105, 0.06) !important;
    border: 1px solid rgba(0, 128, 105, 0.18) !important;
    color: #008069 !important;
    border-radius: 50px !important;
    padding: 6px 18px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
}

.public-body .section-title {
    color: #0f172a !important;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.030em;
}

/* CARDS (Clean White & Soft Shadows) */
.public-body .card-premium,
.public-body .card-feature,
.public-body .industry-card,
.public-body .testimonial-card,
.public-body .contact-info-box,
.public-body .glass-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 30px;
    backdrop-filter: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.public-body .card-premium:hover,
.public-body .card-feature:hover,
.public-body .industry-card:hover,
.public-body .testimonial-card:hover,
.public-body .contact-info-box:hover,
.public-body .glass-card:hover {
    border-color: rgba(0, 128, 105, 0.25) !important;
    box-shadow: 0 15px 35px rgba(0, 128, 105, 0.06) !important;
    transform: translateY(-5px);
    background: #ffffff !important;
}

.public-body .card-icon,
.public-body .icon-wrapper,
.public-body .industry-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 128, 105, 0.06) !important;
    border-radius: 16px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008069 !important;
    margin-bottom: 24px;
    font-size: 1.6rem;
    border: 1px solid rgba(0, 128, 105, 0.12) !important;
    transition: var(--transition);
}

.public-body .card-premium:hover .card-icon,
.public-body .card-feature:hover .icon-wrapper,
.public-body .industry-card:hover .industry-icon {
    color: #ffffff !important;
    background: linear-gradient(135deg, #008069 0%, #00a884 100%) !important;
    transform: scale(1.05) rotate(3deg);
}

.public-body .stat-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01) !important;
    transition: var(--transition);
}

.public-body .stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 128, 105, 0.2) !important;
    box-shadow: 0 10px 25px rgba(0, 128, 105, 0.04) !important;
}

.public-body .stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #008069 40%, #00a884 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
}

.public-body .api-badge {
    display: inline-block;
    background: rgba(0, 128, 105, 0.05);
    border: 1px solid rgba(0, 128, 105, 0.15);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-bottom: 12px;
    color: #008069 !important;
    font-weight: 600;
}

/* INTERACTIVE SIMULATOR (CLEAN TECH) */
.public-body .card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
}

.public-body .card-header {
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

.public-body #simInputsContainer {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
}

.public-body #simInputsContainer label {
    color: #475569 !important;
}

.public-body .form-control,
.public-body .form-select {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 10px !important;
    padding: 9px 14px !important;
    font-size: 0.9rem !important;
    transition: all 0.25s ease;
}

.public-body .form-control:focus,
.public-body .form-select:focus {
    background-color: #ffffff !important;
    border-color: #008069 !important;
    color: #0f172a !important;
    box-shadow: 0 0 15px rgba(0, 128, 105, 0.1) !important;
}

.public-body .form-select option,
.public-body select option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

.public-body .form-control::placeholder {
    color: #94a3b8 !important;
}

/* ACCORDIONS (FAQ) */
.public-body .accordion-item {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01) !important;
}

.public-body .accordion-button {
    background-color: #ffffff !important;
    color: #0f172a !important;
    box-shadow: none !important;
    font-size: 1.1rem;
    padding: 22px;
}

.public-body .accordion-button:not(.collapsed) {
    color: #008069 !important;
    background-color: #f0fdf4 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.public-body .accordion-body {
    background-color: #ffffff !important;
    color: #475569 !important;
    padding: 22px;
    line-height: 1.7;
}

.public-body .badge {
    background: rgba(0, 128, 105, 0.05) !important;
    color: #008069 !important;
    border: 1px solid rgba(0, 128, 105, 0.15) !important;
    border-radius: 20px !important;
}

.public-body .client-avatar {
    width: 56px;
    height: 56px;
    background: rgba(0, 128, 105, 0.08) !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #008069 !important;
    border: 1px solid rgba(0, 128, 105, 0.15) !important;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    animation: pulse 2s infinite;
    transition: transform 0.3s;
}

.whatsapp-fixed:hover {
    transform: scale(1.08);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* FOOTER STYLING ON PUBLIC PAGES */
.public-body .footer-premium {
    background-color: #f1f5f9 !important;
    border-top: 1px solid #cbd5e1 !important;
    padding: 30px 0 !important;
}

.public-body .footer-premium,
.public-body .footer-premium p,
.public-body .footer-premium li,
.public-body .footer-premium a,
.public-body .footer-premium div:not(.bg-success):not(.section-tag) {
    color: #1e293b !important;
}

.public-body .footer-premium h5,
.public-body .footer-premium h5 i {
    color: #0f172a !important;
    font-weight: 700;
    font-family: var(--font-heading);
}

.public-body .footer-premium a {
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition);
}

.public-body .footer-premium a:hover {
    color: #008069 !important;
    padding-left: 4px;
}

.public-body .footer-bottom,
.public-body .footer-bottom div,
.public-body .footer-bottom a {
    color: #64748b !important;
}

.public-body .footer-bottom a:hover {
    color: #008069 !important;
}

/* Visually separated homepage component backgrounds */
.public-body section {
    border-bottom: 1px solid #e2e8f0 !important;
}

.public-body .bg-light {
    background-color: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.public-body .bg-mint,
.public-body .bg-light {
    background-color: #f0fdf4 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.public-body .bg-white {
    background-color: #ffffff !important;
}

.public-body .py-6 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

/* 3D-angled Hero Image style */
.public-body .hero-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #cbd5e1;
}

.public-body .hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

.public-body .hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #ffffff 90%, transparent);
    padding: 30px;
    border-radius: 0 0 24px 24px;
}

.public-body .hero-image-overlay h5 {
    color: #0f172a !important;
    font-weight: 700;
}

.public-body .hero-image-overlay p {
    color: #475569 !important;
}

/* TABLES STYLING */
.public-body .table-responsive {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
}

.public-body .table {
    background-color: transparent !important;
    color: #0f172a !important;
}

.public-body .table th {
    background-color: #f8fafc !important;
    color: #008069 !important;
    border-bottom: 2px solid #cbd5e1 !important;
}

.public-body .table td {
    color: #475569 !important;
    border-bottom: 1px solid #cbd5e1 !important;
}

.public-body .table tr:hover td {
    background-color: rgba(0, 128, 105, 0.03) !important;
}

.public-body .dataTables_wrapper .dataTables_filter input {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
}

.public-body .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #475569 !important;
}

.public-body .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #008069 !important;
    border-color: #008069 !important;
    color: white !important;
}

/* CHATBOT FLOATING DIALOG */
.whatsapp-chatbot-container #chatbotBox {
    border-radius: 24px !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
}

.whatsapp-chatbot-container #chatbotHistory .align-self-start {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

.whatsapp-chatbot-container #chatbotHistory .align-self-end {
    background-color: #dcfce7 !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 128, 105, 0.15) !important;
}

/* Gallery & Templates Adjustments */
.public-body .gallery-tab-btn {
    background-color: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}

.public-body .gallery-tab-btn:hover, 
.public-body .gallery-tab-btn.active {
    background-color: #008069 !important;
    color: #ffffff !important;
    border-color: #008069 !important;
    font-weight: 700;
}

.public-body .template-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 24px !important;
    transition: all 0.3s ease;
}

.public-body .template-card:hover {
    border-color: rgba(0, 128, 105, 0.25) !important;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 128, 105, 0.04) !important;
}

.public-body .bg-light-surface {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.public-body .border-success-subtle {
    border-color: rgba(0, 128, 105, 0.15) !important;
}

/* Prebuilt Template Mockup styling on Light Theme */
.public-body .template-phone-mockup {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    padding: 1rem;
    font-family: inherit;
    font-size: 0.85rem;
    margin: 1rem 0;
    position: relative;
}

.public-body .template-message-bubble {
    background: #dcfce7 !important;
    color: #0f172a !important;
    border-radius: 12px 12px 12px 0 !important;
    border: 1px solid rgba(0, 128, 105, 0.15) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    padding: 0.8rem;
    max-width: 90%;
    position: relative;
}

.public-body .template-message-footer {
    color: #475569 !important;
    border-top: 1px solid rgba(0, 128, 105, 0.1) !important;
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    font-size: 0.75rem;
}

.public-body .template-message-button {
    background: #ffffff !important;
    border: 1px solid rgba(0, 128, 105, 0.15) !important;
    color: #008069 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 0.4rem;
    text-align: center;
    margin-top: 0.5rem;
    cursor: pointer;
}