/* Standalone "o" Character Styling */
.standalone-o {
    font-family: 'Cinzel Decorative', serif !important;
    color: #00ff41 !important;
    -webkit-text-fill-color: #00ff41 !important;
    font-size: 1.5em !important;
    font-weight: 700 !important;
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: baseline !important;
    position: relative !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* Ensure standalone-o color works even inside gradient-text */
.gradient-text .standalone-o,
.hero-title .standalone-o,
[data-theme="light"] .gradient-text .standalone-o,
[data-theme="light"] .hero-title .standalone-o,
[data-theme="dark"] .gradient-text .standalone-o,
[data-theme="dark"] .hero-title .standalone-o {
    color: #00ff41 !important;
    -webkit-text-fill-color: #00ff41 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* CSS Custom Properties for Theme Colors - MySivi Inspired */
:root {
    /* Dark Theme Colors - MySivi Dark */
    --bg-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --brand-color: #4f000b;
    --brand-gradient: linear-gradient(135deg, #4f000b 0%, #a10000 100%);
    --glass-bg: rgba(99, 102, 241, 0.1);
    --glass-border: rgba(99, 102, 241, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(99, 102, 241, 0.2);
    --blur-amount: 10px;
    
    /* Light Theme Colors (for toggle) - MySivi Light */
    --light-bg-primary: #ffffff;
    --light-bg-secondary: #f8fafc;
    --light-bg-tertiary: #f1f5f9;
    --light-text-primary: #1e293b;
    --light-text-secondary: #475569;
    --light-text-muted: #64748b;
    --light-glass-bg: rgba(255, 255, 255, 0.8);
    --light-glass-border: rgba(226, 232, 240, 0.8);
    --light-glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.1);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;
    
    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Light Theme Override - MySivi Style */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: var(--light-text-primary);
    --text-secondary: var(--light-text-secondary);
    --text-muted: var(--light-text-muted);
    --glass-bg: var(--light-glass-bg);
    --glass-border: var(--light-glass-border);
    --glass-shadow: var(--light-glass-shadow);
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
}

/* Light mode specific text visibility fixes */
[data-theme="light"] .main-statement {
    color: #333333 !important;
}

[data-theme="light"] .sub-statement {
    color: #555555 !important;
}

[data-theme="light"] .context-description p {
    color: #555555 !important;
}

[data-theme="light"] .feature-card-mini h4 {
    color: #333333 !important;
}

[data-theme="light"] .feature-title-main {
    color: #222222 !important;
}

[data-theme="light"] .feature-card-mini p {
    color: #555555 !important;
}

/* MySivi navbar in light mode */
[data-theme="light"] .navbar {
    background: rgba(79, 0, 11, 0.95) !important; /* Burgundy */
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(79, 0, 11, 0.3) !important;
}

[data-theme="light"] .footer {
    background: rgba(15, 23, 42, 0.95) !important; /* MySivi dark background */
    border-top: 1px solid rgba(99, 102, 241, 0.3) !important;
}

[data-theme="light"] .footer-section h4,
[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-section ul li a,
[data-theme="light"] .footer-bottom,
[data-theme="light"] .company-info p {
    color: rgba(255, 255, 255, 0.9) !important; /* White text for contrast */
}

[data-theme="light"] .footer-section ul li a:hover {
    color: rgba(255, 255, 255, 1) !important;
}

/* Match animation background with page background in light theme */
[data-theme="light"] .convergence-animation-section {
    background: var(--light-bg-primary) !important;
}

/* Hide arrows in animation for light theme */
[data-theme="light"] .convergence-animation-section .arrow {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Make nav links semi-transparent white in light mode */
[data-theme="light"] .nav-link {
    color: #ffffff99 !important;
}

[data-theme="light"] .nav-logo {
    filter: brightness(1.2) !important; /* Lighten logo for visibility on dark burgundy background */
}

/* Make hero title same color as main statement in light mode */
[data-theme="light"] .hero-title,
[data-theme="light"] .hero-title .gradient-text,
[data-theme="light"] .hero-title em {
    color: #333333 !important;
    -webkit-text-fill-color: #333333 !important; /* Override transparent text */
    background: none !important; /* Remove gradient background */
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* Make hero title same color as main statement in dark mode */
[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-title .gradient-text,
[data-theme="dark"] .hero-title em {
    color: #ffffff66 !important;
    -webkit-text-fill-color: #ffffff66 !important; /* Override transparent text */
    background: none !important; /* Remove gradient background */
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* Make hero description black in light mode */
[data-theme="light"] .hero-description {
    color: #000000 !important;
}

[data-theme="light"] .hero-description-title {
    color: #333333 !important;
}

[data-theme="light"] .balance-label {
    color: #333333 !important;
}

[data-theme="light"] .metric-value {
    color: #333333 !important;
}

/* Change all major headings to match main statement color */
.page-title,
.page-title *,
.page-title .gradient-text,
.section-title,
.service-title,
.layer-title,
.module-title,
.component-header h3,
.threat-title,
.dashboard-header h3,
.deployment-option h3,
.cta-content h2,
.algorithm-info h4,
.contact-details h4,
.feature-content h4,
.timeline-content h3 {
    color: #ffffff66 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff66 !important;
    background-clip: unset !important;
}

[data-theme="light"] .page-title,
[data-theme="light"] .page-title *,
[data-theme="light"] .page-title .gradient-text,
[data-theme="light"] .section-title,
[data-theme="light"] .service-title,
[data-theme="light"] .layer-title,
[data-theme="light"] .module-title,
[data-theme="light"] .component-header h3,
[data-theme="light"] .threat-title,
[data-theme="light"] .dashboard-header h3,
[data-theme="light"] .deployment-option h3,
[data-theme="light"] .cta-content h2,
[data-theme="light"] .algorithm-info h4,
[data-theme="light"] .contact-details h4,
[data-theme="light"] .feature-content h4,
[data-theme="light"] .timeline-content h3 {
    color: #333333 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #333333 !important;
    background-clip: unset !important;
}

/* Remove background animations in light mode */
[data-theme="light"] body::before,
[data-theme="light"] .o-intelligence-animated::before,
[data-theme="light"] .o-intelligence-animated::after {
    display: none !important;
}

/* Make all white text elements black in light mode */
[data-theme="light"] .main-statement,
[data-theme="light"] .sub-statement,
[data-theme="light"] .context-description p,
[data-theme="light"] .context-description strong,
[data-theme="light"] .section-title,
[data-theme="light"] .page-title,
[data-theme="light"] .service-title,
[data-theme="light"] .layer-title,
[data-theme="light"] .module-title,
[data-theme="light"] .flip-card-front h3,
[data-theme="light"] .flip-card-front p,
[data-theme="light"] .feature-icon,
[data-theme="light"] .social-link,
[data-theme="light"] .btn-primary,
[data-theme="light"] .nav-item.active,
[data-theme="light"] .nav-item:hover {
    color: var(--brand-color) !important;
}

[data-theme="light"] .nav-link:hover {
    color: #ffffff !important;
}

/* Force brand color on all major headings - HIGH PRIORITY */
.hero-title,
.section-title,
.page-title,
.service-title,
.layer-title,
.module-title,
.component-header h3,
.threat-title,
.map-header h3,
.feature-content h4,
.dashboard-header h3,
.deployment-option h3,
.cta-content h2,
.algorithm-info h4,
.contact-details h4,
.footer-section h4,
h1, h2, h3, h4 {
    color: #4f000b !important;
}

/* Override for POV section title - match main statement color */
.pov-cards-section .section-title.typewriter-text {
    color: #ffffff66 !important;
}

[data-theme="light"] .pov-cards-section .section-title.typewriter-text {
    color: #333333 !important;
}

/* Override for map header h3 - match main statement color */
.map-header h3 {
    color: #ffffff66 !important;
}

[data-theme="light"] .map-header h3 {
    color: #333333 !important;
}

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

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

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Background Pattern - Removed for clean background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}

/* Glass Panel Effect */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-normal);
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

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

/* Theme Toggle Button */
.theme-toggle {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 0.55rem;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-actions .theme-toggle:hover {
    transform: scale(1.05) !important;
}

/* Cyber Risk Navigation Section */
.cyber-risk-navigation {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    color: var(--text-primary);
}

.cyber-risk-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    background-repeat: repeat;
    background-size: 200px 100px;
    opacity: 0.4;
    animation: twinkle 20s linear infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.cyber-risk-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cyber-risk-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 4rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.cyber-risk-details {
    max-width: 800px;
    margin: 0 auto;
}

.cyber-risk-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.cyber-risk-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
    font-weight: 300;
}

.cyber-risk-description:last-child {
    margin-bottom: 0;
}

/* Responsive styling for cyber risk section */
@media (max-width: 768px) {
    .cyber-risk-navigation {
        padding: 6rem 0;
    }
    
    .cyber-risk-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .cyber-risk-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .cyber-risk-description {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .cyber-risk-title {
        font-size: 2rem;
    }
    
    .cyber-risk-subtitle {
        font-size: 1.3rem;
    }
    
    .cyber-risk-description {
        font-size: 1rem;
    }
}

/* O Intelligence Animated Section */
.o-intelligence-animated {
    background: var(--bg-primary);
    padding: 0;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

.o-intelligence-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 40px 70px, rgba(79, 0, 11, 0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(0, 212, 255, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(79, 0, 11, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    opacity: 0.6;
    animation: particleFloat 25s linear infinite;
    pointer-events: none;
}

.o-intelligence-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    animation: gradientShift 30s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.o-intelligence-sequence {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Animation Stages */
.animation-stage {
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.animation-stage.animate {
    opacity: 1;
}

/* Stage 1: Main Statement */
.stage-1 {
    margin-top: -5rem;
    margin-bottom: 1rem;
}

.main-statement {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff66 !important;
    letter-spacing: 0.05em;
    word-spacing: 0.15em;
    white-space: nowrap;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 8px rgba(79, 0, 11, 0.3),
        0 0 20px rgba(255, 255, 255, 0.1);
}

.main-statement.animate {
    transform: scale(1);
}

.sub-statement {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.4;
    color: #B0B0B0;
    text-align: center;
    margin-top: 1.5rem;
    letter-spacing: 0.02em;
    word-spacing: 0.1em;
}

/* Text crushing effect when cards appear */
.main-statement.crush-text {
    transform: scale(1) scaleY(0.85) translateY(-50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stage 2: Secondary Statements */
.stage-2 {
    margin-bottom: 2rem;
    transition-delay: 0.8s;
}

.secondary-statements {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
}

.statement-left, .statement-right {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #e0e0e0;
    margin: 0;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(79, 0, 11, 0.2);
}

.statement-left {
    transform: translateX(-100px);
}

.statement-right {
    transform: translateX(100px);
}

.statement-left.animate {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 1.2s;
}

.statement-right.animate {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 1.4s;
}

/* Text crushing effect for secondary statements */
.statement-left.crush-text,
.statement-right.crush-text {
    transform: translateX(0) scaleY(0.8) translateY(-50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.center-dot.crush-text {
    transform: scale(1) scaleY(0.8) translateY(-50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(79, 0, 11, 1),
        0 0 30px rgba(79, 0, 11, 0.6);
}

/* Stage 3: Feature Cards */
.stage-3 {
    transition-delay: 2s;
}

.stage-3.animate ~ .stage-1 .main-statement,
.stage-3.animate ~ .stage-2 .secondary-statements {
    transform: translateY(-50px);
}

.features-grid-animated {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.features-grid-animated .bottom-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

/* Mini Feature Cards */
.feature-card-mini {
    background: rgba(255, 255, 255, 0.05);
    border: 2.5px solid rgba(79, 0, 11, 0.6);
    border-radius: 16px;
    padding: 1rem;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-card-mini.animate {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.feature-card-mini::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card-mini:hover::before {
    opacity: 0;
}

.feature-card-mini:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(79, 0, 11, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4), 
        0 0 30px rgba(79, 0, 11, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mini-icon {
    display: none; /* Hide the O icons */
}

.feature-card-mini:hover .mini-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(79, 0, 11, 0.5);
}

.feature-card-mini h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffffff66 !important;
    line-height: 1.4;
}

.feature-title-main {
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
}

.feature-card-mini p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #c0c0c0;
    line-height: 1.6;
    margin: 0;
}

/* Increase font size for flip-card-back content specifically */
.flip-card-back h4 {
    font-size: 1.4rem !important;
}

.flip-card-back .feature-title-main {
    font-size: 1.6rem !important;
}

.flip-card-back p {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
}

.flip-card-back strong {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
}

/* Flip Card Styles */
.flip-card-container {
    perspective: 1000px;
    min-height: 280px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card-container:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 0;
    top: 0;
    left: 0;
}

.flip-card-front {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background: rgba(255, 255, 255, 0.05);
}

.flip-card-front h4 {
    margin: 0 auto;
    padding: 0;
    text-align: center;
    white-space: nowrap;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.flip-card-front .feature-title-main {
    display: inline-block;
}

.flip-card-back {
    transform: rotateY(180deg);
    padding: 0.8rem;
    overflow-y: auto;
}

/* Context Description */
.context-description {
    margin-top: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.context-description.animate {
    opacity: 1;
    transform: translateY(0);
}

.context-description p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.0rem;
    line-height: 1.7;
    color: #B0B0B0;
    font-weight: 300;
    letter-spacing: 0.02em;
    word-spacing: 0.1em;
}

.context-description strong {
    color: #ffffff;
    font-weight: 600;
}

/* Center dots for statements */
.center-dot {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: #4f000b;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    margin: 0 1.5rem;
    line-height: 1.2;
    vertical-align: baseline;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(79, 0, 11, 0.8),
        0 0 40px rgba(79, 0, 11, 0.5);
}

.center-dot.animate {
    opacity: 1;
    transform: scale(1);
}

/* Animation Keyframes */
@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* POV Flipping Cards Section */
.pov-cards-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.pov-cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

/* POV Section Title with Typewriter Animation */
.pov-cards-section .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #ffffff66 !important;
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.3;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(79, 0, 11, 0.4);
    min-height: 200px; /* Reserve space to prevent layout shift */
}

/* Typewriter animation styles */
.typewriter-text {
    overflow: hidden;
    position: relative;
}

.typewriter-text .letter {
    opacity: 0;
    animation: typewriterReveal 0.05s ease-in-out forwards;
}

.typewriter-text .letter.space {
    width: 0.3em;
    display: inline-block;
}

.typewriter-text::after {
    content: '|';
    color: #4f000b;
    font-weight: bold;
    animation: blinkCursor 1s infinite;
    margin-left: 2px;
}

.typewriter-text.typing-complete::after {
    display: none;
}

@keyframes typewriterReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.flip-cards-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.flip-card-wrapper {
    position: relative;
    height: 450px;
    perspective: 1000px;
}

.flip-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}

.flip-card.active {
    opacity: 1;
    pointer-events: all;
}

.flip-card.flipping-out {
    transform: rotateY(-180deg);
    opacity: 0;
    pointer-events: none;
}

.flip-card.flipping-in {
    transform: rotateY(0deg);
    opacity: 1;
}

/* Ensure content stays in image-stage during flip animations */
.flip-card.flipping-out.image-stage .card-content,
.flip-card.flipping-out.content-stage .card-image {
    display: none !important;
}

.flip-card.flipping-out.image-stage .card-image {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.flip-card.flipping-out.content-stage .card-content {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.flip-card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 2.5px solid rgba(79, 0, 11, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    justify-items: center;
}

/* Stage 1: Full content only - content pops up from center, fills entire card */
.flip-card.content-stage .flip-card-front {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    align-items: center;
    justify-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flip-card.content-stage .card-image {
    display: none;
}

.flip-card.content-stage .card-content {
    width: 100%;
    max-width: none;
    text-align: center;
    transform: scale(0);
    opacity: 0;
    animation: popFromCenter 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Stage 2: Image only - content disappears, image pops up from center, fills entire card */
.flip-card.image-stage .flip-card-front {
    grid-template-columns: 1fr;
    padding: 1rem;
    align-items: center;
    justify-items: center;
}

.flip-card.image-stage .card-content {
    display: none;
}

.flip-card.image-stage .card-image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    transform: scale(0);
    opacity: 0;
    animation: popFromCenter 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    padding: 1rem;
    box-sizing: border-box;
}

.flip-card.image-stage .card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

/* Enhanced styling for content stage - make mini cards more prominent */
.flip-card.content-stage .mini-cards-grid {
    margin-top: 2rem;
    gap: 1.2rem;
}

.flip-card.content-stage .mini-card {
    transform: translateY(10px);
    opacity: 0;
    animation: slideUpStagger 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.flip-card.content-stage .mini-card:nth-child(1) {
    animation-delay: 0.2s;
}

.flip-card.content-stage .mini-card:nth-child(2) {
    animation-delay: 0.3s;
}

.flip-card.content-stage .mini-card:nth-child(3) {
    animation-delay: 0.4s;
}

.flip-card.content-stage .mini-card:nth-child(4) {
    animation-delay: 0.5s;
}

/* Pop from center animation */
@keyframes popFromCenter {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Slide up stagger animation for mini cards */
@keyframes slideUpStagger {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Card-specific color themes */
.flip-card[data-card="1"] .flip-card-front {
    background: rgba(255, 255, 255, 0.05);
    border: 2.5px solid rgba(79, 0, 11, 0.6);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.flip-card[data-card="2"] .flip-card-front {
    background: rgba(255, 255, 255, 0.05);
    border: 2.5px solid rgba(79, 0, 11, 0.6);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.flip-card[data-card="3"] .flip-card-front {
    background: rgba(255, 255, 255, 0.05);
    border: 2.5px solid rgba(79, 0, 11, 0.6);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.flip-card[data-card="4"] .flip-card-front {
    background: rgba(255, 255, 255, 0.05);
    border: 2.5px solid rgba(79, 0, 11, 0.6);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-image {
    display: none;
}

  .card-image img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    text-align: center;
    width: 100%;
}

.flip-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff66;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-align: center;
}

/* Larger heading for first card */
.flip-card[data-card="1"] h3 {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    white-space: nowrap;
    overflow: visible;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Larger paragraph for first card - aligned with heading width */
.flip-card[data-card="1"] p {
    font-size: 1.05rem;
    line-height: 1.6;
    padding: 0 2rem;
    margin: 0 auto;
    text-align: center;
    max-width: 100%;
}

.flip-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #c0c0c0;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.flip-card strong {
    color: #ffffff66;
    font-weight: 700;
}

/* Mini Cards Grid */
.mini-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

/* Center the last mini-card if it's alone on its row (odd number of cards) */
.mini-cards-grid .mini-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
}

.mini-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(79, 0, 11, 0.6);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
}

.mini-card:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 0, 11, 0.5);
    box-shadow: 0 8px 20px rgba(79, 0, 11, 0.2);
}

.mini-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff66;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    line-height: 1.2;
    order: -1;
}

/* POV cards text colors match feature cards */
.flip-card h3,
.flip-card .card-content h3 {
    color: #ffffff66 !important;
}

.flip-card .mini-card h4 {
    color: #ffffff66 !important;
}

/* Force mini-card h4 to display as block at top - CRITICAL FIX */
.mini-cards-grid .mini-card h4,
.flip-card .mini-cards-grid .mini-card h4 {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.mini-cards-grid .mini-card p,
.flip-card .mini-cards-grid .mini-card p {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mini-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #c0c0c0;
    line-height: 1.5;
    margin: 0;
    padding-top: 0;
    text-align: center;
    display: block;
    width: 100%;
}

/* Card Indicators */
.card-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(79, 0, 11, 0.6);
    border: 2px solid rgba(79, 0, 11, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.indicator.active {
    background: #4f000b;
    border-color: #a10000;
    box-shadow: 0 0 20px rgba(79, 0, 11, 0.8);
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(79, 0, 11, 0.9);
    border-color: #a10000;
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(79, 0, 11, 0.6);
}

/* Card-specific indicator colors */
.indicator[data-card="1"] {
    background: rgba(255, 140, 0, 0.6);
    border-color: rgba(255, 140, 0, 0.8);
}

.indicator[data-card="1"].active {
    background: #ff8c00;
    border-color: #ffa500;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.8);
}

.indicator[data-card="1"]:hover {
    background: rgba(255, 140, 0, 0.9);
    border-color: #ffa500;
}

.indicator[data-card="2"] {
    background: rgba(0, 150, 255, 0.6);
    border-color: rgba(0, 150, 255, 0.8);
}

.indicator[data-card="2"].active {
    background: #0096ff;
    border-color: #00bfff;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.8);
}

.indicator[data-card="2"]:hover {
    background: rgba(0, 150, 255, 0.9);
    border-color: #00bfff;
}

.indicator[data-card="3"] {
    background: rgba(50, 205, 50, 0.6);
    border-color: rgba(50, 205, 50, 0.8);
}

.indicator[data-card="3"].active {
    background: #32cd32;
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(50, 205, 50, 0.8);
}

.indicator[data-card="3"]:hover {
    background: rgba(50, 205, 50, 0.9);
    border-color: #00ff00;
}

.indicator[data-card="4"] {
    background: rgba(138, 43, 226, 0.6);
    border-color: rgba(138, 43, 226, 0.8);
}

.indicator[data-card="4"].active {
    background: #8a2be2;
    border-color: #9370db;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
}

.indicator[data-card="4"]:hover {
    background: rgba(138, 43, 226, 0.9);
    border-color: #9370db;
}

/* Light mode adjustments */
[data-theme="light"] .indicator {
    background: rgba(79, 0, 11, 0.7);
    border-color: rgba(79, 0, 11, 0.9);
}

[data-theme="light"] .indicator.active {
    background: #4f000b;
    border-color: #a10000;
}

[data-theme="light"] .indicator:hover {
    background: rgba(79, 0, 11, 1);
    border-color: #a10000;
}

/* Card Animation States */
.flip-card.slide-left {
    transform: translateX(-100%);
    opacity: 0;
}

.flip-card.slide-right {
    transform: translateX(100%);
    opacity: 0;
}

.flip-card.slide-up {
    transform: translateY(-100%);
    opacity: 0;
}

.flip-card.slide-down {
    transform: translateY(100%);
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .flip-card-front {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .flip-card.content-stage .flip-card-front {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .flip-card.image-stage .flip-card-front {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .card-image {
        max-height: 250px;
    }
    
    .mini-cards-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .flip-card h3 {
        font-size: 1.5rem;
    }
}

/* Responsive typewriter text */
@media (max-width: 1024px) {
    .pov-cards-section .section-title {
        font-size: 2.4rem;
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .pov-cards-section .section-title {
        font-size: 2rem;
        min-height: auto !important;
        margin-bottom: 3rem;
    }
    
    .flip-card-wrapper {
        height: auto !important;
        min-height: auto !important;
    }
    
    .flip-card-front {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 1rem;
        padding: 1rem;
        align-items: center;
        justify-items: center;
        height: auto !important;
        overflow: visible !important;
    }
    
    .flip-card.content-stage .flip-card-front {
        grid-template-columns: 1fr;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: auto !important;
    }
    
    .flip-card.image-stage .flip-card-front {
        grid-template-columns: 1fr;
        padding: 1rem;
        align-items: center;
        justify-items: center;
        height: auto !important;
    }
    
    .card-image {
        max-height: 180px;
        height: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .flip-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    .flip-card p {
        font-size: 1rem;
    }
    
    .mini-cards-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .mini-card {
        padding: 0.8rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .mini-card h4 {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .mini-card p {
        font-size: 0.8rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pov-cards-section .section-title {
        font-size: 1.6rem;
        min-height: auto !important;
        margin-bottom: 2rem;
    }
    
    .flip-card-wrapper {
        height: auto !important;
        min-height: auto !important;
    }
    
    .flip-card-front {
        padding: 0.8rem;
        align-items: center;
        justify-items: center;
        height: auto !important;
        overflow: visible !important;
    }
    
    .flip-card.content-stage .flip-card-front {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: auto !important;
    }
    
    .card-image {
        max-height: 140px;
        height: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .flip-card h3 {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .flip-card p {
        font-size: 0.9rem;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-grid-animated .top-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .features-grid-animated .top-row .feature-card-mini:nth-child(3) {
        grid-column: 1 / 3;
        justify-self: center;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .o-intelligence-animated {
        padding: 8rem 0;
    }
    
    .main-statement {
        font-size: 2.5rem;
    }
    
    .statement-left, .statement-right {
        font-size: 1.6rem;
    }
    
    .secondary-statements {
        flex-direction: column;
        gap: 1rem;
    }
    
    .features-grid-animated {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .features-grid-animated .top-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid-animated .bottom-row {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .secondary-statements {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .center-dot {
        margin: 0;
        order: 1;
    }
    
    .statement-left {
        order: 0;
    }
    
    .statement-right {
        order: 2;
    }
    
    .feature-card-mini {
        padding: 1.5rem;
        transform: translateY(30px) scale(0.98) !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .feature-card-mini.animate {
        transform: translateY(0) scale(1) !important;
    }
    
    .feature-card-mini h4 {
        font-size: 1.3rem;
    }
    
    .flip-card-back h4 {
        font-size: 1.3rem !important;
    }
    
    .flip-card-back .feature-title-main {
        font-size: 1.5rem !important;
    }
    
    .flip-card-back p {
        font-size: 1rem !important;
    }
    
    .flip-card-back strong {
        font-size: 1.1rem !important;
    }
    
    .mini-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .context-description p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .main-statement {
        font-size: 2rem;
    }
    
    .statement-left, .statement-right {
        font-size: 1.3rem;
    }
    
    .feature-card-mini {
        padding: 1.2rem;
    }
    
    .feature-card-mini h4 {
        font-size: 1.2rem;
    }
    
    .flip-card-back h4 {
        font-size: 1.2rem !important;
    }
    
    .flip-card-back .feature-title-main {
        font-size: 1.4rem !important;
    }
    
    .feature-card-mini p {
        font-size: 1rem;
    }
    
    .flip-card-back p {
        font-size: 1rem !important;
    }
    
    .flip-card-back strong {
        font-size: 1.05rem !important;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0;
    background: rgba(79, 0, 11, 0.8) !important; /* Burgundy */
    backdrop-filter: blur(10px); /* Glass effect */
    border-bottom: 1px solid rgba(79, 0, 11, 0.3);
}

/* Add spacing after navbar for all pages */
/* Target first section after navbar on all pages */
body > nav + section,
body > nav + main > section:first-of-type,
body > section:first-of-type:not(.page-header),
.leadership-team:first-of-type,
.contact-options:first-of-type,
.events-section:first-of-type,
.partners-cards-section:first-of-type,
.partnering-success-section:first-of-type {
    padding-top: 8rem !important;
    margin-top: 0 !important;
}

/* For pages with page-header, ensure proper spacing */
.page-header {
    padding-top: 10rem !important;
    margin-top: 0 !important;
}

/* Ensure hero section has proper spacing */
.hero {
    padding-top: 8rem !important;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 10;
}

/* Ensure theme toggle is positioned within navbar */
.nav-actions .theme-toggle {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    transform: none !important;
}

.nav-brand h2 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.8rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo {
    height: 45px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    transition: all var(--transition-normal);
    filter: brightness(1.1);
    transform: translate(-5px, 3px); /* Move left and down */
}

.nav-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8.0rem;
    margin-top: 10px; /* Move menu down */
    margin-right: 6rem; /* Move menu slightly to the left */
}

.nav-link {
    color: #ffffff66;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-color);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: #ffffff;
}

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

/* Active navigation link styling */
.nav-item.active .nav-link,
.nav-link.active {
    color: #ffffff;
    background: var(--brand-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-item.active .nav-link::after,
.nav-link.active::after {
    display: none;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

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

.dropdown-toggle i {
    transition: transform var(--transition-fast);
    font-size: 0.8rem;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(79, 0, 11, 0.2);
    border-radius: var(--border-radius-md);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(79, 0, 11, 0.1);
}

/* Override glass-panel styles for dropdown menu to ensure solid background */
.dropdown-menu.glass-panel {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
}

.dropdown-menu.glass-panel:hover {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
}

.dropdown:hover .dropdown-menu.glass-panel {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
}

.dropdown:hover .dropdown-menu.glass-panel:hover {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: 0.875rem 1.5rem;
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    color: var(--brand-color);
    background: rgba(79, 0, 11, 0.08);
    border-left-color: var(--brand-color);
    transform: translateX(5px);
}

.dropdown-link.active {
    color: var(--brand-color);
    background: rgba(79, 0, 11, 0.1);
    border-left-color: var(--brand-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/* Show hamburger on mobile */
@media (max-width: 767px) {
    .hamburger {
        display: flex !important;
    }
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section - Enhanced Aesthetic */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 3rem !important;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

/* Enhanced Multi-layer Background */
.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(79, 0, 11, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 0, 11, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 20% 20%, rgba(79, 0, 11, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(161, 0, 0, 0.06) 0%, transparent 50%);
    background-size: 60px 60px, 60px 60px, 800px 800px, 600px 600px;
    background-position: 0 0, 0 0, 0 0, 0 0;
    z-index: 0;
    animation: gridMove 25s linear infinite, pulseGlow 8s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes gridMove {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 60px 60px, 60px 60px, 100px 100px, -100px -100px;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
}

/* Cyber Particles Effect */
.cyber-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(79, 0, 11, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(161, 0, 0, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(79, 0, 11, 0.12) 1px, transparent 1px);
    background-size: 200px 200px, 300px 300px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: particlesFloat 30s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes particlesFloat {
    0% {
        background-position: 0 0, 40px 60px, 130px 270px;
    }
    100% {
        background-position: 200px 200px, 240px 260px, 330px 470px;
    }
}

/* Scan Line Effect */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(161, 0, 0, 0.5), transparent);
    animation: scanMove 4s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes scanMove {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.hero::before {
    content: 'credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse  credOverse';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 11px;
    font-weight: 300;
    color: rgba(99, 102, 241, 0.15);
    letter-spacing: 2px;
    word-spacing: 30px;
    line-height: 40px;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    white-space: pre-wrap;
    padding: 10px 10px 0 10px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

/* Security Status Bar */
.security-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 900px;
    padding: 0.75rem 1.5rem;
    background: rgba(79, 0, 11, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 0, 11, 0.2);
    border-radius: 50px;
    animation: fadeInDown 0.8s ease-out;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.active {
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.status-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.encryption-badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    background: rgba(79, 0, 11, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(79, 0, 11, 0.2);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(79, 0, 11, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 0, 11, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: fadeInDown 0.8s ease-out;
}

.badge-icon {
    font-size: 1.2rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title-section {
    width: 100%;
    max-width: 950px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    position: relative;
}

.hero-title-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 0, 11, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.stat-card {
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.05em;
    animation: titleReveal 1s ease-out 0.3s both;
    white-space: nowrap;
    text-transform: uppercase;
    font-stretch: condensed;
    position: relative;
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b6b 50%, #ffa502 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    white-space: normal;
    font-size: 0.9em;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    animation: fadeIn 1s ease-out 0.5s both;
    position: relative;
    padding: 2rem 4rem;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%),
        radial-gradient(circle at 20% 20%, rgba(255, 107, 107, 0.05) 0%, transparent 60%);
    border-radius: 24px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.25),
        0 8px 30px rgba(79, 0, 11, 0.2),
        inset 0 1px 1px rgba(255, 107, 107, 0.1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-overflow: ellipsis;
}

/* Scanning Line Inside Description Box */
.scan-line-description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 107, 107, 0.6) 25%, 
        rgba(255, 107, 107, 1) 50%, 
        rgba(255, 107, 107, 0.6) 75%, 
        transparent 100%);
    box-shadow: 
        0 0 10px rgba(255, 107, 107, 1),
        0 0 20px rgba(255, 107, 107, 0.8),
        0 0 35px rgba(255, 107, 107, 0.5),
        0 1px 5px rgba(255, 107, 107, 0.9);
    animation: scanDescriptionBox 5s ease-in-out infinite;
    z-index: 50;
    pointer-events: none;
    border-radius: 0.5px;
}

/* Logo in Description Box */
.hero-description-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

.description-logo {
    height: 40px;
    width: auto;
    opacity: 0.9;
    filter: brightness(1.1);
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.description-logo:hover {
    opacity: 1;
    filter: brightness(1.3);
    transform: scale(1.05);
}

/* Light mode logo visibility */
[data-theme="light"] .description-logo {
    opacity: 1;
    filter: brightness(0.8) contrast(1.2);
}

[data-theme="light"] .description-logo:hover {
    opacity: 1;
    filter: brightness(1) contrast(1.4);
    transform: scale(1.05);
}

@keyframes scanDescriptionBox {
    0% {
        top: -1px;
        opacity: 0;
        transform: scaleX(0.8);
    }
    5% {
        opacity: 1;
        transform: scaleX(1);
    }
    95% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        top: calc(100% - 1px);
        opacity: 0;
        transform: scaleX(0.8);
    }
}

.hero-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 107, 107, 0.02) 0px,
            transparent 2px,
            transparent 40px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 107, 107, 0.02) 0px,
            transparent 2px,
            transparent 40px
        );
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.hero-description::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 107, 107, 0.3) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(196, 30, 58, 0.3) 100%);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(8px);
}

.hero-description:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.3),
        0 10px 35px rgba(79, 0, 11, 0.3),
        inset 0 1px 1px rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.35);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description-title {
    font-size: 1.15rem;
    font-weight: 700;
    display: block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa07a 50%, #ff6b6b 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.5rem;
    z-index: 2;
    animation: gradientFlow 5s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.hero-description-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
}

.hero-description-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b6b);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
}

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

/* MySivi-Style Sections */
.section-mysivi {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.section-header-mysivi {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title-mysivi {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle-mysivi {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Buttons - MySivi Style */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn svg {
    transition: transform var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, #4f000b 0%, #a10000 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 0, 11, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid rgba(79, 0, 11, 0.5);
    backdrop-filter: blur(10px);
}

.glass-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 0, 11, 0.6);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(79, 0, 11, 0.7);
}

.btn-secondary:hover {
    background: rgba(79, 0, 11, 0.9);
    color: white;
    border-color: rgba(79, 0, 11, 0.9);
}

.btn-secondary:hover svg {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Hero Visual - Enhanced Dashboard Preview */
.hero-visual {
    width: 100%;
    max-width: 950px;
    animation: fadeInUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
    position: relative;
    transform: scaleY(0.7);
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(79, 0, 11, 0.1), rgba(161, 0, 0, 0.05));
    filter: blur(40px);
    z-index: -1;
    opacity: 0.6;
    animation: dashboardGlow 4s ease-in-out infinite;
}

@keyframes dashboardGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.9;
    }
}

.dashboard-preview {
    padding: 0.2rem 0.8rem;
    border-radius: 3px;
    background: linear-gradient(135deg, rgba(79, 0, 11, 0.12) 0%, rgba(161, 0, 0, 0.06) 100%);
    border: 1px solid rgba(79, 0, 11, 0.25);
    box-shadow: 
        0 2px 6px rgba(79, 0, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.dashboard-preview:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 80px rgba(79, 0, 11, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(161, 0, 0, 0.4);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.2rem;
    padding-bottom: 0.1rem;
    border-bottom: 1px solid rgba(79, 0, 11, 0.2);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

.status-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.live-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ef4444;
    padding: 0.4rem 0.8rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 20px;
    margin-right: 0.5rem;
}

.secure-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: #10b981;
    padding: 0.4rem 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.threat-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.metric-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all var(--transition-normal);
    position: relative;
}

.metric-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(79, 0, 11, 0.3), transparent);
    -webkit-mask-attachment: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.metric-item:hover {
    background: rgba(79, 0, 11, 0.08);
    transform: translateY(-3px);
}

.metric-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.metric-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.15rem;
    background: linear-gradient(135deg, #4f000b 0%, #a10000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: countUp 2s ease-out 1.2s both;
    transition: none;
    transform-origin: center;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Dynamic Counter Visual Effects - Disabled to prevent flickering */

.metric-label {
    font-size: 0.5rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

/* Activity Feed */
.activity-feed {
    background: rgba(79, 0, 11, 0.05);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin: 0.5rem 0;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(79, 0, 11, 0.1);
}

.activity-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.activity-refresh {
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    margin: 0.25rem 0;
    border-radius: 6px;
    transition: background var(--transition-fast);
}

.activity-item:hover {
    background: rgba(79, 0, 11, 0.08);
}

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.activity-dot.threat {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.activity-dot.success {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.activity-dot.warning {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.activity-text {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.activity-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.threat-graph {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.6rem;
    height: 60px;
    padding: 0.8rem;
    background: rgba(79, 0, 11, 0.06);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
}

.threat-graph::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(79, 0, 11, 0.05) 0px,
            transparent 1px,
            transparent 20px
        );
    pointer-events: none;
}

.graph-bar {
    flex: 1;
    background: linear-gradient(180deg, #a10000 0%, #4f000b 100%);
    border-radius: 6px 6px 0 0;
    transition: all var(--transition-normal);
    animation: growUp 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    position: relative;
    box-shadow: 0 -5px 15px rgba(161, 0, 0, 0.3);
}

.graph-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 6px 6px 0 0;
}

.graph-bar:nth-child(1) { animation-delay: 1.5s; }
.graph-bar:nth-child(2) { animation-delay: 1.6s; }
.graph-bar:nth-child(3) { animation-delay: 1.7s; }
.graph-bar:nth-child(4) { animation-delay: 1.8s; }
.graph-bar:nth-child(5) { animation-delay: 1.9s; }
.graph-bar:nth-child(6) { animation-delay: 2s; }
.graph-bar:nth-child(7) { animation-delay: 2.1s; }

@keyframes growUp {
    from {
        height: 0;
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

.graph-bar:hover {
    filter: brightness(1.3);
    transform: scaleY(1.08);
    box-shadow: 0 -8px 20px rgba(161, 0, 0, 0.5);
}

/* Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 900px;
    padding: 1.5rem;
    background: rgba(79, 0, 11, 0.05);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(79, 0, 11, 0.15);
    animation: fadeInUp 1s ease-out 0.8s both;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    transition: transform var(--transition-normal);
}

.badge-item:hover {
    transform: translateY(-5px);
}

.badge-shield {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(79, 0, 11, 0.3));
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

/* Trust Indicators */
.hero-trust {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(79, 0, 11, 0.15);
    width: 100%;
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.trust-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.trust-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trust-item strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: #a10000;
}

.trust-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(79, 0, 11, 0.2);
}

.floating-card {
    padding: 2rem;
    width: 300px;
    animation: float 6s ease-in-out infinite;
    border: 2.5px solid rgba(79, 0, 11, 0.6) !important;
}

.card-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.card-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.dot:first-child {
    background: var(--accent-secondary);
}

.dot:nth-child(2) {
    background: #ffd93d;
}

.dot:last-child {
    background: #6bcf7f;
}

.balance-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.balance-label {
    color: #ffffff66;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.balance-amount {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-secondary) !important;
}

.floating-card .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.floating-card .stat-item {
    text-align: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(79, 0, 11, 0.6);
}

.floating-card .stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.floating-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--accent-primary);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
    transform: rotate(45deg);
}

/* Sections */
section {
    padding: var(--section-padding);
}

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

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #4f000b !important;
}

/* Center the title on the leadership team section */
.leadership-team .section-title {
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Intelligence Section */
.intelligence-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

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

/* AI Gap Section */
.ai-gap-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

/* Events Section */
.events-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.events-content {
    margin-top: 4rem;
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    text-align: center;
    background: var(--accent-color);
    border-radius: 12px;
    padding: 1rem;
    color: white;
}

.event-date .month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 1.2rem;
    font-weight: 700;
}

.event-content {
    flex: 1;
}

.event-title {
    color: #ffffff66;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-align: left;
}

.event-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-details {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.event-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-type {
    background: var(--brand-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .event-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .event-date {
        align-self: center;
    }
    
    .event-title {
        text-align: center;
    }
    
    .event-details {
        justify-content: center;
    }
}

.gap-content {
    margin-top: 4rem;
}

.gap-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gap-card {
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.gap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gap-card .card-header h3 {
    color: #ffffff66 !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    text-align: center !important;
    width: 100%;
}

.gap-card .card-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
    margin-top: -1rem;
}

@media (max-width: 768px) {
    .gap-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gap-card {
        padding: 2rem;
    }
    
    .gap-card .card-header h3 {
        font-size: 1.3rem;
    }
    
    .gap-card .card-content p {
        font-size: 1rem;
    }
}

.intelligence-description {
    font-size: 1.1rem;
    color: var(--brand-color);
    line-height: 1.7;
    margin-top: 1.5rem;
}

/* Make intelligence-description same color as sub-statement in dark mode */
[data-theme="dark"] .intelligence-description {
    color: #B0B0B0 !important;
}

/* Make intelligence-description same color as sub-statement in light mode */
[data-theme="light"] .intelligence-description {
    color: #555555 !important;
}

/* Make POV section title same color as main statement */
[data-theme="light"] .pov-cards-section .section-title {
    color: #333333 !important;
}

.highlight-text {
    color: var(--brand-color);
    font-weight: 600;
}

/* Make highlight-text same color as main statement in dark mode */
[data-theme="dark"] .highlight-text {
    color: #ffffff66 !important;
}

/* Make highlight-text same color as main statement in light mode */
[data-theme="light"] .highlight-text {
    color: #333333 !important;
}

/* Make gap card headers same color as highlight-text in light mode */
[data-theme="light"] .gap-card .card-header h3 {
    color: #333333 !important;
}

/* Make all card headings same color in light mode */
[data-theme="light"] .flip-card h3,
[data-theme="light"] .flip-card .card-content h3,
[data-theme="light"] .flip-card .mini-card h4,
[data-theme="light"] .mini-card h4 {
    color: #333333 !important;
}

.threat-map {
    padding: 2rem;
    position: relative;
    height: 300px;
    overflow: hidden;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.map-header h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.status-indicators {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.status-dot.active {
    background: #6bcf7f;
    animation: pulse 2s infinite;
}

.status-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.map-content {
    position: relative;
    height: 200px;
}

.threat-indicators {
    position: absolute;
    width: 100%;
    height: 100%;
}

.threat-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-primary);
    animation: threatPulse 3s infinite ease-in-out;
}

.threat-point:nth-child(2) {
    animation-delay: 0.5s;
    background: var(--accent-secondary);
    box-shadow: 0 0 20px var(--accent-secondary);
}

.threat-point:nth-child(3) {
    animation-delay: 1s;
}

.threat-point:nth-child(4) {
    animation-delay: 1.5s;
    background: #ffd93d;
    box-shadow: 0 0 20px #ffd93d;
}

.threat-point:nth-child(5) {
    animation-delay: 2s;
}

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

/* Threat Details Section */
.threat-details {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

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

.threat-title {
    font-size: 1.8rem;
    color: var(--brand-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.threat-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Services Section */
.services {
    background: var(--bg-secondary);
}

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

.service-card {
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-title {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--brand-color);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

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

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

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.stats-container {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

/* Contact Form */
.contact-form {
    padding: 2rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    backdrop-filter: blur(5px);
    transition: all var(--transition-normal);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--glass-border);
}

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

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

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

/* Footer sections styling */
.footer-brand {
    text-align: left;
}

.footer-company {
    text-align: center;
}

.footer-social {
    text-align: right;
}

.company-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.company-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.company-links a:hover {
    color: var(--accent-primary);
}

.separator {
    color: var(--text-secondary);
    font-weight: bold;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

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

@keyframes threatPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-10px) translateX(5px);
    }
    66% {
        transform: translateY(5px) translateX(-3px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0) translateY(0);
    }
    25% {
        opacity: 0.5;
        transform: translateX(20px) translateY(-10px);
    }
    50% {
        opacity: 0.4;
        transform: translateX(-10px) translateY(15px);
    }
    75% {
        opacity: 0.6;
        transform: translateX(15px) translateY(-5px);
    }
}

/* Page Styles */
.page-header {
    padding: 10rem 0 4rem;
    background: var(--bg-primary);
    text-align: center;
    margin-top: 0;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #4f000b !important;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Technical Architecture */
.tech-architecture {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.tech-layer {
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.layer-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.layer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand-color);
    margin-bottom: 1rem;
}

.layer-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-list {
    list-style: none;
    text-align: left;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.tech-list i {
    color: var(--accent-primary);
    font-size: 0.9rem;
}

/* Core Components */
.core-components {
    padding: 0;
    margin: 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0.75rem;
}

.component-card {
    padding: 2rem 1.5rem;
    transition: all var(--transition-normal);
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    overflow: visible;
}
/* Remove container constraint for core-components */
.core-components .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Component card styling with padding */
.component-card.glass-panel {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 2rem 1.5rem !important;
}

/* Component header styling */
.component-header {
    padding: 0 0 1.5rem 0;
    margin-bottom: 0;
}

.component-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-color);
    margin: 0;
    padding: 0;
}

.component-header i {
    display: none;
}

/* Component image - make it large and prominent */
.component-image {
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    height: auto;
    min-height: 50vh;
    max-height: 60vh;
    object-fit: contain;
    object-position: center;
    padding: 0;
    border-radius: 0;
}

/* Component body - compact text */
.component-body {
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
    overflow: visible;
}

.component-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    text-align: justify;
    overflow: visible;
    word-wrap: break-word;
}

.component-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-color);
    margin: 0 0 0.75rem 0;
}

/* Creative floating effect with subtle shadow */
.component-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.component-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 0, 11, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.component-card:hover {
    transform: translateY(-8px);
}

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

/* Add subtle floating shadow on hover */
.component-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}
/* Responsive styles for component cards */
@media (min-width: 1024px) {
    .components-grid {
        width: 100%;
        padding: 1.5rem;
        gap: 2rem;
        max-width: 98%;
    }
    
    .component-card {
        min-height: 85vh;
        padding: 2.5rem 1.5rem !important;
        overflow: visible;
    }
    
    .component-header {
        padding: 0 0 1.5rem 0;
        margin-bottom: 0;
    }
    
    .component-header h3 {
        font-size: 1.75rem;
    }
    
    .component-image {
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        min-height: 55vh;
        max-height: 65vh;
        object-fit: contain;
        object-position: center;
        margin-bottom: 1.5rem;
    }
    
    .component-body {
        padding: 0;
        overflow: visible;
    }
    
    .component-body p {
        font-size: 0.95rem;
        line-height: 1.7;
        overflow: visible;
    }
}


/* Tablet and medium screens */
@media (min-width: 769px) and (max-width: 1023px) {
    .components-grid {
        width: 100%;
        padding: 1.25rem;
        gap: 1.5rem;
        max-width: 98%;
    }
    
    .component-card {
        min-height: 75vh;
        padding: 2rem 1.5rem !important;
        overflow: visible;
    }
    
    .component-header {
        padding: 0 0 1.25rem 0;
    }
    
    .component-header h3 {
        font-size: 1.5rem;
    }
    
    .component-image {
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        min-height: 50vh;
        max-height: 55vh;
        object-fit: contain;
        object-position: center;
        margin-bottom: 1.25rem;
    }
    
    .component-body {
        padding: 0;
        overflow: visible;
    }
    
    .component-body p {
        font-size: 0.9rem;
        line-height: 1.6;
        overflow: visible;
    }
}

/* Extra large screens */
@media (min-width: 1440px) {
    .components-grid {
        width: 100%;
        padding: 2rem;
        gap: 2.5rem;
        max-width: 98%;
    }
    
    .component-card {
        min-height: 90vh;
        padding: 3rem 1.5rem !important;
        overflow: visible;
    }
    
    .component-header {
        padding: 0 0 2rem 0;
    }
    
    .component-header h3 {
        font-size: 2rem;
    }
    
    .component-image {
        width: calc(100% + 3rem);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        min-height: 60vh;
        max-height: 70vh;
        object-fit: contain;
        object-position: center;
        margin-bottom: 2rem;
    }
    
    .component-body {
        padding: 0;
        overflow: visible;
    }
    
    .component-body p {
        font-size: 1rem;
        line-height: 1.8;
        overflow: visible;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .components-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        width: 100% !important;
        padding: 1rem !important;
        gap: 2rem !important;
        max-width: 100% !important;
        display: grid !important;
    }
    
    .components-grid .component-card {
        width: 100% !important;
        max-width: 100% !important;
        grid-column: 1 / -1 !important;
    }
    
    .component-card {
        min-height: auto !important;
        max-height: none !important;
        padding: 1.5rem !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    .component-header {
        padding: 0 0 1rem 0;
        margin-bottom: 0;
    }
    
    .component-header h3 {
        font-size: 1.25rem;
    }
    
    .component-image {
        width: calc(100% + 2rem);
        margin-left: -1rem;
        margin-right: -1rem;
        min-height: 40vh;
        max-height: 50vh;
        object-fit: contain;
        object-position: center;
        margin-bottom: 1rem;
    }
    
    .component-body {
        padding: 0;
    }
    
    .component-body p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}


/* Small mobile screens */
@media (max-width: 480px) {
    .components-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        width: 100% !important;
        padding: 0.75rem !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        display: grid !important;
    }
    
    .components-grid .component-card {
        width: 100% !important;
        max-width: 100% !important;
        grid-column: 1 / -1 !important;
    }
    
    .component-card {
        min-height: auto !important;
        max-height: none !important;
        padding: 1.25rem !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    .component-header {
        padding: 0 0 0.75rem 0;
    }
    
    .component-header h3 {
        font-size: 1.1rem;
    }
    
    .component-image {
        width: calc(100% + 1.5rem);
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        min-height: 35vh;
        max-height: 45vh;
        object-fit: contain;
        object-position: center;
        margin-bottom: 0.75rem;
    }
    
    .component-body {
        padding: 0;
    }
    
    .component-body p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}


.tech-specs {
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.spec-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.spec-value {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Algorithm Details */
.algorithm-details {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.algorithm-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.algorithm-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.algorithm-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.algorithm-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.algorithm-info h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.algorithm-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Code Snippet */
.code-snippet {
    padding: 0;
    overflow: hidden;
    font-family: 'Courier New', monospace;
}

.code-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.code-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dots .red { background: #ff5f57; }
.code-dots .yellow { background: #ffbd2e; }
.code-dots .green { background: #28ca42; }

.code-content {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-content .keyword { color: #ff79c6; }
.code-content .function { color: #50fa7b; }
.code-content .parameter { color: #ffb86c; }
.code-content .variable { color: #8be9fd; }
.code-content .string { color: #f1fa8c; }
.code-content .number { color: #bd93f9; }
.code-content .property { color: #ff79c6; }

/* Performance Metrics */
.performance-metrics {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

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

.metric-card {
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.metric-value {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff66;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Active dropdown link */
.dropdown-link.active {
    color: #000000;
    background: #ffffff66;
}

/* Enterprise Product Styles */
.product-overview {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.overview-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.key-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Enterprise Dashboard */
.enterprise-dashboard {
    padding: 2rem;
    max-width: 400px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6bcf7f;
}

.status-dot.secure {
    width: 8px;
    height: 8px;
    background: #6bcf7f;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard-stats .stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
}

.dashboard-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.dashboard-stats .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.security-levels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.level-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.level-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-width: 120px;
}

.level-progress {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    transition: width var(--transition-slow);
}

/* Enterprise Modules */
.enterprise-modules {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

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

.module-card {
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.module-card.featured {
    border: 2px solid var(--accent-primary);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.module-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.module-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand-color);
    margin-bottom: 1rem;
}

.module-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.module-features ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.module-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.module-features i {
    color: var(--accent-primary);
    font-size: 0.9rem;
}

.module-pricing {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    display: block;
}

.price-unit {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Deployment Options */
.deployment-options {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.deployment-option {
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.deployment-icon {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.deployment-option h3 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.deployment-option p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.deployment-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.benefit-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Enterprise Stats */
.enterprise-stats {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

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

.stat-card {
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Enterprise CTA */
.enterprise-cta {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.cta-content {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(79, 0, 11, 0.98) !important;
        backdrop-filter: blur(20px);
        width: 75% !important;
        max-width: 320px !important;
        max-height: calc(100vh - 120px) !important;
        text-align: center;
        transition: left var(--transition-normal);
        padding: 0.75rem 0 !important;
        margin: 0 auto !important;
        margin-left: 5% !important;
        border: 1px solid var(--glass-border);
        border-radius: 0 0 12px 12px !important;
        overflow-y: auto !important;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Ensure mobile menu has dark background in light theme */
    [data-theme="light"] .nav-menu {
        background: rgba(79, 0, 11, 0.98) !important;
    }
    
    .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 0.5rem 1rem !important;
        font-size: 0.95rem !important;
    }
    
    .nav-menu li {
        margin: 0.25rem 0 !important;
    }
    
    [data-theme="light"] .nav-link {
        color: rgba(255, 255, 255, 0.95) !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .security-status-bar {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .threat-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
    
    .metric-icon {
        font-size: 1.2rem;
    }
    
    .activity-feed {
        padding: 0.75rem;
    }
    
    .activity-item {
        flex-wrap: wrap;
    }
    
    .activity-time {
        width: 100%;
        text-align: left;
        margin-left: 1.5rem;
    }
    
    .security-badges {
        gap: 1rem;
        padding: 1rem;
    }
    
    .badge-item {
        padding: 0.75rem;
    }
    
    .badge-shield {
        font-size: 1.5rem;
    }
    
    .about-content,
    .contact-content,
    .intelligence-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .threat-map {
        height: 250px;
    }
    
    .threat-title {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand,
    .footer-company,
    .footer-social {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .nav-container {
        max-width: 90%;
        padding: 0 1rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    /* Mobile specific positioning override */
    .nav-actions .theme-toggle {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
    }
    
    .nav-logo {
        height: 26px;
        max-width: 90px;
    }

    .navbar {
        padding: 0.4rem 0;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .algorithm-content,
    .architecture-grid,
    .components-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .floating-card {
        width: 280px;
    }
    
    .floating-card .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.6rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Enterprise Product New Sections Styles */

/* Homogenic Assurance Section */
.homogenic-assurance {
    padding: var(--section-padding);
    background: transparent;
}

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

.homogenic-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.homogenic-text.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.homogenic-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.homogenic-details {
    margin-top: 2rem;
}

.homogenic-details p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.homogenic-visual {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.homogenic-visual.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.dashboard-mockup {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    backdrop-filter: blur(var(--blur-amount));
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease;
}

.dashboard-mockup:hover {
    transform: translateY(-5px);
}

.dashboard-screen {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
}

.dashboard-header-mock {
    background: #2a2a2a;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #ff5f56; }
.control-dot.yellow { background: #ffbd2e; }
.control-dot.green { background: #27ca3f; }

.url-bar {
    flex: 1;
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.dashboard-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 350px;
}

.sidebar-mock {
    background: #2a2a2a;
    padding: 1rem;
}

.nav-item {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item.active,
.nav-item:hover {
    background: var(--brand-color);
    color: white;
}

.main-content-mock {
    padding: 1.5rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(79, 0, 11, 0.3);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff66;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.metric-chart {
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 0;
    opacity: 0;
    transition: all 0.8s ease-out;
}

.metric-chart.animate-in {
    width: 100%;
    opacity: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

.chart-section {
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.chart-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    background-size: 20px 20px;
    animation: shimmer 2s linear infinite;
}

/* Controls Testing Section */
.controls-testing {
    padding: var(--section-padding);
    text-align: center;
    background: var(--bg-secondary);
}

.controls-testing .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.controls-content {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.controls-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

/* Security in SDLC Section */
.security-sdlc {
    padding: var(--section-padding);
    text-align: center;
}

.security-sdlc .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.sdlc-content {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.sdlc-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

/* Security Design & Incident Detection Section */
.security-design-incident {
    padding: var(--section-padding);
    background: transparent;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.column {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.column.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.column:first-child.animate-in {
    transition-delay: 0.2s;
}

.column:last-child.animate-in {
    transition-delay: 0.4s;
}

.column .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.design-content p,
.incident-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Incident Response Timeline Section */
.incident-response-timeline {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.timeline-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 16.67%;
    right: 16.67%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s ease-out;
}

.timeline-container.timeline-active::before {
    transform: scaleX(1);
}

.timeline-step {
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.timeline-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.timeline-step[data-step="1"].animate-in { transition-delay: 0.2s; }
.timeline-step[data-step="2"].animate-in { transition-delay: 0.4s; }
.timeline-step[data-step="3"].animate-in { transition-delay: 0.6s; }

.timeline-marker {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffffff66;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff66;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.timeline-step:hover .timeline-marker {
    transform: scale(1.1);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--brand-color);
}

.timeline-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.timeline-details p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Threat Intelligence Grid Section */
.threat-intelligence-grid {
    padding: var(--section-padding);
    background: transparent;
}

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

.intel-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    backdrop-filter: blur(var(--blur-amount));
    box-shadow: var(--glass-shadow);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.intel-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.intel-card:nth-child(1).animate-in { transition-delay: 0.2s; }
.intel-card:nth-child(2).animate-in { transition-delay: 0.4s; }
.intel-card:nth-child(3).animate-in { transition-delay: 0.6s; }

.intel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(79, 0, 11, 0.2);
}

.intel-card .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.intel-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

/* Privacy Design Section */
.privacy-design {
    padding: var(--section-padding);
    text-align: center;
    background: var(--bg-secondary);
}

.privacy-design .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.privacy-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 5px rgba(79, 0, 11, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(79, 0, 11, 0.5);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: 200px 0;
    }
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
    .homogenic-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-container::before {
        display: none;
    }
    
    .intelligence-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .metric-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-body {
        grid-template-columns: 1fr;
    }
    
    .sidebar-mock {
        display: none;
    }
}

@media (max-width: 768px) {
    .dashboard-screen {
        min-height: 300px;
    }
    
    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .intel-card {
        padding: 1.5rem;
    }
    
    .metric-card {
        padding: 0.8rem;
    }
    
    .metric-value {
        font-size: 1.2rem;
    }
}

/* Team member photos */
.member-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-photo .photo-placeholder {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-muted);
    font-size: 2rem;
}

/* Team grid layout and sizing for Who's Behind This */
.leadership-team .team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 2rem;
}

.leadership-team .team-member {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Justify biography/description text in member cards */
.leadership-team .member-info p {
    text-align: justify;
}

/* Center name and role inside member cards */
.leadership-team .member-info h3,
.leadership-team .member-info .member-role {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Center social icons row */
.leadership-team .member-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

/* Make member photos smaller within cards */
.leadership-team .member-photo {
    height: 220px;
    aspect-ratio: auto;
    padding: 8px;
    box-sizing: border-box;
    background-color: var(--panel-bg, #f5f5f5);
    border-radius: var(--border-radius-md);
}

/* Logo block for team cards */
.leadership-team .member-logo {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.leadership-team .member-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.leadership-team .member-photo img {
    object-fit: contain;
}

.leadership-team .team-member.glass-panel {
    padding: 16px;
}

@media (max-width: 900px) {
    .leadership-team .team-grid {
        grid-template-columns: 1fr;
    }
    .leadership-team .member-photo {
        height: 200px;
        padding: 6px;
    }
}

/* Center a single member card */
.leadership-team.single-member .team-grid {
    grid-template-columns: 1fr;
    justify-items: center;
}

.leadership-team.single-member .team-member {
    width: 100%;
    max-width: 720px;
}

/* Profile Details Styling */
.profile-details {
    margin-top: 4rem;
    width: 100%;
}

.profile-section {
    margin-bottom: 4rem;
}

.profile-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: justify;
}

/* Two Column Grid */
.profile-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Three Column Grid */
.profile-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.profile-box {
    padding: 2rem;
    transition: all var(--transition-normal);
}
/* Make profile-grid-two boxes smaller */
.profile-grid-two .profile-box {
    padding: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.profile-grid-two {
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.profile-grid-two .profile-box-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.profile-grid-two .profile-box p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.profile-box:hover {
    transform: translateY(-5px);
}

.profile-box-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand-color);
    margin-bottom: 1rem;
}

.profile-box p {
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: justify;
}

.profile-quote {
    margin-top: 2rem;
    padding: 2rem;
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-primary);
    border-left: 4px solid var(--brand-color);
    background: rgba(79, 0, 11, 0.05);
}

/* Milestone Grid */
.milestone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.milestone-item {
    padding: 2rem;
    position: relative;
    transition: all var(--transition-normal);
}

.milestone-item:hover {
    transform: translateY(-5px);
}

.milestone-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-color);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    right: 1rem;
    line-height: 1;
}

.milestone-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand-color);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.milestone-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: justify;
}

/* Innovation Grid */
.innovation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.innovation-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.innovation-box {
    padding: 2rem;
    transition: all var(--transition-normal);
}

.innovation-box:hover {
    transform: translateY(-5px);
}

.innovation-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand-color);
    margin-bottom: 1rem;
}

.innovation-box p {
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: justify;
}

.innovation-box strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Final Quote */
.final-quote {
    padding: 3rem;
    text-align: center;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .profile-grid-three,
    .milestone-grid {
        grid-template-columns: 1fr;
    }
    
    .innovation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-grid-two {
        grid-template-columns: 1fr;
    }
    
    .profile-box,
    .milestone-item,
    .innovation-box {
        padding: 1.5rem;
    }
    
    .final-quote {
        padding: 2rem;
        font-size: 1.1rem;
    }
}
/* Two Column Text Layout - Simple Paragraphs */
.two-column-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
/* Align section title with two-column text */
.flow-section .flow-section-title {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    margin-bottom: 2rem;
    padding: 0;
    padding-left: 0; /* Match the left column padding */
}

.text-column-left,
.text-column-right {
    padding: 0;
}

.text-column-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--brand-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.text-column-title:first-child {
    margin-top: 0;
}

.text-column-left p,
.text-column-right p {
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: justify;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.text-column-left p strong,
.text-column-right p strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .two-column-text {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .text-column-title {
        margin-top: 1.5rem;
    }
    
    .text-column-title:first-child {
        margin-top: 0;
    }
}
/* Vision & Culture layout */
.vision-culture .vision-culture-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.vision-culture .vision-card,
.vision-culture .culture-card {
    padding: 2rem;
}

.vision-culture .vc-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(79,0,11,0.08), rgba(161,0,0,0.08));
    color: #4f000b;
    font-size: 1.25rem;
}

.vision-culture .section-title {
    margin-bottom: 0.75rem;
    text-align: left;
}

.vision-culture p {
    line-height: 1.7;
}

@media (max-width: 900px) {
    .vision-culture .vision-culture-grid {
        grid-template-columns: 1fr;
    }
}

/* Partners/Logos Section with Scrolling Animation */
.partners-logo-section {
    padding: 4rem 0;
    background: var(--bg-primary);
    overflow: hidden;
    position: relative;
}

.partners-logo-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--brand-color);
}

.logo-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.logo-scroll-wrapper {
    display: flex;
    gap: 5rem;
    animation: scrollLogos 25s linear infinite;
    width: fit-content;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-width: 300px;
    flex-shrink: 0;
}

.logo-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--brand-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 0, 11, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.1);
    border-color: rgba(79, 0, 11, 0.8);
    box-shadow: 0 0 30px rgba(79, 0, 11, 0.4);
}

.logo-circle:hover::before {
    opacity: 1;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-color);
    font-size: 3.5rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-circle:hover .logo-placeholder {
    opacity: 1;
    transform: scale(1.1);
}

/* Replace placeholder with actual logo image */
.logo-circle img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    border-radius: 50%;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
    transition: color 0.3s ease;
}

.logo-item:hover .company-name {
    color: var(--brand-color);
}

/* Scrolling Animation */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.logo-scroll-container:hover .logo-scroll-wrapper {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .logo-item {
        min-width: 250px;
    }
    
    .logo-circle {
        width: 150px;
        height: 150px;
    }
    
    .logo-placeholder {
        font-size: 3rem;
    }
    
    .logo-scroll-wrapper {
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .partners-logo-section {
        padding: 3rem 0;
    }
    
    .logo-item {
        min-width: 200px;
        gap: 1rem;
    }
    
    .logo-circle {
        width: 120px;
        height: 120px;
    }
    
    .logo-placeholder {
        font-size: 2.5rem;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .logo-scroll-wrapper {
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .logo-item {
        min-width: 150px;
    }
    
    .logo-circle {
        width: 100px;
        height: 100px;
    }
    
    .logo-placeholder {
        font-size: 2rem;
    }
    
    .company-name {
        font-size: 0.85rem;
    }
    
    .logo-scroll-wrapper {
        gap: 2rem;
    }
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(79, 0, 11, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(79, 0, 11, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(79, 0, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

.blog-section .section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(79, 0, 11, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 0, 11, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.blog-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(79, 0, 11, 0.25),
                0 0 0 1px rgba(79, 0, 11, 0.1);
    border-color: rgba(79, 0, 11, 0.3);
}

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

.blog-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(79, 0, 11, 0.1) 0%, rgba(79, 0, 11, 0.05) 100%);
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.blog-card:hover .blog-image {
    transform: scale(1.15);
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-color);
    font-size: 4rem;
    opacity: 0.3;
    background: linear-gradient(135deg, rgba(79, 0, 11, 0.05) 0%, rgba(79, 0, 11, 0.02) 100%);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(79, 0, 11, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
    flex-grow: 1;
}

.blog-card:hover .blog-title {
    color: var(--brand-color);
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--brand-color);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    width: fit-content;
}

.blog-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-color);
    transition: width 0.3s ease;
}

.blog-link:hover {
    gap: 1rem;
    transform: translateX(5px);
}

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

.blog-link i {
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(5px);
}

/* Floating Animation for Blog Cards */
@keyframes floatBlog {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.blog-card:nth-child(1) {
    animation: floatBlog 6s ease-in-out infinite;
}

.blog-card:nth-child(2) {
    animation: floatBlog 6s ease-in-out infinite 2s;
}

.blog-card:nth-child(3) {
    animation: floatBlog 6s ease-in-out infinite 4s;
}

.blog-card:hover {
    animation-play-state: paused;
}

/* Responsive Design for Blog Section */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .blog-section .section-title {
        font-size: 2.2rem;
    }
    
    .blog-image-wrapper {
        height: 220px;
    }
    
    .blog-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 4rem 0;
    }
    
    .blog-section .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }
    
    .blog-image-wrapper {
        height: 200px;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .blog-section .section-title {
        font-size: 1.75rem;
    }
    
    .blog-image-wrapper {
        height: 180px;
    }
    
    .blog-content {
        padding: 1.25rem;
    }
    
    .blog-title {
        font-size: 1rem;
    }
    
    .blog-link {
        font-size: 0.9rem;
    }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN - MOBILE FIRST
   Using Tailwind CSS Breakpoints:
   sm: ≥640px, md: ≥768px, lg: ≥1024px, xl: ≥1280px, 2xl: ≥1536px
   ============================================ */

/* Base Mobile Styles (Default - Mobile First) */
* {
    box-sizing: border-box;
}

/* Responsive Images - Applies to all screens */
img,
picture,
video,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container Responsive - Base */
.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* Text Overflow Prevention - Applies to all screens */
p, span, div, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
    width: 100%;
}

/* Navbar - Mobile First (only applies below 768px) */
@media (max-width: 767px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-logo {
        max-width: 120px;
        height: auto;
    }
    
    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 70px !important;
        flex-direction: column !important;
        background: rgba(79, 0, 11, 0.98) !important;
        width: 75% !important;
        max-width: 320px !important;
        max-height: calc(100vh - 120px) !important;
        text-align: center !important;
        transition: 0.3s !important;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3) !important;
        padding: 0.75rem 0 !important;
        gap: 0 !important;
        margin: 0 auto !important;
        margin-left: 5% !important;
        border-radius: 0 0 12px 12px !important;
        overflow-y: auto !important;
        z-index: 998 !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-menu li {
        margin: 0.25rem 0 !important;
    }
    
    .nav-link {
        font-size: 0.95rem !important;
        padding: 0.5rem 1rem !important;
        display: block !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .nav-link:hover {
        color: #ffffff !important;
    }
    
    /* Ensure mobile menu has dark background in light theme for visibility */
    [data-theme="light"] .nav-menu {
        background: rgba(79, 0, 11, 0.98) !important;
    }
    
    [data-theme="light"] .nav-link {
        color: rgba(255, 255, 255, 0.95) !important;
    }
    
    [data-theme="light"] .nav-link:hover {
        color: #ffffff !important;
    }
    
    [data-theme="light"] .nav-link.active {
        color: #ffffff !important;
    }
    
    .hamburger {
        display: flex !important;
        z-index: 999;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Mobile Base Styles (applies to all, enhanced by media queries) */
@media (max-width: 767px) {
    /* Hero Section - Mobile */
    .hero {
        min-height: 70vh;
        padding: 7rem 1rem 3rem !important;
    }
    
    .hero-content {
        gap: 3rem !important;
        padding: 0 1rem !important;
    }
    
    .hero-title-section {
        width: 100% !important;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 1.3rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        display: block;
    }
    
    .hero-title br {
        display: block;
        margin: 0.5rem 0;
    }
    
    .hero-title .gradient-text {
        font-size: 1.1rem !important;
        display: block;
        margin-top: 0.8rem;
        line-height: 1.4;
        color: #00ff41 !important;
        -webkit-text-fill-color: #00ff41 !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
    }
    
    .hero-visual {
        width: 100% !important;
        max-width: 100% !important;
        transform: scaleY(1) !important;
        margin-top: 2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    /* Typography - Mobile */
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    h4 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    /* Sections - Mobile */
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
        margin-bottom: 2rem;
        padding: 0 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    
    .leadership-team .section-title,
    .events-section .section-title {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
        padding: 0 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    
    .events-section {
        padding: 4rem 0 3rem !important;
    }
    
    .events-section .section-header {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .events-section .section-title {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
        padding: 0 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    
    .events-section .section-title .highlight-text {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
    }
    
    /* Cards and Grids - Mobile */
    .feature-card-mini,
    .industry-block,
    .contact-option {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Buttons - Mobile */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Footer - Mobile */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    .footer-brand,
    .footer-company,
    .footer-social {
        text-align: center !important;
    }
    
    .social-links {
        justify-content: center !important;
    }
}

/* ============================================
   SMALL DEVICES (≥640px)
   ============================================ */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
        max-width: 640px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        width: auto;
        max-width: none;
    }
    
    .options-grid,
    .contact-details {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* ============================================
   MEDIUM DEVICES / TABLETS (≥768px)
   ============================================ */
@media (min-width: 768px) {
    .container {
        max-width: 768px;
        padding: 0 2rem;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-menu {
        position: static;
        flex-direction: row;
        background: transparent;
        width: auto;
        box-shadow: none;
        padding: 0;
        gap: 2rem;
        margin-right: 2rem;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
    
    .hamburger {
        display: none !important;
    }
    
    .hero {
        min-height: 80vh;
        padding: 8rem 2rem 4rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .feature-card-mini,
    .industry-block,
    .contact-option {
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .contact-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   LARGE DEVICES / LAPTOPS (≥1024px)
   ============================================ */
@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
        padding: 0 3rem;
    }
    
    .nav-menu {
        gap: 3rem;
        margin-right: 4rem;
    }
    
    .hero {
        min-height: 85vh;
        padding: 10rem 3rem 5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .options-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-details {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .two-column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* ============================================
   EXTRA LARGE DEVICES / DESKTOPS (≥1280px)
   ============================================ */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
        padding: 0 4rem;
    }
    
    .nav-menu {
        gap: 4rem;
        margin-right: 6rem;
    }
    
    .hero {
        padding: 12rem 4rem 6rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* ============================================
   2XL DEVICES / LARGE MONITORS (≥1536px)
   ============================================ */
@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
        padding: 0 6rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 4rem;
    }
}

/* ============================================
   RESPONSIVE IMAGES (Additional)
   ============================================ */
.image-wrapper,
.image-container {
    width: 100%;
    overflow: hidden;
}

.image-wrapper img,
.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ============================================
   RESPONSIVE TABLES
   ============================================ */
@media (max-width: 768px) {
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    thead, tbody, tr {
        display: block;
    }
    
    th, td {
        display: block;
        text-align: left;
        padding: 0.5rem;
    }
}

/* ============================================
   RESPONSIVE FORMS
   ============================================ */
input, textarea, select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    input, textarea, select {
        max-width: 500px;
    }
}

/* ============================================
   RESPONSIVE MODAL
   ============================================ */
.modal-content {
    width: 95%;
    max-width: 500px;
    margin: 1rem;
}

@media (min-width: 640px) {
    .modal-content {
        width: 90%;
    }
}

@media (min-width: 768px) {
    .modal-content {
        width: 80%;
        max-width: 600px;
    }
}

/* ============================================
   RESPONSIVE GRID SYSTEMS
   ============================================ */
.grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   UTILITY CLASSES FOR RESPONSIVE
   ============================================ */
.hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hide-mobile {
        display: block;
    }
    
    .hide-desktop {
        display: none;
    }
}

.text-center-mobile {
    text-align: center;
}

@media (min-width: 768px) {
    .text-center-mobile {
        text-align: left;
    }
}

/* ============================================
   FIX SPECIFIC COMPONENTS
   ============================================ */

/* POV Cards Section */
@media (max-width: 768px) {
    .pov-cards-section {
        padding: 3rem 0;
        overflow: visible !important;
    }
    
    .pov-cards-section .container {
        padding: 0 1rem;
        overflow: visible !important;
    }
    
    .pov-cards-section .section-title {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
        padding: 0 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 2rem;
        min-height: auto !important;
    }
    
    .flip-cards-container {
        width: 100%;
        overflow: visible !important;
        position: relative;
    }
    
    .flip-card-wrapper {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        margin-bottom: 2rem;
        overflow: visible !important;
        perspective: none !important;
    }
    
    .flip-card {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        opacity: 1 !important;
        pointer-events: all !important;
        transform: none !important;
        margin-bottom: 1.5rem;
    }
    
    .flip-card.active {
        position: relative !important;
        opacity: 1 !important;
    }
    
    .flip-card:not(.active) {
        display: none !important;
    }
    
    .flip-card-inner {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        transform: none !important;
    }
    
    .flip-card-front,
    .flip-card-back {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding: 1.5rem !important;
        overflow: visible !important;
        backface-visibility: visible !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .flip-card.content-stage .flip-card-front {
        display: flex !important;
        flex-direction: column !important;
        padding: 1.5rem !important;
    }
    
    .flip-card.image-stage .flip-card-front {
        display: flex !important;
        flex-direction: column !important;
        padding: 1.5rem !important;
    }
    
    .card-image {
        width: 100% !important;
        height: auto !important;
        max-height: 200px !important;
        min-height: 150px !important;
        margin-bottom: 1rem;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .flip-card.image-stage .card-image {
        display: flex !important;
        height: auto !important;
        max-height: 250px !important;
    }
    
    .card-image img {
        width: 100% !important;
        height: auto !important;
        max-height: 200px !important;
        object-fit: contain !important;
    }
    
    .flip-card.image-stage .card-image img {
        max-height: 250px !important;
    }
    
    .card-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow: visible !important;
        transform: none !important;
        opacity: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .flip-card.content-stage .card-content {
        display: flex !important;
        transform: none !important;
        opacity: 1 !important;
    }
    
    .flip-card.image-stage .card-content {
        display: none !important;
    }
    
    .card-content h3 {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
        text-align: center !important;
    }
    
    .card-content p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    .mini-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 1rem !important;
        width: 100% !important;
        display: grid !important;
    }
    
    .flip-card.content-stage .mini-cards-grid {
        display: grid !important;
        gap: 1rem !important;
    }
    
    .mini-card {
        padding: 1rem !important;
        width: 100% !important;
        transform: none !important;
        opacity: 1 !important;
        animation: none !important;
    }
    
    .mini-card h4 {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
    }
    
    .mini-card p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }
    
    .card-indicators {
        margin-top: 1.5rem;
        padding: 0.5rem;
        display: flex;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .features-grid-animated {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Partners Section */
@media (max-width: 768px) {
    .partners-logo-section {
        padding: 3rem 0;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Convergence Animation */
@media (max-width: 768px) {
    .convergence-animation-section {
        height: 60vh;
    }
    
    .animation-container {
        transform: scale(0.6);
    }
    
    .block {
        font-size: 10px;
        padding: 6px 10px;
        min-width: 80px;
    }
}

/* Timeline */
@media (max-width: 768px) {
    .timeline-container {
        padding: 0 1rem;
    }
    
    .timeline-step {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-marker {
        margin: 0 auto 1rem;
    }
}

/* ============================================
   ADDITIONAL RESPONSIVE FIXES
   ============================================ */

/* Main Statement and Sub Statements */
@media (max-width: 767px) {
    .o-intelligence-animated {
        padding: 4rem 0 3rem !important;
        margin-top: 2rem;
    }
    
    .animation-stage.stage-1 {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .main-statement {
        font-size: 1.4rem !important;
        line-height: 1.5 !important;
        padding: 0 1rem;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    
    .main-statement br {
        display: block;
        margin: 0.5rem 0;
    }
    
    .statement-left,
    .statement-right {
        font-size: 1.1rem !important;
        padding: 0 1rem;
    }
    
    .secondary-statements {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
}

@media (min-width: 640px) and (max-width: 767px) {
    .main-statement {
        font-size: 1.8rem !important;
        line-height: 1.4 !important;
    }
}

/* O Intelligence Section */
@media (max-width: 767px) {
    .o-intelligence-animated {
        padding: 4rem 0;
    }
    
    .features-grid-animated {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Partners Grid */
@media (max-width: 640px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Dropdown Menu Mobile */
@media (max-width: 767px) {
    .nav-item.dropdown {
        position: relative;
    }
    
    .dropdown-toggle {
        position: relative !important;
        cursor: pointer !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .dropdown-toggle::after {
        content: ' ▼' !important;
        font-size: 0.75em !important;
        margin-left: 0.5rem !important;
        transition: all 0.3s ease !important;
        color: rgba(255, 255, 255, 0.9) !important;
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-weight: normal !important;
        line-height: 1 !important;
        vertical-align: middle !important;
    }
    
    .nav-item.dropdown.active .dropdown-toggle,
    .nav-item.dropdown.show .dropdown-toggle,
    .nav-item.dropdown.active.show .dropdown-toggle {
        color: #ffffff !important;
    }
    
    .nav-item.dropdown.active .dropdown-toggle::after,
    .nav-item.dropdown.show .dropdown-toggle::after,
    .nav-item.dropdown.active.show .dropdown-toggle::after,
    .nav-item.dropdown.active .nav-link.dropdown-toggle::after,
    .nav-item.dropdown.show .nav-link.dropdown-toggle::after {
        content: ' ▲' !important;
        transform: none !important;
        color: #ffffff !important;
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-size: 0.75em !important;
        margin-left: 0.5rem !important;
        line-height: 1 !important;
        vertical-align: middle !important;
    }
    
    /* Override any rules that hide ::after on active nav-links for dropdown toggles */
    .nav-item.dropdown.active .nav-link.dropdown-toggle::after,
    .nav-item.dropdown.show .nav-link.dropdown-toggle::after,
    .nav-link.dropdown-toggle.active::after {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Mobile Dropdown Menu - Override all desktop styles */
    .dropdown-menu,
    .dropdown-menu.glass-panel,
    .dropdown:hover .dropdown-menu,
    .dropdown:hover .dropdown-menu.glass-panel {
        position: static !important;
        display: none !important;
        width: 100% !important;
        box-shadow: none !important;
        margin-top: 0.25rem !important;
        margin-left: 0 !important;
        padding: 0.25rem 0 !important;
        background: rgba(79, 0, 11, 0.98) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        border-radius: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        min-width: auto !important;
    }
    
    .nav-item.dropdown.active .dropdown-menu,
    .nav-item.dropdown.show .dropdown-menu,
    .nav-item.dropdown.active .dropdown-menu.glass-panel,
    .nav-item.dropdown.show .dropdown-menu.glass-panel {
        display: block !important;
        background: rgba(79, 0, 11, 0.98) !important;
    }
    
    .dropdown-link {
        color: rgba(255, 255, 255, 0.95) !important;
        padding: 0.5rem 1rem !important;
        border-left: 3px solid transparent !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        display: block !important;
        text-decoration: none !important;
    }
    
    .dropdown-link:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border-left-color: #ffffff !important;
        transform: translateX(5px) !important;
    }
    
    .dropdown-link.active {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-left-color: #ffffff !important;
    }
    
    /* Override all light theme styles for mobile dropdown */
    [data-theme="light"] .dropdown-menu,
    [data-theme="light"] .dropdown-menu.glass-panel,
    [data-theme="light"] .dropdown:hover .dropdown-menu,
    [data-theme="light"] .dropdown:hover .dropdown-menu.glass-panel {
        background: rgba(79, 0, 11, 0.98) !important;
    }
    
    [data-theme="light"] .nav-item.dropdown.active .dropdown-menu,
    [data-theme="light"] .nav-item.dropdown.show .dropdown-menu,
    [data-theme="light"] .nav-item.dropdown.active .dropdown-menu.glass-panel,
    [data-theme="light"] .nav-item.dropdown.show .dropdown-menu.glass-panel {
        background: rgba(79, 0, 11, 0.98) !important;
    }
    
    [data-theme="light"] .dropdown-link {
        color: rgba(255, 255, 255, 0.95) !important;
    }
    
    [data-theme="light"] .dropdown-link:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.15) !important;
    }
    
    [data-theme="light"] .dropdown-link.active {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }
}

/* Page Header */
@media (max-width: 767px) {
    .page-header {
        padding: 7rem 0 3rem !important;
    }
    
    /* Ensure first section after navbar has spacing on mobile */
    body > nav + section,
    body > section:first-of-type:not(.page-header),
    .leadership-team:first-of-type,
    .contact-options:first-of-type,
    .events-section:first-of-type,
    .partners-cards-section:first-of-type {
        padding-top: 7rem !important;
    }
    
    .page-title {
        font-size: 2rem !important;
        padding: 0 1rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Intelligence Grid */
@media (max-width: 767px) {
    .intelligence-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .intel-card {
        padding: 1.5rem;
    }
}

/* Two Column Grid */
@media (max-width: 767px) {
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Flip Cards */
@media (max-width: 640px) {
    .flip-card-container {
        min-height: 250px;
    }
    
    .flip-card-wrapper {
        height: 300px;
    }
}

/* Contact Form Modal */
@media (max-width: 640px) {
    .contact-modal .modal-content {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .form-group input,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Footer Responsive */
@media (max-width: 767px) {
    .footer .container {
        padding: 0 1.5rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 1rem;
    }
}

/* Ensure all containers are responsive */
@media (max-width: 767px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Components Grid - Mobile Single Column */
@media (max-width: 767px) {
    .components-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 2rem !important;
        width: 100% !important;
        padding: 1rem !important;
        max-width: 100% !important;
        display: grid !important;
    }
    
    .components-grid .component-card {
        width: 100% !important;
        max-width: 100% !important;
        grid-column: 1 / -1 !important;
    }
    
    .component-card {
        width: 100% !important;
        min-height: auto !important;
        max-height: none !important;
        margin-bottom: 2rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Fix any overflow issues */
@media (max-width: 767px) {
    .row,
    .column,
    .grid-item,
    .card,
    .box {
        max-width: 100%;
        width: 100%;
    }
    
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
}
