/* Executive Dashboard Design V2 - New Purple/Cream Color Palette */

/* CSS Custom Properties - Improved Contrast Color Palette */
:root {
    --primary-bg: #0e0623;
    --secondary-bg: #1a0f2e;
    --accent-bg: #2d1b47;
    --purple-primary: #7a6ba8;
    --text-accent: #ffffff;
    --purple-deep: #6b4f8a;
    --accent-red: #c41e3a;
    --text-primary: #ffffff;
    --text-secondary: #f0f0f0;
    --text-muted: #d0d0d0;
    --card-bg: rgba(80, 72, 120, 0.2);
    --border-color: rgba(122, 107, 168, 0.6);
    --glass-bg: rgba(245, 234, 229, 0.12);
    
    /* High contrast versions for better readability */
    --text-contrast: #ffffff;
    --button-text: #ffffff;
    --icon-color: #9b8bc4;
    --hover-purple: #8f7db3;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Enhanced Gradient Background System */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(133, 14, 14, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(80, 72, 120, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(84, 22, 76, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary-bg) 0%, #1a0f2e 50%, #2d1b47 100%);
    animation: background-shift 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -3;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(45deg, transparent 46%, rgba(80, 72, 120, 0.08) 48%, rgba(80, 72, 120, 0.08) 52%, transparent 54%),
        linear-gradient(-45deg, transparent 46%, rgba(84, 22, 76, 0.06) 48%, rgba(84, 22, 76, 0.06) 52%, transparent 54%);
    background-size: 800px 800px, 600px 600px;
    animation: subtle-flow 25s linear infinite, subtle-flow-reverse 20s linear infinite;
    pointer-events: none;
    z-index: -2;
    opacity: 0.9;
}

/* Additional gradient layer for depth */
body {
    position: relative;
}

body > *:first-child::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: 
        radial-gradient(circle at 60% 20%, rgba(122, 107, 168, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(133, 14, 14, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(84, 22, 76, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

@keyframes subtle-flow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(400px, 400px); }
}

@keyframes subtle-flow-reverse {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-300px, -300px) rotate(360deg); }
}

@keyframes background-shift {
    0% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% { 
        opacity: 0.9;
        transform: scale(1.02);
    }
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-bg);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Ultra-wide screen optimizations */
@media (min-width: 2560px) {
    .container {
        max-width: 1800px;
    }
    
    .hero-grid {
        gap: 8rem;
    }
    
    .hero-content {
        max-width: 700px;
    }
    
    .hero h1 {
        font-size: clamp(3rem, 4vw, 4.5rem);
    }
    
    .hero p {
        font-size: 1.4rem;
    }
    
    .security-dashboard {
        max-width: 600px;
        padding: 4rem;
    }
}

@media (min-width: 3440px) {
    .container {
        max-width: 2200px;
    }
    
    .hero-grid {
        gap: 10rem;
    }
    
    .hero-content {
        max-width: 800px;
    }
    
    .security-dashboard {
        max-width: 700px;
        padding: 5rem;
    }
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    height: 65px;
    width: 65px;
    filter: drop-shadow(0 0 20px rgba(133, 14, 14, 1.0));
    transition: all 0.3s ease;
    overflow: hidden;
    object-fit: cover;
    border-radius: 8px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--text-accent);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.lang-switch a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.lang-switch a.active {
    color: var(--text-accent);
    background: rgba(80, 72, 120, 0.2);
}

.lang-switch span {
    color: var(--text-muted);
}

/* Mobile language items - hidden on desktop */
.mobile-lang-item {
    display: none;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    position: relative;
}


.mobile-lang-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    margin: 0 1.5rem;
}

.mobile-lang-switch a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 32px;
    text-align: center;
}

.mobile-lang-switch a.active {
    color: #ffffff;
    background: rgba(122, 107, 168, 0.3);
}

.mobile-lang-switch a:hover:not(.active) {
    color: #ffffff;
}

.mobile-lang-switch span {
    color: var(--text-muted);
    font-weight: 400;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: 
        radial-gradient(ellipse at 10% 90%, rgba(133, 14, 14, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(80, 72, 120, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(84, 22, 76, 0.12) 0%, transparent 60%);
    animation: hero-glow 15s ease-in-out infinite alternate;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 25%, rgba(122, 107, 168, 0.06) 50%, transparent 75%),
        linear-gradient(-45deg, transparent 25%, rgba(133, 14, 14, 0.04) 50%, transparent 75%);
    animation: hero-overlay 12s ease-in-out infinite alternate-reverse;
    pointer-events: none;
    z-index: 1;
}

@keyframes hero-glow {
    0% { 
        filter: brightness(1) saturate(1);
    }
    50% {
        filter: brightness(1.1) saturate(1.2);
    }
    100% { 
        filter: brightness(1.05) saturate(1.1);
    }
}

@keyframes hero-overlay {
    0% { 
        opacity: 0.3;
        transform: translateY(0px);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-10px);
    }
    100% { 
        opacity: 0.4;
        transform: translateY(-5px);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    z-index: 10;
}

.hero .tagline {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
    color: var(--text-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 25px rgba(80, 72, 120, 0.4);
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.security-dashboard {
    width: 100%;
    max-width: 520px;
    background: 
        radial-gradient(circle at 10% 10%, rgba(133, 14, 14, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 90% 90%, rgba(80, 72, 120, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(84, 22, 76, 0.06) 0%, transparent 80%),
        linear-gradient(135deg, var(--glass-bg), rgba(122, 107, 168, 0.08));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(80, 72, 120, 0.3),
        0 0 100px rgba(133, 14, 14, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.security-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-deep));
    border-radius: 16px 16px 0 0;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--purple-primary);
    animation: pulse-indicator 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--purple-primary);
}

@keyframes pulse-indicator {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(80, 72, 120, 0.2);
}

.metric-row:last-child {
    border-bottom: none;
}

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

.metric-value {
    font-weight: 600;
    color: var(--text-accent);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red), #a01212);
    color: var(--text-primary);
    box-shadow: 0 8px 25px rgba(133, 14, 14, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(133, 14, 14, 0.4);
    background: linear-gradient(135deg, #a01212, #c41515);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: var(--purple-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--purple-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(80, 72, 120, 0.3);
}

/* Section Styles */
.section {
    padding: 8rem 0;
}

.section-alt {
    background: 
        radial-gradient(ellipse at 30% 0%, rgba(80, 72, 120, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse at 70% 100%, rgba(84, 22, 76, 0.06) 0%, transparent 70%),
        linear-gradient(135deg, var(--secondary-bg) 0%, #2d1b47 50%, var(--secondary-bg) 100%);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(122, 107, 168, 0.3), rgba(133, 14, 14, 0.2), transparent);
}

.section-alt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(84, 22, 76, 0.2), transparent);
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: 
        radial-gradient(circle at 20% 20%, rgba(80, 72, 120, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 80% 80%, rgba(84, 22, 76, 0.06) 0%, transparent 70%),
        linear-gradient(135deg, var(--glass-bg), rgba(122, 107, 168, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(80, 72, 120, 0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-deep));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(80, 72, 120, 0.2);
    border-color: var(--purple-primary);
}

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

.card:hover .card-icon {
    color: #ffffff;
    transform: scale(1.1);
    background: rgba(122, 107, 168, 0.25);
    border-color: var(--purple-primary);
    box-shadow: 0 0 20px rgba(122, 107, 168, 0.4);
}

.card:hover .card-icon svg {
    filter: drop-shadow(0 0 15px currentColor);
    transform: scale(1.05);
}

.card:hover .card-icon i {
    filter: drop-shadow(0 0 15px currentColor);
    transform: scale(1.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F5EAE5;
    transition: all 0.3s ease;
    background: rgba(122, 107, 168, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(15px);
}

.card-icon svg {
    width: 48px;
    height: 48px;
    color: inherit;
    filter: drop-shadow(0 0 10px currentColor);
    stroke-width: 1.5;
}

.card-icon i {
    font-size: 48px;
    color: inherit;
    filter: drop-shadow(0 0 10px currentColor);
    transition: all 0.3s ease;
}

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

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--purple-primary));
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(80, 72, 120, 0.25);
}

.team-photo {
    width: 200px;
    height: 250px;
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--accent-red);
    object-fit: cover;
    object-position: center top;
    box-shadow: 0 0 25px rgba(133, 14, 14, 0.4);
}

.team-card h3 {
    font-size: 1.5rem;
    color: var(--text-accent);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-card .role {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.team-card .credentials {
    text-align: left;
    color: var(--text-secondary);
}

.team-card .credentials p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.credential-bullet {
    color: var(--text-accent);
    font-weight: bold;
    margin-top: 0.25rem;
}

/* Service Tabs - V6 Feature */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.service-tab {
    background: transparent;
    border: 2px solid var(--purple-primary);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.service-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(122, 107, 168, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-tab:hover::before {
    left: 100%;
}

.service-tab:hover {
    background: rgba(122, 107, 168, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.service-tab.active {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
    border-color: var(--purple-secondary);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(122, 107, 168, 0.4);
    transform: translateY(-2px);
}

.service-tab.active::before {
    display: none;
}

.service-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.service-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease forwards;
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* Why Choose Us Section - Clean Executive Design */
.why-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.why-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), var(--accent-red));
    border-radius: 2px;
}

.why-executive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.why-column-left,
.why-column-right {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.why-benefit {
    position: relative;
    padding-left: 1.5rem;
}

.why-benefit::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--purple-primary), var(--accent-red));
    border-radius: 2px;
}

.why-benefit h4 {
    color: var(--text-accent);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.why-benefit p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(80, 72, 120, 0.2);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary), var(--accent-red));
}

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

.contact-item {
    padding: 1.5rem;
    border-radius: 12px;
    background: 
        radial-gradient(circle at 20% 20%, rgba(80, 72, 120, 0.15) 0%, transparent 70%),
        linear-gradient(135deg, rgba(80, 72, 120, 0.2), rgba(84, 22, 76, 0.15));
    border: 1px solid rgba(122, 107, 168, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(80, 72, 120, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-primary), var(--accent-red));
    border-radius: 12px 12px 0 0;
}

.contact-item:hover {
    border-color: var(--purple-primary);
    box-shadow: 0 12px 30px rgba(80, 72, 120, 0.25);
    transform: translateY(-2px);
    background: 
        radial-gradient(circle at 20% 20%, rgba(80, 72, 120, 0.2) 0%, transparent 70%),
        linear-gradient(135deg, rgba(80, 72, 120, 0.25), rgba(84, 22, 76, 0.2));
}

.contact-item strong {
    color: var(--text-accent);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
}

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

/* Footer */
footer {
    background: var(--primary-bg);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Hamburger Menu - Third Animation Style */
.hamburger {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--purple-primary);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
    top: 9px;
}

.hamburger span:nth-child(4) {
    top: 18px;
}

.hamburger.open span:nth-child(1) {
    top: 9px;
    width: 0%;
    left: 50%;
}

.hamburger.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.hamburger.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.hamburger.open span:nth-child(4) {
    top: 9px;
    width: 0%;
    left: 50%;
}

/* Mobile Responsive */
/* Tablet responsiveness */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 5vw, 3rem);
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .section h2 {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
    }
    
    .security-dashboard {
        max-width: 400px;
        margin-top: 2rem;
    }
    
    .service-tabs {
        gap: 0.5rem;
    }
    
    .service-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }
    
    /* Hide desktop language switcher on mobile/tablet */
    .lang-switch {
        display: none;
    }
    
    /* Show mobile language items */
    .mobile-lang-item {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(14, 6, 35, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .hero {
        min-height: 100vh;
        padding: 8rem 0 4rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    /* Hide hero-visual completely on mobile since security dashboard was removed */
    .hero-visual {
        display: none;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .cards-grid,
    .team-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        min-width: 250px;
    }
    
    .section {
        padding: 4rem 0;
    }
}

/* Small mobile devices */
@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .section h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .card h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .team-card h3 {
        font-size: 1.3rem;
    }
    
    .team-card .role {
        font-size: 1rem;
    }
    
    .team-card .credentials p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Why section mobile optimizations */
    .why-section-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        margin-bottom: 2rem;
        line-height: 1.3;
        padding: 0 1rem;
    }
    
    .why-executive-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
        max-width: none;
    }
    
    .why-column-left,
    .why-column-right {
        gap: 2rem;
    }
    
    .why-benefit {
        padding-left: 1rem;
    }
    
    .why-benefit h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .why-benefit p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Service tabs mobile styling */
    .service-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .service-tab {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        text-align: center;
    }
    
    /* Simplify contact section */
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-card h3 {
        font-size: 1.4rem !important;
        margin-bottom: 1rem !important;
    }
    
    .contact-card p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.4 !important;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1.25rem;
        text-align: center;
        background: 
            radial-gradient(circle at 30% 30%, rgba(80, 72, 120, 0.2) 0%, transparent 70%),
            linear-gradient(135deg, rgba(80, 72, 120, 0.25), rgba(84, 22, 76, 0.18));
        border: 1px solid rgba(122, 107, 168, 0.5);
        box-shadow: 0 6px 16px rgba(80, 72, 120, 0.2);
    }
    
    .contact-item strong {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #ffffff;
        font-weight: 700;
    }
    
    .contact-item a,
    .contact-item br + text {
        font-size: 0.9rem;
    }
    
    /* Hide engagement section on small mobile */
    .contact-card div[style*="margin-top: 3rem"] {
        display: none;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .section h2 {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card h3 {
        font-size: 1rem;
    }
    
    .card p {
        font-size: 0.85rem;
    }
    
    .btn {
        min-width: 200px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-tab {
        max-width: 240px;
        padding: 0.65rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .contact-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-card h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .contact-card p {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin: 1.5rem 0 !important;
    }
    
    .contact-item {
        padding: 1rem;
        text-align: center;
        background: 
            radial-gradient(circle at 25% 25%, rgba(80, 72, 120, 0.25) 0%, transparent 60%),
            linear-gradient(135deg, rgba(80, 72, 120, 0.3), rgba(84, 22, 76, 0.2));
        border: 2px solid rgba(122, 107, 168, 0.6);
        box-shadow: 0 4px 12px rgba(80, 72, 120, 0.25);
        backdrop-filter: blur(12px);
    }
    
    .contact-item strong {
        font-size: 0.75rem;
        display: block;
        margin-bottom: 0.25rem;
        color: #ffffff;
        font-weight: 700;
    }
    
    .contact-item a {
        font-size: 0.85rem;
        display: block;
    }
    
    /* Further simplify buttons */
    .hero-buttons[style*="margin-top"] {
        margin-top: 1rem !important;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        min-width: 160px;
    }
    
    .logo img {
        height: 45px;
        width: 45px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .tagline {
        font-size: 0.8rem !important;
        padding: 0.4rem 1rem !important;
    }
}

/* Enhanced Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Dashboard hover effect */
.security-dashboard:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 70px rgba(80, 72, 120, 0.4);
    border-color: var(--purple-primary);
}

/* Enhanced card hover effects */
.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(80, 72, 120, 0.25);
    border-color: var(--purple-primary);
}


/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-deep));
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(80, 72, 120, 0.4);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--purple-deep), var(--accent-red));
}
.course-card .price {
  font-weight: 600;
  color: var(--accent-color, #5cf); /* matches your brand accent */
  margin: 0.5rem 0;
  font-size: 1rem;
}
