/* ===============================================
   Anexg Tech - Dark Cosmic Neon IT Theme
   =============================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00f0ff;
    --secondary-color: #b400ff;
    --accent-color: #39ff14;
    --neon-pink: #ff006e;
    --neon-orange: #ff6b35;
    --dark-color: #e0e0ff;
    --light-color: rgba(255, 255, 255, 0.04);
    --text-color: #c8c8e0;
    --text-muted: #8888aa;
    --white: #ffffff;
    --bg-deep: #06060f;
    --bg-primary: #0a0a1a;
    --bg-secondary: #0d0d2b;
    --bg-card: rgba(15, 15, 40, 0.8);
    --bg-card-hover: rgba(20, 20, 55, 0.9);
    --border-color: rgba(0, 240, 255, 0.1);
    --border-glow: rgba(0, 240, 255, 0.3);
    --gradient: linear-gradient(135deg, #00f0ff 0%, #b400ff 100%);
    --gradient-bg: linear-gradient(135deg, #0a0a1a 0%, #0d0d2b 50%, #1a0a2e 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(180, 0, 255, 0.05));
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-neon: 0 0 20px rgba(0, 240, 255, 0.15);
    --shadow-neon-strong: 0 0 40px rgba(0, 240, 255, 0.3);
    --glow-cyan: 0 0 15px rgba(0, 240, 255, 0.5);
    --glow-purple: 0 0 15px rgba(180, 0, 255, 0.5);
    --glow-green: 0 0 15px rgba(57, 255, 20, 0.5);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-deep);
    overflow-x: hidden;
    position: relative;
}

/* Cosmic ambient glow */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(180, 0, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(57, 255, 20, 0.02) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

/* Circuit-board grid overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p { margin-bottom: 1rem; color: var(--text-color); }

a { text-decoration: none; color: inherit; transition: var(--transition); }

img { max-width: 100%; height: auto; display: block; }

strong { color: var(--primary-color); }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section { padding: 80px 0; position: relative; }

/* ===============================================
   HEADER - Glassmorphism
   =============================================== */
header {
    background: rgba(6, 6, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 240, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: var(--glow-cyan);
}

.logo img {
    height: 50px;
    margin-right: 10px;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
}

.nav-menu { display: flex; list-style: none; gap: 30px; align-items: center; }

.nav-menu li { position: relative; }

.nav-menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
    background: rgba(0, 240, 255, 0.08);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
    transform: translateX(-50%);
    box-shadow: var(--glow-cyan);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 70%;
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.08);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li { width: 100%; }

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 0;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: rgba(0, 240, 255, 0.08);
    color: var(--primary-color);
    padding-left: 25px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

/* ===============================================
   HERO - Cosmic Dark
   =============================================== */
.hero {
    background: var(--gradient-bg);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(0, 240, 255, 0.5), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(180, 0, 255, 0.4), transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(57, 255, 20, 0.3), transparent),
        radial-gradient(2px 2px at 80% 50%, rgba(0, 240, 255, 0.3), transparent),
        radial-gradient(1px 1px at 10% 80%, rgba(255, 0, 110, 0.3), transparent),
        radial-gradient(1px 1px at 90% 90%, rgba(0, 240, 255, 0.4), transparent),
        radial-gradient(2px 2px at 50% 50%, rgba(180, 0, 255, 0.2), transparent);
    animation: starField 30s linear infinite;
}

@keyframes starField {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -10px); }
    100% { transform: translate(0, 0); }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--bg-deep);
    clip-path: polygon(0 60%, 15% 40%, 30% 55%, 45% 35%, 60% 50%, 75% 30%, 90% 45%, 100% 25%, 100% 100%, 0 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 1s ease;
}

/* Hero Slider */
.hero-text-slider { position: relative; min-height: 200px; }

.hero-text-slider .text-slide { transition: opacity 0.8s ease-in-out; }

.hero-text-slider .text-slide h1 { white-space: normal; width: 100%; animation: none; border-right: none; }

.hero-text-slider .text-slide p { overflow: hidden; white-space: normal; display: inline-block; max-width: 100%; }

.hero-text-slider .text-slide.active p {
    animation: typing 3s steps(80, end) 0.3s forwards, blink 0.75s step-end 4 0.3s;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
}

.hero-text-slider .text-slide:not(.active) p { animation: none; border-right: none; white-space: normal; width: 100%; }

@keyframes typing { from { width: 0; } to { width: 100%; } }

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

@media (max-width: 768px) {
    .hero-text-slider .text-slide.active p {
        white-space: normal;
        animation: fadeIn 1s ease-in 0.3s forwards;
        border-right: none;
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #00f0ff 50%, #b400ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.85;
    color: rgba(200, 200, 224, 0.9);
}

/* ===============================================
   BUTTONS - Neon
   =============================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--bg-deep);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.5), 0 5px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
    transform: translateY(-3px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--neon-pink), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 0, 110, 0.5), 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* ===============================================
   SECTION HEADERS
   =============================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--white), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    box-shadow: var(--glow-cyan);
}

.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* ===============================================
   SERVICE CARDS - Glass Neon
   =============================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
    box-shadow: var(--glow-cyan);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-glow);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), var(--shadow-neon);
    background: var(--bg-card-hover);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    filter: drop-shadow(var(--glow-cyan));
}

.service-card h3 { color: var(--white); margin-bottom: 15px; }

.service-card p { color: var(--text-muted); line-height: 1.8; }

.service-card ul { list-style: none; margin-top: 15px; }

.service-card ul li {
    padding: 8px 0;
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
}

.service-card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    text-shadow: var(--glow-green);
}

/* ===============================================
   FEATURES
   =============================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-box:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-neon);
    transform: translateY(-5px);
}

.feature-box .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ===============================================
   ABOUT
   =============================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image { position: relative; animation: fadeInLeft 1s ease; }

.about-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 17px;
    background: var(--gradient);
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

.about-text { animation: fadeInRight 1s ease; }
.about-text h2 { color: var(--white); margin-bottom: 20px; }
.about-text p { color: var(--text-color); margin-bottom: 15px; line-height: 1.8; }

/* ===============================================
   STATS - Neon Counters
   =============================================== */
.stats-section {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(180, 0, 255, 0.08));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    color: var(--white);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-box h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box p { font-size: 1.1rem; color: var(--text-color); opacity: 0.9; }

/* ===============================================
   CONTACT
   =============================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info { animation: fadeInLeft 0.8s ease; }

.contact-item { display: flex; align-items: flex-start; margin-bottom: 30px; }

.contact-item .icon { font-size: 2rem; color: var(--primary-color); margin-right: 20px; }
.contact-item h4 { margin-bottom: 5px; color: var(--white); }
.contact-item p { color: var(--text-muted); }

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 15px;
    animation: fadeInRight 0.8s ease;
    backdrop-filter: blur(10px);
}

.form-group { margin-bottom: 20px; }

.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--white); }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(10, 10, 30, 0.6);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
    background: rgba(10, 10, 30, 0.8);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

/* ===============================================
   ANIMATIONS
   =============================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes neonPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 240, 255, 0.2), 0 0 10px rgba(0, 240, 255, 0.1); }
    50% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.4), 0 0 30px rgba(0, 240, 255, 0.2); }
}

.fade-in { animation: fadeInUp 0.8s ease; }

.scroll-animate { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.scroll-animate.active { opacity: 1; transform: translateY(0); }

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 992px) {
    .about-content, .contact-container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(6, 6, 15, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-top: 1px solid var(--border-color);
        padding: 20px 0;
        gap: 0;
    }
    
    .nav-menu.active { left: 0; }
    .mobile-menu-toggle { display: flex; }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 240, 255, 0.03);
        border: none;
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu { max-height: 400px; }
    .dropdown > a::after { content: ' \25BC'; font-size: 0.8em; }
    .dropdown.active > a::after { content: ' \25B2'; }
    
    .hero h1 { font-size: 2rem; }
    .section-header h2 { font-size: 2rem; }
    .services-grid, .features-grid { grid-template-columns: 1fr; }
}

/* ===============================================
   LOADING
   =============================================== */
.loading {
    display: inline-block;
    width: 20px; height: 20px;
    border: 3px solid rgba(0, 240, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.page-transition { animation: fadeIn 0.5s ease; }

/* ===============================================
   BREADCRUMB
   =============================================== */
.breadcrumb {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb ul { list-style: none; display: flex; gap: 10px; }
.breadcrumb ul li { color: var(--text-muted); }
.breadcrumb ul li::after { content: '/'; margin-left: 10px; color: rgba(0, 240, 255, 0.3); }
.breadcrumb ul li:last-child::after { content: ''; }
.breadcrumb ul li a { color: var(--primary-color); }

/* ===============================================
   SOFTWARE CARDS
   =============================================== */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.software-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    backdrop-filter: blur(10px);
}

.software-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-glow);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), var(--shadow-neon);
}

.software-logo { height: 80px; margin-bottom: 20px; object-fit: contain; }
.software-card h3 { color: var(--white); margin-bottom: 15px; }

.software-card .price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 15px 0;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.bg-light { 
    background: rgba(0, 240, 255, 0.02) !important;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.bg-white { background: var(--bg-card) !important; }

.bg-primary { 
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(180, 0, 255, 0.1));
    color: var(--white);
}

/* ===============================================
   SCROLLBAR
   =============================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary-color), var(--secondary-color)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* ===============================================
   SELECTION
   =============================================== */
::selection { background: rgba(0, 240, 255, 0.3); color: var(--white); }

/* ===============================================
   INLINE STYLE DARK OVERRIDES
   =============================================== */
[style*="color: #555"],
[style*="color: #666"],
[style*="color: #999"],
[style*="color:#555"],
[style*="color:#666"],
[style*="color:#999"],
[style*="color: #777"],
[style*="color: #333"] {
    color: var(--text-color) !important;
}

[style*="color: var(--dark-color)"] {
    color: var(--white) !important;
}

[style*="color: var(--primary-color)"] {
    color: var(--primary-color) !important;
}

[style*="background: white"],
[style*="background: #fff"],
[style*="background: #ffffff"],
[style*="background:#fff"],
[style*="background:#ffffff"],
[style*="background: #f8f9fa"] {
    background: var(--bg-card) !important;
}

[style*="border: 1px solid #ddd"],
[style*="border: 1px solid #f0f0f0"],
[style*="border-color: #ddd"] {
    border-color: var(--border-color) !important;
}

[style*="background: rgba(255,255,255"],
[style*="background: rgba(248,249,250"] {
    background: rgba(10, 10, 30, 0.92) !important;
}

/* Exempt images that need light backgrounds for visibility */
img[style*="background: rgba(255,255,255"] {
    background: rgba(255, 255, 255, 0.9) !important;
}

/* ===============================================
   CONTENT LINKS
   =============================================== */
.section a:not(.btn):not(.nav-link) { color: var(--primary-color); }
.section a:not(.btn):not(.nav-link):hover { color: var(--accent-color); text-shadow: 0 0 10px rgba(57, 255, 20, 0.3); }

hr { border: none; height: 1px; background: var(--gradient); opacity: 0.3; margin: 30px 0; }

/* Testimonials etc */
.testimonial-card,
[style*="background: #f8f9fa"],
[style*="background: var(--light-color)"] {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 15px;
}

.about-image img,
.service-card img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 240, 255, 0.1) !important;
}

/* Table */
table { width: 100%; border-collapse: collapse; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; }
th { background: rgba(0, 240, 255, 0.08); color: var(--primary-color); padding: 12px 15px; text-align: left; border-bottom: 2px solid var(--border-color); }
td { padding: 12px 15px; color: var(--text-color); border-bottom: 1px solid rgba(0, 240, 255, 0.05); }
tr:hover td { background: rgba(0, 240, 255, 0.03); }

ul li, ol li { color: var(--text-color); }

svg { fill: currentColor; }
