/* Color Palette and Variables */
:root {
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --accent-blue: #00d2ff;
    --accent-blue-hover: #00a8cc;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
    --header-bg: rgba(10, 10, 15, 0.7);
}

body.light-theme {
    --bg-dark: #f4f7f6;
    --bg-darker: #e2e8f0;
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --accent-blue: #0077b6;
    --accent-blue-hover: #023e8a;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --neon-shadow: 0 0 15px rgba(0, 119, 182, 0.3);
    --header-bg: rgba(244, 247, 246, 0.85);
}

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

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    position: relative;
    width: 100%;
}

/* Background Glow Effects */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}
.blue-glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 210, 255, 0.15);
    top: -100px;
    right: -100px;
}
.blue-glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 210, 255, 0.1);
    bottom: 20%;
    left: -200px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.accent-text {
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

/* Glass Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.theme-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.theme-toggle-btn:hover {
    color: var(--accent-blue);
    transform: rotate(15deg);
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-blue);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--bg-darker);
    box-shadow: var(--neon-shadow);
}

.btn-primary:hover {
    background: var(--accent-blue-hover);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: rgba(0, 210, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-darker) 100%);
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(135deg, rgba(0,210,255,0.03) 0%, transparent 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px 10px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-blue);
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

.stat-label {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.05);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.service-icon i {
    color: var(--accent-blue);
    filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.5));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(0,210,255,0.05) 100%);
    border-color: rgba(0, 210, 255, 0.2);
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-card > p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-info {
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 15px 40px;
}

/* FAQ Section */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 25px 30px;
    text-align: right;
}

.faq-item h3 {
    color: var(--accent-blue);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.faq-item p {
    color: var(--text-muted);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

/* SEO Keywords Block - Hidden visually */
.seo-keywords {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    background: var(--bg-darker);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    nav ul {
        display: none; 
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .theme-toggle-btn {
        font-size: 1.8rem;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .glass-card {
        padding: 25px 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact {
        padding: 60px 0;
    }

    .contact-card h2 {
        font-size: 1.5rem;
    }
    
    .floating-whatsapp {
        width: 55px;
        height: 55px;
        font-size: 2.2rem;
        bottom: 20px;
        left: 20px;
    }
    
    .faq-item {
        padding: 20px 15px;
    }
}
