:root {
    /* Color Palette - Cyber Luxe (Dark Mode - Distinctive) */
    --bg-deep: #02020a;
    --bg-dark: #050515;
    --bg-card: rgba(10, 10, 30, 0.8);
    --primary: #00f2ff; /* Electric Cyan */
    --secondary: #7000ff; /* Deep Neon Purple */
    --accent: #ff00c8; /* Plasma Pink */
    --success: #00ff88; /* Cyber Green */
    --warning: #ffb800; /* Cyber Gold */
    --text-main: #e2e8f0;
    --text-dim: #94a3b8;
    --text-bright: #ffffff;
    
    /* Dynamic Shadows & Borders */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px -5px rgba(0, 242, 255, 0.15);
    --glass-border: rgba(0, 242, 255, 0.2);
    --glow-primary: 0 0 20px rgba(0, 242, 255, 0.5);
    --grad-linear: linear-gradient(135deg, var(--primary), var(--secondary));
    --grad-glow: linear-gradient(90deg, var(--primary), var(--accent));
    
    --container-width: 1200px;
    --header-height: 70px;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-mode {
    /* Color Palette - Professional Luxe (Light Mode) */
    --bg-deep: #f8fafc;
    --bg-dark: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --primary: #2563eb;
    --secondary: #7c3aed;
    --accent: #db2777;
    --text-main: #1e293b;
    --text-dim: #64748b;
    --text-bright: #0f172a;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --glass-border: rgba(37, 99, 235, 0.1);
    --glow-primary: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, transform 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--text-bright);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--grad-linear);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Section Common */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--grad-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-deep);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid var(--glass-border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loader-text {
    margin-top: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 5px;
    color: var(--primary);
}

/* Header */
.site-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 2, 10, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

body.light-mode .site-header {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.site-header.scrolled {
    height: 70px;
    background: var(--bg-deep);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    width: 45px;
    height: 45px;
    transition: var(--transition);
    filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.3));
}

.logo:hover .logo-svg {
    transform: rotate(5deg) scale(1.1);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-bright);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--primary);
}

.logo img {
    display: none; /* Removed old logo image support */
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 500;
}

.main-nav a:hover, .main-nav li.active a {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#theme-toggle {
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        padding: 100px 2rem;
        transition: 0.5s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    .main-nav a {
        font-size: 1.2rem;
    }
}

/* Hero Section Update */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    background: var(--bg-deep);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-btns {
        justify-content: center;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--primary);
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-bright), var(--text-dim));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
}

body.light-mode .hero-content h1 {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-btns .btn i {
    margin-left: 10px;
    transition: 0.3s;
}

.hero-btns .btn:hover i {
    transform: translateX(5px);
}

/* Hero Visual & Floating Elements */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1/1;
}

.tech-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px dashed var(--glass-border);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    opacity: 0.8;
    filter: drop-shadow(0 0 30px rgba(0, 242, 255, 0.4));
    animation: blobby 10s ease-in-out infinite alternate;
}

@keyframes blobby {
    0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    100% { transform: translate(-50%, -50%) scale(1.1) rotate(5deg); }
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    animation: float_hero 4s ease-in-out infinite;
    z-index: 5;
}

.floating-card i {
    color: var(--primary);
    font-size: 1.2rem;
}

.floating-card span {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    white-space: nowrap;
}

.c1 { top: 10%; right: -5%; animation-delay: 0s; }
.c2 { bottom: 20%; left: -10%; animation-delay: 1s; }
.c3 { top: 50%; right: -15%; animation-delay: 2s; }

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

/* Background Decorative Icons */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.glow-sphere {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.15) 0%, transparent 70%);
    filter: blur(50px);
}

.floating-icons i {
    position: absolute;
    color: var(--primary);
    opacity: 0.1;
    font-size: 2rem;
    animation: pulse_hero 4s infinite ease-in-out;
}

.icon-1 { top: 15%; left: 10%; animation-delay: 0s; }
.icon-2 { bottom: 15%; left: 20%; animation-delay: 1s; }
.icon-3 { top: 25%; right: 15%; animation-delay: 2s; }
.icon-4 { bottom: 25%; right: 25%; animation-delay: 3s; }

@keyframes pulse_hero {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.2); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--primary); /* Added border for distinctiveness */
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.2);
    position: relative;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 242, 255, 0.4);
    border-color: var(--accent);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-deep);
    box-shadow: 0 0 20px var(--primary);
}

.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px var(--primary);
    animation: glow_pulse 2s infinite alternate;
}

.btn-glow:hover {
    box-shadow: 0 0 25px var(--primary);
}

@keyframes glow_pulse {
    from { box-shadow: 0 0 10px var(--primary); }
    to { box-shadow: 0 0 20px var(--primary), 0 0 30px var(--secondary); }
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
}

.btn-glow:hover::after {
    opacity: 1;
}

@keyframes glow {
    from { box-shadow: 0 0 5px var(--primary); }
    to { box-shadow: 0 0 12px var(--primary); }
}

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

.service-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--grad-linear);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Stats Section */
.stats-section {
    background: var(--bg-dark);
    padding: 80px 0;
}

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

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-dim);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.process-item {
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.process-step {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--grad-linear);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.process-item h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

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

.testimonial-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.testimonial-card i.quote {
    font-size: 2rem;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 20px;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-main);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-dark);
}

.author-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(rgba(2, 2, 10, 0.9), rgba(2, 2, 10, 0.9)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
}

body.light-mode .newsletter-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1200&q=80');
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: var(--text-bright);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--text-dim);
}

body.light-mode .newsletter-content h2 {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    color: var(--text-bright);
    border-radius: 4px;
}

body.light-mode .newsletter-form input {
    background: #ffffff;
    color: var(--text-main);
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* Footer */
.site-footer {
    padding: 80px 0 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: var(--text-dim);
}

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

.social-links a {
    width: 35px;
    height: 35px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--primary);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-nav h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer-nav ul li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.footer-nav a:hover {
    color: var(--primary);
}

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

/* About Page Enhanced Styles */
.about-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(2, 2, 10, 0.8), rgba(2, 2, 10, 0.8)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

body.light-mode .about-hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80');
}

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

.about-quote {
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-bright);
}

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

.mini-stat {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.mini-stat h4 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

.mv-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.mv-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-content, .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Enhanced */
.contact-hero {
    height: 40vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(2, 2, 10, 0.8), rgba(2, 2, 10, 0.8)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

body.light-mode .contact-hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80');
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.cyber-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

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

.form-group label {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    color: var(--text-bright);
    border-radius: 4px;
}

body.light-mode .form-group input, 
body.light-mode .form-group textarea {
    background: #ffffff;
    color: var(--text-main);
}

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

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* RTL Support Basics */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .main-nav {
    left: -100%;
    right: auto;
}

[dir="rtl"] .main-nav.active {
    left: 0;
    right: auto;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--grad-linear);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 242, 255, 0.5);
}

/* Footer Responsive Adjustments */
/* Tablet (<= 1024px): 2 columns */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 columns */
        gap: 3rem; /* Slightly reduced gap for better spacing */
    }
}

/* Mobile (<= 768px): 1 column */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Mobile: 1 column */
        gap: 2.5rem; /* Adjusted gap */
    }
}

/* Adjustments for other grids */
@media (max-width: 600px) {
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* Added Styles for Missing Selectors */

/* Styles for mobile navigation bars (hamburger icon) */
.icon-bar {
    display: block;
    width: 24px; /* Standard width for hamburger icon */
    height: 3px; /* Thickness of the bar */
    background-color: var(--primary); /* Use primary color */
    margin: 4px auto; /* Auto margin for centering, 4px vertical spacing */
    border-radius: 2px;
    transition: var(--transition);
}

/* Padding for main content - Adjusted to remove gap */
.page-content-wrapper {
    padding-top: 0; /* Handled by individual section paddings */
}

/* Tech Ticker Bar */
.tech-ticker-bar {
    height: 25px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: var(--header-height);
    width: 100%;
    z-index: 999;
    display: flex;
    align-items: center;
    overflow: hidden;
    backdrop-filter: blur(10px);
    margin: 0;
    padding: 0;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker_move 30s linear infinite;
}

.ticker-item {
    padding: 0 2rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.ticker-item span {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px var(--success);
}

@keyframes ticker_move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

body.light-mode .tech-ticker-bar {
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Adjusting sections to account for ticker - ensuring NO GAPS */
.hero-section, .about-hero, .products-hero, .contact-hero, .product-detail-section {
    padding-top: calc(var(--header-height) + 25px);
    margin-top: 0;
}

.page-content-wrapper {
    padding-top: 0;
    margin-top: 0;
}

/* Explicit styles for sticky header */
.sticky-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-dark);
    backdrop-filter: blur(20px);
    border-bottom: none;
    transition: var(--transition);
}

/* Footer Section Styles */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to the left */
}
.footer-brand a.footer-logo img { /* Target logo specifically within brand */
    height: 50px; /* Adjust logo size if needed for footer */
    margin-bottom: 1rem;
    object-fit: contain;
}
.footer-brand p { /* Paragraph text style */
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Footer Navigation and Contact Sections */
.footer-nav h4,
.footer-services h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
}
.footer-nav ul li,
.footer-services ul li {
    margin-bottom: 0.8rem;
}
.footer-nav a,
.footer-services a {
    color: var(--text-dim);
    transition: color 0.3s ease;
}
.footer-nav a:hover,
.footer-services a:hover {
    color: var(--primary);
    text-decoration: underline;
}
.footer-contact p {
    margin-bottom: 1rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Space between icon and text */
}
.footer-contact i {
    color: var(--primary); /* Icon color */
    min-width: 20px; /* Ensure icons align */
    text-align: center;
}

/* Separator for footer bottom text */
.divider {
    color: var(--text-dim);
    margin: 0 0.75rem;
    opacity: 0.7;
}
/* New styles for missing selectors from index.php */

/* Message for empty product list */
.empty-msg {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-top: 2rem;
    grid-column: 1 / -1; /* Span across all columns in a grid context if it were inside one */
}

/* Card displayed when database is unavailable */
.db-unavailable-card {
    grid-column: 1 / -1; /* Span across all columns */
    text-align: center;
    background: rgba(255, 0, 0, 0.1); /* Reddish tint for error indication */
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b; /* Reddish text */
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
}
.db-unavailable-card i {
    font-size: 2.5rem;
    color: #ff6b6b;
}