/* ============================================
   Zerowall Cybersecurity Company
   Modern Dark Theme CSS
   ============================================ */

:root {
    --cyber-black: #0a0a0a;
    --cyber-dark: #111827;
    --cyber-blue: #00a3ff;
    --cyber-green: #00ff88;
    --cyber-purple: #6c63ff;
    --cyber-red: #ff4757;
    --cyber-glow: rgba(0, 163, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--cyber-black);
    color: #ffffff;
    font-family: 'Poppins', 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.cyber-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--cyber-green));
    margin: 1rem auto;
    border-radius: 3px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar-scrolled {
    background: #0a0a0a;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 163, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
}

.nav-link {
    color: #ffffff !important;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--cyber-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--cyber-green));
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   Buttons
   ============================================ */
.btn-cyber {
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-green));
    border: none;
    color: #000000;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 40px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cyber:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--cyber-glow);
    color: #000000;
}

.btn-outline-cyber {
    background: transparent;
    border: 2px solid var(--cyber-blue);
    color: var(--cyber-blue);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 40px;
    transition: var(--transition);
}

.btn-outline-cyber:hover {
    background: var(--cyber-blue);
    color: #000000;
    transform: translateY(-2px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #0f0f1a 50%, #1a1a2e 100%);
    overflow: hidden;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.cyber-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(0deg, 
            transparent, 
            transparent 2px, 
            rgba(0, 163, 255, 0.03) 2px, 
            rgba(0, 163, 255, 0.03) 4px),
        radial-gradient(circle at 20% 50%, rgba(0, 163, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(0, 163, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyber-blue);
    box-shadow: 0 20px 40px rgba(0, 163, 255, 0.15);
}

.service-card i {
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
}

/* ============================================
   Contact Form
   ============================================ */
.form-control {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(0, 163, 255, 0.2);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.form-control:focus {
    background: #111827;
    border-color: var(--cyber-blue);
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.1);
    color: #ffffff;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--cyber-blue);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(0, 163, 255, 0.1);
    margin-top: auto;
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: var(--cyber-blue) !important;
    transform: translateX(5px);
}

/* ============================================
   WhatsApp Float Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* ============================================
   RTL Support
   ============================================ */
.rtl-mode {
    direction: rtl;
    text-align: right;
}

.rtl-mode .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.rtl-mode .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

.rtl-mode .ms-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

.rtl-mode .whatsapp-float {
    right: auto;
    left: 30px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(0, 163, 255, 0.2);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 163, 255, 0.6);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .language-switcher {
        text-align: center;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .rtl-mode .whatsapp-float {
        left: 20px;
        right: auto;
    }
}

@media (max-width: 576px) {
    .hero-section .container {
        padding-top: 80px;
    }
    
    .btn-cyber {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ============================================
   Scrollbar Styling
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-green));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyber-blue);
}