﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #0B0B0B;
    color: #ffffff;
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.nav-brand h2 {
    font-size: 24px;
    background: linear-gradient(to right, #00ff87, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* Enhanced 3D Flying Buttons */
.btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 255, 135, 0.3);
    background-image: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    background-size: 200% 200%;
    animation: shine 3s linear infinite;
}

    .btn::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
        opacity: 0;
        transform: scale(0.5);
        transition: all 0.5s ease;
        pointer-events: none;
    }

    .btn:hover::before {
        opacity: 1;
        transform: scale(1);
    }

    .btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .btn:active::after {
        width: 300px;
        height: 300px;
    }

    .btn.large {
        padding: 12px 30px;
        font-size: 16px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 255, 135, 0.4);
    }

.btn-primary {
    background: linear-gradient(135deg, #00ff87, #00ffff);
    color: #000;
    border: none;
    position: relative;
    transform: translateY(0) translateZ(0);
}

    .btn-primary:hover {
        transform: translateY(-8px) translateZ(50px) rotateX(5deg);
        box-shadow: 0 15px 30px rgba(0, 255, 135, 0.5), 0 5px 15px rgba(0, 255, 255, 0.3);
    }

    .btn-primary:active {
        transform: translateY(-4px) translateZ(25px);
    }

.btn-outline {
    background: transparent;
    border: 2px solid #00ff87;
    color: #00ff87;
    position: relative;
    transform: translateY(0) translateZ(0);
}

    .btn-outline:hover {
        background: #00ff87;
        color: #000;
        transform: translateY(-6px) translateZ(40px) rotateX(3deg);
        border-color: transparent;
        box-shadow: 0 12px 25px rgba(0, 255, 135, 0.4), 0 4px 12px rgba(0, 255, 255, 0.2);
    }

    .btn-outline:active {
        transform: translateY(-3px) translateZ(20px);
    }

/* Icon inside buttons */
.btn .icon {
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn:hover .icon {
    transform: scale(1.2) rotate(15deg);
}

/* Flying animation for buttons */
@keyframes fly {
    0% {
        transform: translateY(0) translateZ(0);
    }

    50% {
        transform: translateY(-10px) translateZ(20px);
    }

    100% {
        transform: translateY(0) translateZ(0);
    }
}

.btn-fly {
    animation: fly 3s ease-in-out infinite;
}

/* Shine animation */
@keyframes shine {
    0% {
        background-position: 200% 50%;
    }

    100% {
        background-position: -200% 50%;
    }
}

/* 3D flip effect for navigation buttons */
.nav-buttons .btn {
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

    .nav-buttons .btn:hover {
        transform: rotateY(10deg) translateZ(20px);
    }

/* Contact buttons enhanced 3D effect */
.contact-btn {
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

    .contact-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: translateX(-100%);
        transition: transform 0.5s ease;
    }

    .contact-btn:hover::before {
        transform: translateX(100%);
    }

    .contact-btn.whatsapp {
        background: linear-gradient(135deg, #25D366, #128C7E);
        font-family: 'Cairo', sans-serif;
        font-weight: 700;
    }

        .contact-btn.whatsapp:hover {
            background: linear-gradient(135deg, #1ebea5, #0a6d5c);
            transform: translateY(-12px) translateZ(40px) rotateX(5deg);
            box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
        }

    .contact-btn.phone {
        background: linear-gradient(135deg, #0084c7, #0067a3);
    }

        .contact-btn.phone:hover {
            background: linear-gradient(135deg, #006ba1, #004d79);
            transform: translateY(-12px) translateZ(40px) rotateX(5deg);
            box-shadow: 0 20px 40px rgba(0, 132, 199, 0.4);
        }

.contact-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.contact-btn:hover .contact-icon {
    transform: scale(1.3) rotateZ(15deg);
}

/* Pulse animation for call-to-action buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 135, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 135, 0);
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Hover tilt effect */
.btn-tilt {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .btn-tilt:hover {
        transform: translateY(-10px) translateZ(30px) rotateX(10deg) rotateY(-5deg);
    }

/* Glass effect for buttons */
.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .btn-glass:hover {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(15px);
    }

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0B0B0B 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 30% 50%, rgba(0, 255, 135, 0.1) 0%, transparent 70%);
        z-index: 0;
    }

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.floating-image {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, #00ff87, #00ffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientAnimation 4s ease infinite;
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

    .section.dark {
        background-color: #111111;
    }

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.content-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.image-container {
    flex: 1;
}

.section-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 255, 135, 0.2);
}

.text-content {
    flex: 1;
    font-size: 18px;
    line-height: 1.8;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 135, 0.1);
}

    .benefit-card:hover {
        transform: translateY(-10px);
        border-color: #00ff87;
        box-shadow: 0 10px 30px rgba(0, 255, 135, 0.2);
    }

.benefit-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 18px;
    line-height: 1.6;
}

/* Features List */
.features-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .feature-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(-10px);
    }

.feature-icon {
    color: #00ff87;
    font-size: 20px;
    margin-left: 5px;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #111111 0%, #0B0B0B 100%);
}

.contact-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

/* Footer */
.footer {
    padding: 30px 0;
    background: #000000;
    text-align: center;
    border-top: 1px solid #333;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 10px rgba(0, 255, 135, 0.5);
    }

    100% {
        text-shadow: 0 0 20px rgba(0, 255, 135, 0.8);
    }
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Button loading state */
.btn.loading {
    pointer-events: none;
    position: relative;
    color: transparent !important;
}

    .btn.loading::after {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin-top: -10px;
        margin-left: -10px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: #fff;
        animation: button-loading-spinner 0.6s linear infinite;
    }

@keyframes button-loading-spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Sparkle effect */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle-animation 1s ease-out forwards;
    box-shadow: 0 0 10px #fff;
}

@keyframes sparkle-animation {
    0% {
        transform: scale(0) translateZ(0);
        opacity: 1;
    }

    100% {
        transform: scale(3) translateZ(100px);
        opacity: 0;
    }
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    transform-origin: center;
    pointer-events: none;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Particles animation */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00ff87;
    border-radius: 50%;
    animation: particle-animation linear infinite;
    opacity: 0.5;
}

@keyframes particle-animation {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translate(50px, 100vh);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .nav-buttons {
        gap: 10px;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
