/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
}

:root {
    --primary-color: #00f5ff;
    --primary-dark: #00d4ff;
    --secondary-color: #8b5cf6;
    --secondary-light: #a855f7;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #1a1a2e;
    --bg-card-hover: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-muted: #6b7280;
    --gradient-1: linear-gradient(135deg, #00f5ff 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #8b5cf6 0%, #00f5ff 100%);
    --shadow-glow: 0 0 20px rgba(0, 245, 255, 0.3);
    --shadow-glow-strong: 0 0 40px rgba(0, 245, 255, 0.5);
}

body {
    font-family: 'Rajdhani', 'Cairo', 'Tajawal', 'Noto Sans Arabic', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.rtl {
    font-family: 'Cairo', 'Tajawal', 'Noto Sans Arabic', 'Rajdhani', sans-serif;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', 'Cairo', 'Tajawal', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-color);
}

body.rtl .logo {
    font-family: 'Cairo', 'Tajawal', 'Orbitron', sans-serif;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
}

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

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 20px;
    color: var(--primary-color);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-switcher:hover {
    background: rgba(0, 245, 255, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
    transform: translateY(-2px);
}

.lang-switcher i {
    font-size: 1rem;
}

.lang-switcher span {
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

/* CTA Buttons */
.cta-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: left 0.3s;
    z-index: -1;
}

.cta-btn:hover::before {
    left: 0;
}

.cta-btn:hover {
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.cta-btn.primary {
    background: var(--gradient-1);
    color: var(--bg-dark);
    border: none;
}

.cta-btn.primary::before {
    background: var(--gradient-2);
}

.cta-btn.secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.cta-btn.secondary::before {
    background: var(--gradient-2);
}

.cta-btn.large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.cta-btn.full-width {
    width: 100%;
}

.nav-cta {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

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

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 245, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--primary-dark);
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s;
}

.badge-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-text i {
    font-size: 1rem;
    padding: 4px 8px;
    background: rgba(0, 245, 255, 0.2);
    border-radius: 8px;
}

.hero-title {
    font-family: 'Orbitron', 'Cairo', 'Tajawal', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s 0.2s both;
}

body.rtl .hero-title {
    font-family: 'Cairo', 'Tajawal', 'Orbitron', sans-serif;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s 0.4s both;
}

.hero-cta-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s 0.6s both;
}

.hero-whatsapp {
    margin-top: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: fadeInUp 1s 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Orbitron', 'Cairo', 'Tajawal', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.rtl .section-title {
    font-family: 'Cairo', 'Tajawal', 'Orbitron', sans-serif;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--bg-darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

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

.service-card:hover::before {
    opacity: 0.1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 255, 0.1);
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: rgba(0, 245, 255, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-title {
    font-family: 'Orbitron', 'Cairo', 'Tajawal', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

body.rtl .service-title {
    font-family: 'Cairo', 'Tajawal', 'Orbitron', sans-serif;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-cta {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Process Section */
.process {
    background: var(--bg-dark);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.process-item {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(0, 245, 255, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.process-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow-strong);
    border-color: var(--primary-color);
}

.process-item:hover::before {
    opacity: 0.1;
}

.process-number {
    font-family: 'Orbitron', 'Cairo', 'Tajawal', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
}

body.rtl .process-number {
    font-family: 'Cairo', 'Tajawal', 'Orbitron', sans-serif;
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 255, 0.1);
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s;
}

.process-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.process-item:hover .process-icon {
    background: rgba(0, 245, 255, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.process-item:hover .process-icon i {
    transform: scale(1.1);
}

.process-title {
    font-family: 'Orbitron', 'Cairo', 'Tajawal', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

body.rtl .process-title {
    font-family: 'Cairo', 'Tajawal', 'Orbitron', sans-serif;
}

.process-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.process-cta {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about {
    background: var(--bg-darker);
}

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

.about-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.skill-item {
    padding: 8px 20px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.skill-item:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.about-cta-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1rem;
}

.about-whatsapp {
    flex-shrink: 0;
    white-space: nowrap;
}

.about-visual {
    position: relative;
}

.visual-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.3) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-content {
    position: relative;
    z-index: 1;
}

.code-snippet {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.8;
}

.code-line {
    margin-bottom: 0.5rem;
}

.code-keyword {
    color: var(--secondary-color);
}

.code-var {
    color: var(--primary-color);
}

.code-string {
    color: #00ff88;
}

.code-function {
    color: var(--primary-dark);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-item {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: translateX(10px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 255, 0.1);
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 18px;
    transition: all 0.3s;
}

.contact-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.contact-item:hover .contact-icon {
    background: rgba(0, 245, 255, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.contact-item:hover .contact-icon i {
    transform: scale(1.1);
}

.contact-title {
    font-family: 'Orbitron', 'Cairo', 'Tajawal', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

body.rtl .contact-title {
    font-family: 'Cairo', 'Tajawal', 'Orbitron', sans-serif;
}

.contact-text {
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 245, 255, 0.1);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-description {
    color: var(--text-secondary);
    margin-top: 1rem;
    line-height: 1.8;
}

.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact-item {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.footer-contact-item i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
}

.footer-contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-contact-item a:hover {
    color: var(--primary-dark);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.footer-title {
    font-family: 'Orbitron', 'Cairo', 'Tajawal', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

body.rtl .footer-title {
    font-family: 'Cairo', 'Tajawal', 'Orbitron', sans-serif;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-cta .cta-btn {
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 245, 255, 0.1);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(0, 245, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .lang-switcher {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .lang-switcher span {
        min-width: 25px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
    }
    
    .hero-whatsapp {
        width: auto;
        max-width: 250px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .about-whatsapp {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-btn.large {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* RTL Support for Arabic */
body.rtl,
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

body.rtl .navbar .container,
[dir="rtl"] .navbar .container {
    flex-direction: row-reverse;
}

body.rtl .nav-menu,
[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

body.rtl .nav-actions,
[dir="rtl"] .nav-actions {
    flex-direction: row-reverse;
}

body.rtl .hero-cta-group,
[dir="rtl"] .hero-cta-group {
    flex-direction: row-reverse;
}

body.rtl .hero-stats,
[dir="rtl"] .hero-stats {
    flex-direction: row-reverse;
}

body.rtl .services-grid,
[dir="rtl"] .services-grid {
    direction: rtl;
}

body.rtl .process-grid,
[dir="rtl"] .process-grid {
    direction: rtl;
}

body.rtl .about-content,
[dir="rtl"] .about-content {
    direction: rtl;
    grid-template-columns: 1fr 1fr;
}

body.rtl .contact-content,
[dir="rtl"] .contact-content {
    direction: rtl;
    grid-template-columns: 1fr 1.5fr;
}

body.rtl .footer-content,
[dir="rtl"] .footer-content {
    direction: rtl;
}

body.rtl .nav-menu a::after,
[dir="rtl"] .nav-menu a::after {
    right: 0;
    left: auto;
}

body.rtl .contact-item:hover,
[dir="rtl"] .contact-item:hover {
    transform: translateX(-10px);
}

body.rtl .section-header,
[dir="rtl"] .section-header {
    text-align: center;
}

body.rtl .hero-content,
[dir="rtl"] .hero-content {
    text-align: center;
}

body.rtl .service-card,
[dir="rtl"] .service-card {
    text-align: center;
}

body.rtl .form-input,
[dir="rtl"] .form-input {
    text-align: right;
    direction: rtl;
}

body.rtl .form-input::placeholder,
[dir="rtl"] .form-input::placeholder {
    text-align: right;
}

@media (max-width: 968px) {
    body.rtl .nav-menu,
    [dir="rtl"] .nav-menu {
        right: -100%;
        left: auto;
    }

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

/* WhatsApp Buttons */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 12px 24px;
    background: #25D366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: 2px solid #25D366;
    white-space: nowrap;
}

.hero-whatsapp {
    padding: 12px 24px;
    height: fit-content;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    border-color: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #ffffff;
    text-decoration: none;
}

.whatsapp-btn i {
    font-size: 1.3rem;
}


.section-whatsapp {
    margin-top: 1.5rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    max-width: 250px;
}

.about-whatsapp {
    margin-top: 0;
}

.contact-whatsapp {
    margin-top: 2rem;
    text-align: center;
}

.contact-whatsapp-btn {
    width: 100%;
    justify-content: center;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: #ffffff;
    text-decoration: none;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

body.rtl .whatsapp-float,
[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

@media (max-width: 640px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }

    body.rtl .whatsapp-float,
    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 20px;
    }

    .section-whatsapp {
        margin-top: 1rem;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .whatsapp-btn i {
        font-size: 1.1rem;
    }
}

