/* ============================================
   Shield ELV Systems Solutions - Redesign
   Inspired by modwin.com aesthetic
   Dark corporate theme with premium animations
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* --- CSS Variables --- */
:root {
    --primary-dark: #0a0e1a;
    --secondary-dark: #0f1629;
    --tertiary-dark: #141d35;
    --accent-blue: #2d6cdf;
    --accent-cyan: #00c2ff;
    --accent-gradient: linear-gradient(135deg, #2d6cdf 0%, #00c2ff 100%);
    --accent-gradient-hover: linear-gradient(135deg, #00c2ff 0%, #2d6cdf 100%);
    --glass-bg: rgba(15, 22, 41, 0.6);
    --glass-border: rgba(45, 108, 223, 0.12);
    --glass-border-hover: rgba(0, 194, 255, 0.25);
    --text-white: #ffffff;
    --text-light: #c8d6e5;
    --text-muted: #7b8ca8;
    --text-accent: #00c2ff;
    --card-bg: rgba(20, 29, 53, 0.5);
    --card-bg-hover: rgba(20, 29, 53, 0.8);
    --shadow-glow: 0 0 40px rgba(0, 194, 255, 0.08);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --transition-smooth: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --container-width: 1280px;
    --section-padding: 120px 0;
    --nav-height: 80px;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

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

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

ul { list-style: none; }

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--tertiary-dark);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 2px;
    animation: preloaderSlide 1s ease-in-out infinite;
}

@keyframes preloaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.nav-logo-icon {
    width: 42px;
    height: 42px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-logo-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--text-white);
    line-height: 1.2;
}

.nav-logo-text span {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

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

.nav-links a {
    padding: 8px 18px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 8px;
    position: relative;
    letter-spacing: 0.2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
    background: rgba(45, 108, 223, 0.08);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
}

.nav-cta {
    margin-left: 16px;
}

.nav-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--accent-gradient);
    color: white !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-fast);
    box-shadow: 0 4px 20px rgba(45, 108, 223, 0.3);
}

.nav-cta a:hover {
    box-shadow: 0 4px 30px rgba(0, 194, 255, 0.4);
    transform: translateY(-1px);
    background: var(--accent-gradient-hover) !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

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

.hero-gradient-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(45, 108, 223, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 194, 255, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 14, 26, 0.3) 0%, var(--primary-dark) 100%);
    z-index: 1;
}

/* Animated mesh grid */
.hero-mesh {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.04;
    background-image: 
        linear-gradient(rgba(0,194,255,0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,194,255,0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 60px 0;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(45, 108, 223, 0.1);
    border: 1px solid rgba(45, 108, 223, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-tag .tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(30px);
}

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

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 44px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(20px);
}

.hero-stat h3 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.hero-stat p {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Floating orbs in hero */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float-orb 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px; height: 400px;
    background: rgba(45, 108, 223, 0.15);
    top: 10%; right: -5%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px; height: 300px;
    background: rgba(0, 194, 255, 0.1);
    bottom: 10%; left: 5%;
    animation-delay: -4s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    padding: 14px 32px;
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 25px rgba(45, 108, 223, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 35px rgba(0, 194, 255, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    padding: 14px 32px;
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 194, 255, 0.05);
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* --- Section Styles --- */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(45, 108, 223, 0.08);
    border: 1px solid rgba(45, 108, 223, 0.15);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
}

.section-header {
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Dark section with glow */
.section-dark {
    background: var(--secondary-dark);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* --- About Preview Section --- */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-main {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
}

.about-image-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-main:hover img {
    transform: scale(1.03);
}

.about-image-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 130px;
    height: 130px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(45, 108, 223, 0.4);
    border: 4px solid var(--primary-dark);
}

.about-image-badge span:first-child {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.about-image-badge span:last-child {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-content .section-tag { margin-bottom: 16px; }

.about-content .section-title { margin-bottom: 20px; }

.about-text {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(45, 108, 223, 0.06);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(45, 108, 223, 0.08);
}

.about-feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 8px;
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-feature span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    group: true;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 108, 223, 0.1);
    border-radius: 14px;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: rgba(0, 194, 255, 0.15);
    box-shadow: 0 0 25px rgba(0, 194, 255, 0.1);
}

.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent-cyan);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    opacity: 1;
    transform: translateY(0);
}

.service-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

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

/* --- Process Section --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan), var(--accent-blue));
    opacity: 0.15;
    z-index: 0;
}

.process-card {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 12px;
}

.process-number {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tertiary-dark);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-smooth);
}

.process-card:hover .process-number {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 194, 255, 0.15);
}

.process-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.process-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Stats Bar --- */
.stats-bar {
    padding: 60px 0;
    background: var(--secondary-dark);
    position: relative;
    overflow: hidden;
}

.stats-bar::before,
.stats-bar::after {
    content: '';
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.stats-bar::before { top: 0; }
.stats-bar::after { bottom: 0; }

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

.stat-item h3 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    line-height: 1.1;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* --- Sectors / Industries Section --- */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sector-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.sector-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.sector-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 26, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: var(--transition-smooth);
}

.sector-card:hover .sector-overlay {
    background: linear-gradient(180deg, rgba(45, 108, 223, 0.1) 0%, rgba(10, 14, 26, 0.95) 90%);
}

.sector-overlay h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.sector-overlay p {
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-fast);
}

.sector-card:hover .sector-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* --- Testimonials --- */
.testimonials-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    animation: scroll-testimonials 30s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-testimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    min-width: 420px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 36px;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.testimonial-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
}

.testimonial-quote {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--accent-blue);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
}

.testimonial-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Partners / Clients Logo Marquee --- */
.partners-section {
    padding: 60px 0;
    overflow: hidden;
}

.partners-track {
    display: flex;
    gap: 60px;
    align-items: center;
    animation: scroll-partners 25s linear infinite;
}

@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.4;
    white-space: nowrap;
    transition: var(--transition-fast);
    letter-spacing: 1px;
}

.partner-logo:hover {
    opacity: 0.8;
    color: var(--text-white);
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-card {
    background: var(--tertiary-dark);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(45, 108, 223, 0.08), transparent 60%);
    z-index: 0;
}

.cta-card > * { position: relative; z-index: 1; }

.cta-card h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-card p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    padding: 80px 0 0;
    background: var(--secondary-dark);
    border-top: 1px solid var(--glass-border);
}

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

.footer-brand-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-top: 16px;
    max-width: 320px;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 108, 223, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-contact-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent-cyan);
    fill: none;
    stroke-width: 2;
}

.footer-contact-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-contact-item a {
    color: var(--text-light);
}

.footer-contact-item a:hover {
    color: var(--accent-cyan);
}

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

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

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

.footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background: var(--accent-gradient);
    transform: translateY(-2px);
}

.footer-socials a svg {
    width: 16px;
    height: 16px;
    fill: var(--text-muted);
}

.footer-socials a:hover svg {
    fill: white;
}

/* --- Page Header (Inner pages) --- */
.page-hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--secondary-dark);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.page-hero-mesh {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        linear-gradient(rgba(0,194,255,0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,194,255,0.3) 1px, transparent 1px);
    background-size: 60px 60px;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb a { color: var(--accent-cyan); }
.breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
}

/* --- Services Detail Page --- */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-detail-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: var(--transition-smooth);
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.service-detail-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.service-detail-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.4;
}

.service-detail-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.service-detail-content p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- About Page Specific --- */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-story-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.about-story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.vm-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.vm-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.vm-card .vm-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.vm-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.vm-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-fast);
}

.contact-info-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 108, 223, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-cyan);
    fill: none;
    stroke-width: 2;
}

.contact-info-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.contact-info-card p, .contact-info-card a {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-info-card a:hover {
    color: var(--accent-cyan);
}

.contact-form-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 48px;
}

.contact-form-wrapper h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(10, 14, 26, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-fast);
    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(45, 108, 223, 0.1);
}

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

.form-group select {
    appearance: none;
    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='%237b8ca8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--secondary-dark);
    color: var(--text-white);
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit:hover {
    box-shadow: 0 8px 30px rgba(45, 108, 223, 0.35);
    transform: translateY(-2px);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Map */
.contact-map {
    margin-top: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    border: 1px solid var(--glass-border);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(50%) brightness(0.6) contrast(1.2);
}

/* --- Products Gallery --- */
.products-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 22px;
    background: rgba(45, 108, 223, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(45, 108, 223, 0.25);
}

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

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.product-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

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

.product-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 12px;
    background: var(--accent-gradient);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
}

.product-card-content {
    padding: 24px;
}

.product-card-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.product-card-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Projects Gallery --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

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

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 14, 26, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.project-overlay .project-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.project-overlay h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.project-overlay p {
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition-fast);
}

.project-card:hover .project-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
    box-shadow: 0 4px 20px rgba(45, 108, 223, 0.35);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 194, 255, 0.4);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 2.5;
}

/* --- GSAP Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-grid::before { display: none; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-preview { gap: 48px; }
    .about-story { gap: 48px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
        --nav-height: 70px;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile menu */
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 8px;
        z-index: 1000;
    }

    .nav-links.mobile-open a {
        font-size: 22px;
        padding: 14px 32px;
        font-family: var(--font-display);
        font-weight: 700;
        color: var(--text-white);
    }

    .nav-cta.mobile-open {
        display: block;
        position: fixed;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }

    .about-preview { grid-template-columns: 1fr; }
    .about-story { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .sectors-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .vision-mission-grid { grid-template-columns: 1fr; }
    .services-detail-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-title { letter-spacing: -0.5px; }

    .about-image-badge {
        bottom: -16px;
        right: -8px;
        width: 100px;
        height: 100px;
    }

    .about-image-badge span:first-child { font-size: 28px; }

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

    .testimonial-card { min-width: 300px; }

    .cta-card { padding: 48px 28px; }

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

    .page-hero { padding: 130px 0 60px; }
}

@media (max-width: 480px) {
    .hero-stat h3 { font-size: 30px; }
    .hero-stats { gap: 20px; }
    .stat-item h3 { font-size: 32px; }
    .process-grid { grid-template-columns: 1fr; }
}
