/* ==========================================================================
   TinyPocket - IT Services & Software Development
   Website Domain: tinypocket.diy
   Main Stylesheet: style.css
   Color Theme: Modern Enterprise IT Emerald & High-Tech Mint/Teal
   ========================================================================== */

/* ==========================================================================
   1. CSS Variables & Theme Defaults
   (Primary and Accent colors can also be overridden via SITE_CONFIG)
   ========================================================================== */
:root {
    --primary: #059669;
    --primary-hover: #047857;
    --primary-light: #ecfdf5;
    --primary-border: rgba(5, 150, 105, 0.2);
    --accent: #10b981;
    --accent-hover: #059669;
    --accent-light: #f0fdf4;
    --navy-dark: #0f172a;
    --navy-text: #1e293b;
    --muted-text: #64748b;
    --bg-body: #ffffff;
    --bg-surface: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 20px -3px rgba(5, 150, 105, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1200px;
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    max-width: 100vw;
    overflow-x: clip;
}

/* Ensure smooth section scrolling with fixed sticky header */
section[id], header[id] {
    scroll-margin-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--navy-text);
    line-height: 1.6;
    max-width: 100vw;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    position: relative;
    width: 100%;
}

@supports not (overflow-x: clip) {
    html, body {
        overflow-x: hidden;
    }
}

h1, h2, h3, h4, h5, h6, p, a, span {
    overflow-wrap: break-word;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 10px;
    background: var(--primary);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-size: 0.85rem;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 10px;
}

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

a:hover {
    color: var(--primary-hover);
}

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

button, input, textarea, select {
    font: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-padding {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.075rem;
    color: var(--muted-text);
    line-height: 1.65;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.35);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy-dark);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background-color: var(--bg-surface);
    border-color: var(--border-hover);
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--navy-dark);
    text-decoration: none;
    transition: transform 0.25s ease;
}

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

.brand-logo-badge {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.22);
    border: 1px solid rgba(16, 185, 129, 0.45);
    background: #0f172a;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.brand-logo:hover .brand-logo-badge {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.38);
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-logo-svg {
    width: 32px;
    height: 32px;
    display: none; /* Used as fallback if image isn't loaded */
}

.brand-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--navy-dark);
    letter-spacing: -0.02em;
}

.brand-domain-tag {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.04em;
    text-transform: lowercase;
    font-family: var(--font-body);
}

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

.nav-link {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--navy-text);
    position: relative;
    padding: 0.4rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--navy-dark);
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile drawer */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 998;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-links .nav-link {
    display: block;
    font-size: 1.05rem;
    padding: 0.5rem 0;
}

/* ==========================================================================
   4. Hero Section & Redesigned Interactive Enterprise Console
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 5.5rem 0 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

/* Subtle background tech grid with Emerald glow */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(5, 150, 105, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
        linear-gradient(to right, rgba(226, 232, 240, 0.4) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    pointer-events: none;
}

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

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.hero-content h1 span.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-content p.hero-lead {
    font-size: 1.15rem;
    color: var(--muted-text);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--muted-text);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trust-item svg {
    color: var(--primary);
    width: 16px;
    height: 16px;
}

/* Redesigned Enterprise Technology Console (Replaces old code box) */
.hero-visual {
    position: relative;
}

.tech-console-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(5, 150, 105, 0.06);
    overflow: hidden;
    position: relative;
}

.console-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.4rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.console-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy-dark);
}

.console-title svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.system-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid var(--primary-border);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.system-status .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.25);
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

/* Console Interactive Tab Switcher */
.console-tabs {
    display: flex;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 1rem 0 1rem;
    gap: 0.5rem;
}

.console-tab-btn {
    background: transparent;
    border: none;
    padding: 0.6rem 0.9rem;
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--muted-text);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.console-tab-btn svg {
    width: 14px;
    height: 14px;
}

.console-tab-btn:hover {
    color: var(--primary);
}

.console-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--primary-light);
}

.console-body {
    padding: 1.5rem;
}

.console-tab-panel {
    display: none;
}

.console-tab-panel.active {
    display: block;
    animation: panelFade 0.25s ease-out;
}

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

/* View 1: Architecture Pipeline Flow */
.arch-pipeline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.arch-node {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.arch-node:hover {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.node-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.node-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.node-icon svg {
    width: 18px;
    height: 18px;
}

.node-info h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.15rem;
}

.node-info p {
    font-size: 0.775rem;
    color: var(--muted-text);
}

.node-tag {
    font-size: 0.725rem;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--primary);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.arch-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10px;
    position: relative;
    margin: -4px 0;
}

.connector-line {
    width: 2px;
    height: 14px;
    background: repeating-linear-gradient(to bottom, var(--primary) 0, var(--primary) 4px, transparent 4px, transparent 8px);
}

/* View 2: Capabilities Matrix */
.stack-matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.stack-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: var(--transition);
}

.stack-card:hover {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.stack-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.stack-header svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.stack-header h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.stack-card p {
    font-size: 0.775rem;
    color: var(--muted-text);
    line-height: 1.45;
    margin-bottom: 0.65rem;
}

.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.tech-chip {
    font-size: 0.7rem;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-sm);
    color: var(--navy-text);
}

/* View 3: Enterprise SLA & Reliability */
.sla-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.sla-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: left;
}

.sla-card:hover {
    border-color: var(--primary);
}

.sla-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.sla-title {
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.2rem;
}

.sla-card p {
    font-size: 0.75rem;
    color: var(--muted-text);
}

.console-footer-note {
    background: var(--primary-light);
    border: 1px dashed var(--primary-border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    font-size: 0.775rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.console-footer-note svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* ==========================================================================
   5. About Us Section
   ========================================================================== */
.about-section {
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
}

.highlight-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.bangalore-hub-card {
    position: relative;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
}

.bangalore-hub-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.hub-status-badge {
    display: none;
}

.hub-icon {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
}

.highlight-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.65rem;
}

.highlight-card p {
    color: var(--muted-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   6. Services Section (10 Services)
   ========================================================================== */
.services-section {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Slider Controls Toolbar */
.services-slider-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.services-filter-tabs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-text);
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-1px);
}

.filter-tab.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

.slider-actions-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider-view-toggle {
    display: flex;
    background: #f1f5f9;
    border-radius: var(--radius-full);
    padding: 3px;
    border: 1px solid var(--border-color);
}

.view-btn {
    background: transparent;
    border: none;
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-full);
    color: var(--muted-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.view-btn.active {
    background: #ffffff;
    color: var(--navy-dark);
    box-shadow: var(--shadow-sm);
}

.slider-nav-arrows {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.slider-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.slider-arrow:hover:not(:disabled) {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.slider-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.slider-arrow svg {
    width: 18px;
    height: 18px;
}

.slide-counter {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted-text);
    min-width: 52px;
    text-align: center;
}

/* Slider Viewport Container */
.services-slider-container {
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0.25rem 1.25rem 0.25rem;
    touch-action: pan-y;
}

.services-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Grid Mode Toggle Overrides */
.services-slider-container.grid-mode {
    overflow: visible;
}

.services-slider-container.grid-mode .services-slider-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    transform: none !important;
}

.services-slider-container.grid-mode .service-card {
    flex: initial;
    max-width: 100%;
}

/* Service Card Styles */
.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 0 0 calc((100% - 3rem) / 3);
    max-width: calc((100% - 3rem) / 3);
    box-sizing: border-box;
}

/* Subtle Glowing Gradient Border on Hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.6), transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.service-card:hover {
    border-color: rgba(5, 150, 105, 0.3);
    box-shadow: 0 16px 32px -8px rgba(5, 150, 105, 0.16), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
    transform: translateY(-6px);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.service-pill-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.22rem 0.65rem;
    border-radius: var(--radius-full);
    background: rgba(5, 150, 105, 0.08);
    color: var(--primary);
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.service-card-top {
    margin-bottom: 1.25rem;
}

.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-icon-box {
    background-color: var(--primary);
    color: #ffffff;
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 6px 14px rgba(5, 150, 105, 0.35);
}

.service-icon-box svg {
    width: 24px;
    height: 24px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.service-desc {
    color: var(--muted-text);
    font-size: 0.925rem;
    line-height: 1.6;
}

.service-inquire-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
    margin-top: 1rem;
}

.service-inquire-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.service-card:hover .service-inquire-link svg {
    transform: translateX(4px);
}

/* Slider Bottom Controls & Dots */
.slider-bottom-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.slider-dots-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot:hover {
    background: var(--primary-hover);
    transform: scale(1.2);
}

.slider-dot.active {
    width: 28px;
    border-radius: 9999px;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
}

.mobile-swipe-indicator {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted-text);
    animation: bounceHorizontal 2s infinite ease-in-out;
}

@keyframes bounceHorizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* ==========================================================================
   7. Why Choose Us Section
   ========================================================================== */
.why-us-section {
    background-color: #ffffff;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.commitment-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
}

.commitment-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.commitment-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.check-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.commitment-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.commitment-card p {
    font-size: 0.925rem;
    color: var(--muted-text);
    line-height: 1.6;
}

/* ==========================================================================
   8. Industries Section
   ========================================================================== */
.industries-section {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.industry-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--transition);
}

.industry-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.industry-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-icon svg {
    width: 20px;
    height: 20px;
}

.industry-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--muted-text);
    line-height: 1.5;
}

/* ==========================================================================
   9. Our Process Section
   ========================================================================== */
.process-section {
    background-color: #ffffff;
}

.timeline-container {
    position: relative;
    margin-top: 2rem;
}

/* Horizontal timeline line on desktop */
.timeline-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 0 6px #ffffff;
    transition: var(--transition);
}

.timeline-step:hover .step-number {
    background-color: var(--primary);
    color: #ffffff;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--muted-text);
    line-height: 1.55;
}

/* ==========================================================================
   10. Engagement Models Section
   ========================================================================== */
.engagement-section {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.engagement-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.engagement-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.engagement-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.75rem;
}

.engagement-card p {
    font-size: 0.9rem;
    color: var(--muted-text);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.engagement-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--navy-text);
}

.engagement-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.engagement-features li svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

.pricing-clarification-banner {
    text-align: center;
    background: #ffffff;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    font-size: 0.95rem;
    color: var(--muted-text);
}

.pricing-clarification-banner strong {
    color: var(--navy-dark);
}

/* ==========================================================================
   11. Portfolio / Illustrative Solutions Section
   ========================================================================== */
.portfolio-section {
    background-color: #ffffff;
}

.portfolio-disclaimer {
    display: inline-block;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--muted-text);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.portfolio-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.portfolio-mockup {
    background: #0f172a;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.mockup-inner {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: var(--radius-sm);
    padding: 1rem;
    color: #94a3b8;
    font-size: 0.8rem;
}

.mockup-bar {
    height: 8px;
    background: #334155;
    border-radius: 4px;
    margin-bottom: 8px;
}

.mockup-bar.accent {
    background: var(--primary);
    width: 60%;
}

.mockup-bar.cyan {
    background: var(--accent);
    width: 40%;
}

.portfolio-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.75rem;
}

.portfolio-desc {
    font-size: 0.925rem;
    color: var(--muted-text);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.portfolio-tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.portfolio-tag {
    background: var(--bg-surface);
    color: var(--muted-text);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   12. FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-dark);
    cursor: pointer;
    gap: 1rem;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--muted-text);
    font-size: 0.95rem;
    line-height: 1.65;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer-inner {
    border-top-color: var(--bg-surface);
}

/* ==========================================================================
   13. Contact Section
   ========================================================================== */
.contact-section {
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
}

.contact-info-col h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-info-col p {
    color: var(--muted-text);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-detail-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-detail-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 10px 24px -4px rgba(5, 150, 105, 0.14);
}

.contact-detail-card.location-card {
    background: var(--bg-surface);
    border-color: var(--border-color);
}

.detail-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.detail-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.06);
    color: var(--navy-text);
}

.detail-badge.live {
    background: rgba(5, 150, 105, 0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.detail-subtext {
    display: block;
    font-size: 0.8rem;
    color: var(--muted-text);
    margin-top: 0.35rem;
    line-height: 1.4;
}

.hq-title {
    color: var(--navy-dark);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.hq-address {
    font-size: 0.88rem;
    color: var(--muted-text);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.hq-actions {
    margin-top: 0.4rem;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.map-link:hover {
    color: var(--primary-hover);
    transform: translateX(3px);
}

.pulse-dot-mini {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: statusPulse 1.8s infinite ease-in-out;
}

.footer-coworking-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.775rem;
    color: #cbd5e1;
    margin-top: 1rem;
}

.detail-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-detail-card:hover .detail-icon {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.06);
}

.detail-icon svg {
    width: 20px;
    height: 20px;
}

.detail-text {
    flex: 1;
}

.detail-text h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--navy-dark);
}

.detail-text p, .detail-text a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-dark);
}

.detail-text a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 0.45rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: var(--navy-text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.form-control.error {
    border-color: #ef4444;
    background-color: #fffaf0;
}

.error-message {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.35rem;
    font-weight: 500;
}

.form-control.error + .error-message {
    display: block;
}

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

/* Form Feedback Alert */
.form-alert {
    display: none;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-top: 1.25rem;
    font-size: 0.925rem;
    line-height: 1.5;
}

.form-alert.info {
    display: block;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.form-alert.error-alert {
    display: block;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer {
    background-color: #0b1120;
    color: #94a3b8;
    padding-top: 4.5rem;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
}

.footer-brand .brand-logo {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.925rem;
    line-height: 1.65;
    color: #94a3b8;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

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

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #64748b;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #64748b;
}

.footer-bottom-links a:hover {
    color: #cbd5e1;
}

/* ==========================================================================
   15. Modal Dialog (Privacy Policy Placeholder)
   ========================================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted-text);
    line-height: 1;
}

.modal-body {
    font-size: 0.95rem;
    color: var(--navy-text);
    line-height: 1.65;
}

.modal-body p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   16. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .services-slider-container .service-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
    }
    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .engagement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .timeline-track {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .timeline-track::before {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .section-padding {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
    .section-header {
        margin: 0 auto 2.25rem auto;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-desc {
        font-size: 0.95rem;
    }

    .nav-menu, .nav-cta {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }

    /* Hero Section Mobile Compact & Flow */
    .hero-section {
        padding: 3.5rem 0 3.5rem 0;
    }
    .hero-content h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }
    .hero-content p.hero-lead {
        font-size: 1.025rem;
        margin-bottom: 1.75rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hero-trust-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
        padding-top: 1.25rem;
        font-size: 0.825rem;
    }

    .brand-name {
        font-size: 1.15rem;
    }
    .brand-logo-badge {
        width: 38px;
        height: 38px;
    }

    /* Solutions Console Mobile Optimization */
    .console-header-bar {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .console-title {
        font-size: 0.775rem;
    }
    .system-status {
        font-size: 0.725rem;
        padding: 0.2rem 0.55rem;
    }
    .console-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .console-tab-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.775rem;
        flex-shrink: 0;
    }
    .console-body {
        padding: 1rem 0.85rem;
    }
    .arch-node {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
        padding: 0.75rem 0.85rem;
    }
    .node-left {
        width: 100%;
        min-width: 0;
        gap: 0.65rem;
    }
    .node-info {
        min-width: 0;
        flex: 1;
    }
    .node-info h4 {
        font-size: 0.85rem;
        word-break: break-word;
    }
    .node-info p {
        font-size: 0.725rem;
        word-break: break-word;
    }
    .node-tag {
        align-self: flex-start;
        font-size: 0.7rem;
    }

    .stack-matrix-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .stack-card {
        padding: 0.85rem;
    }

    .sla-metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .sla-card {
        padding: 0.85rem;
    }
    .sla-number {
        font-size: 1.45rem;
    }

    /* About Section */
    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
    .highlight-card {
        padding: 1.35rem;
    }
    
    /* Services Slider Mobile Behavior */
    .services-slider-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .services-filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.35rem;
        -webkit-overflow-scrolling: touch;
    }
    .filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.5rem 0.95rem;
        font-size: 0.8rem;
    }
    .slider-actions-group {
        justify-content: space-between;
        width: 100%;
    }
    .slider-view-toggle {
        display: none; /* Phones utilize swipeable slider view for optimal UX */
    }
    .services-slider-container .service-card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 1.35rem;
    }
    .mobile-swipe-indicator {
        display: inline-flex;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
    .commitment-card {
        padding: 1.35rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .industry-card {
        padding: 1.15rem;
    }

    .timeline-track {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .engagement-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
    .engagement-card {
        padding: 1.35rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .portfolio-card .portfolio-body {
        padding: 1.35rem;
    }

    .faq-question {
        padding: 1rem 1.15rem;
        font-size: 0.95rem;
    }
    .faq-answer-inner {
        padding: 0 1.15rem 1.15rem 1.15rem;
        font-size: 0.9rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }
    .contact-detail-card {
        padding: 1rem;
    }
    .detail-label-row {
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    .detail-text {
        min-width: 0;
        overflow-wrap: break-word;
    }
    .hq-address {
        word-break: break-word;
        font-size: 0.825rem;
    }

    .contact-form-card {
        padding: 1.5rem 1.25rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding-bottom: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.85rem;
        text-align: center;
        padding: 1.5rem 0;
    }
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .section-padding {
        padding-top: 2.75rem;
        padding-bottom: 2.75rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-desc {
        font-size: 0.875rem;
    }

    .brand-domain-tag {
        display: none;
    }
    .brand-name {
        font-size: 1.1rem;
    }

    .hero-section {
        padding: 2.75rem 0 2.75rem 0;
    }
    .hero-content h1 {
        font-size: 1.65rem;
    }
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .filter-tab {
        padding: 0.4rem 0.8rem;
        font-size: 0.775rem;
    }
    .slider-arrow {
        width: 38px;
        height: 38px;
    }
    .services-slider-container .service-card {
        padding: 1.15rem;
    }

    .contact-form-card {
        padding: 1.25rem 0.9rem;
    }
}

/* ==========================================================================
   17. Micro-Interactions, Scroll Reveal & Visual Effects
   ========================================================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-in"] {
    transform: none;
    transition: opacity 0.75s ease;
}

[data-animate="scale-up"] {
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="scale-up"].is-visible {
    opacity: 1;
    transform: scale(1);
}

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

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
}

.float-animation {
    animation: floatSlow 4.5s ease-in-out infinite;
}

/* Shimmer Highlight on Badges */
.badge {
    position: relative;
    overflow: hidden;
}

.badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: badgeShimmer 4s infinite ease-in-out;
}

@keyframes badgeShimmer {
    0% { left: -100%; }
    25%, 100% { left: 150%; }
}
