/* Modern Cybersecurity Website Design - Inspired by SentinelOne, Kaspersky, N-iX */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Color Palette */
    --primary-dark: #0F172A;
    --primary-blue: #1E40AF;
    --accent-cyan: #06B6D4;
    --accent-purple: #7C3AED;
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --danger-red: #EF4444;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Typography Scale */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--gray-900);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-800);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-600);
}

/* Container System */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* Emergency Banner - Modern Alert Style */
.emergency-banner {
    background: linear-gradient(135deg, var(--danger-red) 0%, #DC2626 100%);
    color: var(--white);
    padding: var(--spacing-md) 0;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

/* 3D Modern Navigation */
nav {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 48px;
    z-index: 999;
    transition: var(--transition-normal);
    box-shadow: 
        0 4px 20px rgba(30, 64, 175, 0.3),
        0 8px 40px rgba(124, 58, 237, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation Content with Logo */
.nav-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: var(--spacing-3xl);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transform: translateZ(10px);
}

/* Logo hover effect removed since we're using text only */

.logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(30, 64, 175, 0.4),
        0 6px 12px rgba(124, 58, 237, 0.3);
    transform: translateZ(20px);
    letter-spacing: -0.02em;
}

.logo-text:hover {
    color: var(--accent-cyan);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(6, 182, 212, 0.5),
        0 8px 16px rgba(6, 182, 212, 0.3);
    transform: translateZ(25px) scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-left: 0;
}

nav li {
    position: relative;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateZ(5px);
}

nav a:hover {
    color: var(--accent-cyan);
    background-color: rgba(255, 255, 255, 0.1);
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        0 2px 6px rgba(6, 182, 212, 0.4);
    transform: translateZ(10px) translateY(-2px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 6px 12px rgba(6, 182, 212, 0.3);
}

nav a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

nav a:hover:after {
    width: 80%;
}

/* Modern Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-dark);
    min-width: 280px;
    border-radius: var(--radius-lg);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 12px 48px rgba(30, 64, 175, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    margin-top: var(--spacing-sm);
    z-index: 1000;
    transform: translateZ(30px);
    backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: slideDown3D 0.3s ease;
}

@keyframes slideDown3D {
    from {
        opacity: 0;
        transform: translateZ(30px) translateY(-10px) rotateX(-15deg);
    }
    to {
        opacity: 1;
        transform: translateZ(30px) translateY(0) rotateX(0deg);
    }
}

.dropdown-content a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    margin: 2px 0;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--white) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: var(--transition-fast);
    transform: translateZ(5px);
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-cyan) !important;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        0 2px 6px rgba(6, 182, 212, 0.4);
    transform: translateZ(10px) translateX(4px);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(6, 182, 212, 0.2);
}

/* Modern Hero Section */
.hero {
    background: linear-gradient(135deg, 
        var(--primary-dark) 0%, 
        var(--gray-800) 50%, 
        var(--primary-blue) 100%);
    color: var(--white);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.hero h1 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--white), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--gray-300);
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    margin: var(--spacing-xl) 0;
    transition: var(--transition-slow);
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Hero Video - Fixed Height */
.hero-video {
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    margin: var(--spacing-xl) auto;
    transition: var(--transition-slow);
    display: block;
}

.hero-video:hover {
    transform: scale(1.02);
}

/* Alternative: Modern Hero Image Grid */
.hero-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-media-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition-normal);
}

.hero-media-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.hero-media-card img {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-md);
    filter: brightness(0) invert(1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin: var(--spacing-xl) 0;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    color: var(--white);
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    display: block;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--gray-300);
    margin-top: var(--spacing-xs);
}

/* Modern Button System */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
    background: linear-gradient(135deg, var(--success-green), var(--accent-cyan));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* CTA Buttons Container */
.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: center;
    margin: var(--spacing-xl) 0;
    flex-wrap: wrap;
}

/* Modern Grid Systems */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-2xl) 0;
}

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

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-2xl) 0;
}

/* Modern Card Design */
.service-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gray-300);
}

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

.service-card h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
}

/* Modern Testimonials */
.testimonial {
    background: var(--gray-50);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary-blue);
    position: relative;
    transition: var(--transition-normal);
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-author {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
    font-weight: 600;
    color: var(--gray-800);
}

/* Modern Process Steps */
.step {
    text-align: center;
    padding: var(--spacing-xl);
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
    z-index: 1;
}

/* Modern FAQ Design */
.faq-section {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
}

.faq-item {
    margin-bottom: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    background: var(--white);
    padding: var(--spacing-xl);
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-900);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
    border-bottom: 1px solid var(--gray-100);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question span {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 300;
    transition: var(--transition-fast);
}

.faq-question.active span {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--spacing-xl) var(--spacing-xl);
    color: var(--gray-600);
    background: var(--white);
    display: none;
    animation: slideDown 0.3s ease;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    margin-bottom: var(--spacing-md);
}

.faq-answer strong {
    color: var(--gray-800);
}

/* Modern Form Design */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-2xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: var(--spacing-xl);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--gray-800);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

/* Modern Section Styling */
.content-section,
.services-section,
.why-choose-section,
.case-types-section,
.testimonials-section,
.procedure-section,
.contact-section,
.resources-section,
.related-services-section {
    padding: var(--spacing-3xl) 0;
}

.content-section:nth-child(even),
.services-section:nth-child(even) {
    background: var(--gray-50);
}

/* Comprehensive Color Contrast Fixes - All Service Pages */

/* Hero Section - Blue background, white text */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    color: var(--white);
}

.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero p,
.hero .hero-subtitle {
    color: var(--white) !important;
}

/* Content sections with blue backgrounds */
.procedure-section,
.why-choose-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    color: var(--white);
    padding: var(--spacing-3xl) 0;
}

.procedure-section h2,
.procedure-section h3,
.procedure-section p,
.why-choose-section h2,
.why-choose-section h3,
.why-choose-section p,
.why-choose-section li {
    color: var(--white) !important;
}

/* Process Steps on blue backgrounds */
.step {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.step:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.step h3,
.step p {
    color: var(--white) !important;
}

/* Content sections with white backgrounds */
.content-section,
.services-section,
.testimonials-section {
    background: var(--white);
    color: var(--gray-800);
    padding: var(--spacing-3xl) 0;
}

.content-section h2,
.content-section h3,
.content-section p,
.services-section h2,
.services-section h3,
.services-section p,
.testimonials-section h2,
.testimonials-section h3,
.testimonials-section p {
    color: var(--gray-800) !important;
}

/* Government Resources and Related Services sections with blue background */
.resources-section,
.related-services-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    color: var(--white);
    padding: var(--spacing-3xl) 0;
}

.resources-section h2,
.resources-section h3,
.resources-section p,
.related-services-section h2,
.related-services-section h3,
.related-services-section p {
    color: var(--white) !important;
}

.resources-section ul,
.related-services-section ul {
    list-style: none;
    padding: 0;
}

.resources-section li,
.related-services-section li {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
    position: relative;
}

.resources-section li:before,
.related-services-section li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: bold;
}

.resources-section a,
.related-services-section a {
    color: var(--white) !important;
    text-decoration: underline;
    transition: var(--transition-fast);
}

.resources-section a:hover,
.related-services-section a:hover {
    color: var(--accent-cyan) !important;
    text-decoration: none;
}

/* Service cards on white backgrounds */
.service-card {
    background: var(--white);
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
}

.service-card h3,
.service-card p {
    color: var(--gray-800) !important;
}

/* Service cards within related-services-section - keep service cards white background with dark text */
.related-services-section .service-card {
    background: var(--white) !important;
    color: var(--gray-800) !important;
}

.related-services-section .service-card h3,
.related-services-section .service-card p {
    color: var(--gray-800) !important;
}

.related-services-section .service-card h3 a {
    color: var(--gray-900) !important;
    text-decoration: none;
    transition: var(--transition-fast);
}

.related-services-section .service-card h3 a:hover {
    color: var(--accent-cyan) !important;
    text-decoration: none;
}

/* Service cards within contact-section - keep service cards white background with dark text */
.contact-section .service-card {
    background: var(--white) !important;
    color: var(--gray-800) !important;
}

.contact-section .service-card h3,
.contact-section .service-card p {
    color: var(--gray-800) !important;
}

.contact-section .service-card h3 a {
    color: var(--gray-900) !important;
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-section .service-card h3 a:hover {
    color: var(--accent-cyan) !important;
    text-decoration: none;
}

/* Testimonial cards - white background with dark text */
.testimonial {
    background: var(--gray-50);
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
}

.testimonial p,
.testimonial-author {
    color: var(--gray-800) !important;
}

/* Contact section - Blue background */
.contact-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    color: var(--white);
    padding: var(--spacing-3xl) 0;
}

.contact-section h2,
.contact-section h3,
.contact-section p {
    color: var(--white) !important;
}

.contact-highlight {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-highlight p,
.contact-highlight strong {
    color: var(--white) !important;
}

/* Dynamic Hero Elements */
.hero-cta-dynamic {
    margin: var(--spacing-2xl) 0;
}

.dynamic-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white) !important;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--white) !important;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--white);
    transition: var(--transition-fast);
}

.feature-badge:hover {
    background: var(--white);
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
}

/* Content Highlights */
.content-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.highlight-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.highlight-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--white) !important;
}

.highlight-card p {
    color: var(--white) !important;
    line-height: 1.6;
}

/* Fix testimonial text color */
.testimonial {
    background: var(--white);
    color: var(--gray-700);
}

.testimonial-author {
    color: var(--gray-800);
}

/* Enhanced FAQ Design */
/* Enhanced FAQ Design with Dynamic Frames and Proper Color Contrast */
.faq-section {
    background: var(--white);
    padding: var(--spacing-3xl) 0;
    color: var(--gray-800);
}

.faq-section h2 {
    color: var(--primary-blue) !important;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    border: 2px solid var(--gray-200);
}

.faq-item:hover {
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.faq-question {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    color: var(--white);
    padding: var(--spacing-xl);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-fast);
    border: none;
    position: relative;
    overflow: hidden;
}

.faq-question:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.faq-question:hover:before {
    left: 100%;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--primary-blue) 100%);
}

.faq-question span {
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition-fast);
    color: var(--white);
}

.faq-question.active span {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-normal);
    background: var(--white);
}

.faq-answer.active {
    max-height: 1000px;
}

.faq-answer p {
    padding: var(--spacing-xl);
    color: var(--primary-blue) !important;
    line-height: 1.7;
    font-size: 1rem;
}

.faq-answer strong {
    color: var(--accent-purple) !important;
    font-weight: 700;
}

/* Section background fixes */
.procedure-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    color: var(--white);
}

.why-choose-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--gray-800));
    color: var(--white);
}

.case-types-section {
    background: var(--gray-50);
}

.case-types-section h2,
.case-types-section h3,
.case-types-section p {
    color: var(--gray-900) !important;
}

/* Contact Information Cards */
.contact-info-section .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact-highlight {
    background: linear-gradient(135deg, var(--warning-orange), #F97316);
    color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

/* Location Keywords (Hidden) */
.location-keywords {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.service-areas::after {
    content: "Service areas: private investigator Los Angeles, private detective Orange County, private eye San Diego, PI near me, licensed investigator near me";
    position: absolute;
    left: -9999px;
}

.locations-served::before {
    content: "Locations: Beverly Hills, Santa Monica, Irvine, Newport Beach, La Jolla, Carlsbad private investigator services";
    position: absolute;
    left: -9999px;
}

/* Breadcrumb Modern Style */
.breadcrumb {
    background: var(--gray-50);
    padding: var(--spacing-md) 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--accent-purple);
}

/* Responsive Design */
/* Mobile Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

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

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

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

@media (max-width: 768px) {
    .services-grid,
    .testimonials-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    /* Show hamburger menu on mobile */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide navigation menu by default on mobile */
    .nav-menu {
        display: none;
        background: black;
        color: white;
        padding: 20px;
        position: fixed;
        top: 120px;
        left: 0;
        width: 100%;
        z-index: 998;
    }
    
    .nav-menu.active {
        display: block !important;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
    }
    
    .nav-menu a {
        padding: var(--spacing-md);
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--primary-dark);
        margin-top: var(--spacing-sm);
        padding-left: var(--spacing-lg);
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .hero {
        padding: var(--spacing-2xl) 0;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-4 { margin-top: var(--spacing-md); }
.mt-6 { margin-top: var(--spacing-lg); }
.mt-8 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-4 { margin-bottom: var(--spacing-md); }
.mb-6 { margin-bottom: var(--spacing-lg); }
.mb-8 { margin-bottom: var(--spacing-xl); }

/* Performance Optimizations */
.hero-image,
.service-card img,
video {
    will-change: transform;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Unified Video Styling */
video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

video:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Content Section Videos */
.content-section video,
.services-section video {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    margin: var(--spacing-lg) 0;
}

/* Service Page Hero Videos */
.hero video {
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: cover;
}

/* Unified Image Styling */
img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* Service Card Images */
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

/* Hero Images */
.hero-image {
    max-width: 100%;
    width: 800px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    margin: var(--spacing-xl) auto;
    transition: var(--transition-slow);
    display: block;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus States for Accessibility */
.btn:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Modern Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--gray-800) 100%);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-3xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.footer-section h5 {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* Footer logo image CSS removed - using text only */

.footer-logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    transition: var(--transition-fast);
    cursor: pointer;
}

.footer-logo-text:hover {
    color: var(--accent-cyan);
}

.footer-description {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.footer-contact {
    color: var(--gray-300);
}

.footer-contact p {
    margin-bottom: var(--spacing-sm);
}

.footer-contact strong {
    color: var(--accent-cyan);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateX(4px);
}

/* Footer Certifications */
.footer-certifications p {
    color: var(--gray-400);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: var(--spacing-lg);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom-content p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-service-areas {
    color: var(--gray-400);
    font-size: 0.85rem;
}

.footer-service-areas span {
    color: var(--accent-cyan);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-logo {
        margin-bottom: 0;
    }
}

/* Make Xpozzed Bold Throughout Website */
p:contains("Xpozzed"),
div:contains("Xpozzed"),
span:contains("Xpozzed"),
li:contains("Xpozzed") {
    font-weight: inherit;
}

/* Global text replacement for Xpozzed brand name */
body {
    text-rendering: optimizeLegibility;
}

/* Global hyperlink colors - white on blue backgrounds */
.hero a,
.procedure-section a,
.why-choose-section a,
.contact-section a,
.resources-section a,
.footer a {
    color: var(--white) !important;
    text-decoration: underline;
    transition: var(--transition-fast);
}

.hero a:hover,
.procedure-section a:hover,
.why-choose-section a:hover,
.contact-section a:hover,
.resources-section a:hover,
.footer a:hover {
    color: var(--accent-cyan) !important;
    text-decoration: none;
}

/* Navigation links */
nav a {
    color: var(--white) !important;
}

nav a:hover {
    color: var(--accent-cyan) !important;
}

/* Breadcrumb links */
.breadcrumb a {
    color: var(--primary-blue) !important;
}

.breadcrumb a:hover {
    color: var(--accent-purple) !important;
}

/* Custom styling for Xpozzed brand mentions */
.xpozzed-brand {
    font-weight: 800;
    color: var(--primary-blue);
}

/* Print Styles */
@media print {
    .emergency-banner,
    nav,
    .cta-buttons,
    .footer {
        display: none;
    }
}