/* إعادة الضبط والإعدادات العامة */
:root {
    --primary-blue: #1e88e5;
    --light-blue: #64b5f6;
    --dark-blue: #0d47a1;
    --brown: #8d6e63;
    --light-brown: #d7ccc8;
    --beige: #f5f5f5;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --dark: #2d3436;
    --gray: #636e72;
    --light-gray: #dfe6e9;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #e17055;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    --gradient-secondary: linear-gradient(135deg, var(--brown), var(--light-brown));
    --gradient-dark: linear-gradient(135deg, var(--dark), var(--gray));
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --font-family: 'Tajawal', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--off-white);
    overflow-x: hidden;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

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

section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

/* شاشة التحميل */
.loader {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--white);
    animation: fadeIn 1s ease;
}

.logo-loader {
    margin-bottom: 30px;
}

.logo-img {
    max-width: 150px;
    height: auto;
    animation: pulse 2s infinite;
}

.loader-dots {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.dot {
    width: 15px;
    height: 15px;
    background: var(--white);
    border-radius: 50%;
    margin: 0 8px;
    animation: bounce 1.4s infinite ease-in-out;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

.loader p {
    font-size: 1.1rem;
    opacity: 0.9;
}

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* أزرار الاتصال العائمة */
.floating-contacts {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: var(--white);
    border-radius: 50px;
    padding: 12px 20px 12px 12px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    width: 60px;
    height: 60px;
    animation: float 6s ease-in-out infinite;
}

.floating-btn:hover {
    width: 220px;
}

.floating-btn.whatsapp-float {
    animation-delay: 0s;
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn.call-float {
    animation-delay: 2s;
    background: var(--gradient-primary);
}

.floating-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--white);
}

.floating-text {
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-btn:hover .floating-text {
    opacity: 1;
}

.floating-text span {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
}

.floating-text small {
    font-size: 0.8rem;
    opacity: 0.9;
}

.pulse-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* شريط التنقل */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.nav-logo .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 800;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--gray);
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link i {
    font-size: 0.9rem;
}

.cta-btn {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-fast);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
}

.toggle-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    margin: 5px 0;
    border-radius: 3px;
    transition: all var(--transition-fast);
}

.nav-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-progress {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
}

/* القسم الرئيسي */
.hero-section {
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slider {
    height: 85vh;
    min-height: 600px;
    position: relative;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-1 {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-bg.jpg') center/cover no-repeat;
}

.slide-2 {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/ac-maintenance-1.jpg') center/cover no-repeat;
}

.slide-3 {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/home-cleaning-1.jpg') center/cover no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(30, 136, 229, 0.3), rgba(141, 110, 99, 0.3));
}

.slide-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    color: var(--white);
    max-width: 600px;
    z-index: 2;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.highlight {
    color: var(--light-blue);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 100%;
    height: 8px;
    background: rgba(100, 181, 246, 0.3);
    z-index: -1;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: var(--font-family);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(30, 136, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-5px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.waves {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 1;
}

.wave {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 1000px 100%;
}

.wave-1 {
    animation: wave 25s linear infinite;
    opacity: 0.1;
}

.wave-2 {
    animation: wave 20s linear infinite;
    opacity: 0.15;
    animation-delay: -5s;
}

.wave-3 {
    animation: wave 15s linear infinite;
    opacity: 0.2;
    animation-delay: -2s;
}

@keyframes wave {
    0% { transform: translateX(0) translateZ(0) scaleY(1); }
    50% { transform: translateX(-25%) translateZ(0) scaleY(0.5); }
    100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    background: var(--white) !important;
    opacity: 0.5;
    width: 10px !important;
    height: 10px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--light-blue) !important;
    transform: scale(1.2);
}

.hero-stats {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: -50px;
    padding: 0 20px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 800;
    line-height: 1;
}

.stat-content p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* قسم المميزات */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--primary-blue);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 100%;
    height: 8px;
    background: rgba(30, 136, 229, 0.2);
    z-index: -1;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin-bottom: 20px;
}

.icon-shape {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.shape-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.shape-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.shape-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.shape-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.shape-5 { background: linear-gradient(135deg, #fa709a, #fee140); }
.shape-6 { background: linear-gradient(135deg, #30cfd0, #330867); }

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.feature-hover {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 2rem;
    color: var(--light-gray);
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-fast);
}

.feature-card:hover .feature-hover {
    opacity: 1;
    transform: scale(1);
}

/* قسم الخدمات */
.services-tabs {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tabs-header {
    display: flex;
    background: var(--off-white);
    border-bottom: 1px solid var(--light-gray);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-fast);
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width var(--transition-fast);
}

.tab-btn.active {
    color: var(--primary-blue);
    background: var(--white);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-btn:hover:not(.active) {
    color: var(--dark);
    background: rgba(30, 136, 229, 0.05);
}

.tabs-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.service-image .image-frame {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.image-frame:hover .service-img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-info h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.service-info > p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.feature-item i {
    color: var(--success);
    font-size: 1.1rem;
}

.feature-item span {
    color: var(--dark);
}

.service-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.price-card {
    background: var(--off-white);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all var(--transition-fast);
    position: relative;
    border: 2px solid transparent;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.price-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-10px);
}

.price-card.featured .price {
    color: var(--white);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 50%;
    transform: translateX(50%);
    background: var(--warning);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.price span {
    font-size: 0.9rem;
    font-weight: 400;
}

.order-btn {
    width: 100%;
    padding: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.order-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.4);
}

.price-card.featured .order-btn {
    background: var(--white);
    color: var(--primary-blue);
}

.service-cta {
    background: var(--off-white);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    border-right: 5px solid var(--primary-blue);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.service-type {
    background: var(--off-white);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all var(--transition-fast);
}

.service-type:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.type-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.service-type h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-type p {
    color: var(--primary-blue);
    font-weight: 600;
}

/* قسم أعمالنا */
.works-section {
    background: var(--off-white);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.work-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.work-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.work-card:hover .work-img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.overlay-content {
    color: var(--white);
    transform: translateY(20px);
    transition: transform var(--transition-fast);
}

.work-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.work-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

.work-info {
    padding: 25px;
}

.work-info h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.work-info p {
    color: var(--gray);
    line-height: 1.6;
}

.works-cta {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.works-cta .btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.works-cta .btn-primary:hover {
    background: var(--off-white);
    transform: translateY(-5px);
}

.works-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.works-cta p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* قسم آراء العملاء */
.testimonials-slider {
    padding: 20px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-avatar {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--light-blue);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25px;
    height: 25px;
    background: var(--warning);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--dark);
}

.client-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.client-info > p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.client-rating {
    color: var(--warning);
}

.testimonial-body p {
    color: var(--gray);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid var(--light-gray);
    padding-top: 15px;
}

.testimonial-footer span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* قسم الإحصائيات */
.stats-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.stat-item .stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* قسم اتصل بنا */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

.info-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.info-header h2 span {
    color: var(--primary-blue);
}

.info-header p {
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.method-card:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.method-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.method-content p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.method-content small {
    color: var(--gray);
    font-size: 0.9rem;
}

.working-hours {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.working-hours h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--dark);
    font-size: 1.2rem;
}

.working-hours h4 i {
    color: var(--primary-blue);
}

.regions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .regions-grid {
        grid-template-columns: 1fr;
    }
}

.region {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.region:last-child {
    border-bottom: none;
}

.region i {
    color: var(--success);
    font-size: 1.1rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--gray);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    position: relative;
}

.form-group i {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
}

.form-group textarea + i {
    top: 25px;
    transform: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--dark);
    background: var(--off-white);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    padding: 18px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
}

.form-note {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 15px;
    text-align: center;
}

/* الفوتر */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-logo .logo-text h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 5px;
}

.footer-logo .logo-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-links,
.footer-services {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--white);
    padding-right: 5px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact .contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact .contact-item p {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-contact .contact-item small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    text-align: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.copyright p:last-child {
    margin-bottom: 0;
}

/* زر العودة للأعلى */
.scroll-top {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
    display: flex;
    animation: fadeInUp 0.5s ease;
}

/* تأثيرات الحركة */
.animate-pop {
    animation: pop 0.6s ease;
}

.animate-slide-up {
    animation: slideUp 0.8s ease;
}

.animate-slide-up.delay-1 {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.animate-slide-up.delay-2 {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

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

/* التجاوب مع الأجهزة المحمولة */
@media (max-width: 1200px) {
    .slide-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px 30px;
        transition: right 0.5s ease;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .slide-content {
        right: 5%;
        left: 5%;
        text-align: center;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
    
    .floating-contacts {
        left: 15px;
        bottom: 15px;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary, .btn-outline {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .services-tabs .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 15px;
        justify-content: flex-start;
    }
    
    .tabs-content {
        padding: 20px;
    }
    
    .service-pricing {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-btn:hover {
        width: 60px;
    }
    
    .floating-btn .floating-text {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .works-cta {
        padding: 30px 20px;
    }
    
    .scroll-top {
        left: 15px;
        bottom: 80px;
    }
}

/* تحسينات للأجهزة المحمولة */
@media (hover: none) {
    .floating-btn:hover {
        width: 60px;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .work-card:hover {
        transform: none;
    }
    
    .service-type:hover {
        transform: none;
    }
    
    .testimonial-card:hover {
        transform: none;
    }
    
    .method-card:hover {
        transform: none;
    }
    
    .stat-item:hover {
        transform: none;
    }
}

/* تحسينات للأجهزة التي تعمل باللمس */
@media (pointer: coarse) {
    .nav-link {
        padding: 12px 0;
    }
    
    .btn-primary, .btn-secondary, .btn-outline,
    .order-btn, .cta-btn {
        min-height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* يمنع التكبير التلقائي في iOS */
    }
}

/* دعم متصفح Safari */
@supports (-webkit-touch-callout: none) {
    .hero-slider {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }
}