/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cybersecurity Color Palette */
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --primary-light: #33ddff;
    --secondary-color: #00ff88;
    --accent-color: #7c3aed;
    --danger-color: #ff3366;
    --warning-color: #ffaa00;
    --success-color: #00ff88;
    
    /* Dark Theme Colors (Default) */
    --text-dark: #0a0e27;
    --text-medium: #1a1f3a;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-dark: #0a0e27;
    --bg-darker: #050811;
    --bg-medium: #1a1f3a;
    --bg-light: #1e2339;
    --bg-white: #ffffff;
    --bg-card: rgba(26, 31, 58, 0.8);
    
    /* Border & Shadow */
    --border-color: rgba(0, 212, 255, 0.2);
    --border-glow: rgba(0, 212, 255, 0.5);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 212, 255, 0.2);
    --shadow-xl: 0 20px 40px rgba(0, 212, 255, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-secondary: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-hero: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    --gradient-cyber: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #00ff88 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* Light Theme */
[data-theme="light"] {
    /* Light Theme Colors */
    --text-dark: #1a1a2e;
    --text-medium: #2d3748;
    --text-light: #718096;
    --text-lighter: #4a5568;
    --text-white: #1a1a2e;
    
    /* Light Background Colors */
    --bg-dark: #f7fafc;
    --bg-darker: #edf2f7;
    --bg-medium: #ffffff;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    
    /* Light Border & Shadow */
    --border-color: rgba(0, 212, 255, 0.15);
    --border-glow: rgba(0, 212, 255, 0.3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 212, 255, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 212, 255, 0.2);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.2);
    
    /* Light Gradients */
    --gradient-hero: linear-gradient(135deg, #f7fafc 0%, #edf2f7 50%, #f7fafc 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

/* Light Theme Text Visibility Fixes - Selected/Featured Tiles */
[data-theme="light"] .service-card.featured,
[data-theme="light"] .cert-card.featured {
    background: var(--gradient-primary);
    border: 1px solid var(--primary-color);
    color: white;
    box-shadow: var(--shadow-glow);
}

[data-theme="light"] .service-card.featured .service-title,
[data-theme="light"] .service-card.featured .service-description,
[data-theme="light"] .service-card.featured .service-features li,
[data-theme="light"] .cert-card.featured .cert-title,
[data-theme="light"] .cert-card.featured .cert-full-name,
[data-theme="light"] .cert-card.featured .cert-description {
    color: white !important;
}

[data-theme="light"] .service-card.featured .service-link,
[data-theme="light"] .cert-card.featured .cert-duration,
[data-theme="light"] .cert-card.featured .cert-mode {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .service-card.featured .service-icon,
[data-theme="light"] .cert-card.featured .cert-icon {
    color: white !important;
}

[data-theme="light"] .service-card.featured .service-features .feature-check,
[data-theme="light"] .cert-card.featured .cert-badge {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .service-card.featured .service-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Courier New', monospace;
    line-height: 1.7;
    color: var(--text-white);
    background-color: var(--bg-darker);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="light"] body {
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(10, 14, 39, 0.98);
    border-bottom-color: var(--border-glow);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    height: 60px;
    min-height: 60px;
    width: 200px;
    min-width: 200px;
    flex-shrink: 0;
}

.logo-img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 200px;
    min-width: 200px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.logo-img.logo-dark {
    mix-blend-mode: lighten;
}

.logo .logo-light {
    display: none;
}

[data-theme="light"] .logo .logo-dark {
    display: none;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-lighter);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 10px var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

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

.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

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

.btn-nav {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    transition: var(--transition);
    border-radius: 2px;
}

[data-theme="light"] .mobile-menu-toggle span {
    background: var(--text-dark);
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 1;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    animation: cyberPulse 8s ease-in-out infinite;
}

@keyframes cyberPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="cyberGrid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(0,212,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23cyberGrid)"/></svg>'),
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
    animation: patternMove 20s ease-in-out infinite;
    opacity: 0.6;
}

/* Dot Grid Pattern - Cybersecurity Theme */
.dot-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 212, 255, 0.3) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    background-position: 0 0;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.dot-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.1) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(0, 255, 136, 0.1) 50%, transparent 100%);
    animation: scanLines 3s linear infinite;
}

@keyframes scanLines {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Cybersecurity Terminal Effect */
.cyber-terminal {
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cyber-terminal::before {
    content: '>';
    color: var(--success-color);
    margin-right: 0.5rem;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Security Badge Glow */
.security-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 212, 255, 0.4); }
    50% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.8); }
}

/* Network Connection Lines */
.network-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.2;
}

.network-lines::before,
.network-lines::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    animation: networkPulse 3s ease-in-out infinite;
}

.network-lines::before {
    left: 20%;
    animation-delay: 0s;
}

.network-lines::after {
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes networkPulse {
    0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
    50% { opacity: 0.6; transform: scaleY(1); }
}

.dot-grid-animated {
    animation: dotGridMove 20s linear infinite;
}

@keyframes dotGridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

/* Dot Grid Overlay for sections */
.dot-grid-overlay {
    position: relative;
    overflow: hidden;
}

.dot-grid-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 102, 204, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0;
    pointer-events: none;
    z-index: 0;
}

.dot-grid-overlay > * {
    position: relative;
    z-index: 1;
}

/* Dot Grid Background for light sections */
.dot-grid-light {
    background-image: radial-gradient(circle, rgba(0, 102, 204, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
}

.dot-grid-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 102, 204, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

/* Dot Grid for dark sections */
.dot-grid-dark {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
}

.dot-grid-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes patternMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.1); }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.float-icon {
    position: absolute;
    color: var(--primary-color);
    opacity: 0.12;
    animation: floatIcon 14s ease-in-out infinite;
    stroke-width: 1.5;
}

.float-s { width: 32px; height: 32px; }
.float-m { width: 44px; height: 44px; }
.float-l { width: 56px; height: 56px; }

/* Left cluster */
.float-1 { top: 8%; left: 5%; animation-delay: 0s; }
.float-2 { top: 35%; left: 3%; animation-delay: 2s; }
.float-3 { top: 65%; left: 8%; animation-delay: 4s; }
.float-4 { bottom: 15%; left: 12%; animation-delay: 6s; }

/* Right cluster */
.float-5 { top: 5%; right: 8%; animation-delay: 1s; }
.float-6 { top: 40%; right: 4%; animation-delay: 3s; }
.float-7 { top: 72%; right: 6%; animation-delay: 5s; }
.float-8 { bottom: 12%; right: 10%; animation-delay: 7s; }

/* Top & bottom accents - frame the content */
.float-9 { top: 18%; left: 22%; animation-delay: 8s; }
.float-10 { top: 55%; right: 22%; animation-delay: 9s; }
.float-11 { bottom: 35%; left: 18%; animation-delay: 10s; }
.float-12 { top: 78%; right: 28%; animation-delay: 11s; }

@keyframes floatIcon {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -20px) rotate(4deg); }
    50% { transform: translate(-12px, 12px) rotate(-3deg); }
    75% { transform: translate(18px, 8px) rotate(2deg); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid var(--border-glow);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-white);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

@keyframes textGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-lighter);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.hero-stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* Trusted By Section */
.trusted-by {
    padding: 3rem 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.trusted-label {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-lighter);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-lighter);
    opacity: 0.7;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.logo-item img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-fallback {
    display: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.logo-item:hover {
    opacity: 1;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-white);
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-lighter);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-cyber);
    transform: scaleX(0);
    transition: var(--transition);
    box-shadow: 0 0 20px var(--primary-color);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-card:hover {
    transform: translate3d(0, -8px, 0);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
    background: rgba(26, 31, 58, 0.95);
}

/* Make text white on hover for non-featured service cards */
.service-card:hover:not(.featured) .service-title,
.service-card:hover:not(.featured) .service-description,
.service-card:hover:not(.featured) .service-features li {
    color: white !important;
}

.service-card:hover:not(.featured) .service-icon {
    color: white !important;
}

.service-card:hover:not(.featured) .service-link {
    color: white !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.service-card:hover:not(.featured) .service-features .feature-check {
    color: white !important;
}

.service-card:hover:not(.featured) .service-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Light theme hover styles for non-featured service cards */
[data-theme="light"] .service-card:hover:not(.featured) {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

[data-theme="light"] .service-card:hover:not(.featured) .service-title,
[data-theme="light"] .service-card:hover:not(.featured) .service-description,
[data-theme="light"] .service-card:hover:not(.featured) .service-features li {
    color: white !important;
}

[data-theme="light"] .service-card:hover:not(.featured) .service-icon {
    color: white !important;
}

[data-theme="light"] .service-card:hover:not(.featured) .service-link {
    color: white !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .service-card:hover:not(.featured) .service-features .feature-check {
    color: white !important;
}

[data-theme="light"] .service-card:hover:not(.featured) .service-icon-wrapper {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-card.featured {
    background: var(--gradient-card);
    border: 1px solid var(--border-glow);
    box-shadow: var(--shadow-glow);
    color: white;
}

[data-theme="light"] .service-card.featured {
    background: var(--gradient-primary);
    color: white;
}

.service-card.featured::before {
    height: 100%;
    width: 3px;
    right: 0;
    left: auto;
    top: 0;
    bottom: 0;
    background: var(--gradient-cyber);
    transform: scaleY(1);
}

.service-card.featured .service-title,
.service-card.featured .service-description,
.service-card.featured .service-features li {
    color: white;
}

[data-theme="light"] .service-card.featured .service-title,
[data-theme="light"] .service-card.featured .service-description,
[data-theme="light"] .service-card.featured .service-features li {
    color: white !important;
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.service-card.featured .service-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .service-card.featured .service-icon-wrapper {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    stroke-width: 2;
}

.service-card.featured .service-icon {
    color: white;
}

[data-theme="light"] .service-card.featured .service-icon {
    color: white !important;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.service-description {
    color: var(--text-lighter);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-lighter);
    font-size: 0.95rem;
}

.service-features .feature-check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--primary-color);
    stroke-width: 3;
}

.service-card.featured .service-features .feature-check {
    color: white;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-card.featured .service-link {
    color: white;
}

[data-theme="light"] .service-card.featured .service-link {
    color: white !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.service-link:hover {
    gap: 1rem;
}

/* Solutions Section */
.solutions {
    padding: 6rem 0;
    background: var(--bg-medium);
    position: relative;
}

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

.solutions-text .section-title {
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
}

.solutions-text .section-subtitle {
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.solution-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.solution-item:hover {
    box-shadow: var(--shadow-glow);
    transform: translateX(5px);
    border-color: var(--border-glow);
}

.solution-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    stroke-width: 2;
    flex-shrink: 0;
}

.solution-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

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

.solutions-visual {
    position: relative;
    height: 600px;
    width: 100%;
    overflow: hidden;
}

.visual-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    width: 160px;
    will-change: transform;
}

.visual-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
    z-index: 10;
}

/* Scattered in distinct zones - no overlap, minimal float drift */
.card-1 {
    top: 5%;
    left: 4%;
    animation: floatCard1 9s ease-in-out infinite;
}

.card-2 {
    top: 6%;
    right: 4%;
    animation: floatCard2 8s ease-in-out infinite 1s;
}

.card-3 {
    top: 38%;
    left: 3%;
    animation: floatCard3 7.5s ease-in-out infinite 2s;
}

.card-4 {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatCard4 8.5s ease-in-out infinite 0.5s;
}

.card-5 {
    bottom: 6%;
    right: 4%;
    animation: floatCard5 9s ease-in-out infinite 1.5s;
}

.card-6 {
    bottom: 6%;
    left: 4%;
    animation: floatCard6 7s ease-in-out infinite 2.5s;
}

.card-7 {
    top: 40%;
    right: 3%;
    animation: floatCard7 8s ease-in-out infinite 3s;
}

.card-8 {
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatCard8 7.5s ease-in-out infinite 3.5s;
}

/* Subtle float - max 4px movement to prevent overlap */
@keyframes floatCard1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(4px, -5px); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-4px, 5px); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(3px, -4px); }
}

@keyframes floatCard4 {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 4px); }
}

@keyframes floatCard5 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-4px, -5px); }
}

@keyframes floatCard6 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(4px, -4px); }
}

@keyframes floatCard7 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-3px, 4px); }
}

@keyframes floatCard8 {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -4px); }
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    stroke-width: 2;
    margin-bottom: 0.75rem;
}

.card-title {
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.95rem;
    line-height: 1.3;
}

[data-theme="light"] .card-title {
    color: var(--text-dark);
}

/* Stats Section */
.stats {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="cyberPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(0,212,255,0.3)"/></pattern></defs><rect width="100" height="100" fill="url(%23cyberPattern)"/></svg>');
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    background: rgba(0, 212, 255, 0.15);
    transform: translate3d(0, -5px, 0);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 48px;
    height: 48px;
    color: white;
    stroke-width: 2;
    margin-bottom: 1rem;
    opacity: 0.9;
}

[data-theme="light"] .stat-icon {
    color: var(--primary-color);
    opacity: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

[data-theme="light"] .stat-number {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

[data-theme="light"] .stat-label {
    color: var(--text-dark);
    font-weight: 700;
}

.stat-description {
    font-size: 0.875rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .stat-description {
    color: var(--text-medium);
    opacity: 1;
    font-weight: 500;
}

/* Certifications Section */
.certifications {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.cert-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.cert-card:hover::before {
    transform: scaleY(1);
}

.cert-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.cert-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cert-card.featured {
    background: var(--gradient-card);
    border: 1px solid var(--border-glow);
    box-shadow: var(--shadow-glow);
    color: white;
}

[data-theme="light"] .cert-card.featured {
    background: var(--gradient-primary);
    color: white;
}

.cert-card.featured .cert-title,
.cert-card.featured .cert-full-name,
.cert-card.featured .cert-description {
    color: white;
}

[data-theme="light"] .cert-card.featured .cert-title,
[data-theme="light"] .cert-card.featured .cert-full-name,
[data-theme="light"] .cert-card.featured .cert-description {
    color: white !important;
}

.cert-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.cert-card.featured .cert-badge {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

[data-theme="light"] .cert-card.featured .cert-badge {
    background: rgba(255, 255, 255, 0.3);
    color: white !important;
}

.cert-icon {
    width: 56px;
    height: 56px;
    color: var(--primary-color);
    stroke-width: 2;
    margin-bottom: 1rem;
}

.cert-card.featured .cert-icon {
    color: white;
}

[data-theme="light"] .cert-card.featured .cert-icon {
    color: white !important;
}

.cert-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.cert-full-name {
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.cert-description {
    color: var(--text-lighter);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cert-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.cert-duration,
.cert-mode {
    font-size: 0.875rem;
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    border-radius: 50px;
}

.cert-card.featured .cert-details {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .cert-card.featured .cert-details {
    border-color: rgba(255, 255, 255, 0.3);
}

.cert-card.featured .cert-duration,
.cert-card.featured .cert-mode {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

[data-theme="light"] .cert-card.featured .cert-duration,
[data-theme="light"] .cert-card.featured .cert-mode {
    background: rgba(255, 255, 255, 0.25);
    color: white !important;
}

.training-modes {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.training-modes h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.mode-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.mode-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
}

.mode-icon {
    width: 56px;
    height: 56px;
    color: var(--primary-color);
    stroke-width: 2;
    margin-bottom: 1rem;
}

.mode-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

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

/* Case Studies Section */
.case-studies {
    padding: 6rem 0;
    background: var(--bg-medium);
    position: relative;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    will-change: transform;
    transform: translateZ(0);
}

.case-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
}

.case-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.case-icon {
    width: 80px;
    height: 80px;
    color: white;
    stroke-width: 2;
    z-index: 1;
    position: relative;
    opacity: 0.9;
}

.case-content {
    padding: 2rem;
}

.case-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.case-content p {
    color: var(--text-lighter);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.case-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.case-link:hover {
    gap: 1rem;
}

/* Clients Section */
.clients {
    padding: 6rem 0;
    background: var(--bg-medium);
    position: relative;
    overflow: hidden;
}

.clients-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 2rem 0 3rem;
    padding: 2rem 0;
}

.clients-scroll-wrapper::before,
.clients-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.clients-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-medium), transparent);
}

.clients-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-medium), transparent);
}

[data-theme="light"] .clients-scroll-wrapper::before {
    background: linear-gradient(to right, var(--bg-medium), transparent);
}

[data-theme="light"] .clients-scroll-wrapper::after {
    background: linear-gradient(to left, var(--bg-medium), transparent);
}

.clients-scroll {
    width: 100%;
    overflow: hidden;
}

.clients-track {
    display: flex;
    gap: 3rem;
    width: fit-content;
    animation: scrollClients 25s linear infinite;
}

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

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

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    height: 160px;
    min-width: 240px;
    flex-shrink: 0;
    overflow: hidden;
}

.client-logo:hover {
    transform: translate3d(0, -5px, 0);
}

.client-logo img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.clients-names {
    text-align: center;
    margin-top: 2rem;
}

.client-logo .logo-fallback {
    display: none;
    font-size: 1rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    will-change: transform;
    transform: translateZ(0);
}

.testimonial-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-lighter);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-medium);
    position: relative;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-description {
    color: var(--text-lighter);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-expertise,
.about-values,
.about-vision,
.about-mission {
    margin: 3rem 0;
}

.about-expertise h3,
.about-values h3,
.about-vision h3,
.about-mission h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.expertise-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
}

.expertise-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    stroke-width: 2;
}

.expertise-item span {
    font-weight: 600;
    color: var(--text-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.value-item {
    padding: 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
}

.value-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    stroke-width: 2;
    margin-bottom: 1rem;
}

.value-item strong {
    display: block;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.value-item p {
    color: var(--text-lighter);
    line-height: 1.7;
    font-size: 0.95rem;
}

.about-vision,
.about-mission {
    padding: 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary-color);
    border: 1px solid var(--border-color);
}

.about-vision p,
.about-mission p {
    color: var(--text-lighter);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}


.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-form-wrapper {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

[data-theme="light"] .contact-form-wrapper h3 {
    color: var(--text-dark);
}

.form-section .form-content {
    max-width: 600px;
    margin: 0 auto;
}

.form-content form {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(10, 14, 39, 0.5);
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

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

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border-color: var(--border-color);
}

.form-content .btn {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-glow);
}

.contact-icon-wrapper {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-theme="light"] .contact-icon-wrapper {
    background: rgba(0, 212, 255, 0.1);
}

.contact-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    stroke-width: 2;
}

.contact-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    width: 100%;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-white);
    line-height: 1.2;
}

[data-theme="light"] .contact-details h3 {
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-lighter);
    margin-bottom: 0.5rem;
    line-height: 1.6;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    display: inline-block;
    max-width: 100%;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: var(--text-white);
    padding: 4rem 0 2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="light"] .footer {
    background: var(--bg-darker);
    color: var(--text-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 3rem 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-section {
    min-width: 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 280px;
}

.footer-brand .footer-logo {
    margin-bottom: 0.25rem;
}

.footer-logo {
    display: flex;
    position: relative;
    width: fit-content;
}

.footer-logo-img {
    width: 160px;
    min-width: 160px;
    height: 55px;
    min-height: 55px;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
}

.footer-logo-img.logo-dark {
    mix-blend-mode: lighten;
}

.footer-logo .logo-light {
    display: none;
}

[data-theme="light"] .footer-logo .logo-dark {
    display: none;
}

[data-theme="light"] .footer-logo .logo-light {
    display: block;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.footer-brand-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .footer-brand-tagline {
    color: var(--text-light);
}

.footer-section h3 {
    font-size: 1.35rem;
    margin: 0 0 0.5rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="light"] .footer-section h4 {
    color: var(--text-dark);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

[data-theme="light"] .footer-section p {
    color: var(--text-light);
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-section ul li:last-child {
    margin-bottom: 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    line-height: 1.5;
}

[data-theme="light"] .footer-section a {
    color: var(--text-light);
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
    gap: 1rem;
}

[data-theme="light"] .footer-bottom {
    border-top-color: var(--border-color);
    color: var(--text-light);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

[data-theme="light"] .footer-links a {
    color: var(--text-light);
}

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

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        max-width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solutions-content {
        grid-template-columns: 1fr;
    }
    
    .solutions-visual {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-medium);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        gap: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    [data-theme="light"] .nav-menu {
        background: var(--bg-white);
    }

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

    .hero {
        min-height: 90vh;
        padding-top: 120px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .hero-stats {
        gap: 2rem;
    }

    .services-grid,
    .certifications-grid,
    .case-studies-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .client-logo {
        height: 140px;
        min-width: 200px;
    }
    
    .client-logo img {
        max-height: 100px;
    }
    
    .clients-scroll-wrapper::before,
    .clients-scroll-wrapper::after {
        width: 50px;
    }

    .solutions-visual {
        height: 500px;
    }

    .visual-card {
        padding: 1.25rem;
    }

    
    .card-icon {
        width: 40px;
        height: 40px;
    }
    
    .card-title {
        font-size: 0.85rem;
    }

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

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

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

@media (max-width: 480px) {
    .logo {
        height: 48px;
        min-height: 48px;
        width: 170px;
        min-width: 170px;
    }

    .logo-img {
        height: 48px;
        width: 170px;
        min-width: 170px;
    }

    .footer-logo-img {
        width: 150px;
        min-width: 150px;
        height: 50px;
        min-height: 50px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .client-logo {
        min-width: 180px;
        height: 120px;
    }
    
    .client-logo img {
        max-height: 90px;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

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

    .trusted-logos {
        gap: 1.5rem;
    }

    .solutions-visual {
        height: 520px;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    padding: 0;
    margin: 0;
}

.theme-toggle:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--border-glow);
    transform: scale(1.05);
}

.theme-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    color: var(--primary-color);
    position: absolute;
    transition: var(--transition);
}

.sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="light"] .sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .scroll-indicator,
    .footer {
        display: none;
    }
}
