﻿/* Base styles and layout */

* {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #1a5f7a 0%, #0d2b36 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding-top: 65px;
}

/* Common animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float-animation {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes message-float {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    10% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    90% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
}

@keyframes glow-animation {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

/* Background elements */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float-animation 8s infinite ease-in-out;
    opacity: 0.5;
}

    .floating-icon i {
        color: #25D366;
        font-size: 20px;
    }

.message-bubble {
    position: absolute;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    animation: message-float 10s infinite ease-in-out;
    opacity: 0;
    transform: scale(0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    direction: rtl;
}

    .message-bubble::before {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 20px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid rgba(255, 255, 255, 0.1);
    }

.glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.2) 0%, rgba(37, 211, 102, 0) 70%);
    border-radius: 50%;
    animation: glow-animation 4s infinite ease-in-out;
}

/* Carousel */
.carousel {
    position: relative;
    width: calc(100vw - 40px);
    margin: 0 auto;
    min-height: 300px;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.scroll-to-services {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background-color: #128C7E;
    color: white;
    padding: 20px 40px;
    border-radius: 35px;
    font-size: 22px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .scroll-to-services:hover {
        background-color: #0d6b60;
        transform: translateX(-50%) translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        color: white;
    }

/* Section containers */
.how-it-works,
.services-section,
.packages-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.how-it-works,
.packages-section {
    background: transparent !important;
}

.services-section {
    background: rgba(26, 95, 122, 0.1);
    overflow: hidden;
}

.container-fluid {
    position: relative;
    z-index: 1;
}

/* Language switcher */
.language-switch {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.language-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .language-btn:hover {
        background-color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }body {
}
