/*
 * CHACKOSOFT PRIVATE LIMITED - Official Corporate Stylesheet
 * Ultra-Premium Light Theme Architecture
 * Brand Colors: Deep Navy (#00204a) & Electric Cyan (#00a8ff)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    --brand-navy: #00204a;
    --brand-navy-light: #0a2d5e;
    --brand-navy-dark: #001533;
    --brand-cyan: #00a8ff;
    --brand-cyan-hover: #0090dc;
    --brand-cyan-tint: #e8f7ff;
    --brand-cyan-border: rgba(0, 168, 255, 0.25);
    --brand-gradient: linear-gradient(135deg, #00204a 0%, #00a8ff 100%);
    --cyan-gradient: linear-gradient(135deg, #00a8ff 0%, #0077c2 100%);
    
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-surface: #f1f5f9;
    --bg-alt: #f4f9fd;
    
    --text-headline: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    
    --border-light: #e2e8f0;
    --border-card: #e5edf5;
    --border-focus: #00a8ff;
    
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --shadow-sm: 0 2px 6px rgba(0, 32, 74, 0.04);
    --shadow-card: 0 4px 20px -2px rgba(0, 32, 74, 0.06), 0 2px 6px -1px rgba(0, 32, 74, 0.03);
    --shadow-hover: 0 16px 36px -4px rgba(0, 168, 255, 0.16), 0 6px 16px -2px rgba(0, 32, 74, 0.06);
    --shadow-modal: 0 25px 60px -10px rgba(0, 32, 74, 0.35);
    
    --transition: all 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
}

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

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

/* Subtle Ambient Mesh Background */
.tech-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 15% 15%, rgba(0, 168, 255, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(0, 32, 74, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 30%, rgba(0, 168, 255, 0.03) 0%, transparent 60%),
        #ffffff;
    z-index: -1;
    pointer-events: none;
}

/* Containers */
.cs-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5.5rem 0;
}

/* Typography & Badges */
.gradient-text {
    background: linear-gradient(135deg, var(--brand-navy) 20%, var(--brand-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-cyan-tint);
    border: 1px solid var(--brand-cyan-border);
    color: var(--brand-navy);
    padding: 0.38rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.1rem;
}

.section-badge i {
    color: var(--brand-cyan);
}

/* Top Announcement Bar (Deep Navy with Electric Cyan Accents) */
.cs-topbar {
    background: #00204a;
    border-bottom: 2px solid rgba(0, 168, 255, 0.4);
    font-size: 0.82rem;
    color: #e2e8f0;
    padding: 0.55rem 0;
    position: relative;
    z-index: 1001;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.topbar-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(0, 168, 255, 0.16);
    border: 1px solid rgba(0, 168, 255, 0.4);
    color: #ffffff;
    padding: 0.22rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.topbar-pill i {
    color: var(--brand-cyan);
}

.topbar-loc, .topbar-email, .topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #cbd5e1;
    font-weight: 500;
}

.topbar-loc i, .topbar-email i, .topbar-phone i {
    color: var(--brand-cyan);
    font-size: 0.85rem;
}

.topbar-email a, .topbar-phone a {
    color: #f8fafc;
    transition: var(--transition);
}

.topbar-email a:hover, .topbar-phone a:hover {
    color: var(--brand-cyan);
}

.topbar-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--brand-cyan);
    color: #ffffff !important;
    padding: 0.32rem 0.9rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 168, 255, 0.35);
    transition: var(--transition);
    text-decoration: none;
}

.topbar-wa-btn:hover {
    background: var(--brand-cyan-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 168, 255, 0.55);
}

/* Header & Navigation */
.cs-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 14px rgba(0, 32, 74, 0.04);
    transition: var(--transition);
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.brand-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.brand-logo:hover {
    transform: translateY(-1px);
}

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

.nav-link {
    color: var(--text-headline);
    font-size: 0.93rem;
    font-weight: 600;
    position: relative;
    padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2.5px;
    background: var(--brand-cyan);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.mobile-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--brand-navy);
    font-size: 1.6rem;
    cursor: pointer;
}

.header-cta-group-mobile {
    display: none;
}

/* Buttons */
.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 700;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
}

.cs-btn-sm {
    padding: 0.5rem 1.15rem;
    font-size: 0.85rem;
}

.cs-btn-md {
    padding: 0.75rem 1.55rem;
    font-size: 0.95rem;
}

.cs-btn-lg {
    padding: 0.9rem 2.1rem;
    font-size: 1.05rem;
}

.cs-btn-primary {
    background: var(--brand-navy);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 32, 74, 0.25);
    border-color: var(--brand-navy);
}

.cs-btn-primary:hover {
    background: var(--brand-cyan);
    border-color: var(--brand-cyan);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.35);
}

.cs-btn-cyan {
    background: var(--brand-cyan);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 168, 255, 0.3);
}

.cs-btn-cyan:hover {
    background: var(--brand-cyan-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 168, 255, 0.45);
}

.cs-btn-outline {
    background: #ffffff;
    border-color: var(--border-light);
    color: var(--brand-navy);
    box-shadow: var(--shadow-sm);
}

.cs-btn-outline:hover {
    background: var(--brand-cyan-tint);
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
    transform: translateY(-2px);
}

/* Elevated Clean Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--brand-cyan);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

/* ==========================================================================
   World-Class Visual Hero Section (2-Column Balanced Architecture)
   ========================================================================== */

.hero-section {
    padding: 3.5rem 0 3.25rem;
    position: relative;
    background: radial-gradient(circle at 85% 15%, rgba(0, 168, 255, 0.09) 0%, transparent 45%),
                radial-gradient(circle at 10% 85%, rgba(79, 70, 229, 0.05) 0%, transparent 40%),
                #ffffff;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(0, 32, 74, 0.045) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    pointer-events: none;
    opacity: 0.85;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 1040px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }
}

/* Left Column: Typography & Credentials */
.hero-content-col {
    display: flex;
    flex-direction: column;
}

/* Left Column: Visual Domain Cards, Branded Badge & Metrics */
.hero-content-col {
    display: flex;
    flex-direction: column;
}

/* Branded High-Tech Emblem Badge */
.hero-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(0, 168, 255, 0.35);
    border-radius: 999px;
    padding: 0.35rem 0.95rem 0.35rem 0.45rem;
    margin-bottom: 1.25rem;
    align-self: flex-start;
    box-shadow: 0 4px 14px rgba(0, 168, 255, 0.1);
}

.hbb-emblem {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.4);
}

.hbb-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hbb-content {
    display: flex;
    flex-direction: column;
}

.hbb-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.hbb-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
}

.hbb-active {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(0, 168, 255, 0.12);
    border: 1px solid rgba(0, 168, 255, 0.3);
    color: var(--brand-navy);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.hbb-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-cyan);
    box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.35);
    animation: pulseLiveDot 1.8s infinite ease-in-out;
}

.hero-main-title {
    font-size: 3.1rem;
    font-weight: 850;
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: var(--brand-navy);
    margin-bottom: 0.85rem;
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.3rem;
    }
}

.hero-malayalam-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.08), rgba(0, 32, 74, 0.04));
    border: 1px solid rgba(0, 168, 255, 0.25);
    border-radius: 8px;
    padding: 0.4rem 0.85rem;
    color: #0284c7;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
    align-self: flex-start;
    line-height: 1.4;
}

.hero-malayalam-accent i {
    color: #00a8ff;
    font-size: 0.85rem;
}

/* ==========================================================================
   4 Interactive Visual Domain Cards (Centerpiece of Attraction)
   ========================================================================== */
.hero-domain-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.85rem;
}

@media (max-width: 640px) {
    .hero-domain-cards {
        grid-template-columns: 1fr;
    }
}

.domain-card {
    background: linear-gradient(150deg, #ffffff 0%, #f8fbff 100%);
    border: 1.5px solid rgba(0, 32, 74, 0.09);
    border-radius: 16px;
    padding: 1rem 1.05rem;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 14px -2px rgba(0, 32, 74, 0.05), 0 1px 3px rgba(0, 32, 74, 0.02);
    position: relative;
    overflow: hidden;
}

/* Ambient colored accent indicator line at the top */
.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: var(--transition);
}

/* Diagonal Radiant Shimmer Light Sweep on hover */
.domain-card::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -80%;
    width: 50%;
    height: 220%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    opacity: 0;
    z-index: 3;
}

/* Card 1: Healthcare HMS specific styling */
.domain-card.card-hms {
    --card-theme: #00a8ff;
    --card-glow: rgba(0, 168, 255, 0.35);
}
.domain-card.card-hms::before {
    background: linear-gradient(90deg, #00a8ff, transparent);
}

/* Card 2: Civil BuildFlow specific styling */
.domain-card.card-civil {
    --card-theme: #1e3a8a;
    --card-glow: rgba(30, 58, 138, 0.35);
}
.domain-card.card-civil::before {
    background: linear-gradient(90deg, #1e3a8a, transparent);
}

/* Card 3: OmniPOS Retail specific styling */
.domain-card.card-pos {
    --card-theme: #0284c7;
    --card-glow: rgba(2, 132, 199, 0.35);
}
.domain-card.card-pos::before {
    background: linear-gradient(90deg, #0284c7, transparent);
}

/* Card 4: EduSphere Campus specific styling */
.domain-card.card-school {
    --card-theme: #6366f1;
    --card-glow: rgba(99, 102, 241, 0.35);
}
.domain-card.card-school::before {
    background: linear-gradient(90deg, #6366f1, transparent);
}

/* --- FULL ATTRACTION HOVER STATE --- */
.domain-card:hover {
    transform: translateY(-8px) scale(1.025);
    border-color: var(--card-theme, var(--brand-cyan));
    box-shadow: 0 20px 40px -8px var(--card-glow, rgba(0, 168, 255, 0.3)), 
                0 0 0 1.5px var(--card-theme, var(--brand-cyan)),
                0 4px 12px rgba(0, 32, 74, 0.06);
    background: #ffffff;
    z-index: 5;
}

.domain-card:hover::before {
    height: 4px;
    background: var(--card-theme, var(--brand-cyan));
}

.domain-card:hover::after {
    opacity: 1;
    animation: domainShimmerSweep 0.8s ease forwards;
}

@keyframes domainShimmerSweep {
    0% { left: -80%; opacity: 0; }
    20% { opacity: 1; }
    100% { left: 160%; opacity: 0; }
}

/* --- ACTIVE CARD STATE (Currently displayed in live console) --- */
.domain-card.active {
    border-color: var(--card-theme, var(--brand-cyan));
    background: linear-gradient(150deg, #ffffff 40%, rgba(0, 168, 255, 0.08) 100%);
    box-shadow: 0 12px 28px -4px var(--card-glow, rgba(0, 168, 255, 0.25)),
                0 0 0 2px var(--card-theme, var(--brand-cyan));
}

.domain-card.active::before {
    height: 4px;
    background: var(--card-theme, var(--brand-cyan));
}

.domain-card.active .dc-live-indicator {
    display: inline-flex;
}

/* --- ICON BUBBLE (Visual anchor) --- */
.dc-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 16px -2px rgba(0, 32, 74, 0.2);
}

.dc-icon-hms {
    background: linear-gradient(135deg, #00a8ff 0%, #0077c2 100%);
    box-shadow: 0 8px 18px -2px rgba(0, 168, 255, 0.45);
}

.dc-icon-civil {
    background: linear-gradient(135deg, #2563eb 0%, #00204a 100%);
    box-shadow: 0 8px 18px -2px rgba(30, 58, 138, 0.45);
}

.dc-icon-pos {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 8px 18px -2px rgba(2, 132, 199, 0.45);
}

.dc-icon-school {
    background: linear-gradient(135deg, #818cf8 0%, #4338ca 100%);
    box-shadow: 0 8px 18px -2px rgba(99, 102, 241, 0.45);
}

/* Icon micro-animation on card hover */
.domain-card:hover .dc-icon-box {
    transform: scale(1.16) rotate(-7deg);
    box-shadow: 0 12px 24px -2px var(--card-glow, rgba(0, 168, 255, 0.5));
}

/* --- CARD CONTENT & TYPOGRAPHY --- */
.dc-content {
    flex: 1;
    min-width: 0;
}

.dc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
}

.dc-header h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.2;
    transition: color 0.25s ease;
}

.domain-card:hover .dc-header h4 {
    color: var(--card-theme, var(--brand-cyan));
}

.dc-pill {
    font-size: 0.66rem;
    font-weight: 700;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.dc-pill-hms {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid rgba(0, 168, 255, 0.25);
}

.dc-pill-civil {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.dc-pill-pos {
    background: #f0fdf4;
    color: #0369a1;
    border: 1px solid rgba(2, 132, 199, 0.25);
}

.dc-pill-school {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.dc-desc {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 0.55rem;
}

/* Footer row in domain card */
.dc-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.35rem;
    border-top: 1px dashed rgba(0, 32, 74, 0.08);
}

.dc-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--card-theme, var(--brand-cyan));
    transition: all 0.25s ease;
}

.dc-action i {
    font-size: 0.72rem;
    transition: transform 0.25s ease;
}

.domain-card:hover .dc-action i {
    transform: translateX(5px);
}

.dc-live-indicator {
    display: none;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--card-theme, var(--brand-cyan));
    background: rgba(0, 168, 255, 0.12);
    border: 1px solid rgba(0, 168, 255, 0.3);
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

.dc-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-cyan);
    animation: pulseLiveDot 1.6s infinite ease-in-out;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.85rem;
}

.cs-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-navy);
    background: #ffffff;
    border: 1px solid var(--border-light);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cs-btn-phone:hover {
    color: var(--brand-cyan);
    border-color: var(--brand-cyan);
    background: var(--brand-cyan-tint);
    transform: translateY(-2px);
}

/* Micro Stats Bar with Visual Icons */
.hero-micro-metrics {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(0, 32, 74, 0.08);
}

.metric-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.metric-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.metric-text {
    display: flex;
    flex-direction: column;
}

.metric-text strong {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-navy);
    font-family: var(--font-mono);
    line-height: 1.1;
}

.metric-text span {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.metric-sep {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
}

/* Right Column: Visual Software Showcase Console */
.hero-visual-col {
    position: relative;
    width: 100%;
}

.hero-showcase-wrapper {
    position: relative;
    width: 100%;
    padding: 1.5rem 0.5rem;
}

.hero-mockup-card {
    background: #ffffff;
    border: 1px solid rgba(0, 168, 255, 0.28);
    border-radius: 18px;
    box-shadow: 0 24px 52px -12px rgba(0, 32, 74, 0.16), 
                0 4px 18px rgba(0, 168, 255, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.mockup-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots .dot.dot-navy { background: #00204a; }
.mockup-dots .dot.dot-slate { background: #94a3b8; }
.mockup-dots .dot.dot-cyan { background: #00a8ff; }

.mockup-search-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 220px;
    width: 100%;
    justify-content: center;
}

.mockup-status-tag {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--brand-cyan);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.live-pulse {
    font-size: 0.5rem;
    animation: pulseLiveDot 1.5s infinite ease-in-out;
}

.mockup-nav-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 0.35rem;
    border-bottom: 1px solid #e2e8f0;
    gap: 0.35rem;
    overflow-x: auto;
}

.mockup-tab-btn {
    flex: 1;
    min-width: 95px;
    padding: 0.55rem 0.65rem;
    border: none;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mockup-tab-btn.active {
    background: #ffffff;
    color: var(--brand-navy);
    box-shadow: 0 2px 8px rgba(0, 32, 74, 0.07);
    font-weight: 800;
}

.mockup-tab-btn:hover {
    color: var(--brand-cyan);
}

.mockup-screen-container {
    padding: 1.35rem;
    min-height: 255px;
}

.mockup-screen {
    display: none;
    animation: fadeInMockup 0.35s ease forwards;
}

.mockup-screen.active {
    display: block;
}

@keyframes fadeInMockup {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.screen-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-left: 0.75rem;
    margin-bottom: 1.15rem;
}

.screen-top-bar h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.15rem;
}

.screen-top-bar p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.screen-pill {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.screen-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

@media (max-width: 500px) {
    .screen-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.screen-metric-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
}

.sm-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.sm-val {
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--font-mono);
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.sm-sub {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
}

.screen-feature-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed #e2e8f0;
    padding-top: 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-navy);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.screen-demo-link {
    color: var(--brand-cyan);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
    transition: var(--transition);
}

.screen-demo-link:hover {
    color: var(--brand-cyan-hover);
    transform: translateX(3px);
}

/* Floating 3D Badges */
.floating-badge {
    position: absolute;
    z-index: 5;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 12px;
    padding: 0.65rem 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 14px 28px -6px rgba(0, 32, 74, 0.16);
}

.badge-top-right {
    top: 14px;
    right: -12px;
    animation: floatBadgeSlow 4s ease-in-out infinite alternate;
}

.badge-bottom-left {
    bottom: 22px;
    left: -12px;
    animation: floatBadgeSlow 4s ease-in-out 2s infinite alternate;
}

@media (max-width: 600px) {
    .floating-badge {
        display: none;
    }
}

.brand-navy-badge {
    background: #00204a !important;
    border: 1px solid rgba(0, 168, 255, 0.45) !important;
    box-shadow: 0 14px 28px -6px rgba(0, 32, 74, 0.4), 0 0 16px rgba(0, 168, 255, 0.2) !important;
}

.brand-navy-badge .fbadge-icon {
    background: rgba(0, 168, 255, 0.2);
    color: var(--brand-cyan);
    border: 1px solid rgba(0, 168, 255, 0.35);
}

.brand-navy-badge .fbadge-title {
    color: #ffffff;
}

.brand-navy-badge .fbadge-sub {
    color: #94a3b8;
}

.brand-cyan-badge {
    background: #ffffff !important;
    border: 1px solid rgba(0, 168, 255, 0.4) !important;
    box-shadow: 0 14px 28px -6px rgba(0, 32, 74, 0.12), 0 0 12px rgba(0, 168, 255, 0.15) !important;
}

.brand-cyan-badge .fbadge-icon {
    background: var(--brand-navy);
    color: var(--brand-cyan);
    border: 1px solid rgba(0, 168, 255, 0.3);
}

.brand-cyan-badge .fbadge-title {
    color: var(--brand-navy);
}

.brand-cyan-badge .fbadge-sub {
    color: #64748b;
}

.fbadge-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.fbadge-text {
    display: flex;
    flex-direction: column;
}

.fbadge-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.2;
}

.fbadge-sub {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
}

@keyframes floatBadgeSlow {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

/* Verified Corporate Credentials Banner Strip */
.credentials-banner {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 2.25rem 0;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 32, 74, 0.02);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    margin-top: 0;
}

.cred-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cred-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-cyan-tint);
    color: var(--brand-cyan);
    border: 1px solid var(--brand-cyan-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cred-details, .cred-info {
    display: flex;
    flex-direction: column;
}

.cred-label, .cred-info h5 {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.cred-value, .cred-info p {
    font-size: 0.95rem;
    color: var(--brand-navy);
    font-weight: 700;
    line-height: 1.45;
}

.cred-info small {
    display: block;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--text-body);
    padding: 0.6rem 1.35rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 32, 74, 0.2);
}

/* Concise Products Grid (Clean & Compact) */
/* ==========================================================================
   Vibrant, Compact, Animated Product & Service Cards
   Designed for High-Impact Visual Appeal & Glanceability
   ========================================================================== */

.products-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.35rem;
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.product-card-wrap {
    height: 100%;
}

.compact-product-card,
.compact-service-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 1.35rem 1.35rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 32, 74, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease;
}

/* Top colorful accent bar */
.compact-product-card::before,
.compact-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-grad, var(--brand-cyan));
    transition: height 0.3s ease;
}

/* Smooth shimmer diagonal light reflection on hover */
.compact-product-card::after,
.compact-service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 45%;
    height: 200%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    opacity: 0;
    transition: none;
}

.compact-product-card:hover,
.compact-service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--card-color, var(--brand-cyan));
    box-shadow: 0 22px 44px -10px rgba(0, 32, 74, 0.16), 
                0 12px 28px -6px var(--card-glow, rgba(0, 168, 255, 0.4)),
                0 0 0 1px var(--card-color, var(--brand-cyan));
    z-index: 5;
}

.compact-product-card:hover::before,
.compact-service-card:hover::before {
    height: 6px;
}

.compact-product-card:hover::after,
.compact-service-card:hover::after {
    left: 140%;
    opacity: 1;
    transition: all 0.75s ease-in-out;
}

.compact-product-card:hover .card-read-more-btn,
.compact-service-card:hover .card-read-more-btn {
    background: var(--card-grad, var(--brand-navy));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px -2px var(--card-glow, rgba(0, 168, 255, 0.35));
}

.compact-product-card:hover .card-read-more-btn i,
.compact-service-card:hover .card-read-more-btn i {
    transform: translateX(5px);
}

/* Top Row: Icon + Badge */
.card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.95rem;
}

.card-icon-bubble {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    background: var(--card-grad, #00a8ff);
    box-shadow: 0 6px 14px -3px var(--card-glow, rgba(0, 168, 255, 0.35));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.compact-product-card:hover .card-icon-bubble,
.compact-service-card:hover .card-icon-bubble {
    transform: scale(1.12) rotate(-6deg);
}

.card-category-pill {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.28rem 0.65rem;
    border-radius: 9999px;
    background: var(--card-tint, #f1f5f9);
    color: var(--card-color, var(--brand-navy));
    border: 1px solid var(--card-border, #e2e8f0);
    max-width: 58%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card Title */
.card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.3rem;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.compact-product-card:hover .card-title,
.compact-service-card:hover .card-title {
    color: var(--card-color, var(--brand-cyan));
}

/* Malayalam Tagline / Helper */
.card-ml-tagline {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--card-color, #0284c7);
    margin-bottom: 0.65rem;
    line-height: 1.4;
    display: block;
    letter-spacing: -0.01em;
}

.card-ml-tagline i {
    font-size: 0.72rem;
    opacity: 0.85;
}

/* 1-Line Punchy Purpose Description */
.card-use-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 1.15rem;
    flex-grow: 1;
}

/* Interactive Read More Button */
.card-read-more-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.55rem 0.95rem;
    border-radius: 9px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--card-color, var(--brand-navy));
    background: var(--card-tint, #f8fafc);
    border: 1px solid var(--card-border, #e2e8f0);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    margin-top: auto;
}

.card-read-more-btn i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.card-read-more-btn:hover {
    background: var(--card-grad, var(--brand-navy));
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 6px 16px -2px var(--card-glow, rgba(0, 32, 74, 0.25));
}

.card-read-more-btn:hover i {
    transform: translateX(4px);
}

.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--brand-cyan-tint);
    border: 1px solid var(--brand-cyan-border);
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--brand-navy);
}

.service-card p {
    color: var(--text-body);
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Interactive Project Scope & Budget Estimator */
.estimator-box {
    background: #ffffff;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-card);
}

.estimator-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.estimator-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.estimator-option {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.estimator-option:hover {
    border-color: var(--brand-cyan);
    background: var(--brand-cyan-tint);
}

.estimator-option.selected {
    border-color: var(--brand-cyan);
    background: var(--brand-cyan-tint);
    box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.25);
}

.estimator-option i {
    font-size: 1.4rem;
    color: var(--brand-cyan);
    margin-bottom: 0.75rem;
    display: block;
}

.estimator-option h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.25rem;
}

.estimator-option span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.estimator-result-card {
    background: linear-gradient(135deg, var(--brand-cyan-tint) 0%, #e0f2fe 100%);
    border: 1px solid var(--brand-cyan-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.result-calc-value p {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.result-calc-value h4 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--brand-navy);
    font-family: var(--font-mono);
}

/* Technology Matrix */
.tech-stack-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.25rem;
}

.tech-icon-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tech-icon-card:hover {
    border-color: var(--brand-cyan);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.tech-icon-card i {
    font-size: 2.2rem;
    color: var(--brand-cyan);
    margin-bottom: 0.75rem;
    display: block;
}

.tech-icon-card span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-navy);
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text-headline);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-cyan-tint);
    border: 1px solid var(--brand-cyan-border);
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.2rem;
}

.contact-method p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-method p a:hover {
    color: var(--brand-cyan);
}

.contact-form-box {
    padding: 2.5rem;
}

/* Global Interactive Detail Modal (Read More Modal) */
.cs-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 32, 74, 0.65);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.cs-modal-backdrop.active {
    display: flex;
    animation: modalFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.cs-modal-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 680px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-modal);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: #fee2e2;
    border-color: #ef4444;
    color: #ef4444;
}

.detail-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.25rem;
}

.detail-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--brand-cyan-tint);
    border: 1px solid var(--brand-cyan-border);
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.detail-modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.2;
}

.detail-modal-subtitle {
    font-size: 0.92rem;
    color: var(--brand-cyan);
    font-weight: 600;
}

.detail-modal-section-title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.detail-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.detail-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--text-body);
}

.detail-features-list li i {
    color: var(--brand-cyan);
    margin-top: 4px;
    flex-shrink: 0;
}

.detail-specs-box {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.75rem;
}

.detail-specs-item {
    font-size: 0.88rem;
    color: var(--text-body);
    margin-bottom: 0.45rem;
}

.detail-specs-item:last-child {
    margin-bottom: 0;
}

.detail-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
}

/* Executive Footer */
.cs-footer {
    background: var(--brand-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5rem 0 2.5rem;
    color: #f8fafc;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2.5px;
    background: var(--brand-cyan);
    border-radius: 2px;
}

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

.footer-links-list a {
    color: #cbd5e1;
    font-size: 0.88rem;
}

.footer-links-list a:hover {
    color: var(--brand-cyan);
    padding-left: 5px;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
}

.social-link-btn:hover {
    background: var(--brand-cyan);
    border-color: var(--brand-cyan);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.88rem;
    color: #94a3b8;
}

/* Floating WhatsApp Launcher (Brand Colors: Deep Navy & Electric Cyan) */
.whatsapp-floating {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00204a 0%, #00a8ff 100%);
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.45), 0 0 16px rgba(0, 32, 74, 0.35);
    z-index: 999;
    transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-floating:hover {
    transform: scale(1.14) translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 168, 255, 0.65), 0 0 22px rgba(0, 168, 255, 0.5);
    color: #ffffff;
}

/* Toast Notifications */
.cs-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 1rem 1.75rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 9999;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 32, 74, 0.15);
}

.cs-toast.visible {
    transform: translateX(-50%) translateY(0);
}

.cs-toast-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.cs-toast-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Architecture
   ========================================================================== */

/* --- Tablet / Medium Devices (max-width: 1040px) --- */
@media (max-width: 1040px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* --- Mobile Landscape & Tablets (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Topbar mobile optimization: Clean 1-line bar */
    .cs-topbar {
        padding: 0.35rem 0;
        font-size: 0.74rem;
    }
    .topbar-loc, .topbar-email {
        display: none !important;
    }
    .topbar-inner {
        justify-content: space-between;
        gap: 0.4rem;
    }
    .topbar-pill {
        padding: 0.18rem 0.55rem;
        font-size: 0.7rem;
    }
    .topbar-phone {
        font-size: 0.74rem;
    }
    .topbar-wa-btn {
        padding: 0.22rem 0.65rem;
        font-size: 0.72rem;
    }

    /* Header & Mobile Drawer */
    .navbar-wrapper {
        height: 66px;
    }
    .brand-logo img {
        height: 38px;
    }
    .mobile-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: transparent;
        border: none;
        color: var(--brand-navy);
        font-size: 1.5rem;
        cursor: pointer;
        border-radius: 8px;
        transition: var(--transition);
    }
    .mobile-toggle-btn:hover {
        background: var(--brand-cyan-tint);
        color: var(--brand-cyan);
    }
    .header-cta-group {
        display: none;
    }
    .nav-menu {
        position: fixed;
        top: 66px;
        right: 0;
        left: auto;
        width: 100vw;
        max-width: 340px;
        height: calc(100vh - 66px);
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem 1.5rem;
        gap: 1.25rem;
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -8px 0 35px rgba(0, 32, 74, 0.18);
        border-left: 1px solid var(--border-light);
        z-index: 1000;
    }
    .nav-menu.active {
        transform: translateX(0);
    }
    .nav-link {
        font-size: 1.05rem;
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px dashed rgba(0, 32, 74, 0.08);
    }
    .header-cta-group-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding-top: 1.25rem;
        border-top: 1px solid var(--border-light);
        margin-top: auto;
    }
    .header-cta-group-mobile .cs-btn {
        width: 100%;
        justify-content: center;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 2rem 0 1.85rem;
    }
    .hero-grid {
        gap: 2rem;
    }
    .hero-brand-badge {
        gap: 0.5rem;
        padding: 0.25rem 0.65rem 0.25rem 0.35rem;
        margin-bottom: 1rem;
        max-width: 100%;
    }
    .hbb-emblem {
        width: 24px;
        height: 24px;
    }
    .hbb-title {
        font-size: 0.66rem;
    }
    .hbb-sub {
        font-size: 0.6rem;
    }
    .hbb-active {
        font-size: 0.62rem;
        padding: 0.12rem 0.45rem;
    }
    .hero-main-title {
        font-size: 2.15rem;
        line-height: 1.18;
        margin-bottom: 0.65rem;
    }
    .hero-malayalam-accent {
        font-size: 0.85rem;
        padding: 0.35rem 0.65rem;
        margin-bottom: 1.15rem;
    }

    /* 4 Domain Cards - Mobile 1 Column */
    .hero-domain-cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.4rem;
    }
    .domain-card {
        padding: 0.85rem 0.95rem;
        border-radius: 14px;
    }
    .dc-icon-box {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
        border-radius: 12px;
    }
    .dc-header h4 {
        font-size: 0.92rem;
    }
    .dc-desc {
        font-size: 0.74rem;
    }

    /* Hero CTAs */
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
        margin-bottom: 1.5rem;
    }
    .hero-cta-group .cs-btn,
    .hero-cta-group .cs-btn-phone {
        width: 100%;
        min-height: 46px;
        justify-content: center;
        font-size: 0.92rem;
    }

    /* Hero Micro Metrics - 2x2 Clean Grid */
    .hero-micro-metrics {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        width: 100%;
        padding-top: 1.15rem;
    }
    .metric-sep {
        display: none;
    }
    .metric-chip {
        gap: 0.5rem;
    }
    .metric-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .metric-text strong {
        font-size: 1.05rem;
    }
    .metric-text span {
        font-size: 0.62rem;
    }

    /* Showcase Mockup Console Mobile */
    .hero-showcase-wrapper {
        padding: 0;
    }
    .floating-badge {
        display: none !important;
    }
    .hero-mockup-card {
        border-radius: 14px;
    }
    .mockup-header {
        padding: 0.55rem 0.75rem;
    }
    .mockup-dots {
        gap: 4px;
    }
    .mockup-dots .dot {
        width: 8px;
        height: 8px;
    }
    .mockup-search-bar {
        max-width: 155px;
        font-size: 0.68rem;
        padding: 0.2rem 0.45rem;
    }
    .mockup-status-tag {
        font-size: 0.62rem;
    }
    .mockup-nav-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 0.25rem;
        gap: 0.25rem;
        scrollbar-width: none;
    }
    .mockup-nav-tabs::-webkit-scrollbar {
        display: none;
    }
    .mockup-tab-btn {
        flex: 0 0 auto;
        min-width: 85px;
        padding: 0.42rem 0.55rem;
        font-size: 0.72rem;
        white-space: nowrap;
    }
    .mockup-screen-container {
        padding: 0.95rem 0.85rem;
        min-height: auto;
    }
    .screen-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        padding-left: 0.5rem;
        margin-bottom: 0.85rem;
    }
    .screen-top-bar h4 {
        font-size: 0.92rem;
    }
    .screen-top-bar p {
        font-size: 0.72rem;
    }
    .screen-metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        margin-bottom: 0.85rem;
    }
    .screen-metric-card {
        padding: 0.6rem 0.75rem;
    }
    .sm-label {
        font-size: 0.64rem;
    }
    .sm-val {
        font-size: 1.05rem;
    }
    .sm-sub {
        font-size: 0.68rem;
    }
    .screen-feature-strip {
        flex-wrap: wrap;
        gap: 0.45rem;
        font-size: 0.72rem;
        padding-top: 0.65rem;
    }
    .screen-demo-link {
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
        padding-top: 0.25rem;
    }

    /* Credentials Strip */
    .credentials-banner {
        padding: 1.5rem 0;
    }
    .credentials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .cred-icon {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
    }
    .cred-label {
        font-size: 0.68rem;
    }
    .cred-value {
        font-size: 0.85rem;
    }

    /* Filter Tabs - Smooth Mobile Swipe */
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.75rem;
        margin-bottom: 1.75rem;
        gap: 0.45rem;
        scrollbar-width: none;
    }
    .filter-tabs::-webkit-scrollbar {
        display: none;
    }
    .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.78rem;
        padding: 0.45rem 0.85rem;
    }

    /* Products & Services Grids */
    .products-grid, .services-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
    .compact-product-card, .compact-service-card {
        padding: 1.25rem 1.15rem;
        border-radius: 14px;
    }
    .card-read-more-btn {
        min-height: 44px;
        font-size: 0.85rem;
    }

    /* Section Headings */
    .section-padding {
        padding: 3.5rem 0;
    }

    /* Estimator */
    .estimator-box {
        padding: 1.25rem 1rem;
    }
    .estimator-options-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
    .estimator-option {
        padding: 0.75rem;
    }
    .estimator-summary-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .estimator-result-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    /* Modals */
    .cs-modal-card {
        width: 95vw;
        max-width: 95vw;
        max-height: 88vh;
        padding: 1.35rem 1.15rem;
        border-radius: 16px;
        margin: auto;
        overflow-y: auto;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .form-control {
        font-size: 16px; /* Prevents auto-zoom in iOS Safari */
    }

    /* Footer */
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    .cs-footer {
        padding: 3.5rem 0 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }

    /* Floating WhatsApp Button */
    .whatsapp-floating {
        bottom: 18px;
        right: 18px;
        width: 50px;
        height: 50px;
        font-size: 1.55rem;
    }
}

/* --- Small Phones / Ultra-Compact (max-width: 480px) --- */
@media (max-width: 480px) {
    .cs-container {
        padding: 0 1rem;
    }
    .hero-main-title {
        font-size: 1.85rem;
        line-height: 1.2;
    }
    .hero-malayalam-accent {
        font-size: 0.78rem;
    }
    .hero-brand-badge {
        padding: 0.2rem 0.55rem 0.2rem 0.3rem;
    }
    .hbb-title {
        font-size: 0.62rem;
    }
    .hbb-sub {
        font-size: 0.58rem;
    }
    .domain-card {
        padding: 0.75rem 0.85rem;
    }
    .dc-icon-box {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
        border-radius: 10px;
    }
    .dc-header h4 {
        font-size: 0.88rem;
    }
    .dc-desc {
        font-size: 0.71rem;
    }
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .hero-micro-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
    }
    .metric-icon {
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
    }
    .metric-text strong {
        font-size: 0.95rem;
    }
    .metric-text span {
        font-size: 0.58rem;
    }
    .card-title {
        font-size: 1.05rem;
    }
}
