/* =============================================
   TVS Security — Design System & Styles
   WHITE & BLUE THEME (TVS Brand Colors)
   ============================================= */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors — White & Blue Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f0f4f8;
    --bg-tertiary: #e8edf3;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-border: rgba(0, 82, 165, 0.12);

    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #8896ab;

    --accent-blue: #0052a5;
    --accent-blue-light: #1a6fce;
    --accent-blue-bright: #0073e6;
    --accent-amber: #e67e00;
    --accent-amber-light: #ff9926;
    --accent-green: #00a854;
    --accent-navy: #0a1628;

    --gradient-primary: linear-gradient(135deg, #0052a5 0%, #0073e6 50%, #00a3ff 100%);
    --gradient-accent: linear-gradient(135deg, #0052a5 0%, #003d7a 100%);
    --gradient-light: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 82, 165, 0.92) 0%, rgba(10, 22, 40, 0.88) 50%, rgba(0, 60, 130, 0.85) 100%);

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

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1280px;
    --gap: 24px;

    /* Borders & Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 82, 165, 0.08);
    --shadow-glow: 0 8px 40px rgba(0, 82, 165, 0.12);
    --shadow-glow-strong: 0 12px 48px rgba(0, 82, 165, 0.18);
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ---------- Glass Card ---------- */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
}

.glass-card:hover {
    border-color: rgba(0, 82, 165, 0.3);
    box-shadow: 0 12px 40px rgba(0, 82, 165, 0.15);
    transform: translateY(-6px);
}

/* ---------- Gradient Text ---------- */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Section Header ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 16px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(0, 82, 165, 0.06);
    border: 1px solid rgba(0, 82, 165, 0.15);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 82, 165, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 82, 165, 0.4);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}


.btn-outline-dark {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid rgba(0, 82, 165, 0.3);
}

.btn-outline-dark:hover {
    border-color: var(--accent-blue);
    color: #ffffff;
    background: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 82, 165, 0.2);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* =============================================
   HEADER / NAVBAR
   ============================================= */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-base);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 82, 165, 0.08);
}

/* When header is over hero (not scrolled), keep white text */
#header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

#header:not(.scrolled) .nav-link:hover,
#header:not(.scrolled) .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

#header:not(.scrolled) .logo-security {
    color: #ffffff;
}

#header:not(.scrolled) .hamburger span {
    background: #ffffff;
}

/* When header is scrolled (white bg), use dark text */
#header.scrolled .nav-link {
    color: var(--text-secondary);
}

#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
    color: var(--accent-blue);
    background: rgba(0, 82, 165, 0.06);
}

#header.scrolled .logo-security {
    color: var(--text-primary);
}

#header.scrolled .hamburger span {
    background: var(--text-primary);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    display: flex;
    gap: 4px;
}

.logo-tvs {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-security {
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition-base);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue);
    background: rgba(0, 82, 165, 0.06);
}

.nav-link.active {
    color: var(--accent-blue);
}

.nav-cta {
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 82, 165, 0.25);
    transition: var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 82, 165, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.hamburger.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO SECTION — Blue gradient background
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, #0a1628 0%, #0052a5 50%, #003d7a 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s infinite ease-in-out;
}

@keyframes particleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    20% {
        opacity: 0.6;
        transform: scale(1);
    }

    80% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: translateY(-120px) scale(0);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    color: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e676;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #a0d4ff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-buttons .btn-primary {
    background: #ffffff;
    color: var(--accent-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 82, 165, 0.4);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
}

.hero-stat-plus {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #a0d4ff;
    margin-left: 2px;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    animation: fadeInUp 1s 2s both;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: #ffffff;
    border-radius: 3px;
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.about-card {
    padding: 36px 28px;
    text-align: center;
    background: #ffffff;
}

.about-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: rgba(0, 82, 165, 0.06);
    color: var(--accent-blue);
}

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

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

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.products {
    background: var(--bg-primary);
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.product-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid rgba(0, 82, 165, 0.1);
    cursor: pointer;
    transition: var(--transition-base);
}

.product-tab:hover {
    border-color: rgba(0, 82, 165, 0.3);
    color: var(--accent-blue);
}

.product-tab.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 82, 165, 0.25);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.product-card {
    overflow: hidden;
    position: relative;
    transition: var(--transition-slow);
    background: #ffffff;
    cursor: pointer;
}

/* Stretched link — makes the entire card clickable via the View Details link */

.product-card .btn-outline {
    position: static;
    color: var(--accent-blue);
    border-color: rgba(0, 82, 165, 0.3);
}
.product-card:hover .btn-outline {
    background: var(--accent-blue);
    color: #ffffff;
}


.product-card .btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}



.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 168, 84, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(0, 168, 84, 0.3);
}

.product-badge.badge-ai {
    background: rgba(0, 82, 165, 0.1);
    color: var(--accent-blue);
    border-color: rgba(0, 82, 165, 0.3);
}

.product-badge.badge-waterproof {
    background: rgba(0, 115, 230, 0.1);
    color: var(--accent-blue-bright);
    border-color: rgba(0, 115, 230, 0.3);
}

.product-image {
    height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 24px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 82, 165, 0.06);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 82, 165, 0.12);
}

/* =============================================
   SOLUTIONS SECTION
   ============================================= */
.solutions {
    background: var(--bg-secondary);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.solution-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--bg-glass-border);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-soft);
}

.solution-card:hover {
    border-color: rgba(0, 82, 165, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

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

.solution-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 82, 165, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
    pointer-events: none;
}

.solution-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(0, 82, 165, 0.06);
    color: var(--accent-blue);
}

.solution-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

/* =============================================
   SECTORS SECTION
   ============================================= */
.sectors {
    background: var(--bg-primary);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.sector-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--bg-glass-border);
    transition: var(--transition-base);
    box-shadow: var(--shadow-soft);
}

.sector-card:hover {
    border-color: rgba(0, 82, 165, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.sector-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.sector-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
}

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

/* =============================================
   STATS SECTION — Blue banner
   ============================================= */
.stats-section {
    background: linear-gradient(135deg, #0052a5 0%, #003d7a 50%, #0a1628 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    text-align: center;
}

.stat-card {
    padding: 24px;
    position: relative;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    display: inline;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #a0d4ff;
    display: inline;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    font-weight: 500;
}

/* =============================================
   WHY US SECTION
   ============================================= */
.why-us {
    background: var(--bg-secondary);
}

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

.why-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--bg-glass-border);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.why-card:hover {
    border-color: rgba(0, 82, 165, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.why-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.12;
    position: absolute;
    top: 12px;
    right: 20px;
    line-height: 1;
}

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

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

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

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

.contact-info-card {
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    background: #ffffff;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 82, 165, 0.06);
    color: var(--accent-blue);
}

.contact-info-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-info-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    padding: 40px;
    background: #ffffff;
}

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

.form-group {
    margin-bottom: 0;
}

.form-group:last-child:not(.form-row .form-group) {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 82, 165, 0.12);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-base);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 165, 0.08);
    background: #ffffff;
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group select option {
    background: #ffffff;
    color: var(--text-primary);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: rgba(0, 168, 84, 0.08);
    border: 1px solid rgba(0, 168, 84, 0.25);
    color: var(--accent-green);
    margin-top: 16px;
}

.form-success.show {
    display: flex;
}

.form-success p {
    font-size: 0.9rem;
}

/* =============================================
   FOOTER — Dark blue footer
   ============================================= */
.footer {
    background: linear-gradient(180deg, #0a1628 0%, #071020 100%);
    padding: 80px 0 0;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.7;
    max-width: 320px;
}

.footer .logo-security {
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-base);
}

.social-link:hover {
    background: rgba(0, 82, 165, 0.3);
    border-color: rgba(0, 115, 230, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.footer-links ul li a:hover {
    color: #a0d4ff;
    padding-left: 6px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

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

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger animations for grids */
.about-grid .animate-on-scroll:nth-child(2),
.solutions-grid .animate-on-scroll:nth-child(2),
.sectors-grid .animate-on-scroll:nth-child(2),
.why-us-grid .animate-on-scroll:nth-child(2),
.products-grid .animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.about-grid .animate-on-scroll:nth-child(3),
.solutions-grid .animate-on-scroll:nth-child(3),
.sectors-grid .animate-on-scroll:nth-child(3),
.why-us-grid .animate-on-scroll:nth-child(3),
.products-grid .animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.about-grid .animate-on-scroll:nth-child(4),
.solutions-grid .animate-on-scroll:nth-child(4),
.sectors-grid .animate-on-scroll:nth-child(4),
.why-us-grid .animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.sectors-grid .animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.sectors-grid .animate-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

.sectors-grid .animate-on-scroll:nth-child(7) {
    transition-delay: 0.6s;
}

.sectors-grid .animate-on-scroll:nth-child(8) {
    transition-delay: 0.7s;
}

.why-us-grid .animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.why-us-grid .animate-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* =============================================
   PAGE HERO (Sub-pages)
   ============================================= */
.page-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0052a5 50%, #003d7a 100%);
    padding: 160px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero .section-tag {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-hero-title .gradient-text {
    background: linear-gradient(135deg, #a0d4ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* =============================================
   ABOUT STORY GRID (About page)
   ============================================= */
.about-story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-story-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-story-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-stat-item {
    padding: 28px 20px;
    text-align: center;
}

.about-stat-item .stat-number {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--text-primary);
}

.about-stat-item .stat-plus {
    color: var(--accent-amber);
}

.about-stat-item .stat-label {
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* =============================================
   SOLUTIONS DETAIL (Solutions page)
   ============================================= */
.solutions-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.solution-detail-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--bg-glass-border);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
    align-items: start;
    cursor: pointer;
    position: relative;
    padding-bottom: 50px;
}

.solution-detail-card::after {
    content: 'Hover to explore features →';
    position: absolute;
    bottom: 20px;
    left: 152px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.solution-detail-card:hover {
    border-color: rgba(0, 82, 165, 0.25);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.solution-detail-card:hover::after {
    opacity: 0;
}

.solution-detail-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(0, 82, 165, 0.06);
    color: var(--accent-blue);
}

.solution-detail-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.solution-detail-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0;
    transition: margin-bottom 0.4s ease;
}

.solution-detail-card:hover .solution-detail-content p {
    margin-bottom: 20px;
}

.solution-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    
    /* Expandable properties */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
}

.solution-detail-card:hover .solution-features {
    max-height: 600px;
    opacity: 1;
    margin-top: 15px;
}

.solution-features li {
    position: relative;
    padding-left: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

/* =============================================
   SECTORS DETAIL (Sectors page)
   ============================================= */
.sectors-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.sector-detail-card {
    display: flex;
    gap: 20px;
    padding: 32px;
    align-items: flex-start;
}

.sector-detail-icon {
    font-size: 3rem;
    line-height: 1;
    flex-shrink: 0;
}

.sector-detail-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.sector-detail-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.sector-detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sectors-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 8px;
        transition: var(--transition-base);
        border-left: 1px solid rgba(0, 82, 165, 0.15);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links .nav-link {
        color: var(--text-secondary) !important;
    }

    .nav-links .nav-link:hover,
    .nav-links .nav-link.active {
        color: var(--accent-blue) !important;
        background: rgba(0, 82, 165, 0.06) !important;
    }

    .nav-cta {
        display: none;
    }

    .nav-link {
        padding: 12px 18px;
        font-size: 1rem;
    }

    .hero {
        padding: 120px 20px 60px;
    }

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

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 1.6rem;
    }

    .hero-stat-divider {
        height: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stat-number {
        font-size: 2.2rem;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .product-tabs {
        gap: 8px;
    }

    .product-tab {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .solution-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .page-hero {
        padding: 120px 20px 60px;
    }

    .solution-detail-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .solution-detail-card::after {
        content: 'Tap to explore features ↓';
        left: 50%;
        transform: translateX(-50%);
    }

    .solution-detail-icon {
        margin: 0 auto;
    }

    .sectors-detail-grid {
        grid-template-columns: 1fr;
    }

    .sector-detail-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .about-story-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
/* ========== GALLERY MODAL ========== */
.sector-detail-card[data-sector] {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sector-detail-card[data-sector]:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 22, 40, 0.95);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding: 40px 20px;
}

.gallery-modal.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
}

.gallery-modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-modal.active .gallery-modal-content {
    transform: scale(1);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid var(--bg-glass-border);
    background: var(--bg-primary);
}

.gallery-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.close-gallery-btn {
    background: rgba(220, 53, 69, 0.1);
    color: var(--accent-red, #dc3545);
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-gallery-btn:hover {
    background: #dc3545;
    color: #fff;
    transform: rotate(90deg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 30px;
    background: var(--bg-secondary);
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4/3;
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.9;
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    padding: 20px 15px 15px;
    font-size: 0.95rem;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}


/* Smooth Filtering Transitions */
.products-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    transition: height 0.3s ease;
}

.product-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, box-shadow 0.3s ease;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.product-card.hidden {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    pointer-events: none;
    position: absolute !important;
    visibility: hidden;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
