/* Corvex Lab - Complete CSS */
/* =========================== */

:root {
    /* Black & Gold Theme */
    --primary-black: #000000;
    --secondary-black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #e0e0e0;
    --text-white: #f5f5f5;
    
    /* Gold Colors */
    --gold-primary: #FFD700;
    --gold-secondary: #D4AF37;
    --gold-dark: #B8860B;
    --gold-light: #FFF8DC;
    --gold-glow: rgba(255, 215, 0, 0.3);
    
    /* Service Badge Colors */
    --offensive-red: #ff4444;
    --defensive-blue: #4496ff;
    --additional-green: #68ff44;
    
    /* Backgrounds & Borders */
    --card-bg: rgba(26, 26, 26, 0.95);
    --border-gold: rgba(212, 175, 55, 0.3);
    
    /* Transparent versions for badges */
    --offensive-transparent: rgba(255, 68, 68, 0.2);
    --defensive-transparent: rgba(68, 150, 255, 0.2);
    --additional-transparent: rgba(104, 255, 68, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-black);
    color: var(--light-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gold-text {
    color: var(--gold-primary);
    text-shadow: 0 0 10px var(--gold-glow);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* Header & Navigation */
@keyframes borderPulse {
    0%, 100% { box-shadow: 0 5px 30px rgba(255, 215, 0, 0.1), 0 1px 0 rgba(212, 175, 55, 0.3); }
    50%       { box-shadow: 0 5px 40px rgba(255, 215, 0, 0.22), 0 1px 0 rgba(212, 175, 55, 0.7); }
}

header {
    background-color: rgba(0, 0, 0, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-gold);
    backdrop-filter: blur(16px);
    animation: borderPulse 4s ease-in-out infinite;
    transition: background-color 0.3s;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;   /* vertical alignment */
    gap: 14px;
}

.logo-icon {
    width: 56px;
    height: auto;
    opacity: 0.9;
    margin-top: -2px;      /* optical alignment tweak */
}

/* crow logo in header */
header .logo img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo:hover {
    transform: translateX(5px);
}

.logo-main {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--gold-primary);
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.logo-sub {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gold-secondary);
    letter-spacing: 5px;
    margin-top: -5px;
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--gold-light);
    font-weight: 300;
    letter-spacing: 2px;
    margin-top: 8px;
    opacity: 0.8;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: var(--gold-primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--gold-primary);
}

nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    display: inline-block;
    background: transparent;
    color: var(--gold-primary);
    padding: 14px 32px;
    border: 2px solid var(--gold-primary);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
    border-color: var(--gold-secondary);
}

.btn-primary {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-primary));
    color: var(--primary-black);
    border: none;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-secondary));
    color: var(--primary-black);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

/* Hero Section */
.hero {
    padding: 200px 0 120px;
    background: linear-gradient(135deg, var(--primary-black) 0%, #111111 100%);
    position: relative;
    overflow: hidden;
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 215, 0, 0.03) 10px,
            rgba(255, 215, 0, 0.03) 20px
        );
    animation: backgroundShift 20s linear infinite;
}

@keyframes backgroundShift {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 100px 100px, -100px -100px, 100px 100px;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.8rem;
    line-height: 1.2;
    color: var(--text-white);
}

.hero p {
    font-size: 1.3rem;
    color: var(--light-gray);
    margin-bottom: 3rem;
    max-width: 650px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 1.2rem;
}

.section-title p {
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Preview */
.services-preview {
    padding: 120px 0;
    background-color: var(--secondary-black);
    position: relative;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Service Cards - Base Styles */
.service-card {
    background: linear-gradient(145deg, var(--card-bg) 0%, rgba(30, 30, 30, 0.95) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-gold);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold-primary), var(--gold-secondary));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s;
}

.service-card:hover::after {
    transform: scaleY(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.15), 0 0 60px rgba(255, 215, 0, 0.05);
    border-color: var(--gold-primary);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    min-height: 60px;
    line-height: 1.3;
}

.service-card p {
    color: var(--light-gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Why Choose Us */
.why-choose-us {
    padding: 120px 0;
    background-color: var(--primary-black);
    position: relative;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-secondary), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-gold);
    transition: all 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.1);
    border-color: var(--gold-primary);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--gold-primary);
    margin-bottom: 2rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--text-white);
}

.feature-card p {
    color: var(--light-gray);
    line-height: 1.7;
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background-color: var(--secondary-black);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    line-height: 1;
}

.stat-label {
    color: var(--light-gray);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-black) 0%, #111111 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    color: var(--text-white);
}

.cta p {
    color: var(--light-gray);
    margin-bottom: 3rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Footer */
footer {
    background-color: var(--secondary-black);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-gold);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-main {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.footer-logo .logo-sub {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-logo .logo-tagline {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-white);
    font-family: 'Orbitron', sans-serif;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.footer-links ul li a:hover {
    color: var(--gold-primary);
    transform: translateX(5px);
}

.footer-links ul li a::before {
    content: '▸';
    color: var(--gold-primary);
    margin-right: 10px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-links ul li a:hover::before {
    opacity: 1;
}

.footer-contact p {
    color: var(--light-gray);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-contact i {
    margin-right: 12px;
    color: var(--gold-primary);
    width: 20px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--card-bg);
    color: var(--gold-primary);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--border-gold);
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--gold-primary);
    color: var(--primary-black);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-gold);
    color: var(--light-gray);
    font-size: 0.9rem;
    opacity: 0.8;
}

.security-notice {
    margin-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ======================================== */
/* SERVICES PAGE SPECIFIC STYLES */
/* ======================================== */

/* Services Hero */
.services-hero, .about-hero, .contact-hero {
    padding: 200px 0 100px;
    background: linear-gradient(135deg, var(--primary-black) 0%, #111111 100%);
}

/* Services Tabs Section - CRITICAL FOR SERVICES PAGE */
.services-tabs-section {
    padding: 40px 0;
    background-color: var(--secondary-black);
    position: sticky;
    top: 80px;
    z-index: 900;
    border-bottom: 1px solid var(--border-gold);
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--border-gold);
    color: var(--light-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-primary));
    color: var(--primary-black);
    border-color: var(--gold-primary);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

/* Service Categories - MUST BE HIDDEN BY DEFAULT */
.service-category {
    display: none;
    padding: 80px 0;
    animation: fadeInUp 0.6s ease;
}

.service-category.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Category Header */
.category-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.category-icon {
    font-size: 3.5rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.category-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-white);
    position: relative;
    display: inline-block;
}

.category-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.category-subtitle {
    color: var(--light-gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 2rem auto 0;
    opacity: 0.9;
    line-height: 1.6;
}

/* Service Badges - CRITICAL FOR VISUAL SEPARATION */
.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.service-badge.offensive {
    background: linear-gradient(45deg, var(--offensive-red), #ff6b6b);
    color: white;
    border: 1px solid rgba(255, 68, 68, 0.4);
}

.service-badge.defensive {
    background: linear-gradient(45deg, var(--defensive-blue), #6ba8ff);
    color: white;
    border: 1px solid rgba(68, 150, 255, 0.4);
}

.service-badge.additional {
    background: linear-gradient(45deg, var(--additional-green), #8dff6b);
    color: black;
    border: 1px solid rgba(104, 255, 68, 0.4);
}

.service-card:hover .service-badge {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Service Scope Tags */
.service-scope {
    color: var(--gold-light);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-scope span {
    background: rgba(255, 215, 0, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 0.8rem;
}

/* Service Highlights */
.service-highlights {
    margin: 1.5rem 0;
    flex-grow: 1;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--light-gray);
    font-size: 0.95rem;
    transition: transform 0.3s;
}

.highlight:hover {
    transform: translateX(5px);
}

.highlight i {
    color: var(--gold-primary);
    margin-top: 3px;
    font-size: 0.9rem;
    min-width: 20px;
}

/* Service CTA Button */
.service-cta {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.service-cta .btn {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 0.9rem;
    letter-spacing: 1.2px;
}

/* Service Comparison Table */
.service-comparison {
    padding: 100px 0;
    background-color: var(--secondary-black);
    position: relative;
}

.service-comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.comparison-subtitle {
    color: var(--light-gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.comparison-table {
    background: linear-gradient(145deg, var(--card-bg) 0%, rgba(30, 30, 30, 0.95) 100%);
    border-radius: 16px;
    border: 1px solid var(--border-gold);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border-gold);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background-color: rgba(0, 0, 0, 0.3);
}

.comparison-cell {
    padding: 25px;
    color: var(--light-gray);
    border-right: 1px solid var(--border-gold);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background-color 0.3s;
}

.comparison-cell:last-child {
    border-right: none;
}

.comparison-row:hover .comparison-cell {
    background-color: rgba(255, 215, 0, 0.05);
}

.comparison-row.header .comparison-cell {
    text-align: center;
}

.comparison-row.header .comparison-cell h4 {
    color: var(--gold-primary);
    font-size: 1.4rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.comparison-row.header .comparison-cell h4 i {
    font-size: 1.6rem;
}

.comparison-row.header .comparison-cell p {
    color: var(--light-gray);
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
}

.comparison-row .comparison-cell:first-child {
    font-weight: 600;
    color: var(--text-white);
    background-color: rgba(0, 0, 0, 0.2);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

/* ======================================== */
/* CONTACT PAGE SPECIFIC STYLES */
/* ======================================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding: 100px 0;
}

.contact-form {
    background: linear-gradient(145deg, var(--card-bg) 0%, rgba(30, 30, 30, 0.95) 100%);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid var(--border-gold);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
}

.contact-form h2 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.contact-form p {
    color: var(--light-gray);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Form Group Enhancements */
.form-group {
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-white);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.form-group .required {
    color: var(--gold-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--gold-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.6);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Select Arrow Customization */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 45px;
}

/* Character Counter */
.char-count {
    text-align: right;
    font-size: 0.85rem;
    color: var(--light-gray);
    opacity: 0.7;
    margin-top: 8px;
}

/* Form Notice */
.form-notice {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(26, 26, 26, 0.8));
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 20px;
    color: var(--gold-light);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    backdrop-filter: blur(10px);
    margin-top: 10px;
}

.form-notice i {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-notice strong {
    color: var(--gold-primary);
    display: block;
    margin-bottom: 5px;
}

.form-notice small {
    opacity: 0.8;
    font-size: 0.85rem;
}

/* Submit Button Container */
.form-submit {
    position: relative;
    margin-top: 2rem;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-primary));
    border: none;
    border-radius: 4px;
    color: var(--primary-black);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
    cursor: not-allowed;
}

.loading-spinner i {
    font-size: 1.3rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contact Info */
.contact-info {
    padding: 1rem 0;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--light-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-gold);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-right: 1.5rem;
    margin-top: 0.2rem;
    min-width: 40px;
}

.info-content h4 {
    margin-bottom: 0.8rem;
    color: var(--text-white);
    font-size: 1.3rem;
}

.info-content p {
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1rem;
}

/* WhatsApp Link Styling */
.social-links a[href*="whatsapp"] {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
}

.social-links a[href*="whatsapp"]:hover {
    background: linear-gradient(45deg, #128C7E, #075E54);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* ======================================== */
/* ABOUT PAGE SPECIFIC STYLES */
/* ======================================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 100px 0;
}

.about-image {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-gray) 100%);
    border-radius: 15px;
    height: 400px;
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.about-image i {
    font-size: 12rem;
    color: var(--gold-primary);
    opacity: 0.15;
    z-index: 1;
}

.placeholder-text {
    position: absolute;
    bottom: 2rem;
    color: var(--gold-light);
    font-size: 1.2rem;
    opacity: 0.7;
    z-index: 1;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

.about-text h2 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.about-text p {
    color: var(--light-gray);
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    padding: 100px 0;
}

.mission-card, .vision-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-gray) 100%);
    border-radius: 15px;
    padding: 3.5rem;
    border: 1px solid var(--border-gold);
    transition: all 0.4s;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
    border-color: var(--gold-primary);
}

.mission-card h3, .vision-card h3 {
    color: var(--gold-primary);
    margin-bottom: 2rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mission-card p, .vision-card p {
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* ======================================== */
/* RESPONSIVE STYLES */
/* ======================================== */

@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .category-header h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    /* contact grid now inline — override for mobile */
    .container[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .comparison-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .comparison-row.header .comparison-cell:first-child {
        display: none;
    }
    
    .comparison-cell:first-child {
        grid-column: 1 / -1;
        background-color: rgba(0, 0, 0, 0.3);
        font-weight: 700;
        text-align: center;
        border-bottom: 1px solid var(--border-gold);
    }
    
    .comparison-cell:not(:first-child) {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1.2rem 0;
    }

    header .logo img {
        width: 44px;
        height: 44px;
    }

    .logo {
        gap: 8px;
    }

    .logo-tagline {
        display: none;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 1.5rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-top: 1px solid var(--border-gold);
        border-bottom: 1px solid var(--border-gold);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 1.2rem 0;
        width: 100%;
    }
    
    nav ul li a {
        font-size: 1.1rem;
        padding: 10px 0;
        display: block;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 160px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .services-preview, .why-choose-us, .cta, .stats, .service-comparison {
        padding: 80px 0;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-cell {
        border-right: none;
        border-bottom: 1px solid var(--border-gold);
        text-align: center;
    }
    
    .comparison-cell:last-child {
        border-bottom: none;
    }
    
    .services-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .services-tabs-section {
        position: relative;
        top: 0;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .mission-card, .vision-card {
        padding: 2.5rem;
    }
    
    .about-image {
        height: 300px;
    }
    
    .about-image i {
        font-size: 8rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .logo-main {
        font-size: 2rem;
    }
    
    .logo-sub {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    .service-card, .feature-card {
        padding: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
        min-height: auto;
    }
    
    .service-icon, .feature-icon {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .cta h2 {
        font-size: 2.2rem;
    }
    
    .category-header h2 {
        font-size: 2.2rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .contact-form h2 {
        font-size: 2rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .info-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .info-icon {
        margin-right: 0;
    }
    
    .about-text h2 {
        font-size: 2.2rem;
    }
}

/* ======================================== */
/* ANIMATION CLASSES FOR JAVASCRIPT */
/* ======================================== */

.animated {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.page-loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Ripple effect for buttons */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Form Validation Styles */
input:valid, textarea:valid, select:valid {
    border-color: rgba(104, 255, 68, 0.3);
}

input:invalid:not(:focus):not(:placeholder-shown),
textarea:invalid:not(:focus):not(:placeholder-shown),
select:invalid:not(:focus) {
    border-color: rgba(255, 68, 68, 0.3);
}

.error-message {
    color: var(--offensive-red);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

/* ======================================== */
/* MOBILE MENU SPECIFIC STYLES - ADD AT BOTTOM */
/* ======================================== */

@media (max-width: 768px) {
    /* Force show mobile menu button */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        width: 44px;
        height: 44px;
        padding: 0;
    }
    
    /* Hide regular navigation */
    nav ul {
        position: fixed !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        max-height: 0;
        background-color: rgba(0, 0, 0, 0.98) !important;
        flex-direction: column !important;
        padding: 0 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        border-top: 1px solid var(--border-gold) !important;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
    }
    
    /* Show mobile menu when active */
    nav ul.active {
        max-height: 500px;
        padding: 1.5rem 0 !important;
        opacity: 1;
        visibility: visible;
        display: flex !important;
        transform: translateY(0);
    }
    
    /* Mobile menu items */
    nav ul li {
        margin: 0 !important;
        text-align: center;
        padding: 0 !important;
        width: 100% !important;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    nav ul.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    nav ul li:nth-child(1) { transition-delay: 0.1s; }
    nav ul li:nth-child(2) { transition-delay: 0.15s; }
    nav ul li:nth-child(3) { transition-delay: 0.2s; }
    nav ul li:nth-child(4) { transition-delay: 0.25s; }
    nav ul li:nth-child(5) { transition-delay: 0.3s; }
    
    nav ul li a {
        font-size: 1.1rem !important;
        padding: 1rem 0 !important;
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    nav ul li:last-child a {
        border-bottom: none;
        margin-top: 1rem;
        padding: 1rem !important;
    }
    
    nav ul li a:hover {
        background-color: rgba(255, 215, 0, 0.1);
        color: var(--gold-primary) !important;
    }
    
    /* Adjust header for mobile */
    header {
        padding: 0.5rem 0;
    }
    
    .header-container {
        padding: 0.8rem 0 !important;
    }
    
    /* Adjust logo for mobile */
    .logo-main {
        font-size: 1.8rem !important;
    }
    
    .logo-sub {
        font-size: 0.9rem !important;
        letter-spacing: 3px !important;
    }
    
    .logo-tagline {
        display: none !important;
    }

    /* Adjust hero for mobile */
    .hero {
        padding: 150px 0 80px !important;
    }
    
    .hero h1 {
        font-size: 2.2rem !important;
    }
    
    .hero p {
        font-size: 1.1rem !important;
    }
    
    /* Mobile menu backdrop */
    .mobile-menu-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-menu-backdrop.active {
        display: block;
        opacity: 1;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .logo-main {
        font-size: 1.6rem !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
    }
    
    .service-card, .feature-card {
        padding: 1.5rem !important;
    }
    
    .btn {
        padding: 12px 24px !important;
        font-size: 0.85rem !important;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .mobile-menu-btn {
        cursor: pointer;
    }
    
    nav ul {
        -webkit-overflow-scrolling: touch;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Mobile menu animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav ul.active li {
    animation: fadeInDown 0.3s ease forwards;
}

/* Ripple effect for mobile menu button */
.mobile-menu-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.mobile-menu-btn:active::after {
    transform: scale(1);
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
    .btn, 
    .tab-btn,
    .service-card .btn,
    .feature-card .btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    input, 
    select, 
    textarea {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
    }
}

/* ======================================== */
/* TRAINING PAGE SPECIFIC STYLES */
/* ======================================== */

.training-hero {
    padding: 200px 0 100px;
    background: linear-gradient(135deg, var(--primary-black) 0%, #111111 100%);
}

.training-filter-section {
    padding: 40px 0;
    background-color: var(--secondary-black);
    position: sticky;
    top: 80px;
    z-index: 900;
    border-bottom: 1px solid var(--border-gold);
}

.training-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--border-gold);
    color: var(--light-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.filter-btn:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-primary));
    color: var(--primary-black);
    border-color: var(--gold-primary);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.training-grid-section {
    padding: 80px 0;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.training-card {
    background: linear-gradient(145deg, var(--card-bg) 0%, rgba(30, 30, 30, 0.95) 100%);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-gold);
    position: relative;
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.15), 0 0 60px rgba(255, 215, 0, 0.05);
    border-color: var(--gold-primary);
}

.training-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.training-badge.offensive {
    background: linear-gradient(45deg, var(--offensive-red), #ff6b6b);
    color: white;
}

.training-badge.defensive {
    background: linear-gradient(45deg, var(--defensive-blue), #6ba8ff);
    color: white;
}

.training-badge.analysis {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
    color: white;
}

.training-badge.cloud {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
}

.training-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(26, 26, 26, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.training-image i {
    font-size: 5rem;
    color: var(--gold-primary);
    opacity: 0.3;
    transition: all 0.3s;
}

.training-card:hover .training-image i {
    opacity: 0.5;
    transform: scale(1.1);
}

.trainer-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--gold-primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border-gold);
}

.training-content {
    padding: 2rem;
}

.training-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    line-height: 1.4;
}

.training-tagline {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.training-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold-light);
    font-size: 0.9rem;
}

.training-meta i {
    margin-right: 5px;
}

.training-content .btn {
    width: 100%;
    text-align: center;
}

/* Training Modal */
.training-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.training-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(145deg, var(--card-bg) 0%, rgba(30, 30, 30, 0.98) 100%);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-body {
    padding: 3rem;
}

/* ======================================== */
/* BLOG PAGE SPECIFIC STYLES */
/* ======================================== */

.blog-hero {
    padding: 200px 0 100px;
    background: linear-gradient(135deg, var(--primary-black) 0%, #111111 100%);
}

.blog-categories {
    padding: 40px 0;
    background-color: var(--secondary-black);
    border-bottom: 1px solid var(--border-gold);
}

.categories-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 10px 24px;
    background: transparent;
    border: 2px solid var(--border-gold);
    color: var(--light-gray);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.category-btn:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-primary));
    color: var(--primary-black);
    border-color: var(--gold-primary);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.blog-grid-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: linear-gradient(145deg, var(--card-bg) 0%, rgba(30, 30, 30, 0.95) 100%);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-gold);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.15), 0 0 60px rgba(255, 215, 0, 0.05);
    border-color: var(--gold-primary);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(26, 26, 26, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-image i {
    font-size: 5rem;
    color: var(--gold-primary);
    opacity: 0.3;
    transition: all 0.3s;
}

.blog-card:hover .blog-image i {
    opacity: 0.5;
    transform: scale(1.1);
}

.blog-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.blog-category-tag.offensive {
    background: linear-gradient(45deg, var(--offensive-red), #ff6b6b);
    color: white;
}

.blog-category-tag.defensive {
    background: linear-gradient(45deg, var(--defensive-blue), #6ba8ff);
    color: white;
}

.blog-category-tag.threat-intel {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
    color: white;
}

.blog-category-tag.practices {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    color: white;
}

.blog-category-tag.research {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gold-light);
    flex-wrap: wrap;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    line-height: 1.4;
}

.blog-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-content h3 a:hover {
    color: var(--gold-primary);
}

.blog-content p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.blog-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-tags span {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold-light);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-black) 0%, #111111 100%);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.newsletter-text p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-light);
    font-size: 0.9rem;
}

.privacy-note i {
    color: var(--gold-primary);
}

.newsletter-form .form-group {
    margin-bottom: 1.5rem;
}

.newsletter-form input,
.newsletter-form select {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.newsletter-form input:focus,
.newsletter-form select:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.6);
}

.security-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    color: var(--gold-light);
}

.disclaimer {
    margin-top: 1rem;
    color: var(--light-gray);
    opacity: 0.7;
    font-style: italic;
}

/* ======================================== */
/* RESPONSIVE ADJUSTMENTS */
/* ======================================== */

@media (max-width: 992px) {
    .training-grid,
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .privacy-note {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .training-filters,
    .categories-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn,
    .category-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .training-filter-section {
        position: relative;
        top: 0;
    }
    
    .modal-body {
        padding: 2rem;
    }
    
    .training-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .training-content,
    .blog-content {
        padding: 1.5rem;
    }
    
    .training-content h3,
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    .training-meta,
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

/* ======================================== */
/* SECURITY HARDENING STYLES */
/* ======================================== */

/* Hide hidden honeypot fields */
input[type="text"][style*="display:none"],
input[type="text"][style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Secure focus indicators */
*:focus {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

/* Print protection */
@media print {
    .training-filter-section,
    .training-filters,
    .blog-categories,
    .categories-nav,
    .newsletter,
    .social-links,
    .modal-content,
    .training-modal,
    .training-badge,
    .blog-category-tag {
        display: none !important;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced training image styles for SVG posters */
.training-image {
    height: 250px; /* Increase height for better poster display */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 26, 26, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.training-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keeps aspect ratio, shows full poster */
    padding: 20px;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.training-card:hover .training-image img {
    transform: scale(1.05);
}

/* Modal poster display */
.modal-poster {
    width: 100%;
    margin-bottom: 2rem;
    text-align: center;
}

.modal-poster-img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* For responsive poster display */
@media (max-width: 768px) {
    .training-image {
        height: 200px;
    }
    
    .modal-poster-img {
        max-height: 300px;
    }
}

/* About Story Section Specific Fix */
.about-story-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-story-wrapper .about-image {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-gray) 100%);
    border-radius: 15px;
    height: 400px;
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.about-story-wrapper .about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.about-story-wrapper .about-image i {
    font-size: 12rem;
    color: var(--gold-primary);
    opacity: 0.15;
    z-index: 1;
}

.about-story-wrapper .about-text {
    padding: 1rem 0;
}

.about-story-wrapper .about-text h2 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.about-story-wrapper .about-text p {
    color: var(--light-gray);
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* For mobile responsiveness */
@media (max-width: 992px) {
    .about-story-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .about-story-wrapper .about-image {
        height: 300px;
        order: -1; /* Put image first on mobile */
    }
    
    .about-story-wrapper .about-image i {
        font-size: 8rem;
    }
    
    .about-story-wrapper .about-text h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-story-wrapper .about-text h2 {
        font-size: 2.2rem;
    }
    
    .about-story-wrapper .about-text p {
        font-size: 1rem;
    }
}