/* ==========================================================================
   MAXIPOWER SALES AND SERVICES CORPORATION - DESIGN SYSTEM
   Modern Industrial Engineering & Power Infrastructure Aesthetic
   ========================================================================== */

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

:root {
    /* Brand Color Palette */
    --brand-maroon: #be123c;
    --brand-maroon-hover: #9f1239;
    --brand-maroon-dark: #881337;
    --brand-maroon-glow: rgba(190, 18, 60, 0.35);
    --brand-maroon-tint: rgba(190, 18, 60, 0.08);

    /* Dark Industrial Palette (Deep Slate & Carbon) */
    --slate-950: #060911;
    --slate-900: #0f172a;
    --slate-850: #141f36;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;

    /* Light Theme Accents */
    --bg-surface: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-muted: #f1f5f9;
    --border-light: #e2e8f0;
    --border-subtle: #cbd5e1;

    /* Text Colors */
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --text-silver: #cbd5e1;

    /* Technical Accents */
    --accent-gold: #f59e0b;
    --accent-emerald: #10b981;
    --accent-cyan: #06b6d4;

    /* Layout & Elevation */
    --container-max: 1240px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.2);
    --shadow-glow: 0 8px 30px rgba(190, 18, 60, 0.25);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-body);
    background-color: var(--bg-surface);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-body);
    font-size: 1.025rem;
}

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   Utility & Container Classes
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section {
    padding: 6.5rem 0;
    position: relative;
}

.section-sm {
    padding: 4rem 0;
}

.section-dark {
    background-color: var(--slate-900);
    color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--text-light);
}

.section-dark p {
    color: var(--slate-300);
}

.section-subtle {
    background-color: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    background: var(--brand-maroon-tint);
    color: var(--brand-maroon);
    border: 1px solid rgba(190, 18, 60, 0.2);
    margin-bottom: 1rem;
}

.section-tag.tag-dark {
    background: rgba(255, 255, 255, 0.08);
    color: #fda4af;
    border-color: rgba(255, 255, 255, 0.15);
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 1.2rem;
}

.section-title span {
    color: var(--brand-maroon);
}

.section-dark .section-title span {
    color: #fb7185;
}

.section-subtitle {
    max-width: 680px;
    margin: 0 auto 3.5rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.section-dark .section-subtitle {
    color: var(--slate-300);
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn i,
.btn .icon {
    width: 1.1em;
    height: 1.1em;
    transition: transform 0.2s ease;
}

.btn:hover i,
.btn:hover .icon {
    transform: translateX(3px);
}

/* Base Copyright-Free SVG Icon System */
.icon {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.18em;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

.icon-sm {
    width: 0.9em;
    height: 0.9em;
    vertical-align: -0.12em;
}

.icon-md {
    width: 1.35em;
    height: 1.35em;
    vertical-align: -0.22em;
}

.icon-lg {
    width: 1.75em;
    height: 1.75em;
    vertical-align: -0.25em;
}

.icon-xl {
    width: 2.25rem;
    height: 2.25rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.icon-spin {
    animation: spin 1s linear infinite;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-maroon), var(--brand-maroon-dark));
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(190, 18, 60, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e11d48, var(--brand-maroon));
    box-shadow: 0 6px 20px rgba(190, 18, 60, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-secondary {
    background: transparent;
    color: var(--brand-maroon);
    border-color: var(--brand-maroon);
}

.btn-secondary:hover {
    background: var(--brand-maroon);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-white {
    background: #ffffff;
    color: var(--slate-900);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--slate-100);
    color: var(--brand-maroon);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.05rem 2.25rem;
    font-size: 1.05rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

/* Utility bar on top */
.top-bar {
    background-color: var(--slate-950);
    color: var(--slate-400);
    font-size: 0.78rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-normal);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-item i,
.top-bar-item .icon {
    color: var(--brand-maroon);
    width: 1em;
    height: 1em;
}

.top-bar-item a {
    color: var(--slate-300);
}

.top-bar-item a:hover {
    color: #ffffff;
}

/* Main Navbar */
.main-nav {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.site-header.scrolled .main-nav {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
    transition: height var(--transition-normal);
}

.site-header.scrolled .nav-container {
    height: 66px;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-logo img {
    height: 44px;
    width: auto;
    transition: var(--transition-fast);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-maroon);
    letter-spacing: -0.01em;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 0.2rem;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--slate-700);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

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

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

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

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



/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--slate-800);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    line-height: 1;
}

/* Mobile Drawer */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 1100;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-smooth);
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

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

.drawer-close {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    color: var(--slate-500);
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.drawer-link {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-800);
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-link:hover,
.drawer-link.active {
    color: var(--brand-maroon);
    background: var(--brand-maroon-tint);
}

.drawer-contact {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 11rem 0 6rem;
    background: radial-gradient(circle at 80% 20%, rgba(190, 18, 60, 0.22) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 40%),
                linear-gradient(rgba(6, 9, 17, 0.82), rgba(6, 9, 17, 0.90)),
                url('assets/hero_background.png') center/cover no-repeat;
    color: #ffffff;
    overflow: hidden;
}

/* Ambient technical grid lines */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}



.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.hero h1 .text-highlight {
    background: linear-gradient(135deg, #ff718a, #fb7185, #fda4af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--slate-300);
    max-width: 620px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}

/* Hero Trust Pillars */
.hero-pillars {
    display: flex;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 2rem;
}

.pillar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pillar-item i {
    color: #fda4af;
    font-size: 1.25rem;
}

.pillar-item span {
    font-size: 0.85rem;
    color: var(--slate-300);
    font-weight: 500;
}

/* Hero Quick Quote Card */
.hero-card {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.hero-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-maroon), transparent);
}

.hero-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.hero-card p {
    color: var(--slate-300);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Hero Stat Bar */
.stats-strip {
    background: var(--slate-900);
    border-bottom: 1px solid var(--slate-800);
    padding: 2.5rem 0;
    position: relative;
    z-index: 10;
}

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

.stat-box {
    text-align: center;
    position: relative;
}

.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--slate-800);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: #fb7185;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--slate-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Solutions & Product Grid
   ========================================================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.solution-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--slate-200);
    transition: var(--transition-fast);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(190, 18, 60, 0.2);
}

.solution-card:hover::before {
    background: linear-gradient(90deg, var(--brand-maroon), #f43f5e);
}

.solution-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--brand-maroon-tint);
    color: var(--brand-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    transition: var(--transition-fast);
}

.solution-card:hover .solution-icon {
    background: var(--brand-maroon);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.solution-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    color: var(--text-heading);
}

.solution-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.solution-list {
    margin-bottom: 1.8rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.2rem;
}

.solution-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
}

.solution-list li i {
    color: var(--brand-maroon);
    font-size: 0.75rem;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-maroon);
}

.solution-link:hover {
    gap: 0.8rem;
}

/* ==========================================================================
   Engineering Workflow (4-Step Timeline)
   ========================================================================== */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 3.5rem;
}

.workflow-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-subtle) 0, var(--border-subtle) 6px, transparent 6px, transparent 12px);
    z-index: 1;
}

.workflow-card {
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 3px solid var(--brand-maroon);
    color: var(--brand-maroon);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 6px rgba(190, 18, 60, 0.1);
    transition: var(--transition-normal);
}

.workflow-card:hover .step-badge {
    background: var(--brand-maroon);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(190, 18, 60, 0.18);
}

.workflow-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

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

/* ==========================================================================
   Catalog Filter & Product Cards (Services Page)
   ========================================================================== */
.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    color: var(--slate-700);
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--brand-maroon);
    color: var(--brand-maroon);
}

.filter-btn.active {
    background: var(--brand-maroon);
    color: #ffffff;
    border-color: var(--brand-maroon);
    box-shadow: 0 4px 12px rgba(190, 18, 60, 0.25);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.catalog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.catalog-card.hidden {
    display: none;
}

.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(190, 18, 60, 0.25);
}

.catalog-thumb {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--slate-900);
}

.catalog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.catalog-card:hover .catalog-thumb img {
    transform: scale(1.06);
}

.catalog-category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.catalog-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.catalog-body p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.55;
    flex-grow: 1;
}

.catalog-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
}

.spec-badge {
    background: var(--slate-100);
    color: var(--slate-700);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.catalog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   Subpage Banner
   ========================================================================== */
.subpage-banner {
    padding: 11rem 0 5rem;
    background: linear-gradient(rgba(6, 9, 17, 0.85), rgba(6, 9, 17, 0.92)),
                url('assets/hero_background.png') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.subpage-banner h1 {
    font-size: 3.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.subpage-banner h1 span {
    color: #fb7185;
}

.subpage-banner p {
    color: var(--slate-300);
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.15rem;
}

/* ==========================================================================
   About Page Components
   ========================================================================== */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-visual-stack {
    position: relative;
}

.about-main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.about-floating-card {
    position: absolute;
    bottom: -2rem;
    right: -1.5rem;
    background: var(--slate-900);
    color: #ffffff;
    padding: 1.5rem 1.8rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-700);
    max-width: 260px;
}

.about-floating-card .years {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fb7185;
    line-height: 1;
}

.about-floating-card p {
    color: var(--slate-300);
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

/* Corporate Profile Table */
.corp-profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.corp-profile-table tr {
    border-bottom: 1px solid var(--border-light);
}

.corp-profile-table tr:last-child {
    border-bottom: none;
}

.corp-profile-table th {
    text-align: left;
    padding: 1rem 1.25rem;
    background: var(--slate-50);
    color: var(--slate-600);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 35%;
}

.corp-profile-table td {
    padding: 1rem 1.25rem;
    color: var(--text-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Strategic Enterprise Capabilities Grid */
.corp-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.cap-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.cap-card:hover {
    border-color: rgba(190, 18, 60, 0.4);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.cap-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--brand-maroon-tint);
    color: var(--brand-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cap-icon .icon {
    width: 22px;
    height: 22px;
}

.cap-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.cap-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 640px) {
    .corp-capabilities-grid {
        grid-template-columns: 1fr;
    }
}

/* Company Milestone Timeline */
.timeline {
    position: relative;
    max-width: 860px;
    margin: 3.5rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--border-subtle);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding: 0 2.5rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-maroon);
    border: 4px solid var(--bg-surface);
    box-shadow: 0 0 0 3px rgba(190, 18, 60, 0.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--bg-surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.timeline-year {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-maroon);
    margin-bottom: 0.3rem;
}

/* ==========================================================================
   Contact Page & RFQ Form
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 4rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.channel-card {
    display: flex;
    gap: 1.4rem;
    padding: 1.6rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.channel-card:hover {
    border-color: var(--brand-maroon);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--brand-maroon-tint);
    color: var(--brand-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.channel-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.channel-info p, .channel-info a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.channel-info a:hover {
    color: var(--brand-maroon);
}

/* Form Styles */
.form-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    box-shadow: var(--shadow-lg);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background-color: #ffffff;
    color: var(--text-heading);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-maroon);
    box-shadow: 0 0 0 3px rgba(190, 18, 60, 0.15);
}

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

.privacy-notice {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 1rem;
}

.privacy-notice a {
    color: var(--brand-maroon);
    text-decoration: underline;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

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

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.4rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-heading);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--brand-maroon);
}

.faq-question i,
.faq-question .icon {
    width: 1.1em;
    height: 1.1em;
    transition: transform var(--transition-fast);
    color: var(--brand-maroon);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 1.8rem;
}

.faq-answer p {
    padding-bottom: 1.4rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Global RFQ Modal
   ========================================================================== */
.rfq-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.rfq-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.rfq-modal {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    border: 1px solid var(--border-light);
    transform: scale(0.95);
    transition: transform var(--transition-smooth);
}

.rfq-modal-overlay.active .rfq-modal {
    transform: scale(1);
}

.modal-header {
    padding: 1.8rem 2rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--slate-50);
}

.modal-header h3 {
    font-size: 1.35rem;
    color: var(--text-heading);
}

.modal-header h3 span {
    color: var(--brand-maroon);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--slate-400);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--slate-900);
}

.modal-body {
    padding: 2rem;
}

/* ==========================================================================
   Floating Quick-Contact Hub (FAB)
   ========================================================================== */
.contact-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.fab-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-normal);
}

.contact-fab.active .fab-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--slate-900);
    color: #ffffff;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-700);
    transition: var(--transition-fast);
}

.fab-item:hover {
    background: var(--brand-maroon);
    border-color: var(--brand-maroon);
    transform: translateX(-4px);
    color: #ffffff;
}

.fab-item i {
    font-size: 1rem;
}

.fab-trigger {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-maroon), var(--brand-maroon-dark));
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 24px rgba(190, 18, 60, 0.45);
    transition: var(--transition-normal);
}

.fab-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(190, 18, 60, 0.6);
}

.contact-fab.active .fab-trigger i {
    transform: rotate(45deg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--slate-950);
    color: var(--slate-400);
    padding: 5.5rem 0 2rem;
    border-top: 1px solid var(--slate-800);
}

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

.footer-brand .brand-title {
    color: #ffffff;
    font-size: 1.6rem;
}

.footer-brand .brand-subtitle {
    color: var(--slate-400);
}

.footer-brand p {
    color: var(--slate-400);
    font-size: 0.92rem;
    margin-top: 1.2rem;
    line-height: 1.6;
    max-width: 320px;
}



.footer-column h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
}

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

.footer-links a {
    color: var(--slate-400);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: #fb7185;
    transform: translateX(3px);
}

.footer-links a .icon {
    width: 0.85em;
    height: 0.85em;
    color: var(--brand-maroon);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
}

.footer-contact-item i,
.footer-contact-item .icon {
    color: var(--brand-maroon);
    margin-top: 0.25rem;
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: var(--slate-300);
}

.footer-contact-item a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--slate-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--slate-500);
}

.footer-bottom a {
    color: var(--slate-400);
}

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

/* ==========================================================================
   Scroll Animations
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-card {
        max-width: 600px;
    }
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 3rem;
    }
    .workflow-grid::before {
        display: none;
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .top-bar {
        display: none;
    }
    .nav-menu, .nav-phone-pill, .nav-actions .btn {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 2.85rem;
    }
    .about-hero-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 3.5rem;
        padding-right: 0;
    }
    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 2rem;
    }
    .stat-box:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4.5rem 0;
    }
    .hero {
        padding: 8.5rem 0 4.5rem;
        min-height: auto;
    }
    .hero h1 {
        font-size: 2.25rem;
    }
    .hero-desc {
        font-size: 1.05rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-pillars {
        flex-direction: column;
        gap: 1rem;
    }
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-box::after {
        display: none !important;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full {
        grid-column: span 1;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .contact-fab {
        bottom: 1.25rem;
        right: 1.25rem;
    }
}