/* Design Variables - Innovation Center Inspired (Minimalist & Professional) */
:root {
    --bg-white: #ffffff;
    --bg-offwhite: #f8f9fa;
    --bg-navy: #002147;
    --bg-dark-navy: #001833;
    
    --text-dark: #002147;
    --text-muted: #5e6d82;
    --text-light: #ffffff;
    --text-white-muted: rgba(255, 255, 255, 0.7);
    
    --accent-blue: #0ea5e9;
    --accent-teal: #14b8a6;
    
    --grid-line: rgba(0, 33, 71, 0.05); /* Light gray lines for white sections */
    --grid-line-on-dark: rgba(255, 255, 255, 0.05); /* Soft line for dark sections */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    
    --section-padding: 10rem 2rem;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
}

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

/* Precise Grid Background Pattern */
.site-builder-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    pointer-events: none;
    z-index: -1;
}

.site-builder-lines .line {
    border-right: 1px solid var(--grid-line);
    height: 100%;
}

.site-builder-lines .line:last-child {
    border-right: none;
}

/* Section Colors Handling (rhythmic alternation) */
section.dark-section {
    background-color: var(--bg-navy);
    color: var(--text-light);
}

section.dark-section .grid-line-overlay .line {
    border-right-color: var(--grid-line-on-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Navigation - Minimal & Professional */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 33, 71, 0.1);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2.5rem; /* Perfect alignment with section container */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.25rem; /* Increased significantly for power */
    font-weight: 800;
    color: var(--bg-navy);
    text-decoration: none;
    letter-spacing: -0.05em;
    line-height: 1;
}

.logo .dot { 
    color: var(--accent-blue);
    text-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

.subsidiary-badge {
    font-size: 0.85rem; /* Larger and more readable */
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.subsidiary-badge strong {
    color: #b8922e; /* Deep professional gold */
    border-bottom: 1.5px solid #b8922e;
    padding-bottom: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active-nav {
    opacity: 1;
    color: var(--accent-blue);
}

/* Buttons - Solid Pill style for IC feel */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 0; /* Professional straight edges from IC inspo */
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--bg-navy);
    color: #fff !important;
    border: 1px solid var(--bg-navy);
}

.btn-primary:hover {
    background: var(--bg-dark-navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 33, 71, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--bg-navy);
}

.btn-secondary:hover {
    background: var(--bg-navy);
    color: white !important;
    transform: translateY(-2px);
}

section.dark-section .btn-secondary {
    color: white;
    border-color: white;
}

section.dark-section .btn-secondary:hover {
    background: white;
    color: var(--bg-navy) !important;
}

/* Layout Core */
.section {
    position: relative;
    padding: 10rem 0; /* Vertical padding only, let container handle horizontal */
    overflow: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem; /* Matches nav-container exactly */
}

/* Hero Section - Minimalist Professionalism */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

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

.hero h1 {
    font-size: 6rem; /* Huge impact from IC inspo */
    margin-bottom: 2rem;
    color: var(--bg-navy);
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    line-height: 1.6;
    max-width: 85%;
}

.hero-actions { display: flex; gap: 1.5rem; }

.hero-visual {
    position: relative;
}

.mockup-card {
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid rgba(0, 33, 71, 0.1);
    padding: 3rem;
    box-shadow: 0 40px 80px rgba(0, 33, 71, 0.08);
}

/* Active Engine Mockup Styles */
.active-engine {
    padding: 2.5rem !important;
    background: #fff;
    border-left: 6px solid var(--accent-blue);
}

.mockup-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 33, 71, 0.05);
}

.engine-id {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--bg-navy);
    letter-spacing: 0.1em;
}

.status-beat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.beat-dot {
    width: 6px;
    height: 6px;
    background: #14b8a6;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(20, 184, 166, 0.8);
    animation: engine-pulse 2s infinite;
}

.beat-text {
    font-size: 0.65rem;
    font-weight: 800;
    color: #14b8a6;
    letter-spacing: 0.05em;
}

.engine-main-metric {
    margin-bottom: 2rem;
}

.metric-val {
    display: block;
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    color: var(--bg-navy);
    letter-spacing: -0.04em;
}

.metric-lab {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    display: block;
}

.mini-metrics {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.m-item {
    display: flex;
    flex-direction: column;
}

.m-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-navy);
}

.m-lab {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.m-line {
    width: 1px;
    height: 30px;
    background: rgba(0, 33, 71, 0.1);
}

.deployment-stream {
    background: #f8fafc;
    border-radius: 2px;
    padding: 1.25rem;
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.stream-line {
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.75rem;
}

.stream-line:last-child { margin-bottom: 0; }

.stream-line .suc { color: #14b8a6; font-weight: 800; }
.stream-line .ld { color: var(--accent-blue); animation: spin 2s linear infinite; display: inline-block; }

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

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Stats Section - IC checkerboard vibe */
.stats-section {
    background: var(--bg-navy);
    color: white;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
}

.stat-item {
    padding: 5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.stat-big {
    font-size: 4rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

/* Grid Line Overlay for sections */
.grid-line-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    pointer-events: none;
    z-index: 0;
}

.grid-line-overlay .line {
    border-right: 1px solid var(--grid-line);
    height: 100%;
}

.container-relative {
    position: relative;
    z-index: 1;
}

/* Features Grid - Minimal Cards */
.section-title {
    font-size: 4rem;
    margin-bottom: 5rem;
    color: var(--bg-navy);
}

.diagonal-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(0, 33, 71, 0.1);
}

.feature-card {
    padding: 3rem;
    background: #ffffff;
    border: 1px solid rgba(0, 33, 71, 0.1);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    line-height: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--bg-navy);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 0;
}

.solution-card {
    padding: 5rem 4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.solution-number {
    font-size: 8rem;
    position: absolute;
    top: 2rem;
    right: 2rem;
    opacity: 0.05;
    font-weight: 900;
}

.solution-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.solution-list {
    list-style: none;
    margin-top: 2rem;
}

.solution-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Globally Ambitious Section Styling */
.global-section {
    padding: 5rem 0 3rem; /* Reduced for ultra-flat architectural feel */
}

.global-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px; /* Reduced for ultra-flat architectural look */
    gap: 1rem;
    margin-top: 4rem;
}

.location-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.85);
}

.location-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.location-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0, 33, 71, 0.6) 0%, transparent 60%);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.location-overlay h3 {
    color: white;
    font-size: 1.5rem; /* Slightly smaller for compact grid */
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.explore-circle {
    width: 80px; /* Scaled down for compact grid */
    height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.location-card:hover .explore-circle {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 1024px) {
    .global-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .global-grid {
        grid-template-columns: 1fr;
    }
    .location-card {
        grid-auto-rows: 300px;
    }
}

/* Subsidiary & Trust Banner (New Profile Section) */
.subsidiary-banner {
    padding: 10rem 0 6rem; /* Increased top padding to push content down */
    position: relative;
    background: linear-gradient(to right, #00152b 0%, var(--bg-navy) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.subsidiary-brand {
    flex: 1;
}

.sub-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.aicrib-huge {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-right: 0.5rem;
}

.parent-logo-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.th-logo-square {
    width: 60px;
    height: 60px;
    background: #e2c97e; /* Gold brand color from logo */
    color: #002147;
    font-size: 1.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(226, 201, 126, 0.2);
}

.parent-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #e2e8f0;
    letter-spacing: -0.02em;
}

.parent-name span {
    font-size: 1.5rem;
    color: #e2c97e;
    vertical-align: top;
    opacity: 0.6;
}

.service-pill-row {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.05em;
}

.banner-metrics {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex: 0 0 auto;
}

.b-metric {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.b-val {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 900;
    color: #e2c97e;
    line-height: 1;
}

.b-lab {
    font-size: 0.6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.6;
}

.b-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 5rem;
    }
    .parent-logo-group {
        justify-content: center;
    }
}

/* Contact Form - Professional Minimal */
.contact-section {
    padding: 4rem 0;
    background: var(--bg-offwhite);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: flex-start;
}

.contact-form {
    padding: 0;
    background: transparent;
    display: grid;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid rgba(0, 33, 71, 0.1);
    background: transparent;
    font-size: 1.1rem;
    font-family: inherit;
    color: var(--bg-navy);
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--bg-navy);
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--bg-navy);
}

/* Footer - Minimalist Architectural Style (Matching IC Inspo) */
.glass-footer {
    background: var(--bg-navy);
    color: white;
    padding: 3rem 0 2.5rem; /* Ultra-compact as requested */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-bar {
    background: rgba(0, 0, 0, 0.3); /* Dark secondary bar at base */
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
    display: flex;
    justify-content: flex-end; /* Align to right like in user image screenshot footer section */
}

.social-links-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}

.social-links-row a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.f-legal-links a {
    color: rgba(255, 255, 255, 0.6); /* Restored light architectural gray */
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none; /* Removed the default blue/purple underlines */
    transition: var(--transition-smooth);
}

.f-legal-links a:hover {
    color: white;
}

.social-links-row a:hover {
    color: white;
    transform: translateY(-2px);
}

.social-icon-box {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
}

/* ===== PREMIUM AI FLOATING ASSISTANT ===== */
.chatbot-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 10000;
}

.chatbot-toggle {
    width: 50px; /* Compact & Architectural */
    height: 50px;
    background: linear-gradient(135deg, #4169e1 0%, #002147 100%); /* Royal to Deep Blue */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(65, 105, 225, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    animation: floatingAdvisor 5s ease-in-out infinite; /* Flying effect */
}

@keyframes floatingAdvisor {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2px, -8px) rotate(2deg); }
    50% { transform: translate(-2px, -4px) rotate(-2deg); }
    75% { transform: translate(2px, -6px) rotate(2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.chatbot-toggle:hover {
    transform: scale(1.15) !important;
    animation-play-state: paused;
    box-shadow: 0 15px 35px rgba(226, 201, 126, 0.7);
}

.chat-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.chatbot-panel {
    position: absolute;
    bottom: 4rem;
    right: 0;
    width: 340px; /* Reduced space */
    background: white;
    box-shadow: 0 30px 70px rgba(0, 33, 71, 0.3);
    display: none;
    flex-direction: column;
    border: 1px solid rgba(0, 33, 71, 0.1);
    transform-origin: bottom right;
    animation: advisorFlyIn 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes advisorFlyIn {
    from { 
        transform: scale(0.5) translateY(50px) rotate(5deg); 
        opacity: 0; 
    }
    to { 
        transform: scale(1) translateY(0) rotate(0deg); 
        opacity: 1; 
    }
}

.chatbot-panel.active {
    display: flex;
}

.chatbot-header {
    background: var(--bg-navy);
    padding: 1.25rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.advisor-thumb {
    width: 36px;
    height: 36px;
    background: #e2c97e;
    color: var(--bg-navy);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.advisor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.advisor-name {
    font-weight: 700;
    font-size: 0.85rem;
}

.advisor-status {
    font-size: 0.65rem;
    color: #4ade80;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.advisor-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 1.1rem;
}

.chatbot-messages {
    height: 320px;
    padding: 1.25rem;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 85%;
}

.advisor-msg {
    background: white;
    border: 1px solid rgba(0, 33, 71, 0.05);
    color: var(--bg-navy);
    align-self: flex-start;
}

.user-msg {
    background: var(--bg-navy);
    color: white;
    align-self: flex-end;
}

.chatbot-input-wrap {
    padding: 0.75rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid rgba(0, 33, 71, 0.1);
}

.chatbot-input-wrap input {
    flex: 1;
    border: 1px solid rgba(0, 33, 71, 0.1);
    padding: 0.75rem;
    font-size: 0.85rem;
    background: #fdfdfd;
}

.chatbot-input-wrap button {
    background: var(--bg-navy);
    color: white;
    border: none;
    width: 40px;
    cursor: pointer;
    font-weight: 900;
}

.f-parent-link {
    color: #e2c97e !important; /* Gold corporate color */
    font-weight: 700 !important;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

/* Footer Brand */
.footer-logo {
    color: white !important;
    font-size: 3rem !important; /* Large impact */
    opacity: 1;
}

/* Footer Center Info */
.footer-info {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.copyright-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.contact-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-links a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.contact-links a span {
    font-size: 1rem;
    color: var(--accent-blue);
}

.contact-links a:hover {
    color: var(--accent-blue);
}

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

.legal-links a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.legal-links a:hover {
    color: var(--accent-blue);
}

/* Footer Newsletter (Right) */
.footer-newsletter {
    flex: 0 0 350px;
}

.footer-newsletter h4 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.footer-newsletter p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    border: 1px solid white;
    padding: 2px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-form button {
    background: white;
    color: var(--bg-navy);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    background: var(--accent-blue);
    color: white;
}

.terms-note {
    font-size: 0.7rem !important;
    margin-top: 1rem;
}

.terms-note a {
    color: white;
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 1100px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4rem;
    }
    .footer-newsletter {
        flex: 1;
        max-width: 500px;
    }
    .footer-info {
        order: 3;
    }
    .footer-newsletter {
        order: 2;
    }
    .footer-brand {
        order: 1;
    }
}

/* Fade In Animations */
.fade-in-up, .fade-in-right {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.fade-in-up.visible, .fade-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- ZERO-IMPACT BI-VERSION ARCHITECTURE --- */

/* Mobile Perfection (Only affects Smartphone/Small Tablet) */
@media (max-width: 768px) {
    /* 1. Global Reset for Mobile */
    .section { padding: 4rem 0 !important; }
    .section-title { font-size: 2rem !important; margin-bottom: 2rem !important; }
    .hero { padding: 8rem 0 3rem !important; }
    .hero h1 { font-size: 2.2rem !important; text-align: center; }
    .hero p { font-size: 1rem !important; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-inner { grid-template-columns: 1fr !important; }

    /* 2. Grid Collapsing (Single Column for Handhelds) */
    .features-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .global-grid { grid-template-columns: 1fr !important; grid-auto-rows: 250px !important; }
    .stats-bar { grid-template-columns: 1fr !important; gap: 0 !important; }
    .solutions-grid { grid-template-columns: 1fr !important; }
    .solution-card { padding: 3rem 2rem !important; }

    /* 3. Subsidiary Banner (Trust Banner) */
    .banner-inner { flex-direction: column !important; text-align: center !important; }
    .banner-metrics { grid-template-columns: 1fr !important; display: grid !important; width: 100% !important; gap: 2rem !important; }
    .b-divider { display: none !important; }
    .parent-name { font-size: 1.75rem !important; }

    /* 4. Contact Form */
    .contact-inner { grid-template-columns: 1fr !important; text-align: center !important; }
    .contact-form-wrap { margin-top: 3rem; }

    /* 5. Navigation Transformation (Hamburger Slide) */
    .mobile-menu-toggle {
        display: block !important;
        font-size: 1.8rem;
        color: var(--bg-navy);
        cursor: pointer;
        z-index: 10001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 10000;
        gap: 2rem !important;
    }

    .nav-links.active { left: 0; }
    .nav-links a { font-size: 1.5rem; font-weight: 800; color: var(--bg-navy); }

    /* 6. Footer Clean-up */
    .footer-inner { flex-direction: column !important; text-align: center !important; }
    .footer-newsletter { flex: 1 !important; min-width: 100% !important; margin-top: 3rem; }
    .footer-bottom-inner { flex-direction: column !important; gap: 1.5rem !important; text-align: center !important; }

    /* 7. Chatbot Full-Screen Shift */
    .chatbot-panel {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 70vh;
        border-radius: 20px 20px 0 0;
        border: none;
    }
}

/* Ensure Toggle stays hidden on all desktop and tablet-landscapes */
.mobile-menu-toggle { display: none; }
