/* ========================================
   iTeam-sh - Professional IT Services
   Tech-Inspired Design
   ======================================== */

/* CSS Variables — Light theme (default and only theme) */
:root {
    --primary-color: #001F3F;
    --primary-light: #003366;
    --accent-color: #0D9488;
    --accent-soft: rgba(13, 148, 136, 0.08);
    --text-primary: #1a2332;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --text-on-dark: #1e293b;
    --bg-primary: #F8F9FA;
    --bg-secondary: #F0F2F5;
    --bg-dark: #E8EBF0;
    --bg-card: #FFFFFF;
    --border-color: rgba(0, 31, 63, 0.12);
    --border-light: rgba(0, 31, 63, 0.08);
    --shadow-sm: 0 1px 3px 0 rgb(0 31 63 / 0.08), 0 1px 2px -1px rgb(0 31 63 / 0.06);
    --shadow-md: 0 4px 8px -2px rgb(0 31 63 / 0.10), 0 2px 4px -2px rgb(0 31 63 / 0.06);
    --shadow-lg: 0 12px 28px -6px rgb(0 31 63 / 0.12), 0 4px 8px -4px rgb(0 31 63 / 0.06);
    --shadow-xl: 0 24px 48px -12px rgb(0 31 63 / 0.14);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.25s ease;
    --font-mono: 'Courier New', monospace;
    --grid-line-color: rgba(0, 31, 63, 0.05);
    --grid-size: 40px;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 31, 63, 0.1);
    --glass-bg-hover: rgba(255, 255, 255, 0.95);
}

/* ========================================
   Dark Theme (disabled — kept for reference)
   ========================================
[data-theme="dark"] {
    --accent-soft: rgba(13, 148, 136, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.78);
    --text-light: rgba(255, 255, 255, 0.4);
    --text-on-dark: #e2e8f0;
    --bg-primary: #001F3F;
    --bg-secondary: #001529;
    --bg-dark: #0a1628;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border-color: rgba(255, 255, 255, 0.12);
    --border-light: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.2);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.2);
    --shadow-lg: 0 10px 25px -5px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.2);
    --shadow-xl: 0 20px 40px -10px rgb(0 0 0 / 0.5);
    --grid-line-color: rgba(255, 255, 255, 0.03);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg-hover: rgba(255, 255, 255, 0.07);
}
*/

/* Light theme override — now redundant since :root uses light values */
[data-theme="light"] {
    --accent-soft: rgba(13, 148, 136, 0.08);
    --text-primary: #1a2332;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --text-on-dark: #1e293b;
    --bg-primary: #F8F9FA;
    --bg-secondary: #F0F2F5;
    --bg-dark: #E8EBF0;
    --bg-card: #FFFFFF;
    --border-color: rgba(0, 31, 63, 0.12);
    --border-light: rgba(0, 31, 63, 0.08);
    --shadow-sm: 0 1px 3px 0 rgb(0 31 63 / 0.08), 0 1px 2px -1px rgb(0 31 63 / 0.06);
    --shadow-md: 0 4px 8px -2px rgb(0 31 63 / 0.10), 0 2px 4px -2px rgb(0 31 63 / 0.06);
    --shadow-lg: 0 12px 28px -6px rgb(0 31 63 / 0.12), 0 4px 8px -4px rgb(0 31 63 / 0.06);
    --shadow-xl: 0 24px 48px -12px rgb(0 31 63 / 0.14);
    --grid-line-color: rgba(0, 31, 63, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 31, 63, 0.1);
    --glass-bg-hover: rgba(255, 255, 255, 0.95);
}

/* Light theme: transitions (disabled — single theme) */

/* Light theme: body */
[data-theme="light"] body {
    scrollbar-color: rgba(0, 31, 63, 0.15) var(--bg-primary);
}

[data-theme="light"] body::-webkit-scrollbar-thumb {
    background: rgba(0, 31, 63, 0.15);
}

/* Light theme: typography */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #001F3F;
}

/* Light theme: buttons */
[data-theme="light"] .btn-secondary {
    color: #001F3F;
    border-color: rgba(0, 31, 63, 0.25);
}

[data-theme="light"] .btn-secondary:hover {
    border-color: rgba(0, 31, 63, 0.5);
    background: rgba(0, 31, 63, 0.05);
}

/* Light theme: header */
[data-theme="light"] .header {
    background: transparent;
}

[data-theme="light"] .nav-links a {
    color: #001F3F;
}

[data-theme="light"] .nav-links a:not(.btn):hover {
    color: #001F3F;
}

[data-theme="light"] .mobile-menu-btn span {
    background: #001F3F;
}

/* Light theme: mobile menu */
@media (max-width: 768px) {
    [data-theme="light"] .nav-links {
        background: rgba(248, 249, 250, 0.97);
        backdrop-filter: blur(12px);
        border-bottom-color: rgba(0, 31, 63, 0.1);
    }

    [data-theme="light"] .header.menu-open {
        background: rgba(248, 249, 250, 0.97);
        backdrop-filter: blur(12px);
    }
}

/* Light theme: hero */
[data-theme="light"] .hero {
    background: linear-gradient(135deg, #DBEAFE 0%, #EFF6FF 40%, #F0F4F8 70%, #F5F3FF 100%);
}

[data-theme="light"] .hero::after {
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

[data-theme="light"] .hero-bg-glow {
    background: radial-gradient(
        circle,
        rgba(13, 148, 136, 0.12) 0%,
        rgba(13, 148, 136, 0.06) 40%,
        transparent 70%
    );
}

[data-theme="light"] .hero-bg-grid {
    background-image:
        linear-gradient(rgba(0, 31, 63, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 31, 63, 0.06) 1px, transparent 1px);
}

[data-theme="light"] .hero-badge {
    background: rgba(13, 148, 136, 0.08);
    border-color: rgba(13, 148, 136, 0.18);
    color: #0D9488;
}

[data-theme="light"] .hero-content h1 {
    color: #001F3F;
}

[data-theme="light"] .hero-subtitle {
    color: #334155;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .hero .btn-secondary {
    color: #001F3F;
    border-color: rgba(0, 31, 63, 0.25);
}

[data-theme="light"] .hero .btn-secondary:hover {
    border-color: rgba(0, 31, 63, 0.5);
    background: rgba(0, 31, 63, 0.05);
}

/* Light theme: service cards */
[data-theme="light"] .service-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-color: rgba(0, 31, 63, 0.08);
    box-shadow: 0 2px 8px rgba(0, 31, 63, 0.06), 0 1px 3px rgba(0, 31, 63, 0.04);
    backdrop-filter: blur(4px);
    border-top: 2px solid transparent;
}

[data-theme="light"] .service-card:hover {
    border-color: rgba(13, 148, 136, 0.20);
    border-top-color: var(--accent-color);
    box-shadow: 0 12px 32px rgba(0, 31, 63, 0.10), 0 4px 8px rgba(13, 148, 136, 0.06);
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FDFA 100%);
    transform: translateY(-3px);
}

/* Light theme: about section grid overlay */
[data-theme="light"] .about::after {
    background-image:
        linear-gradient(rgba(0, 31, 63, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 31, 63, 0.03) 1px, transparent 1px);
}

/* Light theme: partner logos */
[data-theme="light"] .partner-logo {
    background: #FFFFFF;
    border: 1px solid rgba(0, 31, 63, 0.08);
    box-shadow: 0 2px 6px rgba(0, 31, 63, 0.05);
}

/* Light theme: customer logos */
[data-theme="light"] .customer-logo {
    background: #FFFFFF;
    border: 1px solid rgba(0, 31, 63, 0.08);
    box-shadow: 0 2px 6px rgba(0, 31, 63, 0.05);
}

/* Light theme: alternating section backgrounds */
[data-theme="light"] .services {
    background: #FFFFFF;
    position: relative;
}

[data-theme="light"] .services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(13, 148, 136, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 30% 80%, rgba(0, 31, 63, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="light"] .about {
    background: var(--bg-primary);
}



[data-theme="light"] .partners {
    background: var(--bg-primary);
}

[data-theme="light"] .customers {
    background: #FFFFFF;
}

[data-theme="light"] .contact {
    background: var(--bg-primary);
}

/* Light theme: section header accent */
[data-theme="light"] .section-header h2 {
    position: relative;
    display: inline-block;
}

[data-theme="light"] .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), rgba(13, 148, 136, 0.4));
    border-radius: 2px;
}


/* Light theme: CTA section — stays dark */
[data-theme="light"] .cta-section {
    background: #0a1628;
}

[data-theme="light"] .cta-section::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

[data-theme="light"] .cta-content h2 {
    color: #ffffff;
}

[data-theme="light"] .cta-content p {
    color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .cta-section .btn-primary {
    color: #ffffff;
}

/* Light theme: contact form */
[data-theme="light"] .contact-form-wrapper {
    background: #FFFFFF;
    box-shadow: 0 8px 32px rgba(0, 31, 63, 0.08), 0 2px 8px rgba(0, 31, 63, 0.04);
    border: 1px solid rgba(0, 31, 63, 0.06);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: #F8F9FA;
    border-color: rgba(0, 31, 63, 0.12);
    color: #1a2332;
    box-shadow: inset 0 1px 3px rgba(0, 31, 63, 0.05);
    transition: all 0.25s ease;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: inset 0 1px 3px rgba(0, 31, 63, 0.05), 0 0 0 3px rgba(13, 148, 136, 0.10);
    outline: 2px solid var(--accent-color);
    outline-offset: 1px;
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: #94a3b8;
}

[data-theme="light"] .form-group select {
    color: #475569;
}

/* Light theme: footer — stays dark */
[data-theme="light"] .footer {
    background: #0a1628;
    color: #ffffff;
}

[data-theme="light"] .footer h4 {
    color: #ffffff;
}

[data-theme="light"] .footer p {
    color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .footer ul a {
    color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .footer ul a:hover {
    color: var(--accent-color);
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .footer-brand .logo-text,
[data-theme="light"] .footer-brand .logo-sh {
    color: #ffffff;
}

/* Light theme: form success */
[data-theme="light"] .form-success h3 {
    color: #10b981;
}

/* ========================================
   Light Theme: Service Page Overrides
   ======================================== */

/* Service page heroes */
[data-theme="light"] .cloud-hero,
[data-theme="light"] .security-hero,
[data-theme="light"] .infra-hero,
[data-theme="light"] .optim-hero,
[data-theme="light"] .consulting-hero,
[data-theme="light"] .support-hero {
    background: linear-gradient(135deg, #E2E8F0 0%, #F0F4F8 100%) !important;
}

[data-theme="light"] .cloud-hero::before,
[data-theme="light"] .security-hero::before,
[data-theme="light"] .infra-hero::before,
[data-theme="light"] .optim-hero::before,
[data-theme="light"] .consulting-hero::before,
[data-theme="light"] .support-hero::before {
    background:
        radial-gradient(circle at 30% 70%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(13, 148, 136, 0.04) 0%, transparent 50%) !important;
}

/* Service page breadcrumbs */
[data-theme="light"] .breadcrumb a {
    color: #94a3b8;
}

[data-theme="light"] .breadcrumb a:hover {
    color: #001F3F;
}

[data-theme="light"] .breadcrumb-current {
    color: #001F3F;
}

[data-theme="light"] .breadcrumb-separator {
    color: #94a3b8;
}

/* Service page hero text */
[data-theme="light"] .hero-text h1 {
    color: #001F3F;
}

[data-theme="light"] .hero-intro {
    color: #475569;
}

[data-theme="light"] .hero-label {
    background: rgba(13, 148, 136, 0.08);
    border-color: rgba(13, 148, 136, 0.15);
}

/* Service page progress/step elements */
[data-theme="light"] .cloud-progress,
[data-theme="light"] .consulting-progress,
[data-theme="light"] .infra-progress,
[data-theme="light"] .support-metrics,
[data-theme="light"] .progress-bar-wrapper {
    background: #FFFFFF;
    border-color: rgba(0, 31, 63, 0.1);
}

[data-theme="light"] .progress-title {
    color: #001F3F;
}

[data-theme="light"] .step-label {
    color: #001F3F;
}

/* Support metrics strip — light-mode overrides */
[data-theme="light"] .metric-value {
    color: #001F3F;
}

[data-theme="light"] .metric-label {
    color: #475569;
}

[data-theme="light"] .support-metric-item:not(:last-child)::after {
    background: rgba(0, 31, 63, 0.12);
}

/* Optimization page gauge — light-mode overrides */
[data-theme="light"] .gauge-bg {
    stroke: rgba(0, 31, 63, 0.1);
}

[data-theme="light"] .gauge-center-text {
    fill: #001F3F;
}

[data-theme="light"] .gauge-label-text {
    fill: #475569;
}

[data-theme="light"] .step-number {
    background: rgba(0, 31, 63, 0.04);
    border-color: rgba(0, 31, 63, 0.15);
}

[data-theme="light"] .progress-track::before {
    background: rgba(0, 31, 63, 0.1);
}

/* Service page timeline */
[data-theme="light"] .timeline-content {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-color: rgba(0, 31, 63, 0.08);
    box-shadow: 0 2px 8px rgba(0, 31, 63, 0.06), 0 1px 3px rgba(0, 31, 63, 0.04);
}

[data-theme="light"] .timeline-content:hover {
    border-color: rgba(13, 148, 136, 0.25);
    box-shadow: 0 12px 32px rgba(0, 31, 63, 0.10), 0 4px 8px rgba(13, 148, 136, 0.06);
    transform: translateY(-2px);
}

[data-theme="light"] .timeline-content h3 {
    color: #001F3F;
}

[data-theme="light"] .timeline-number {
    background: #F0F2F5;
}

/* Service page advantages/features */
[data-theme="light"] .advantage-card,
[data-theme="light"] .advantage-item,
[data-theme="light"] .feature-card,
[data-theme="light"] .approach-card,
[data-theme="light"] .process-card,
[data-theme="light"] .benefit-card,
[data-theme="light"] .methodology-card,
[data-theme="light"] .service-detail-card,
[data-theme="light"] .pillar-card,
[data-theme="light"] .support-card,
[data-theme="light"] .support-service-card,
[data-theme="light"] .diagnostic-card,
[data-theme="light"] .tier-card,
[data-theme="light"] .tool-card,
[data-theme="light"] .metric-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-color: rgba(0, 31, 63, 0.08);
    box-shadow: 0 2px 8px rgba(0, 31, 63, 0.06), 0 1px 3px rgba(0, 31, 63, 0.04);
    border-top: 2px solid transparent;
    transition: all 0.3s ease;
}

[data-theme="light"] .advantage-card:hover,
[data-theme="light"] .advantage-item:hover,
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .approach-card:hover,
[data-theme="light"] .process-card:hover,
[data-theme="light"] .benefit-card:hover,
[data-theme="light"] .methodology-card:hover,
[data-theme="light"] .service-detail-card:hover,
[data-theme="light"] .pillar-card:hover,
[data-theme="light"] .support-card:hover,
[data-theme="light"] .support-service-card:hover,
[data-theme="light"] .diagnostic-card:hover,
[data-theme="light"] .tier-card:hover,
[data-theme="light"] .tool-card:hover,
[data-theme="light"] .metric-card:hover {
    border-top-color: var(--accent-color);
    box-shadow: 0 12px 32px rgba(0, 31, 63, 0.10), 0 4px 8px rgba(13, 148, 136, 0.06);
    transform: translateY(-2px);
}

[data-theme="light"] .advantage-item-text h4,
[data-theme="light"] .process-item-text h4,
[data-theme="light"] .channel-item-text h4,
[data-theme="light"] .feature-card h3,
[data-theme="light"] .approach-card h3,
[data-theme="light"] .process-card h3,
[data-theme="light"] .benefit-card h3,
[data-theme="light"] .methodology-card h3,
[data-theme="light"] .pillar-card h3,
[data-theme="light"] .support-card h3,
[data-theme="light"] .support-service-card h3,
[data-theme="light"] .diagnostic-content h3,
[data-theme="light"] .tier-card h3,
[data-theme="light"] .tool-card h3,
[data-theme="light"] .metric-card h3 {
    color: #001F3F;
}

/* Service page CTAs — stay dark */
[data-theme="light"] .cloud-cta,
[data-theme="light"] .security-cta,
[data-theme="light"] .infra-cta,
[data-theme="light"] .optim-cta,
[data-theme="light"] .consulting-cta,
[data-theme="light"] .support-cta {
    background: #0a1628 !important;
}

[data-theme="light"] .cloud-cta h2,
[data-theme="light"] .security-cta h2,
[data-theme="light"] .infra-cta h2,
[data-theme="light"] .optim-cta h2,
[data-theme="light"] .consulting-cta h2,
[data-theme="light"] .support-cta h2 {
    color: #ffffff;
}

[data-theme="light"] .cloud-cta p,
[data-theme="light"] .security-cta p,
[data-theme="light"] .infra-cta p,
[data-theme="light"] .optim-cta p,
[data-theme="light"] .consulting-cta p,
[data-theme="light"] .support-cta p {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .cloud-cta .btn-secondary,
[data-theme="light"] .security-cta .btn-secondary,
[data-theme="light"] .infra-cta .btn-secondary,
[data-theme="light"] .optim-cta .btn-secondary,
[data-theme="light"] .consulting-cta .btn-secondary,
[data-theme="light"] .support-cta .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .cloud-cta .btn-secondary:hover,
[data-theme="light"] .security-cta .btn-secondary:hover,
[data-theme="light"] .infra-cta .btn-secondary:hover,
[data-theme="light"] .optim-cta .btn-secondary:hover,
[data-theme="light"] .consulting-cta .btn-secondary:hover,
[data-theme="light"] .support-cta .btn-secondary:hover {
    border-color: #ffffff;
}

/* Service page SVG illustrations — adjust for light bg */
[data-theme="light"] .hero-illustration svg {
    filter: drop-shadow(0 20px 60px rgba(0, 31, 63, 0.1));
}

/* About section isometric SVG — reduce brightness for light bg */
[data-theme="light"] .isometric-visual svg {
    filter: brightness(1) saturate(1);
}

/* ========================================
   Theme Toggle Button
   ======================================== */
.theme-toggle {
    display: none; /* disabled — light mode only */
    position: fixed;
    top: 22px;
    left: 20px;
    z-index: 10001;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    padding: 0;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.08);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* In dark mode: show sun icon, hide moon */
.theme-icon-sun {
    display: block;
}

.theme-icon-moon {
    display: none;
}

/* In light mode: show moon icon, hide sun */
[data-theme="light"] .theme-toggle {
    border-color: rgba(0, 31, 63, 0.15);
    background: rgba(255, 255, 255, 0.8);
    color: #001F3F;
    box-shadow: 0 2px 8px rgba(0, 31, 63, 0.08);
}

[data-theme="light"] .theme-toggle:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 31, 63, 0.12);
}

[data-theme="light"] .theme-icon-sun {
    display: none;
}

[data-theme="light"] .theme-icon-moon {
    display: block;
}

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

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    direction: rtl;
    scrollbar-color: rgba(0, 31, 63, 0.15) var(--bg-primary);
}

body::-webkit-scrollbar {
    width: 8px;
}

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

body::-webkit-scrollbar-thumb {
    background: rgba(0, 31, 63, 0.15);
    border-radius: 4px;
}

/* ========================================
   Accessibility
   ======================================== */

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -100%;
    right: 1rem;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: #ffffff;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0.75rem;
}

/* Visually hidden but accessible to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Visible Styles */
:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.25);
}

.nav-links a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.service-card:focus-visible,
.partner-card:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.back-to-top:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.logo:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.service-link:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

/* Form error messages */
.form-error {
    color: #f87171;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.has-error .form-error {
    display: block;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: #ef4444 !important;
}

[data-theme="light"] .form-error {
    color: #dc2626;
}


/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #001F3F;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
}

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background: #0F766E;
    border-color: #0F766E;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #001F3F;
    border: 1px solid rgba(0, 31, 63, 0.2);
}

.btn-secondary:hover {
    border-color: rgba(0, 31, 63, 0.5);
    background: rgba(0, 31, 63, 0.04);
}

.btn-nav {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* ========================================
   Blurry Header Filter
   ======================================== */
#blurry-filter {
    width: 100%;
    height: 8rem;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZmlsdGVyIGlkPSJmIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iNCIgbnVtT2N0YXZlcz0iMSIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBzdHlsZT0iZmlsdGVyOnVybCgjZikiIG9wYWNpdHk9Ii4yIi8+PC9zdmc+");
    mask: linear-gradient(black 3.5rem, transparent 8rem);
    -webkit-mask: linear-gradient(black 3.5rem, transparent 8rem);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    pointer-events: none;
    touch-action: none;
}

/* ========================================
   Header
   ======================================== */
.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    transition: background 0.25s ease, backdrop-filter 0.25s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: auto;
    display: block;
}

.logo-text {
    color: #001F3F;
}

.logo-i {
    color: var(--accent-color);
}

.logo-sh {
    color: #001F3F;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
}

.nav-links a {
    color: #001F3F;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    opacity: 0.75;
}

.nav-links a:not(.btn):hover {
    color: #001F3F;
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Navigation Dropdown
   ======================================== */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    margin-top: -2px;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-toggle::after {
    transform: rotate(135deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid rgba(0, 31, 63, 0.1);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    box-shadow: 0 8px 32px rgba(0, 31, 63, 0.12);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary) !important;
    opacity: 1 !important;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    color: var(--accent-color) !important;
    background: rgba(13, 148, 136, 0.08);
}

[data-theme="light"] .dropdown-menu {
    background: #ffffff;
    border-color: rgba(0, 31, 63, 0.1);
    box-shadow: 0 8px 32px rgba(0, 31, 63, 0.12);
}

[data-theme="light"] .dropdown-menu a {
    color: #475569 !important;
}

[data-theme="light"] .dropdown-menu a:hover {
    color: var(--accent-color) !important;
    background: rgba(13, 148, 136, 0.06);
}

/* ========================================
   Navigation Phone Number
   ======================================== */
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    direction: ltr;
    opacity: 0.75;
    white-space: nowrap;
}

.nav-phone svg {
    flex-shrink: 0;
}

.nav-phone:hover {
    color: var(--accent-color) !important;
    opacity: 1;
}

/* ========================================
   Service Card Button
   ======================================== */
.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--accent-color);
    border-radius: var(--radius-sm);
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    margin-top: auto;
}

.btn-service:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ========================================
   Section Dividers (dark theme differentiation)
   ======================================== */
.services,
.about,
.partners,
.customers,
.testimonials {
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.customers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* ========================================
   Footer Info Items
   ======================================== */
.footer-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    padding: 0.25rem 0;
}

.footer-info-item svg {
    flex-shrink: 0;
    opacity: 0.6;
    stroke: var(--accent-color);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #DBEAFE 0%, #EFF6FF 40%, #F0F4F8 70%, #F5F3FF 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

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

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(
        circle,
        rgba(13, 148, 136, 0.12) 0%,
        rgba(13, 148, 136, 0.06) 40%,
        transparent 70%
    );
    z-index: 0;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 31, 63, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 31, 63, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Hero Particles Canvas */
#hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Hero Content */
.hero .container {
    position: relative;
    z-index: 10;
}

.hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.18);
    border-radius: 100px;
    color: #0D9488;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

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

@keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Hero Heading */
.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #001F3F;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-content h1 .h1-accent {
    color: var(--accent-color);
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #334155;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.5);
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero .btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

.hero .btn-primary:hover {
    background: #0F766E;
    border-color: #0F766E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.hero .btn-secondary {
    background: transparent;
    color: #001F3F;
    border: 1px solid rgba(0, 31, 63, 0.25);
}

.hero .btn-secondary:hover {
    border-color: rgba(0, 31, 63, 0.5);
    background: rgba(0, 31, 63, 0.05);
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    pointer-events: none;
    z-index: 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(8px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 0;
    background: var(--accent-color);
    transition: var(--transition);
    border-radius: 0 var(--radius-md) 0 0;
}

.service-card:hover {
    border-color: rgba(13, 148, 136, 0.20);
    box-shadow: 0 12px 32px rgba(0, 31, 63, 0.10), 0 4px 8px rgba(13, 148, 136, 0.06);
    background: var(--glass-bg-hover);
}

.service-card:hover::before {
    height: 40px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(13, 148, 136, 0.12);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.service-card ul {
    margin-bottom: 1.25rem;
}

.service-card li {
    position: relative;
    padding-right: 1rem;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-card li::before {
    content: '//';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    opacity: 0.6;
}

.service-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link.btn-service:hover {
    color: #ffffff;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 31, 63, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 31, 63, 0.03) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    pointer-events: none;
    z-index: 0;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 0.5rem;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.check-icon {
    width: 22px;
    height: 22px;
    background: var(--accent-color);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Isometric Visual for About Section */
.isometric-visual {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
}

.isometric-visual svg {
    width: 100%;
    height: auto;
    filter: brightness(2.5) saturate(0.8);
}

/* LED Animations */
.led-blink {
    animation: led-blink 1s ease-in-out infinite;
}

.led-blink-fast {
    animation: led-blink 0.5s ease-in-out infinite;
}

.led-blink-slow {
    animation: led-blink 2s ease-in-out infinite;
}

@keyframes led-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Shield Pulse Animation */
.shield-pulse {
    animation: shield-pulse 2s ease-in-out infinite;
}

@keyframes shield-pulse {
    0%, 100% {
        fill-opacity: 0.1;
        filter: drop-shadow(0 0 0 rgba(0, 31, 63, 0));
    }
    50% {
        fill-opacity: 0.2;
        filter: drop-shadow(0 0 8px rgba(0, 31, 63, 0.3));
    }
}

/* Server Rack Hover Effects */
.server-rack {
    transition: transform 0.3s ease;
}

.isometric-visual:hover .rack-1 {
    transform: translateY(-3px);
}

.isometric-visual:hover .rack-2 {
    transform: translateY(-5px);
}

.isometric-visual:hover .rack-3 {
    transform: translateY(-3px);
}

/* Cloud Icon Animation */
.cloud-icon {
    animation: float-cloud 4s ease-in-out infinite 0.5s;
}

@keyframes float-cloud {
    0%, 100% { transform: translate(330px, 50px); }
    50% { transform: translate(330px, 45px); }
}

/* ========================================
   Why Us Section
   ======================================== */
/* ========================================
   Partners Section
   ======================================== */
.partners {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.partners::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    pointer-events: none;
}

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

.partners-marquee {
    position: relative;
    overflow: hidden;
    direction: ltr;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: partnersScroll 30s linear infinite;
}

.partner-logo {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: var(--transition);
}

.partner-logo:hover {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.partner-logo img {
    display: block;
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

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

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

/* ========================================
   Customers Section
   ======================================== */
.customers {
    padding: 80px 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.customers-marquee {
    position: relative;
    overflow: hidden;
    direction: ltr;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.customers-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: customersScroll 35s linear infinite;
}

.customer-logo {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: var(--transition);
}

.customer-logo:hover {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.customer-logo img {
    display: block;
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

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

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

@media (prefers-reduced-motion: reduce) {
    .customers-track,
    .partners-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
    }

    .customers-marquee,
    .partners-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.testimonials::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    pointer-events: none;
}

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

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

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.testimonial-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    position: relative;
}

.testimonial-quote .quote-icon {
    color: var(--accent-color);
    opacity: 0.4;
    width: 28px;
    height: 28px;
    margin-bottom: 0.75rem;
}

.testimonial-quote p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-info strong {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.testimonial-info span {
    color: var(--text-light);
    font-size: 0.8rem;
}

[data-theme="light"] .testimonials {
    background: var(--bg-primary);
}

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

@media (min-width: 769px) and (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 60px 0;
    background: var(--bg-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-content {
    position: relative;
}

.cta-content h2 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.cta-content p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.cta-section .btn-primary {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.cta-section .btn-primary:hover {
    background: #0F766E;
    border-color: #0F766E;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    pointer-events: none;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 0.75rem;
}

.contact-info > p {
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

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

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

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

.form-group label {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 31, 63, 0.12);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #F8F9FA;
    color: #1a2332;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group select {
    color: #475569;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 1px;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

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

.btn-submit {
    grid-column: span 2;
    margin-top: 0.5rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-dark);
    padding: 50px 0 25px;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 0.875rem;
}

.footer-brand .logo-img {
    height: 54px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand .logo-i {
    color: var(--accent-color);
}

.footer-brand p {
    color: var(--text-light);
    max-width: 260px;
    font-size: 0.9rem;
}

.footer h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 0.6rem;
}

.footer ul a {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer ul a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
}

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

/* ========================================
   Other Services Cross-Navigation
   ======================================== */
.other-services {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.other-services h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.other-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.25s ease;
}

.other-service-card:hover {
    border-color: var(--accent-color);
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
}

.other-service-card svg {
    color: var(--accent-color);
    stroke: var(--accent-color);
}

.other-service-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

[data-theme="light"] .other-services {
    background: #F0F2F5;
}

[data-theme="light"] .other-service-card {
    background: #ffffff;
    border-color: rgba(0, 31, 63, 0.08);
    box-shadow: 0 2px 8px rgba(0, 31, 63, 0.04);
}

[data-theme="light"] .other-service-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(0, 31, 63, 0.08);
}

/* ========================================
   Mobile Menu
   ======================================== */
.nav-links.active {
    display: flex;
}

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

    .other-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .logo-img {
        height: 70px;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: 0;
        left: 0;
        background: rgba(248, 249, 250, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--border-light);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile dropdown: show inline instead of absolute */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        min-width: 0;
        display: none;
        padding-right: 1rem;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .dropdown-toggle::after {
        display: none;
    }

    /* Mobile: phone number styling */
    .nav-phone {
        font-size: 0.9rem;
        justify-content: center;
    }

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

    .hero-content {
        max-width: 100%;
    }

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

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

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .about-image {
        order: -1;
    }

    .isometric-visual {
        max-width: 320px;
    }



    .partners-track {
        gap: 2rem;
    }

    .partner-logo {
        width: 150px;
        height: 85px;
        padding: 0.75rem;
    }

    .partner-logo img {
        max-width: 120px;
        max-height: 60px;
    }

    .customer-logo {
        width: 150px;
        height: 85px;
        padding: 0.75rem;
    }

    .customer-logo img {
        max-width: 120px;
        max-height: 60px;
    }

    .customers-track {
        gap: 2rem;
    }

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

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

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

    .btn-submit {
        grid-column: span 1;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-info-item {
        justify-content: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 110px 0 50px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
    }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-badge-dot {
        animation: none;
        opacity: 1;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up {
        animation: none;
        opacity: 1 !important;
        transform: none;
    }

    /* Disable hover pop-up/scale transforms */
    .btn-primary:hover,
    .hero .btn-primary:hover,
    .btn-service:hover,
    .theme-toggle:hover,
    .back-to-top:hover,
    .service-card:hover,
    .other-service-card:hover,
    .testimonial-card:hover,
    .advantage-card:hover,
    .feature-card:hover,
    .approach-card:hover,
    .process-card:hover,
    .benefit-card:hover,
    .pillar-card:hover,
    .support-card:hover,
    .support-service-card:hover,
    .diagnostic-card:hover,
    .tier-card:hover,
    .tool-card:hover,
    .metric-card:hover,
    .methodology-card:hover,
    .service-detail-card:hover,
    .timeline-content:hover,
    .isometric-visual:hover .rack-1,
    .isometric-visual:hover .rack-2,
    .isometric-visual:hover .rack-3 {
        transform: none !important;
    }

    .btn-primary,
    .btn-service,
    .theme-toggle,
    .back-to-top,
    .dropdown-menu,
    .service-card,
    .other-service-card,
    .testimonial-card,
    .timeline-content {
        transition: none !important;
    }
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 2.5rem;
}

.form-success h3 {
    color: #10b981;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 9999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 31, 63, 0.15);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001F3F;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    padding: 0;
}

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

.back-to-top:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

[data-theme="light"] .back-to-top {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 31, 63, 0.15);
    color: #001F3F;
    box-shadow: 0 2px 8px rgba(0, 31, 63, 0.1);
}

[data-theme="light"] .back-to-top:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
}

/* ========================================
   Accessibility Statement Page
   ======================================== */
.accessibility-hero {
    padding: 140px 0 60px;
    background: var(--bg-primary);
}

.accessibility-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-top: 1rem;
    color: var(--text-primary);
}

.accessibility-statement {
    padding: 60px 0 100px;
}

.accessibility-statement article {
    max-width: 800px;
    margin: 0 auto;
}

.accessibility-statement h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.accessibility-statement p,
.accessibility-statement li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.accessibility-statement ul {
    padding-right: 1.5rem;
    margin-bottom: 1rem;
    list-style: disc;
}

.accessibility-statement a {
    color: var(--accent-color);
    text-decoration: underline;
}

.accessibility-statement a:hover {
    color: var(--text-primary);
}

.accessibility-contact-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1rem;
}

.accessibility-contact-info p {
    margin-bottom: 0.5rem;
}

/* Footer accessibility link */
.footer-accessibility-link {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-accessibility-link:hover {
    color: #ffffff;
}

[data-theme="light"] .footer-accessibility-link:hover {
    color: var(--text-primary);
}

/* ========================================
   High Contrast / Forced Colors Support
   ======================================== */
@media (forced-colors: active) {
    :focus-visible {
        outline: 3px solid ButtonText;
    }

    .btn {
        border: 2px solid ButtonText;
    }

    .service-card,
    .testimonial-card {
        border: 1px solid ButtonText;
    }

    .skip-to-content {
        forced-color-adjust: none;
        background: Highlight;
        color: HighlightText;
    }

    .mobile-menu-btn span {
        background: ButtonText;
    }

    .hero-bg-glow,
    .hero-bg-grid {
        display: none;
    }
}
