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

:root {
    --bg-dark: #090b1c;
    --bg-header: rgba(9, 11, 28, 0.7);
    --bg-header-scrolled: rgba(9, 11, 28, 0.95);
    --bg-footer: #050612;
    --bg-card: rgba(18, 22, 48, 0.7);
    --bg-card-hover: rgba(28, 34, 74, 0.85);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(var(--accent-cyan-rgb), 0.3);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-cyan: #ff7e1a;
    --accent-cyan-rgb: 255, 126, 26;
    --accent-blue: #4e52e9;
    --accent-blue-rgb: 78, 82, 233;
    
    --gradient-accent: linear-gradient(135deg, #ff7e1a 0%, #4e52e9 100%);
    --gradient-text: linear-gradient(135deg, #ffffff 30%, #ffd0a5 100%);
    --gradient-glow: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.15) 0%, rgba(9, 11, 28, 0) 70%);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;

    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(var(--accent-cyan-rgb), 0.2);

    /* Background image variables */
    --bg-img-opacity: 0.27;
    --bg-img-mix-blend: normal;
}

[data-theme="light"] {
    --bg-dark: #f5f7fc;
    --bg-header: rgba(245, 247, 252, 0.7);
    --bg-header-scrolled: rgba(245, 247, 252, 0.95);
    --bg-footer: #e1e6f2;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: #ffffff;
    --border-color: rgba(45, 46, 113, 0.08);
    --border-hover: rgba(var(--accent-cyan-rgb), 0.6);

    --text-primary: #1c1d3a;
    --text-secondary: #424665;
    --text-muted: #6b7280;

    --accent-cyan: #e46b12;
    --accent-cyan-rgb: 228, 107, 18;
    --accent-blue: #2d2e71;
    --accent-blue-rgb: 45, 46, 113;

    --gradient-text: linear-gradient(135deg, #1c1d3a 30%, #e46b12 100%);
    --gradient-glow: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.15) 0%, rgba(245, 247, 252, 0) 70%);

    /* Background image variables */
    --bg-img-opacity: 0.25;
    --bg-img-mix-blend: multiply;
}

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

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

body {
    position: relative;
    background-color: transparent;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Faded background image with fade out at bottom */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: var(--bg-img-opacity);
    mix-blend-mode: var(--bg-img-mix-blend);
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
}

/* Ambient glow radial gradients */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(var(--accent-cyan-rgb), 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(var(--accent-blue-rgb), 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Glass Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

header.scrolled {
    background: var(--bg-header-scrolled);
    padding: 8px 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

header.scrolled .header-container {
    padding: 12px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(var(--accent-cyan-rgb), 0.25);
    border-color: rgba(var(--accent-cyan-rgb), 0.2);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.logo-text .logo-word-blue {
    color: var(--accent-blue);
    font-weight: 700;
}

.logo-text .logo-word-orange {
    color: var(--accent-cyan);
    font-weight: 700;
}

.logo-text .logo-systems {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.mobile-quote-item {
    display: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

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

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

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

.nav-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections Configuration */
section {
    min-height: 100vh;
    padding: 140px 24px 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    display: none;
    /* Virtual Router hides inactive sections */
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 180px;
    position: relative;
}

.hero-glow {
    position: absolute;
    top: 15%;
    width: 600px;
    height: 600px;
    background: var(--gradient-glow);
    z-index: -1;
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(var(--accent-cyan-rgb), 0.08);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.2);
    border-radius: 30px;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge span {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    max-width: 900px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
}

.btn-primary {
    padding: 16px 32px;
    background: var(--gradient-accent);
    color: #070913;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glow);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(var(--accent-cyan-rgb), 0.35);
}

.btn-secondary {
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-secondary);
    transform: translateY(-3px);
}

/* Quick Features / Solutions Grid on Home Page */
.home-solutions-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 48px;
    position: relative;
    display: inline-block;
}

.home-solutions-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.solutions-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1200px;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0;
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
    pointer-events: none;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 0 36px 36px 36px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.card-content .card-icon {
    margin-top: -24px;
    position: relative;
    z-index: 2;
    background: var(--bg-dark);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(var(--accent-cyan-rgb), 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.solution-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-premium);
}

.solution-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
    color: var(--accent-cyan);
}

.solution-card:hover .card-icon {
    background: var(--gradient-accent);
    color: #070913;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.solution-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* Page Titles */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section CSS */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.experience-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.exp-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-box:hover {
    border-color: rgba(var(--accent-blue-rgb), 0.3);
    transform: scale(1.02);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Collaboration Logos */
.collab-logo {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 90px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.1);
}

.collab-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--accent-cyan-rgb), 0.25);
    background: #ffffff;
}

.collab-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(85%);
    transition: var(--transition-smooth);
}

.collab-logo:hover img {
    filter: grayscale(0%) opacity(100%);
}

/* Team Showcase inside About */
.team-container {
    margin-top: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    position: relative;
    height: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-smooth);
}

.team-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-smooth);
}

/* Gradient overlay for text contrast and fade at bottom */
.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(9, 11, 28, 0.1) 0%,
        rgba(9, 11, 28, 0.4) 40%,
        rgba(9, 11, 28, 0.82) 70%,
        rgba(9, 11, 28, 0.98) 100%
    );
    z-index: 2;
    transition: var(--transition-smooth);
}

[data-theme="light"] .team-card::after {
    background: linear-gradient(
        to bottom,
        rgba(245, 247, 252, 0.1) 0%,
        rgba(245, 247, 252, 0.4) 40%,
        rgba(245, 247, 252, 0.82) 70%,
        rgba(245, 247, 252, 0.98) 100%
    );
}

.team-card-info {
    position: relative;
    z-index: 3;
    padding: 30px 24px;
    text-align: left;
    width: 100%;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.team-card h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.team-role {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.team-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.team-qualification {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.78rem;
    color: var(--text-primary);
    font-weight: 500;
    backdrop-filter: blur(4px);
}

[data-theme="light"] .team-qualification {
    background: rgba(45, 46, 113, 0.06);
    border-color: rgba(45, 46, 113, 0.06);
    color: var(--text-secondary);
}

/* Hover Zoom & Glow */
.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-premium), 0 0 20px rgba(var(--accent-cyan-rgb), 0.15);
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

.team-card:hover::after {
    background: linear-gradient(
        to bottom,
        rgba(9, 11, 28, 0.05) 0%,
        rgba(9, 11, 28, 0.3) 30%,
        rgba(9, 11, 28, 0.78) 60%,
        rgba(9, 11, 28, 0.95) 100%
    );
}

[data-theme="light"] .team-card:hover::after {
    background: linear-gradient(
        to bottom,
        rgba(245, 247, 252, 0.05) 0%,
        rgba(245, 247, 252, 0.3) 30%,
        rgba(245, 247, 252, 0.78) 60%,
        rgba(245, 247, 252, 0.95) 100%
    );
}

/* Solutions Section Tabbed Detail layout */
.solutions-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    margin-top: 40px;
}

.solutions-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sol-tab-btn {
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sol-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.sol-tab-btn.active {
    background: var(--gradient-accent);
    color: #070913;
    border-color: transparent;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
}

.solutions-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    min-height: 400px;
    position: relative;
}

.sol-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.sol-panel.active {
    display: block;
}

.sol-panel h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.sol-panel p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.sol-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sol-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sol-feature-item svg {
    flex-shrink: 0;
    color: var(--accent-cyan);
    margin-top: 4px;
}

.sol-feature-item div h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.sol-feature-item div p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Products/Systems Showcase Catalog with Filters */
.catalog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.filter-btn.active {
    background: var(--gradient-accent);
    color: #070913;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-premium);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(13, 18, 36, 0.9) 0%, rgba(20, 26, 42, 0.9) 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.15) 0%, transparent 70%);
}

.product-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-tag {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.product-spec-list {
    margin-bottom: 24px;
    list-style: none;
}

.product-spec-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-spec-list li::before {
    content: '→';
    color: var(--accent-blue);
    font-weight: bold;
}

.product-action {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    text-decoration: none;
}

.product-action:hover {
    background: var(--gradient-accent);
    color: #070913;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

/* Contact Us Section with Form */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(var(--accent-cyan-rgb), 0.05);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.info-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.info-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.15);
    background: rgba(255, 255, 255, 0.04);
}

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

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--gradient-accent);
    color: #070913;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glow);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--accent-cyan-rgb), 0.25);
}

.form-status {
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    color: #10b981;
}

.form-status.error {
    display: block;
    color: #ef4444;
}

/* Footer Section */
footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border-color);
    padding: 60px 24px 30px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.footer-about p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 320px;
    line-height: 1.6;
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col ul li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links-col ul li a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-terms a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 24px;
    transition: var(--transition-fast);
}

.footer-terms a:hover {
    color: var(--text-secondary);
}

/* Responsiveness adjustments */
@media (max-width: 968px) {
    .header-container {
        padding: 16px 24px;
    }

    .logo-text {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 60px 24px;
        gap: 24px;
        overflow-y: auto;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-quote-item {
        display: block;
        margin-top: 16px;
    }

    .mobile-menu-quote-btn {
        display: inline-block;
        padding: 12px 32px;
        text-align: center;
        background: var(--gradient-accent);
        border-color: transparent;
        color: #070913 !important;
        font-weight: 600;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solutions-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .solutions-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .sol-tab-btn {
        padding: 12px 18px;
        font-size: 0.85rem;
        flex-grow: 1;
        justify-content: center;
        text-align: center;
        min-width: 140px;
    }

    .solutions-content {
        padding: 24px;
        min-height: auto;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
        width: 100%;
    }

    .sol-features-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 24px;
    }

    #headerQuoteBtn {
        display: none;
    }
}

/* Rebuild Expansion Styles */

/* Team Avatar Gradient Initials */
.team-avatar-gradient {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(var(--accent-cyan-rgb), 0.15) 0%, rgba(var(--accent-blue-rgb), 0.15) 100%);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.4);
    box-shadow: inset 0 0 15px rgba(var(--accent-cyan-rgb), 0.1), var(--shadow-glow);
}

.team-card:hover .team-avatar-gradient {
    background: var(--gradient-accent);
    color: #070913;
    border-color: transparent;
    text-shadow: none;
    box-shadow: 0 10px 25px rgba(var(--accent-cyan-rgb), 0.4);
}


/* Redesigned Credentials Gallery */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 32px;
}

.credential-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.credential-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-premium), 0 0 20px rgba(var(--accent-cyan-rgb), 0.1);
}

/* Image Showcase Container */
.credential-img-wrapper {
    width: 100%;
    height: 350px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.credential-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.credential-card:hover .credential-img {
    transform: scale(1.04);
}

/* Hover Overlay */
.credential-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 11, 28, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.credential-card:hover .credential-overlay {
    opacity: 1;
}

.view-btn {
    padding: 8px 16px;
    background: var(--gradient-accent);
    color: #070913;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Placeholder Styling for Pending Certificates */
.credential-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--accent-blue-rgb), 0.04) 0%, rgba(var(--accent-cyan-rgb), 0.04) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.credential-card:hover .credential-placeholder {
    color: var(--accent-cyan);
    background: linear-gradient(135deg, rgba(var(--accent-blue-rgb), 0.08) 0%, rgba(var(--accent-cyan-rgb), 0.08) 100%);
}

.credential-placeholder span {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Text Info Container */
.credential-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.credential-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.credential-info .cred-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.credential-info .cred-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Opportunities Section Cards */
.opp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.opp-card {
    background-color: var(--bg-card);
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: none;
}

.opp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium), 0 10px 30px rgba(var(--accent-cyan-rgb), 0.2);
}

.opp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(9, 11, 28, 0.98) 0%, rgba(9, 11, 28, 0.7) 50%, rgba(9, 11, 28, 0.2) 100%);
    z-index: 1;
    transition: var(--transition-smooth);
}

.opp-card:hover .opp-overlay {
    background: linear-gradient(to top, rgba(9, 11, 28, 0.9) 0%, rgba(9, 11, 28, 0.6) 50%, rgba(9, 11, 28, 0.1) 100%);
}

.opp-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.opp-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.opp-card:hover .opp-icon {
    background: var(--gradient-accent);
    color: #070913;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.opp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.opp-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .credentials-grid,
    .opp-grid,
    .products-grid,
    .team-grid,
    .solutions-preview {
        grid-template-columns: 1fr;
    }
}