﻿/* -------------------------------------------------- */
/*                   RESET & BASICS                   */
/* -------------------------------------------------- */
:root {
    /* Professional Color Palette - Deep Blue & Teal with Gold Accents */
    --primary-color: #00d9ff;
    --primary-dark: #00b8d4;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;

    /* Background Colors - Dark Theme (Lighter) */
    --dark-bg: #0f172a;
    /* Slate 900 */
    --dark-bg-alt: #1e293b;
    /* Slate 800 */
    --card-bg: #334155;
    /* Slate 700 */
    --card-bg-hover: #475569;
    /* Slate 600 */

    /* Text Colors - Dark Theme */
    --text-color: #e2e8f0;
    /* Slate 200 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --text-light: #cbd5e1;
    /* Slate 300 */
    --white: #ffffff;
    --heading-color: #f8fafc;
    /* Slate 50 */

    /* Gradients */
    --accent-gradient: linear-gradient(135deg, #00d9ff 0%, #3b82f6 50%, #6366f1 100%);
    --accent-gradient-subtle: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);

    /* Glass Effects */
    --glass-bg: rgba(15, 23, 42, 0.85);
    /* Dark Glass */
    --glass-bg-light: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Arial', sans-serif;
    --font-body: 'Arial', sans-serif;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows - Dark Theme */
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px -15px rgba(0, 0, 0, 0.6);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 8px 24px rgba(245, 158, 11, 0.15);

    /* Border Radius */
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-sm: 12px;
    --border-radius-xl: 32px;

    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(0, 217, 255, 0.08) 0px, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.08) 0px, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

/* -------------------------------------------------- */
/*                     TYPOGRAPHY                     */
/* -------------------------------------------------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 700;
}

.highlight-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* -------------------------------------------------- */
/*                     BUTTONS                        */
/* -------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.4), 0 0 0 0 rgba(0, 217, 255, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 217, 255, 0.5), 0 0 0 4px rgba(0, 217, 255, 0.15);
}

.btn-accent {
    background: var(--gold-gradient);
    color: var(--dark-bg);
    font-weight: 700;
    box-shadow: var(--shadow-gold);
    border: none;
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.15);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 25px rgba(0, 217, 255, 0.3), inset 0 0 20px rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

/* -------------------------------------------------- */
/*                     NAVBAR                         */
/* -------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 10;
    position: relative;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 8px rgba(0, 217, 255, 0.3));
    transition: var(--transition);
    -webkit-filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 8px rgba(0, 217, 255, 0.3));
}

.logo-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 20px rgba(0, 217, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.logo-card:hover {
    box-shadow:
        0 8px 35px rgba(0, 217, 255, 0.35),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.logo-card:hover::before {
    opacity: 1;
}

.logo-card:hover .navbar-brand-logo {
    filter: brightness(1.3) contrast(1.15) drop-shadow(0 0 12px rgba(0, 217, 255, 0.5));
    transform: scale(1.05);
    -webkit-filter: brightness(1.3) contrast(1.15) drop-shadow(0 0 12px rgba(0, 217, 255, 0.5));
}

.navbar.scrolled .logo-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .navbar-brand-logo {
    filter: brightness(1.25) contrast(1.12) drop-shadow(0 0 10px rgba(0, 217, 255, 0.4));
    -webkit-filter: brightness(1.25) contrast(1.12) drop-shadow(0 0 10px rgba(0, 217, 255, 0.4));
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.btn-contact {
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
}

.btn-contact:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--white);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--card-bg);
    min-width: 250px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--glass-border);
    padding: 8px 0;
    z-index: 1100;
    backdrop-filter: blur(12px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--text-color);
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background: var(--card-bg-hover);
    border-left-color: var(--primary-color);
    padding-left: 28px;
}

.nav-link i.fa-chevron-down {
    font-size: 0.75em;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

/* -------------------------------------------------- */
/*                     HERO                           */
/* -------------------------------------------------- */
.hero {
    position: relative;
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    /* Ensure content doesn't hit top edge on small screens */
    display: flex;
    align-items: center;
    background: url('assets/images/hero-bg.png') no-repeat center center/cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 2.5rem;
}

.hero-content p {
    font-size: 1.1rem;
}

.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* -------------------------------------------------- */
/*                     SHARED SECTIONS                */
/* -------------------------------------------------- */
.section {
    padding: 120px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
}

.section-title {
    margin-bottom: 60px;
    position: relative;
}

.underline {
    width: 100px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 20px auto 0;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.underline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

.bg-light {
    background: var(--dark-bg-alt);
    position: relative;
}


.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.04) 0px, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.04) 0px, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.02) 0px, transparent 50%);
    pointer-events: none;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-alt) 50%, var(--card-bg) 100%);
    position: relative;
}

/* -------------------------------------------------- */
/*                     TRUST BAR                      */
/* -------------------------------------------------- */
.trust-bar {
    background-color: var(--card-bg);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-grid {
    display: flex;
    justify-content: center;
    /* Changed from space-around for better centering with gap */
    flex-wrap: wrap;
    gap: 40px;
    /* Increased gap */
    text-align: center;
}

.trust-item {
    flex: 1 1 220px;
    /* Allow shrinking/growing */
    min-width: 200px;
    /* Prevent too small */
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.trust-item h3 {
    font-size: 1.5rem;
    /* Increased size slightly */
    margin-bottom: 5px;
    font-variant-numeric: tabular-nums;
    /* Ensures numbers don't jitter */
    /* min-width: 200px; - Removed to allow wrapping */
    /* Ensure space for growing numbers */
    word-break: break-word;
    /* Handle long numbers */
    display: inline-block;
}

.trust-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* -------------------------------------------------- */
/*                     ABOUT                          */
/* -------------------------------------------------- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-placeholder .tech-pattern {
    width: 100%;
    height: 400px;
    background: radial-gradient(circle at center, var(--secondary-color) 0%, transparent 20%),
        repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.05) 1px, transparent 1px, transparent 10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.feature-list {
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--primary-color);
}

/* New About Page Styles */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-stat-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.about-stat-card h3 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.mv-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.mv-card.featured {
    border-left-color: var(--accent-color);
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(245, 158, 11, 0.05) 100%);
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 229, 255, 0.2);
}

.mv-card:hover::before {
    transform: scaleY(1);
}

.mv-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.manuf-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.manuf-img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-preview-card {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg-alt);
    border-radius: 20px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 20px;
    max-width: 100%;
}

.card-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    filter: blur(80px);
    opacity: 0.5;
    animation: pulse 4s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}


/* -------------------------------------------------- */
/*                     PRODUCTS                       */
/* -------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
    position: relative;
    backdrop-filter: blur(10px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 229, 255, 0.3);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    height: 250px;
    background: #fff;
    /* Ensuring product images (white bg) pop */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    color: var(--heading-color);
    font-size: 1.5rem;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

.btn-text:hover {
    gap: 10px;
}

.category-title {
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
}


/* -------------------------------------------------- */
/*                     SOLUTIONS                      */
/* -------------------------------------------------- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.solution-card-link {
    display: block;
    height: 100%;
}

.solution-card {
    background: var(--card-bg);
    padding: 35px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover {
    background: var(--card-bg-hover);
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: var(--shadow-card-hover);
}

.solution-card:hover::before {
    opacity: 0.05;
}

.solution-card>* {
    position: relative;
    z-index: 1;
}

.solution-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* New Solution Page Styles */
.solution-detail {
    display: flex;
    gap: 50px;
    align-items: center;
}

.solution-detail.reverse {
    flex-direction: row-reverse;
}

.solution-text {
    flex: 1;
}

.solution-icon-large {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-icon-large i {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
    /* Very subtle */
    text-shadow: 0 0 30px var(--primary-color);
}

.solution-img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
}

.solution-features {
    margin-top: 20px;
}

.solution-features li {
    margin-bottom: 10px;
}

.solution-features i {
    color: var(--primary-color);
    margin-right: 10px;
}


/* -------------------------------------------------- */
/*                     CONTACT                        */
/* -------------------------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(0, 229, 255, 0.1);
    padding: 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 229, 255, 0.2);
    flex-shrink: 0;
}

.info-item:hover i {
    background: rgba(0, 229, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--primary-color);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-gradient);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-links a:hover {
    color: var(--dark-bg);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.social-links a i {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

input,
textarea,
select {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    background: #ffffff;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1), 0 4px 12px rgba(0, 229, 255, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

select option {
    background: var(--card-bg);
}

.map-container {
    margin-top: 40px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: #334155;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    gap: 20px;
}


/* -------------------------------------------------- */
/*                     PAGE HEADER                    */
/* -------------------------------------------------- */
.page-header {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%),
        url('assets/images/hero-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 229, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(41, 121, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
    background: linear-gradient(135deg, #f8fafc 0%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
    font-weight: 400;
    line-height: 1.7;
}


/* -------------------------------------------------- */
/*                     FOOTER                         */
/* -------------------------------------------------- */
footer {
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.98) 0%, #000 100%);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0.5;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 217, 255, 0.05) 0px, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05) 0px, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 25px;
    display: inline-block;
    transition: var(--transition);
    position: relative;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.footer-logo:hover::after {
    transform: scaleX(1);
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(1.15) contrast(1.05) drop-shadow(0 0 8px rgba(0, 217, 255, 0.2));
    transition: var(--transition);
    -webkit-filter: brightness(1.15) contrast(1.05) drop-shadow(0 0 8px rgba(0, 217, 255, 0.2));
    opacity: 0.95;
}

.footer-logo:hover img {
    filter: brightness(1.2) contrast(1.08) drop-shadow(0 0 12px rgba(0, 217, 255, 0.3));
    transform: scale(1.02);
    opacity: 1;
    -webkit-filter: brightness(1.2) contrast(1.08) drop-shadow(0 0 12px rgba(0, 217, 255, 0.3));
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
}

.footer-contact-item a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-gradient);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.footer-social a:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.footer-social a:hover::before {
    width: 100%;
    height: 100%;
}

.footer-social a i {
    position: relative;
    z-index: 1;
}

.footer-social a.linkedin:hover {
    border-color: #0077b5;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.footer-social a.twitter:hover {
    border-color: #1da1f2;
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.footer-social a.facebook:hover {
    border-color: #1877f2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.footer-social a.instagram:hover {
    border-color: #e4405f;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.footer-social a.youtube:hover {
    border-color: #ff0000;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 0 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
    }
}

/* -------------------------------------------------- */
/*                     PARTNERS                       */
/* -------------------------------------------------- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.partner-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.partner-card h4 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.1rem;
    font-family: var(--font-body);
    /* Keep it simple for subheaders */
}

.partner-img-wrapper {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    /* Fixed height for consistency */
    overflow: hidden;
}

.partner-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.partner-card:hover .partner-img-wrapper img {
    transform: scale(1.05);
}


/* -------------------------------------------------- */
/*                    RESPONSIVE                      */
/* -------------------------------------------------- */
@media (max-width: 991px) {
    h1 {
        font-size: 2.8rem;
    }

    .about-content,
    .contact-wrapper,
    .about-grid,
    .mission-vision,
    .manuf-content,
    .solution-detail,
    .solution-detail.reverse {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    /* Improved Tablet spacing */
    .section {
        padding: 80px 0;
    }

    .container {
        padding: 0 30px;
    }

    .about-stat-card {
        margin-top: 30px;
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .cta-group {
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar-brand-logo {
        height: 38px;
        filter: brightness(1.25) contrast(1.15) drop-shadow(0 0 10px rgba(0, 217, 255, 0.4));
        -webkit-filter: brightness(1.25) contrast(1.15) drop-shadow(0 0 10px rgba(0, 217, 255, 0.4));
    }

    .logo-card {
        padding: 10px 20px;
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.25);
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--glass-bg);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        width: 100%;
        text-align: center;
        padding: 40px 0;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .navbar.scrolled .nav-menu {
        top: 60px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        padding: 30px 20px;
    }

    .section {
        padding: 80px 0;
    }

    .trust-bar {
        padding: 50px 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* Hamburger Menu Animation */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 16px;
    }

    .cta-group {
        flex-direction: column;
        gap: 12px;
    }

    .cta-group .btn {
        width: 100%;
    }

    .navbar-brand-logo {
        height: 35px;
        filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 12px rgba(0, 217, 255, 0.5));
        -webkit-filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 12px rgba(0, 217, 255, 0.5));
    }

    .logo-card {
        padding: 8px 16px;
        background: rgba(255, 255, 255, 0.25);
    }

    .footer-logo img {
        height: 40px;
        filter: brightness(1.2) contrast(1.08) drop-shadow(0 0 10px rgba(0, 217, 255, 0.25));
        -webkit-filter: brightness(1.2) contrast(1.08) drop-shadow(0 0 10px rgba(0, 217, 255, 0.25));
        opacity: 0.95;
    }

    /* Improved Mobile Spacing */
    .section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .page-header {
        min-height: 300px;
        padding-top: 80px;
    }

    .trust-grid {
        gap: 30px;
    }
}

/* -------------------------------------------------- */
/*                     ANIMATIONS                     */
/* -------------------------------------------------- */
.animate-fade-up,
.trust-item,
.section-title,
.product-card,
.solution-card,
.solution-card-link,
.about-text,
.about-image-placeholder,
.about-stat-card,
.mv-card,
.manuf-content,
.solution-detail,
.contact-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Initial Load Animation */
.animate-fade-in {
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
    animation-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
    animation-delay: 0.4s;
}

.trust-item:nth-child(2) {
    transition-delay: 0.2s;
}

.trust-item:nth-child(3) {
    transition-delay: 0.4s;
}

.trust-item:nth-child(4) {
    transition-delay: 0.6s;
}

/* -------------------------------------------------- */
/*                  PROFESSIONAL BADGES                */
/* -------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.badge-primary {
    background: rgba(0, 217, 255, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.badge-gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-outline {
    background: transparent;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* -------------------------------------------------- */
/*                  PROFESSIONAL STATS                */
/* -------------------------------------------------- */
.stat-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: var(--shadow-card-hover);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* -------------------------------------------------- */
/*                  LOADING STATES                    */
/* -------------------------------------------------- */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--card-bg) 25%, var(--card-bg-hover) 50%, var(--card-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--border-radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* -------------------------------------------------- */
/*                  PROFESSIONAL DIVIDERS             */
/* -------------------------------------------------- */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: var(--spacing-xl) 0;
    border: none;
}

.divider-accent {
    height: 2px;
    background: var(--accent-gradient);
    margin: var(--spacing-xl) 0;
    border: none;
    opacity: 0.6;
}

.divider-dotted {
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0px, rgba(255, 255, 255, 0.1) 10px, transparent 10px, transparent 20px);
    margin: var(--spacing-xl) 0;
    border: none;
}

/* -------------------------------------------------- */
/*                  PROFESSIONAL TOOLTIPS              */
/* -------------------------------------------------- */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 0.85rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    z-index: 1000;
    box-shadow: var(--shadow-card);
}

.tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-12px);
}

/* -------------------------------------------------- */
/*                  PROFESSIONAL SCROLLBAR             */
/* -------------------------------------------------- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--card-bg);
    border-radius: 5px;
    border: 2px solid var(--dark-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--card-bg-hover);
}

/* -------------------------------------------------- */
/*                  PROFESSIONAL SELECTION             */
/* -------------------------------------------------- */
::selection {
    background: rgba(0, 217, 255, 0.3);
    color: var(--white);
}

::-moz-selection {
    background: rgba(0, 217, 255, 0.3);
    color: var(--white);
}

/* -------------------------------------------------- */
/*                  PROFESSIONAL FOCUS STATES          */
/* -------------------------------------------------- */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* -------------------------------------------------- */
/*                  PROFESSIONAL UTILITIES              */
/* -------------------------------------------------- */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
}

.shadow-glow {
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
}

.shadow-glow-gold {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

/* -------------------------------------------------- */
/*                     MARQUEE                        */
/* -------------------------------------------------- */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    background: var(--card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    max-width: 100vw;
    /* Ensure it doesn't overflow viewport */
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.marquee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 229, 255, 0.2);
}

.marquee-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.8;
}

.marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.reverse-scroll {
    animation: scroll-reverse 40s linear infinite;
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Theme Toggle Button */
.btn-theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.btn-theme-toggle:hover {
    background: var(--card-bg-hover);
    color: var(--primary-color);
    transform: rotate(15deg);
}

/* Light Mode Variables */
[data-theme="light"] {
    --primary-color: #22d3ee;
    /* Bright cyan for visibility */
    --primary-dark: #06b6d4;
    --secondary-color: #60a5fa;
    --accent-color: #fbbf24;
    --accent-light: #fcd34d;

    /* Background Colors - Comfortable Dark Grey Theme */
    --dark-bg: #2d3748;
    /* Comfortable medium-dark grey */
    --dark-bg-alt: #374151;
    /* Slightly lighter grey for alt sections */
    --card-bg: #4b5563;
    /* Medium grey cards */
    --card-bg-hover: #6b7280;
    /* Lighter hover state */

    /* Text Colors - Light Theme */
    --text-color: #e5e7eb;
    /* Light grey text */
    --text-muted: #9ca3af;
    /* Muted grey */
    --text-light: #d1d5db;
    /* Lighter grey */
    --white: #ffffff;
    --heading-color: #f9fafb;
    /* Almost white headings */

    /* Gradients - adjusted for comfortable theme */
    --accent-gradient: linear-gradient(135deg, #22d3ee 0%, #60a5fa 50%, #818cf8 100%);
    --accent-gradient-subtle: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);

    /* Glass Effects - Light Theme */
    --glass-bg: rgba(45, 55, 72, 0.9);
    --glass-bg-light: rgba(55, 65, 81, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Shadows - Light Theme */
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px -15px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
    --shadow-card-hover: 0 16px 32px rgba(0, 0, 0, 0.25), 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 8px 24px rgba(251, 191, 36, 0.2);
}

/* Light Mode Overrides */
[data-theme="light"] body {
    background-image:
        radial-gradient(circle at 0% 0%, rgba(34, 211, 238, 0.08) 0px, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(96, 165, 250, 0.08) 0px, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.05) 0px, transparent 50%);
}

[data-theme="light"] .hero-overlay {
    background: linear-gradient(to right, rgba(45, 55, 72, 0.95) 0%, rgba(45, 55, 72, 0.85) 100%);
}

[data-theme="light"] .navbar {
    background: transparent;
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(45, 55, 72, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .logo-card {
    background: rgba(75, 85, 99, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(34, 211, 238, 0.15);
}

[data-theme="light"] .navbar-brand-logo {
    filter: brightness(1.1) contrast(1.1);
    -webkit-filter: brightness(1.1) contrast(1.1);
}

[data-theme="light"] .bar {
    background-color: #e5e7eb;
}

[data-theme="light"] .nav-link {
    color: #d1d5db;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: #22d3ee;
}

[data-theme="light"] .btn-contact {
    border-color: #22d3ee;
    color: #22d3ee;
}

[data-theme="light"] .btn-contact:hover {
    background: #22d3ee;
    color: #1f2937;
}

[data-theme="light"] .section::before {
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3), transparent);
}

[data-theme="light"] .underline {
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}

[data-theme="light"] .trust-bar {
    background-color: #374151;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .dropdown-menu {
    background: #4b5563;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .dropdown-menu a {
    color: #e5e7eb;
}

[data-theme="light"] .dropdown-menu a:hover {
    color: #22d3ee;
    background: #6b7280;
}

[data-theme="light"] .scroll-down {
    color: #d1d5db;
}

[data-theme="light"] .highlight {
    background: linear-gradient(135deg, #22d3ee 0%, #60a5fa 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] footer {
    background: #1f2937;
    color: #e5e7eb;
}

[data-theme="light"] footer .footer-title {
    color: #f9fafb;
}

[data-theme="light"] footer .footer-description,
[data-theme="light"] footer p,
[data-theme="light"] footer a {
    color: #9ca3af;
}

[data-theme="light"] footer a:hover {
    color: #22d3ee;
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Light Mode Page Header Overrides */
[data-theme="light"] .page-header {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(45, 55, 72, 0.9) 100%),
        url('assets/images/hero-bg.png') no-repeat center center/cover !important;
}

[data-theme="light"] .page-header h1 {
    background: linear-gradient(135deg, #f9fafb 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}

[data-theme="light"] .page-header p {
    color: #d1d5db;
}

[data-theme="light"] .bg-light {
    background-color: #374151 !important;
}

[data-theme="light"] .about-preview-card,
[data-theme="light"] .social-links a {
    background: rgba(75, 85, 99, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .product-image {
    background: #ffffff;
}


/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #00d9ff;
    --primary-dark: #00b8d4;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;

    /* Background Colors - Dark Theme */
    --dark-bg: #0a0e1a;
    --dark-bg-alt: #0f1624;
    --card-bg: #1a1f35;
    --card-bg-hover: #222840;

    /* Text Colors - Dark Theme */
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    --white: #ffffff;
    --heading-color: #ffffff;

    /* Glass Effects - Dark Theme */
    --glass-bg: rgba(26, 31, 53, 0.9);
    --glass-bg-light: rgba(26, 31, 53, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Shadows - Dark Theme */
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 60px -15px rgba(0, 0, 0, 0.8);
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 16px 48px rgba(0, 217, 255, 0.2);
    --shadow-gold: 0 8px 24px rgba(245, 158, 11, 0.2);
}

/* Adjustments for specific elements in Dark Mode if needed */
[data-theme="dark"] .logo-card,
[data-theme="dark"] .social-links a,
[data-theme="dark"] .about-preview-card {
    background: rgba(255, 255, 255, 0.05);
    /* Restore glass look */
    border-color: var(--glass-border);
}

[data-theme="dark"] .product-image {
    background: #ffffff;
    /* Keep images on white if transparent pngs needing contrast, or adjust */
}

/* Dark Mode Hero & Header Overrides */
[data-theme="dark"] .hero-overlay {
    background: linear-gradient(to right, rgba(10, 14, 26, 0.95) 0%, rgba(10, 14, 26, 0.7) 100%);
}

[data-theme="dark"] .page-header {
    /* If page header uses an overlay or background color */
    background-color: var(--dark-bg);
}

/* Ensure text in hero is visible in dark mode if it was dark-on-light */
[data-theme="dark"] .hero-content h1,
[data-theme="dark"] .hero-content p {
    color: var(--text-color);
}

/* Fix for any other light-specific backgrounds in headers */
[data-theme="dark"] .bg-light {
    background-color: var(--dark-bg-alt) !important;
}

/* CORRECT Dark Mode Page Header Override */
[data-theme="dark"] .page-header {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.95) 0%, rgba(10, 14, 26, 0.9) 100%),
        url('assets/images/hero-bg.png') no-repeat center center/cover !important;
}

/* Ensure text is visible in dark mode for Page Header */
[data-theme="dark"] .page-header h1 {
    background: linear-gradient(135deg, #ffffff 0%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

[data-theme="dark"] .page-header p {
    color: var(--text-color);
}

/* Update Footer for Light Theme compatibility */
footer {
    background: var(--dark-bg-alt);
    border-top: 1px solid var(--glass-border);
}

.footer-title {
    color: var(--heading-color);
}

/* Restore premium dark gradient for Dark Mode */
[data-theme="dark"] footer {
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.98) 0%, #000 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer-title {
    color: var(--white);
}

/* Ensure social icons are visible in light mode */
.footer-social a {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.footer-social a:hover {
    color: var(--white);
    /* Icon turns white on hover with colored background */
}

/* Dark mode specific social icon styles to match original */
[data-theme="dark"] .footer-social a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Newsletter input visibility in light mode */
.newsletter-form input {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
}

.newsletter-form input:focus {
    background: var(--card-bg-hover);
}

[data-theme="dark"] .newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.08);
}

/* -------------------------------------------------- */
/*                  FAQ TOGGLES (from contact.html)   */
/* -------------------------------------------------- */
.faq-toggle-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-toggle-item {
    background: var(--card-bg);
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-toggle-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.1);
}

.faq-toggle-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-toggle-header:hover {
    background: rgba(0, 229, 255, 0.05);
}

.faq-toggle-header h3 {
    margin: 0;
    color: var(--heading-color);
    font-size: 1.2rem;
    font-weight: 600;
    flex: 1;
}

.faq-toggle-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    margin-left: 20px;
}

.faq-toggle-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-toggle-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-toggle-item.active .faq-toggle-content {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-toggle-content p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.8;
}

/* -------------------------------------------------- */
/*          RFID BENEFITS (from rfid-benefits.html)   */
/* -------------------------------------------------- */
.benefit-icon-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.benefit-icon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.stat-big {
    font-size: 4rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.feature-list-custom li {
    margin-bottom: 15px;
    display: flex;
    align-items: start;
    gap: 12px;
}

.feature-list-custom i {
    color: var(--primary-color);
    margin-top: 5px;
}

/* Flip Card Styles */
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 380px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.flip-card-front {
    background-color: var(--card-bg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.flip-card-front img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    margin-bottom: 15px;
    flex-grow: 1;
}

.flip-card-front h4 {
    font-size: 1.15rem;
    margin: 0;
    padding: 10px 0;
    color: var(--heading-color);
    line-height: 1.4;
    flex-shrink: 0;
}

.flip-card-back {
    background-color: var(--card-bg-hover);
    transform: rotateY(180deg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-card-back i {
    margin-bottom: 20px;
}

.flip-card-back p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Animation Styles */
@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

@keyframes float-y {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes spin-slow {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-rev {
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes grow-bar-1 {
    0% {
        height: 0;
    }

    100% {
        height: 40%;
    }
}

@keyframes grow-bar-2 {
    0% {
        height: 0;
    }

    100% {
        height: 70%;
    }
}

@keyframes grow-bar-3 {
    0% {
        height: 0;
    }

    100% {
        height: 100%;
    }
}

.anim-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Track Animation */
.radar-core {
    font-size: 5rem;
    color: var(--secondary-color);
    z-index: 5;
    position: relative;
}

.radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    animation: pulse-ring 2.5s infinite ease-out;
    opacity: 0;
}

.radar-ring:nth-child(1) {
    animation-delay: 0s;
}

.radar-ring:nth-child(2) {
    animation-delay: 0.8s;
}

.radar-ring:nth-child(3) {
    animation-delay: 1.6s;
}

.track-marker {
    position: absolute;
    color: var(--accent-light);
    font-size: 1.8rem;
    animation: float-y 3s infinite ease-in-out;
    text-shadow: 0 0 10px var(--accent-light);
}

.track-marker.p1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    font-size: 1.5rem;
    opacity: 0.7;
}

.track-marker.p2 {
    bottom: 25%;
    right: 20%;
    animation-delay: 1.5s;
    font-size: 1.2rem;
    opacity: 0.5;
}

.track-marker.p3 {
    top: 30%;
    right: 25%;
    animation-delay: 0.5s;
}

/* Automate Animation */
.gear-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.gear-big {
    font-size: 10rem;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin-slow 15s linear infinite;
    opacity: 0.15;
}

.gear-med {
    font-size: 6rem;
    color: var(--text-light);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin-slow 10s linear infinite reverse;
}

.bot-icon {
    font-size: 3rem;
    color: var(--accent-color);
    z-index: 10;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    border: 1px solid var(--accent-color);
}

.process-node {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
}

.process-node.n1 {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation: float-y 2s infinite;
}

.process-node.n2 {
    bottom: 20%;
    left: 20%;
    animation: float-y 2.2s infinite 0.5s;
}

.process-node.n3 {
    bottom: 20%;
    right: 20%;
    animation: float-y 2.4s infinite 1s;
}

/* Optimize Animation */
.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 25px;
    height: 200px;
    width: 80%;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    position: relative;
}

.chart-bar {
    width: 50px;
    background: linear-gradient(to top, var(--primary-dark), var(--accent-color));
    border-radius: 8px 8px 0 0;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.3);
    transition: height 0.3s;
}

.chart-bar:hover {
    filter: brightness(1.2);
}

.chart-bar.b1 {
    height: 40%;
    animation: grow-bar-1 1.5s ease-out forwards;
}

.chart-bar.b2 {
    height: 70%;
    animation: grow-bar-2 1.5s ease-out 0.3s forwards;
}

.chart-bar.b3 {
    height: 100%;
    animation: grow-bar-3 1.5s ease-out 0.6s forwards;
}

.trend-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.growth-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: #4ade80;
    animation: float-y 3s infinite ease-in-out;
}

/* -------------------------------------------------- */
/*                  TAGS (from tags.html)             */
/* -------------------------------------------------- */
/* Flip Card Styles */
.flip-card-container:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.product-image-card {
    transition: all 0.4s ease;
    cursor: pointer;
}

.product-image-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.3) !important;
}

.product-image-card img {
    transition: transform 0.4s ease;
}

.product-image-card:hover img {
    transform: scale(1.02);
}

/* Hangtag Marquee Animation */
@keyframes scroll-hangtags {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hangtag-marquee-content {
    display: flex;
    width: max-content;
    animation: scroll-hangtags 40s linear infinite;
}

.hangtag-marquee-content:hover {
    animation-play-state: paused;
}

.hangtag-marquee-content .flip-card-container,
.hangtag-marquee-content .product-image-card {
    margin-right: 25px;
    flex-shrink: 0;
}

/* -------------------------------------------------- */
/*          HARDWARE (from hardware.html)             */
/* -------------------------------------------------- */
/* Printer Marquee Animation */
@keyframes scroll-printers {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.printer-marquee-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    /* Optional: fade edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.printer-marquee-content {
    display: flex;
    width: max-content;
    animation: scroll-printers 40s linear infinite;
}

.printer-marquee-content:hover {
    animation-play-state: paused;
}

.printer-card {
    width: 300px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.15);
    margin-right: 25px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.printer-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.3) !important;
}

.printer-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Handheld Marquee Animation */
@keyframes scroll-handhelds {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.handheld-marquee-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    /* Optional: fade edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.handheld-marquee-content {
    display: flex;
    width: max-content;
    animation: scroll-handhelds 40s linear infinite;
}

.handheld-marquee-content:hover {
    animation-play-state: paused;
}

.handheld-card {
    width: 300px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.15);
    margin-right: 25px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.handheld-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.3) !important;
}

.handheld-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Fixed Reader Marquee Animation */
@keyframes scroll-fixed {

    /* Scroll left */
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.fixed-marquee-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    /* Optional: fade edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.fixed-marquee-content {
    display: flex;
    width: max-content;
    animation: scroll-fixed 40s linear infinite;
}

.fixed-marquee-content:hover {
    animation-play-state: paused;
}

.fixed-card {
    width: 300px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.15);
    margin-right: 25px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.fixed-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.3) !important;
}

.fixed-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Automation Card Styles */
.automation-card {
    width: 300px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.15);
    transition: all 0.4s ease;
}

.automation-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.3) !important;
}

.automation-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* -------------------------------------------------- */
/* -------------------------------------------------- */
/*           PRODUCT IMAGE CARDS (TAGS.HTML)          */
/* -------------------------------------------------- */
.product-image-card {
    background: var(--card-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease;
}

.product-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(34, 211, 238, 0.3) !important;
}

.product-image-card h4 {
    color: var(--heading-color) !important;
}

/* Flip Card Backgrounds - Override inline white backgrounds */
.flip-card-container>div>div[style*="background: #fff"],
.flip-card-inner>div[style*="background: #fff"] {
    background: var(--card-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Ensure all divs with inline white backgrounds in tags.html get grey */
.hangtag-marquee-content .product-image-card,
.hangtag-marquee-content .flip-card-container>div>div {
    background: var(--card-bg) !important;
}

/* -------------------------------------------------- */
/*           HARDWARE CARDS (HARDWARE.HTML)           */
/* -------------------------------------------------- */
.printer-card,
.handheld-card,
.fixed-card,
.automation-card {
    background: var(--card-bg) !important;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.printer-card:hover,
.handheld-card:hover,
.fixed-card:hover,
.automation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(34, 211, 238, 0.3);
}

.printer-card img,
.handheld-card img,
.fixed-card img,
.automation-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.printer-card:hover img,
.handheld-card:hover img,
.fixed-card:hover img,
.automation-card:hover img {
    transform: scale(1.05);
}

/* -------------------------------------------------- */
/*                  AWARDS SECTION                    */
/* -------------------------------------------------- */
.awards-scroll-section {
    background: var(--dark-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.awards-marquee-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.awards-marquee-content {
    display: flex;
    width: max-content;
    animation: scroll-awards 60s linear infinite;
    gap: 30px;
}

.awards-marquee-content:hover {
    animation-play-state: paused;
}

.award-benefit-card {
    width: 350px;
    flex-shrink: 0;
    /* Retain previous card styles */
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@keyframes scroll-awards {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}



.award-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.award-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.award-benefit-card:hover::before {
    transform: scaleX(1);
}

.award-benefit-image-wrapper {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 15px;
    overflow: hidden;
}

.award-benefit-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.award-benefit-card:hover .award-benefit-image-wrapper img {
    transform: scale(1.05);
}

.award-benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.award-benefit-desc {
    font-size: 0.95rem;
    font-weight: 700;
    color: #78350f;
    background: linear-gradient(to bottom, #fffbeb 0%, #fcd34d 50%, #d97706 51%, #fbbf24 100%);
    padding: 6px 20px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid #b45309;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.award-benefit-desc::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

/* -------------------------------------------------- */
/*                  CASE STUDIES SECTION              */
/* -------------------------------------------------- */
.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}

.case-study-card {
    background: var(--dark-bg-alt);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

@media (min-width: 992px) {
    .case-study-card {
        flex-direction: row;
        min-height: 450px;
    }
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.case-study-visual {
    flex: 1;
    position: relative;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
}

.case-study-visual img {
    max-width: 80%;
    height: auto;
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.case-study-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
}

.case-study-info {
    flex: 1.5;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-gradient-subtle);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.case-study-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.case-study-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 10px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.ba-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.ba-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: block;
}

.ba-value {
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
}

.ba-arrow {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    margin: 10px 0;
}