/* ================ LOADING SCREEN STYLES ================ */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 25%, #3730a3 50%, #4f46e5 75%, #6366f1 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    font-family: 'Cairo', sans-serif;
    color: white;
    animation: fadeIn 0.5s ease-in;
    overflow: hidden;
}

/* خلفية متحركة للـ Loading Screen */
#loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    animation: backgroundMove 10s ease-in-out infinite;
}

@keyframes backgroundMove {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.loading-container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* منطقة اللوجو */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
    animation: logoFloat 3s ease-in-out infinite;
}

.loading-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: logoGlow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: conic-gradient(from 0deg, #6366f1, #8b5cf6, #06b6d4, #f59e0b, #6366f1);
    border-radius: 50%;
    animation: spin 4s linear infinite;
    opacity: 0.7;
    filter: blur(10px);
    z-index: 1;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes logoGlow {
    0% { filter: brightness(1) drop-shadow(0 0 20px rgba(99, 102, 241, 0.5)); }
    100% { filter: brightness(1.2) drop-shadow(0 0 40px rgba(99, 102, 241, 0.8)); }
}

/* نص اللوجو */
.loading-text {
    text-align: center;
    animation: textFadeIn 1s ease-out 0.5s both;
}

.loading-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #e0e7ff, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 2s ease-in-out infinite alternate;
}

.loading-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

@keyframes titleShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes textFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Loading Spinner */
.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    animation: spinnerFadeIn 1s ease-out 1s both;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: #6366f1;
    animation-duration: 2s;
}

.spinner-ring:nth-child(2) {
    border-right-color: #8b5cf6;
    animation-duration: 2.5s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    border-bottom-color: #06b6d4;
    animation-duration: 3s;
}

@keyframes spinnerFadeIn {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

/* نقاط التحميل */
.loading-dots {
    display: flex;
    gap: 8px;
    animation: dotsFadeIn 1s ease-out 1.5s both;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

@keyframes dotsFadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* شريط التقدم */
.loading-progress {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    animation: progressFadeIn 1s ease-out 2s both;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
    border-radius: 2px;
    width: 0%;
    animation: progressFill 3s ease-out forwards;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressFadeIn {
    0% { opacity: 0; transform: translateX(-50%) scale(0.8); }
    100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes progressFill {
    0% { width: 0%; }
    20% { width: 15%; }
    40% { width: 40%; }
    60% { width: 70%; }
    80% { width: 85%; }
    100% { width: 100%; }
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* أنيميشن الإخفاء */
#loading-screen.fade-out {
    animation: fadeOut 1s ease-out forwards;
}

@keyframes fadeOut {
    0% { 
        opacity: 1;
        transform: scale(1);
    }
    100% { 
        opacity: 0;
        transform: scale(1.1);
    }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================ COLOR VARIABLES ================ */
:root {
    /* Primary Colors - Creative Purple & Teal Theme */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ea580c 100%);
    --gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%);
    
    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-glass: rgba(255, 255, 255, 0.1);
    
    /* Status Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.1);
    --shadow-md: 0 8px 25px rgba(99, 102, 241, 0.15);
    --shadow-lg: 0 20px 40px rgba(99, 102, 241, 0.2);
    --shadow-glow: 0 0 50px rgba(99, 102, 241, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* ================ GLOBAL STYLES ================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-secondary);
}

body.loaded {
    overflow: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================ TYPOGRAPHY ================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================ NAVIGATION ================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-links a:hover::before {
    left: 0;
}

.nav-links a:hover {
    color: white;
    transform: translateY(-2px);
}

.lang-toggle {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.lang-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ================ HERO SECTION ================ */
.hero {
    min-height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="particle1"><stop offset="0%" stop-color="rgba(99,102,241,0.6)"/><stop offset="100%" stop-color="transparent"/></radialGradient><radialGradient id="particle2"><stop offset="0%" stop-color="rgba(6,182,212,0.4)"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><circle cx="100" cy="100" r="2" fill="url(%23particle1)"/><circle cx="300" cy="200" r="1" fill="url(%23particle2)"/><circle cx="700" cy="150" r="1.5" fill="url(%23particle1)"/><circle cx="900" cy="300" r="1" fill="url(%23particle2)"/><circle cx="200" cy="800" r="2" fill="url(%23particle1)"/><circle cx="600" cy="700" r="1" fill="url(%23particle2)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* ================ HERO VISUAL ================ */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInUp 1s ease-out 0.6s both;
}

.floating-element {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.glow-effect {
    position: absolute;
    width: 150%;
    height: 150%;
    background: conic-gradient(from 0deg, transparent, var(--primary-color), transparent);
    animation: spin 10s linear infinite;
    opacity: 0.3;
}

.stats-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    animation: slideInUp 1s ease-out;
    animation-delay: var(--delay);
    animation-fill-mode: both;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-arrow::after {
    content: '↓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================ SERVICES SECTION ================ */
.services {
    padding: 8rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.8s ease-out;
    animation-delay: var(--delay);
    animation-fill-mode: both;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left:50% ;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.service-bg-pattern {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(99, 102, 241, 0.03), transparent);
    animation: spin 20s linear infinite;
    pointer-events: none;
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

.icon-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
    z-index: -1;
}

.service-card:hover .icon-glow {
    opacity: 0.6;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    text-align: right;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-right: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--success-color);
    font-weight: 600;
}

/* ================ PACKAGES SECTION ================ */
.packages {
    padding: 8rem 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.packages-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: -4s;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title.light {
    color: white;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.8);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.package-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.8s ease-out;
    animation-delay: var(--delay);
    animation-fill-mode: both;
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.package-card.featured {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid var(--accent-color);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.package-header {
    margin-bottom: 2rem;
}

.package-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.package-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
}

.package-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.package-price {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
}

.price-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.package-features {
    list-style: none;
    text-align:center;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex-direction: row-reverse;
}

.package-features i {
    color: var(--success-color);
    font-size: 0.8rem;
}

.package-button {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.package-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ================ TESTIMONIALS SECTION ================ */
.testimonials-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-section h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
}

.testimonial-item.hidden {
    display: none;
    opacity: 0;
}

.testimonial-item.show {
    display: block;
    opacity: 1;
    animation: fadeInUp 0.8s ease-out both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.controls {
    text-align: center;
    margin-bottom: 4rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-primary.hidden, .btn-secondary.hidden {
    display: none;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ================ CONTACT SECTION ================ */
.contact {
    padding: 8rem 0;
    background: var(--bg-primary);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    animation: slideInUp 0.8s ease-out;
    animation-delay: var(--delay);
    animation-fill-mode: both;
    border: 1px solid transparent;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.contact-item.whatsapp:hover {
    border-color: #25d366;
}

.contact-item.email:hover {
    border-color: var(--primary-color);
}

.contact-item.location:hover {
    border-color: var(--accent-color);
}

.contact-item.time:hover {
    border-color: var(--secondary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-item.whatsapp .contact-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-item.email .contact-icon {
    background: var(--gradient-primary);
}

.contact-item.location .contact-icon {
    background: var(--gradient-accent);
}

.contact-item.time .contact-icon {
    background: var(--gradient-secondary);
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-action {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-action:hover {
    transform: translateX(-5px);
}

.contact-action a {
    color: inherit;
    text-decoration: none;
}

.contact-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: 100%;
}

.contact-card-header {
    margin-bottom: 2rem;
}

.contact-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.contact-features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.feature i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.contact-cta {
    background: #25d366;
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.contact-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #128c7e;
}

/* ================ FOOTER ================ */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.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: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* ================ FLOATING WHATSAPP ================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-text {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* ================ RESPONSIVE DESIGN ================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid, .packages-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
}

.testimonial-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.testimonial-item img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

/* تأثير عند تمرير الماوس */
.testimonial-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  filter: brightness(1.05);
}


.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-wrapper {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  padding: 6px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(142, 45, 226, 0.4);
  transition: transform 0.3s ease;
  margin-left: 10px; /* لأن الصفحة من اليمين لليسار */
}

.logo-wrapper:hover {
  transform: scale(1.05) rotate(1deg);
}

.logo-img {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 50%;
}

.logo-text {
  font-size: 18px;
  font-weight: bold;
  color: white;
  font-family: 'Cairo', sans-serif;
}


.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo-img {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(142, 45, 226, 0.4);
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05) rotate(1deg);
}

.footer-logo-img img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
}

.logo-text {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  font-family: 'Cairo', sans-serif;
}


.section-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin: 1rem auto;
    max-width: 600px;

    /* ألوان نيون متدرجة */
    background: linear-gradient(90deg, #ff00cc, #00ffe7, #ff9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* لمعة */
    text-shadow: 0 0 8px rgba(255, 0, 200, 0.5), 
                 0 0 16px rgba(0, 255, 231, 0.3);

    /* ترانزيشن */
    animation: shineMove 3s linear infinite;
}

/* حركة الجradient جوة الكلام */
@keyframes shineMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* ================ إصلاحات الموبايل المحسنة ================ */

/* إعدادات عامة للموبايل */
@media (max-width: 768px) {
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 15px !important;
        margin: 0 auto !important;
    }
}

/* إصلاح الـ Navigation */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 0 !important;
        backdrop-filter: blur(15px) !important;
    }
    
    .nav-container {
        padding: 0 15px !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .nav-links {
        display: none !important;
    }
    
    .logo {
        font-size: 16px !important;
    }
    
    .logo-img {
        width: 32px !important;
        height: 32px !important;
    }
    
    .lang-toggle {
        padding: 8px 12px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }
}

/* إصلاح Hero Section */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh !important;
        padding: 80px 0 40px !important;
    }
    
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 30px !important;
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    
    .hero-content {
        width: 100% !important;
        max-width: 350px !important;
        order: 2 !important;
    }
    
    .hero-visual {
        width: 100% !important;
        max-width: 280px !important;
        order: 1 !important;
        margin: 0 auto !important;
    }
    
    .hero-badge {
        font-size: 12px !important;
        padding: 6px 12px !important;
        margin-bottom: 15px !important;
        border-radius: 20px !important;
    }
    
    .hero-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        word-wrap: break-word !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
        margin-bottom: 25px !important;
        line-height: 1.5 !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }
    
    .cta-button {
        width: 100% !important;
        max-width: 280px !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
        justify-content: center !important;
        margin: 0 auto !important;
    }
    
    /* إصلاح العناصر المرئية */
    .floating-element {
        width: 220px !important;
        height: 220px !important;
        position: relative !important;
        margin: 0 auto !important;
    }
    
    .stats-container {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 180px !important;
        height: 180px !important;
    }
    
    .stat-card {
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(15px) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 12px !important;
        padding: 12px 8px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .stat-icon {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }
    
    .stat-number {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: white !important;
        margin-bottom: 2px !important;
        line-height: 1 !important;
    }
    
    .stat-card p {
        font-size: 8px !important;
        color: rgba(255, 255, 255, 0.9) !important;
        margin: 0 !important;
        line-height: 1.2 !important;
    }
}

/* إصلاح Services Section */
@media (max-width: 768px) {
    .services {
        padding: 60px 0 !important;
    }
    
    .section-title {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .section-subtitle {
        font-size: 16px !important;
        padding: 0 15px !important;
        margin-bottom: 30px !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }
    
    .service-card {
        margin: 0 10px !important;
        padding: 25px 20px !important;
        border-radius: 16px !important;
    }
    
    .service-card.featured {
        transform: none !important;
        scale: 1 !important;
    }
    
    .service-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
    
    .service-title {
        font-size: 18px !important;
        margin-bottom: 10px !important;
    }
    
    .service-description {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }
    
    .service-features {
        text-align: center !important;
    }
    
    .service-features li {
        font-size: 13px !important;
        padding: 6px 0 !important;
    }
}

/* إصلاح Packages Section */
@media (max-width: 768px) {
    .packages {
        padding: 60px 0 !important;
    }
    
    .packages-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        margin-top: 30px !important;
    }
    
    .package-card {
        margin: 0 10px !important;
        padding: 25px 20px !important;
        transform: none !important;
    }
    
    .package-card.featured {
        transform: none !important;
        scale: 1 !important;
    }
    
    .package-title {
        font-size: 20px !important;
    }
    
    .package-icon {
        font-size: 28px !important;
    }
    
    .price-text {
        font-size: 18px !important;
    }
    
    .package-features {
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    
    .package-features li {
        font-size: 14px !important;
        padding: 8px 0 !important;
        justify-content: center !important;
    }
    
    .package-button {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}

/* إصلاح Testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0 !important;
    }
    
    .testimonials-section h1 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }
    
    .testimonials-section p {
        font-size: 16px !important;
        padding: 0 15px !important;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 15px !important;
    }
    
    .testimonial-item img {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
    }
    
    .controls {
        margin: 30px 0 !important;
        padding: 0 15px !important;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 24px !important;
        font-size: 14px !important;
        margin: 8px !important;
        display: inline-block !important;
        width: auto !important;
        max-width: 200px !important;
    }
    
    .stats {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 30px !important;
    }
    
    .stat-item {
        padding: 20px 15px !important;
    }
    
    .stat-number {
        font-size: 28px !important;
    }
}

/* إصلاح Contact */
@media (max-width: 768px) {
    .contact {
        padding: 60px 0 !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        margin-top: 30px !important;
    }
    
    .contact-info {
        gap: 20px !important;
    }
    
    .contact-item {
        padding: 20px !important;
        margin: 0 10px !important;
        border-radius: 16px !important;
        flex-direction: row !important;
        text-align: right !important;
        align-items: center !important;
    }
    
    .contact-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
        flex-shrink: 0 !important;
    }
    
    .contact-details {
        flex: 1 !important;
        text-align: right !important;
    }
    
    .contact-details h3 {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }
    
    .contact-details p {
        font-size: 14px !important;
        margin-bottom: 3px !important;
    }
    
    .contact-subtitle {
        font-size: 12px !important;
    }
    
    .contact-action {
        margin-right: 10px !important;
    }
    
    .contact-card {
        padding: 25px 20px !important;
        margin: 0 10px !important;
        border-radius: 16px !important;
    }
    
    .contact-card h3 {
        font-size: 20px !important;
    }
    
    .contact-features {
        flex-direction: column !important;
        gap: 15px !important;
        margin-bottom: 25px !important;
    }
    
    .contact-cta {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}

/* إصلاح Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        text-align: center !important;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
        padding-top: 20px !important;
    }
    
    .footer-bottom p {
        font-size: 12px !important;
    }
}

/* إصلاح الواتساب المطفو */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
        font-size: 20px !important;
    }
    
    .whatsapp-text {
        display: none !important;
    }
}

/* إصلاحات للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px !important;
    }
    
    .section-title {
        font-size: 20px !important;
    }
    
    .container {
        padding: 0 10px !important;
    }
    
    .floating-element {
        width: 200px !important;
        height: 200px !important;
    }
    
    .stats-container {
        width: 160px !important;
        height: 160px !important;
    }
    
    .stat-number {
        font-size: 16px !important;
    }
    
    .stat-card p {
        font-size: 7px !important;
    }
}

/* ================ BACK TO TOP BUTTON ================ */
.back-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.back-to-top-btn:active {
    transform: translateY(-1px) scale(1.05);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .back-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 80px;
        right: 1rem;
        font-size: 1rem;
    }
}