/* ===== إنفينيتي وير - صفحة رئيسية احترافية ===== */

/* متغيرات الألوان والخطوط - ألوان مريحة للعين */
:root {
    --primary-color: #74b9ff;
    --secondary-color: #a29bfe;
    --accent-color: #fdcb6e;
    --success-color: #00b894;
    --danger-color: #e17055;
    --warning-color: #fdcb6e;
    --info-color: #74b9ff;
    --light-color: #f8f9fa;
    --dark-color: #2d3436;

    /* ألوان التدرج */
    --gradient-primary: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    --gradient-secondary: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    --gradient-success: linear-gradient(135deg, #00b894 0%, #00a085 100%);
    --gradient-warning: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);

    /* خطوط */
    --font-primary: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    /* انيميشن */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;

    /* الظلال */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* إعادة تعيين الأساسيات */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow-x: hidden;
}


/* الحاوي */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* شريط العلوي */
.header-top-bar {
    background: linear-gradient(135deg, #636e72 0%, #2d3436 100%);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    min-height: 2.5rem;
    direction: ltr; /* لضمان الترتيب من اليسار لليمين */
}

.header-contact-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    align-items: center;
    flex-shrink: 0;
    order: 2; /* معلومات الاتصال على اليمين */
}

.header-contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.header-contact-info i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.header-social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
    order: 1; /* أيقونات السوشال ميديا على اليسار */
}

.header-social-links a {
    color: white;
    transition: all var(--transition-fast);
    font-size: 1.1rem;
    padding: 0.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.header-social-links a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* الشريط الرئيسي */
.infinity-header {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 50%, #2d3436 100%);
    box-shadow: 0 2px 15px rgba(45, 52, 54, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.infinity-navbar {
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.15) 0%, rgba(162, 155, 254, 0.15) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(116, 185, 255, 0.2);
}

.infinity-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.1) 0%, rgba(162, 155, 254, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.infinity-navbar:hover::before {
    opacity: 1;
}

.infinity-navbar.scrolled {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.95) 0%, rgba(162, 155, 254, 0.95) 100%);
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(116, 185, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(0);
}

.infinity-navbar.scrolled::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(116, 185, 255, 0.1) 100%);
}

.infinity-navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

/* الشعار */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(116, 185, 255, 0.1) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.2) 0%, rgba(162, 155, 254, 0.2) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.logo:hover::before {
    opacity: 1;
}

.logo:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover img {
    filter: brightness(1.1) drop-shadow(0 4px 12px rgba(116, 185, 255, 0.3));
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* قائمة التنقل */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all var(--transition-fast);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(116, 185, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.4) 0%, rgba(162, 155, 254, 0.4) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.5) 0%, rgba(162, 155, 254, 0.5) 100%);
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 2;
}

.nav-icon i {
    font-size: 16px;
    transition: all var(--transition-fast);
}

.nav-link:hover .nav-icon i {
    transform: scale(1.2) rotate(5deg);
    color: #74b9ff;
}

.nav-link.active .nav-icon i {
    color: #74b9ff;
    transform: scale(1.1);
}

.nav-text {
    position: relative;
    z-index: 2;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.nav-link:hover .nav-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(116, 185, 255, 0.5);
}

.nav-link.active .nav-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(116, 185, 255, 0.7);
}

/* أنيميشن النبض للرابط النشط */
.nav-link.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(116, 185, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* زر القائمة الجانبية للهاتف المحمول */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: 1px;
}

.mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:last-child {
    transform: rotate(-45deg);
}

/* أزرار الإجراء */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
}

.header-actions::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.05) 0%, rgba(162, 155, 254, 0.05) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.header-actions:hover::before {
    opacity: 1;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #74b9ff 0%, #a29bfe 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(116, 185, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a29bfe 0%, #74b9ff 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(116, 185, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(116, 185, 255, 0.1) 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
}

.btn-outline:hover {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.3) 0%, rgba(162, 155, 254, 0.3) 100%);
    color: white;
    border-color: #74b9ff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.4);
}

    .btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* القائمة الجانبية المتنقلة */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 46, 0.8) 100%);
    backdrop-filter: blur(5px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    backdrop-filter: blur(20px);
    z-index: 1050;
    transform: translateX(100%);
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sidebar.show {
    transform: translateX(0);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
}

.sidebar-logo .infinity-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.sidebar-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.sidebar-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav-item {
    margin: 0.25rem 1rem;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(116, 185, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.sidebar-nav-link:hover::before {
    left: 100%;
}

.sidebar-nav-link:hover,
.sidebar-nav-link.active {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.4) 0%, rgba(162, 155, 254, 0.4) 100%);
    color: #ffffff;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.sidebar-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.sidebar-nav-icon i {
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-nav-link:hover .sidebar-nav-icon i {
    transform: scale(1.2) rotate(5deg);
    color: #ffffff;
}

.sidebar-nav-link.active .sidebar-nav-icon i {
    color: #ffffff;
    transform: scale(1.1);
}

.sidebar-nav-text {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-nav-link:hover .sidebar-nav-text {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.sidebar-nav-link.active .sidebar-nav-text {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 1);
}

.sidebar-nav-link.active::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #74b9ff 0%, #a29bfe 100%);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(116, 185, 255, 0.8);
}

.sidebar-user {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sidebar-user-avatar {
    width: 50px;
    height: 50px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.sidebar-user-details h6 {
    color: white;
    margin: 0;
    font-weight: 600;
}

.sidebar-user-details p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.sidebar-user-actions {
    display: flex;
    gap: 0.5rem;
}

.sidebar-user-actions .btn {
    flex: 1;
    padding: 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-sidebar-primary {
    background: linear-gradient(135deg, #74b9ff 0%, #a29bfe 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.4);
}

.btn-sidebar-primary:hover {
    background: linear-gradient(135deg, #a29bfe 0%, #74b9ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-sidebar-outline {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(116, 185, 255, 0.05) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.btn-sidebar-outline:hover {
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.3) 0%, rgba(162, 155, 254, 0.3) 100%);
    color: white;
    border-color: #74b9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.4);
}

/* قسم البطل */
.infinity-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0c1445 0%, #1a237e 25%, #283593 50%, #3949ab 75%, #5c6bc0 100%);
}

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

/* النجوم المتحركة */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 3s linear infinite;
}

.stars2 {
    background-image: 
        radial-gradient(1px 1px at 50px 50px, #fff, transparent),
        radial-gradient(1px 1px at 100px 100px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 150px 25px, #eee, transparent),
        radial-gradient(1px 1px at 200px 75px, rgba(255,255,255,0.6), transparent);
    background-repeat: repeat;
    background-size: 250px 125px;
    animation: sparkle 4s linear infinite reverse;
}

.stars3 {
    background-image: 
        radial-gradient(1px 1px at 30px 60px, #fff, transparent),
        radial-gradient(1px 1px at 80px 20px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 120px 90px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 300px 150px;
    animation: sparkle 5s linear infinite;
}

@keyframes sparkle {
    from { transform: translateY(0px); }
    to { transform: translateY(-100px); }
}

/* القمر */
.moon {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #fff, #f0f0f0);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1);
    animation: moonGlow 4s ease-in-out infinite alternate;
}

@keyframes moonGlow {
    0% { 
        box-shadow: 
            0 0 20px rgba(255, 255, 255, 0.3),
            0 0 40px rgba(255, 255, 255, 0.2),
            0 0 60px rgba(255, 255, 255, 0.1);
    }
    100% { 
        box-shadow: 
            0 0 30px rgba(255, 255, 255, 0.5),
            0 0 50px rgba(255, 255, 255, 0.3),
            0 0 70px rgba(255, 255, 255, 0.2);
    }
}

/* السحب المتحركة */
.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    opacity: 0.3;
}

.cloud1 {
    width: 100px;
    height: 40px;
    top: 20%;
    left: -100px;
    animation: cloudMove 20s linear infinite;
}

.cloud2 {
    width: 80px;
    height: 30px;
    top: 30%;
    left: -80px;
    animation: cloudMove 25s linear infinite;
    animation-delay: -5s;
}

.cloud3 {
    width: 120px;
    height: 50px;
    top: 15%;
    left: -120px;
    animation: cloudMove 30s linear infinite;
    animation-delay: -10s;
}

@keyframes cloudMove {
    0% { transform: translateX(0px); }
    100% { transform: translateX(calc(100vw + 200px)); }
}

/* العناصر الطافية */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shape1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape2 {
    width: 40px;
    height: 40px;
    top: 60%;
    left: 80%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape3 {
    width: 80px;
    height: 80px;
    top: 70%;
    left: 20%;
    animation: float 10s ease-in-out infinite;
    animation-delay: -2s;
}

.shape4 {
    width: 50px;
    height: 50px;
    top: 30%;
    left: 70%;
    animation: float 7s ease-in-out infinite reverse;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.infinity-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: -1;
}

.infinity-hero-content {
    display: block;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.infinity-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    z-index: 2;
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
}

.title-highlight {
    color: var(--accent-color);
    display: block;
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

/* أنيميشن النصوص */
.animate-text {
    animation: slideInFromLeft 1s ease-out 0.5s both;
}

.animate-text-delay {
    animation: slideInFromRight 1s ease-out 1s both;
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out 1.5s both;
}

.animate-slide-up {
    animation: slideInFromBottom 1s ease-out 2s both;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.infinity-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.infinity-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* أزرار محسنة */
.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.5);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

/* إحصائيات البطل */
.infinity-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    color: white;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

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

.stat-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    animation: iconBounce 2s ease-in-out infinite;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* أنيميشن العدادات */
.animate-counter {
    animation: counterFadeIn 1s ease-out 2.5s both;
}

@keyframes counterFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* مؤشر التمرير */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    z-index: 2;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.scroll-arrow:hover::before {
    transform: translateX(100%);
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.scroll-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* قسم من نحن */
.infinity-about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    position: relative;
    overflow: hidden;
}

.infinity-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 49%, rgba(0, 123, 255, 0.03) 50%, transparent 51%);
    background-size: 20px 20px;
    animation: backgroundMove 20s linear infinite;
    pointer-events: none;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.infinity-about-content {
    display: block;
    gap: 4rem;
    align-items: center;
}

.infinity-about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.infinity-about-text h3:first-child {
    margin-top: 0;
}

.infinity-about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--secondary-color);
}

.infinity-about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(116, 185, 255, 0.08);
    transition: transform var(--transition-fast);
    border: 1px solid rgba(116, 185, 255, 0.1);
}

.feature-item:hover {
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
}

.infinity-about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.infinity-about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    text-align: center;
}

.overlay-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.years {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.label {
    font-size: 1.1rem;
    font-weight: 600;
}

/* قسم الخدمات */
.infinity-services {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
}

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

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.1);
    transition: all var(--transition-medium);
    border: 1px solid rgba(52, 152, 219, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.15);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.service-card:hover .service-icon::before {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

.service-features {
    list-style: none;
    text-align: right;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    position: relative;
    padding-right: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Service Image Styles */
.service-image {
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    position: relative;
}

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

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

.service-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Service Content Styles */
.service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Call to Action في قسم الخدمات */
.services-cta {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.services-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.services-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn-primary {
    background: rgba(52, 152, 219, 0.2);
    border: 2px solid rgba(52, 152, 219, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.cta-buttons .btn-primary:hover {
    background: rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.2);
}

.cta-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.cta-buttons .btn-outline:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.2);
}

@media (max-width: 768px) {
    .services-cta {
        margin-top: 3rem;
        padding: 2rem 1rem;
    }
    
    .services-cta h3 {
        font-size: 1.5rem;
    }
    
    .services-cta p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        min-width: 250px;
        width: 100%;
        max-width: 300px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .infinity-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* قسم المنتجات */
.infinity-products {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
}

.infinity-products-categories {
    margin-bottom: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.category-tab.active,
.category-tab:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.infinity-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.1);
    transition: all var(--transition-medium);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.15);
    border-color: var(--primary-color);
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

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

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.product-description {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* قسم الأعمال */
.infinity-portfolio {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
}

.infinity-portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
    color: var(--dark-color);
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.infinity-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.1);
    transition: all var(--transition-medium);
    position: relative;
    background: white;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.15);
    border-color: var(--primary-color);
}

.portfolio-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-medium);
    filter: brightness(1) contrast(1);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1.1) contrast(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    color: white;
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.portfolio-content p {
    margin-bottom: 0;
    opacity: 0.9;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
}

.portfolio-item:hover .portfolio-content h3 {
    transform: translateY(-5px);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover .portfolio-content p {
    opacity: 1;
    transform: translateY(-3px);
}

/* تحسينات إضافية لقسم الأعمال */
.portfolio-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.portfolio-overlay {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9) 0%, rgba(102, 126, 234, 0.9) 100%);
}

/* قسم التقييمات المحسن */
.infinity-testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    position: relative;
    overflow: hidden;
}

.infinity-testimonials::before {
    content: '';
    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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="50" cy="10" r="0.5" fill="%23000" opacity="0.02"/><circle cx="10" cy="60" r="0.5" fill="%23000" opacity="0.02"/><circle cx="90" cy="40" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.testimonials-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 2;
}

.testimonials-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.08);
    text-align: center;
    opacity: 0;
    transform: translateX(100%) scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(52, 152, 219, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.03) 0%, rgba(41, 128, 185, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    animation: rotate 20s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    border-color: var(--primary-color);
    z-index: 3;
}

.testimonial-card.active::before {
    opacity: 1;
}

.testimonial-card.active::after {
    opacity: 1;
}

.testimonial-card.prev {
    transform: translateX(-100%) scale(0.9);
    z-index: 1;
}

.testimonial-card.next {
    transform: translateX(100%) scale(0.9);
    z-index: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.testimonial-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    width: 100%;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.3;
    animation: quoteFloat 3s ease-in-out infinite;
}

@keyframes quoteFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--dark-color);
    margin-bottom: 2.5rem;
    font-style: italic;
    position: relative;
    font-weight: 400;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -20px;
    right: -10px;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    bottom: -40px;
    left: -10px;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(41, 128, 185, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(52, 152, 219, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.testimonial-card.active .testimonial-author::before {
    left: 100%;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.author-avatar:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.3);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.author-avatar:hover img {
    transform: scale(1.1);
}

.avatar-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

.author-info {
    text-align: right;
    flex: 1;
}

.author-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    position: relative;
}

.author-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: nameUnderline 2s ease-in-out infinite;
}

@keyframes nameUnderline {
    0%, 100% { width: 30px; }
    50% { width: 50px; }
}

.author-title {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.author-rating {
    display: flex;
    gap: 0.3rem;
    justify-content: flex-end;
}

.author-rating i {
    color: var(--accent-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: starTwinkle 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.author-rating i:nth-child(1) { animation-delay: 0s; }
.author-rating i:nth-child(2) { animation-delay: 0.1s; }
.author-rating i:nth-child(3) { animation-delay: 0.2s; }
.author-rating i:nth-child(4) { animation-delay: 0.3s; }
.author-rating i:nth-child(5) { animation-delay: 0.4s; }

@keyframes starTwinkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2) rotate(10deg);
        opacity: 0.8;
    }
}

/* أزرار التنقل */
.testimonials-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 4;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    pointer-events: all;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-btn:hover::before {
    transform: translateX(100%);
}

.nav-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* شريط التقدم */
.testimonials-progress {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
    z-index: 4;
}

.progress-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* مؤشرات التقييمات المحسنة */
.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 4;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #3498db;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #2980b9;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: indicatorPulse 2s ease-in-out infinite;
}

@keyframes indicatorPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.3;
    }
}

.indicator:hover {
    transform: scale(1.3);
    background: #3498db;
    border-color: #2980b9;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.indicator.active {
    background: #3498db;
    transform: scale(1.4);
    border-color: #2980b9;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.4);
}

.indicator.active::before {
    width: 24px;
    height: 24px;
    opacity: 0.3;
    background: #3498db;
}

.indicator.active::after {
    width: 32px;
    height: 32px;
    opacity: 0.2;
    background: #2980b9;
}

/* قسم التواصل المحسن - كلاسات جديدة */
.contact-section-main {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.contact-section-main::before {
    content: '';
    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 100 100"><defs><pattern id="contactPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="10" cy="10" r="0.5" fill="%23000" opacity="0.02"/><circle cx="40" cy="40" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23contactPattern)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.contact-layout-grid {
    display: block;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* معلومات التواصل */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-info-header p {
    color: var(--secondary-color);
    font-size: 1rem;
}

.contact-cards-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-card-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(116, 185, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(116, 185, 255, 0.1);
}

.contact-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.03) 0%, rgba(41, 128, 185, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.contact-card-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    animation: rotate 15s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.contact-card-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.15);
}

.contact-card-item:hover::before {
    opacity: 1;
}

.contact-card-item:hover::after {
    opacity: 1;
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.icon-pulse {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

.contact-card-item:hover .contact-card-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8f00 100%);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.4);
}

.contact-card-details {
    flex: 1;
    position: relative;
    z-index: 2;
}

.contact-card-details h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    position: relative;
}

.contact-card-details h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: titleUnderline 2s ease-in-out infinite;
}

.contact-card-details p {
    color: var(--secondary-color);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.contact-link:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.working-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-indicator.online {
    background: #28a745;
}

.status-indicator.offline {
    background: #dc3545;
}

@keyframes statusPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.status-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* وسائل التواصل الاجتماعي */
.contact-social-links {
    margin-top: 2rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(41, 128, 185, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.contact-social-links h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.social-link:hover::before {
    transform: translateX(100%);
}

.social-link.whatsapp { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }
.social-link.instagram { background: linear-gradient(135deg, #e4405f 0%, #c13584 100%); }
.social-link.twitter { background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%); }
.social-link.linkedin { background: linear-gradient(135deg, #0077b5 0%, #005885 100%); }
.social-link.snapchat { background: linear-gradient(135deg, #fffc00 0%, #ffd700 100%); color: #000; }

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* نموذج التواصل المحسن */
.contact-form-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(44, 62, 80, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.02) 0%, rgba(255, 193, 7, 0.02) 100%);
    z-index: 1;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    padding: 1rem 0;
}

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

.form-header p {
    color: var(--secondary-color);
    font-size: 1rem;
}

.contact-form-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-row {
    display: block;
    gap: 1.5rem;
    align-items: start;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-control {
    padding: 1rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
    background: #ffffff;
}

.form-control:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.form-control:focus + .input-focus-line {
    width: 100%;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.char-counter {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.char-counter .current-count {
    color: var(--primary-color);
    font-weight: 600;
}

/* خيارات النموذج */
.form-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    display: none;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--dark-color);
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    background: #ffffff;
}

.checkbox-group input[type="checkbox"]:checked + label .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-group input[type="checkbox"]:checked + label .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

/* زر الإرسال المحسن */
.btn-submit {
    position: relative;
    overflow: hidden;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    position: relative;
    z-index: 2;
}

.form-footer p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-footer i {
    color: var(--success-color);
}

/* قسم الخريطة والنموذج */
.contact-layout-grid {
    display: block;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* قسم الخريطة */
.map-section-wrapper {
    position: relative;
    z-index: 2;
}

.map-header {
    text-align: center;
    margin-bottom: 2rem;
}

.map-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.map-header p {
    color: var(--secondary-color);
    font-size: 1rem;
}

.map-iframe-container {
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(44, 62, 80, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
    position: relative;
    min-height: 400px;
}

.map-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.map-placeholder h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.map-placeholder p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* خريطة جوجل */
.map-iframe-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    background: #f8f9fa;
}

.map-iframe-container iframe:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 280px;
    z-index: 10;
}

.map-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: right;
}

.map-info p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: right;
    line-height: 1.5;
}

.map-info .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

.map-iframe-container {
    position: relative;
}

/* الفوتر المحسن */
.site-footer.modern-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #2c3e50 50%, #34495e 75%, #2c3e50 100%);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.site-footer.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.footer-main-content {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* إزالة CSS Grid والاعتماد على Bootstrap Grid */
.footer-main-content .row {
    margin: 0;
}

.footer-main-content .col-lg-4,
.footer-main-content .col-lg-2,
.footer-main-content .col-lg-3,
.footer-main-content .col-md-6,
.footer-main-content .col-sm-6,
.footer-main-content .col-sm-12 {
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.footer-brand-section {
    margin-bottom: 2rem;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.brand-logo-container:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.brand-logo-container:hover .brand-logo {
    transform: scale(1.1) rotate(5deg);
}

.brand-text-content {
    flex: 1;
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    text-align: justify;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.social-media-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 15px;
    transform: scale(0);
    transition: transform 0.4s ease;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
    font-size: 1.2rem;
}

.social-link:hover i {
    transform: rotate(360deg) scale(1.2);
}

/* ألوان خاصة لكل منصة */
.social-link.facebook:hover::before { background: linear-gradient(45deg, #1877f2, #0d47a1); }
.social-link.twitter:hover::before { background: linear-gradient(45deg, #1da1f2, #0d47a1); }
.social-link.instagram:hover::before { background: linear-gradient(45deg, #e4405f, #833ab4); }
.social-link.linkedin:hover::before { background: linear-gradient(45deg, #0077b5, #004182); }
.social-link.youtube:hover::before { background: linear-gradient(45deg, #ff0000, #cc0000); }
.social-link.whatsapp:hover::before { background: linear-gradient(45deg, #25d366, #128c7e); }

.section-heading {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
    animation: sectionHeadingUnderline 3s ease-in-out infinite;
}

@keyframes sectionHeadingUnderline {
    0%, 100% { width: 40px; }
    50% { width: 80px; }
}

.navigation-links,
.services-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navigation-links li,
.services-links li {
    margin-bottom: 1rem;
    position: relative;
}

.navigation-links a,
.services-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.navigation-links a::before,
.services-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.navigation-links a:hover,
.services-links a:hover {
    color: #ffffff;
    transform: translateX(8px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navigation-links a:hover::before,
.services-links a:hover::before {
    width: 100%;
}

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

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    color: #3498db;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon {
    background: rgba(52, 152, 219, 0.2);
    transform: scale(1.1);
}

.contact-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    flex: 1;
}

.footer-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 3rem 0;
    position: relative;
}

.footer-divider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

.footer-bottom-section {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2.5rem;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.footer-legal-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.legal-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.legal-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.legal-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    background: rgba(52, 152, 219, 0.2);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.3);
}

.legal-link:hover::before {
    width: 100%;
}

/* التصميم المتجاوب للفوتر */
@media (max-width: 1200px) {
    .footer-main-content .col-lg-4,
    .footer-main-content .col-lg-2,
    .footer-main-content .col-lg-3 {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .site-footer.modern-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-main-content .col-lg-4,
    .footer-main-content .col-lg-2,
    .footer-main-content .col-lg-3,
    .footer-main-content .col-md-6,
    .footer-main-content .col-sm-6,
    .footer-main-content .col-sm-12 {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .brand-logo-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .brand-logo {
        width: 60px;
        height: 60px;
    }
    
    .brand-title {
        font-size: 1.5rem;
    }
    
    .footer-description {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .social-media-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .section-heading {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-info-item {
        padding: 0.8rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .footer-legal-links {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .legal-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .site-footer.modern-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-main-content .col-lg-4,
    .footer-main-content .col-lg-2,
    .footer-main-content .col-lg-3,
    .footer-main-content .col-md-6,
    .footer-main-content .col-sm-6,
    .footer-main-content .col-sm-12 {
        margin-bottom: 1.5rem;
        padding: 0 0.25rem;
    }
    
    .brand-logo-container {
        padding: 1rem;
    }
    
    .brand-title {
        font-size: 1.3rem;
    }
    
    .brand-subtitle {
        font-size: 0.9rem;
    }
    
    .footer-description {
        font-size: 0.95rem;
        padding: 0.8rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .section-heading {
        font-size: 1.1rem;
    }
    
    .navigation-links a,
    .services-links a {
        font-size: 0.95rem;
    }
    
    .contact-info-item {
        padding: 0.6rem;
        gap: 0.8rem;
    }
    
    .contact-icon {
        width: 20px;
        height: 20px;
        padding: 0.4rem;
    }
    
    .contact-text {
        font-size: 0.9rem;
    }
    
    .footer-bottom-content {
        padding: 1rem;
    }
    
    .copyright-text {
        font-size: 0.9rem;
    }
    
    .footer-legal-links {
        gap: 1rem;
    }
    
    .legal-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }
}

    /* تحسينات إضافية لنموذج التواصل */
    .form-group.focused .form-control {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    }

    .form-group.has-value .form-control {
        background: #ffffff;
    }

    .checkbox-group label.checked {
        color: var(--primary-color);
    }

    .checkbox-group label.checked .checkmark {
        background: var(--primary-color);
        border-color: var(--primary-color);
    }

    /* تأثيرات إضافية للحقول */
    .form-control::placeholder {
        color: #adb5bd;
        transition: all 0.3s ease;
    }

    .form-control:focus::placeholder {
        color: transparent;
    }

    /* تحسينات للروابط الاجتماعية */
    .social-link:hover i {
        transform: scale(1.1);
    }

    /* تحسينات لحالة العمل */
    .working-status {
        animation: fadeInUp 0.5s ease;
    }

    /* تأثيرات للبطاقات */
    .contact-card-item {
        animation: fadeInUp 0.6s ease;
    }

    .contact-card-item:nth-child(1) { animation-delay: 0.1s; }
    .contact-card-item:nth-child(2) { animation-delay: 0.2s; }
    .contact-card-item:nth-child(3) { animation-delay: 0.3s; }
    .contact-card-item:nth-child(4) { animation-delay: 0.4s; }

/* العناوين العامة */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: titleUnderline 2s ease-in-out infinite;
}

@keyframes titleUnderline {
    0%, 100% { width: 60px; }
    50% { width: 100px; }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* التصميم المتجاوب */
@media (max-width: 1024px) {
    .infinity-hero-content {
        display: block;
        gap: 3rem;
    }

    .infinity-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .infinity-about-content {
        display: block;
        gap: 3rem;
    }

    .contact-layout-grid {
        display: block;
        gap: 3rem;
    }

    .infinity-footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .infinity-navbar-content {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu {
        display: none;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 13px;
    }
    
    .nav-icon {
        width: 16px;
        height: 16px;
    }
    
    .nav-icon i {
        font-size: 14px;
    }
    
    .nav-text {
        font-size: 12px;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    .header-actions {
        display: none;
    }

    .logo {
        order: 1;
        flex: 1;
    }

    .mobile-sidebar {
        width: 280px;
    }

    .sidebar-header {
        padding: 1rem;
    }

    .sidebar-logo-text {
        font-size: 1rem;
    }

    .sidebar-nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

/* شاشات صغيرة جداً */
@media (max-width: 480px) {
    .mobile-sidebar {
        width: 100%;
    }

    .mobile-menu-toggle {
        width: 25px;
        height: 25px;
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
}

    .infinity-hero-title {
        font-size: 2.5rem;
    }

    .infinity-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

    .infinity-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .infinity-portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .infinity-footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .infinity-footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        display: block;
    }

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

    .category-tabs,
    .infinity-portfolio-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* تحسينات قسم التقييمات للأجهزة المحمولة */
    .testimonials-slider {
        height: 350px;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .author-info {
        text-align: center;
    }

    .author-rating {
        justify-content: center;
    }

    .testimonials-navigation {
        padding: 0 1rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .testimonials-progress {
        width: 150px;
    }

    /* تحسينات قسم التواصل للأجهزة المحمولة */
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .contact-card-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .contact-card-details h3 {
        font-size: 1.1rem;
    }

    .contact-social-links {
        padding: 1.5rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
        min-height: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-control {
        padding: 0.875rem 1rem;
    }

    .btn-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .map-placeholder {
        height: 250px;
        padding: 1.5rem;
    }

    .map-placeholder i {
        font-size: 3rem;
    }

    .map-placeholder h4 {
        font-size: 1.3rem;
    }

    /* خريطة جوجل - تابلت */
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-iframe-container iframe {
        height: 350px;
    }

    .map-overlay {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.98);
    }

    .header-top-bar-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        min-height: auto;
        direction: ltr; /* الحفاظ على الاتجاه */
    }

    .header-contact-info {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        order: 2; /* معلومات الاتصال تظهر أولاً على الموبايل */
    }

    .header-contact-info span {
        font-size: 0.8rem;
    }

    .header-social-links {
        justify-content: center;
        order: 1; /* أيقونات السوشال ميديا تظهر ثانياً على الموبايل */
    }

}

@media (max-width: 480px) {
    .header-contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .header-contact-info span {
        font-size: 0.75rem;
    }

    .infinity-hero-title {
        font-size: 2rem;
    }

    .infinity-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
        min-height: auto;
    }


    /* تحسينات إضافية لقسم التقييمات على الشاشات الصغيرة */
    .testimonials-slider {
        height: 300px;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-quote {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .testimonial-text::before,
    .testimonial-text::after {
        font-size: 2.5rem;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .author-title {
        font-size: 0.9rem;
    }

    .testimonials-navigation {
        padding: 0 0.5rem;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .testimonials-progress {
        width: 120px;
        height: 3px;
    }

    .testimonials-indicators {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }

    .indicator {
        width: 12px;
        height: 12px;
    }

    /* تحسينات إضافية لقسم التواصل على الشاشات الصغيرة */
    .contact-section-main {
        padding: 4rem 0;
    }

    .contact-card-item {
        padding: 1.25rem;
    }

    .contact-card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-card-details h3 {
        font-size: 1rem;
    }

    .contact-card-details p {
        font-size: 0.9rem;
    }

    .contact-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .contact-social-links {
        padding: 1.25rem;
    }

    .contact-social-links h4 {
        font-size: 1.1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .infinity-contact-form-container {
        padding: 1.5rem;
    }

    .form-header h3 {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-control {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .map-placeholder {
        height: 200px;
        padding: 1.25rem;
    }

    .map-placeholder i {
        font-size: 2.5rem;
    }

    .map-placeholder h4 {
        font-size: 1.2rem;
    }

    .map-placeholder p {
        font-size: 0.9rem;
    }

    /* خريطة جوجل - موبايل */
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .map-iframe-container iframe {
        height: 300px;
    }

    .map-overlay {
        padding: 1rem;
        margin-top: 0.75rem;
    }

    .map-info h4 {
        font-size: 1.1rem;
    }

    .map-info p {
        font-size: 0.85rem;
    }

    .map-info .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* تأثيرات إضافية */
.infinity-hero-stats {
    animation: fadeInUp 0.8s ease 0.5s both;
}

.infinity-about-text {
    animation: fadeInLeft 0.8s ease both;
}

.infinity-about-image {
    animation: fadeInRight 0.8s ease 0.3s both;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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


/* تحسينات الطباعة */
@media print {
    .header-top-bar,
    .infinity-navbar,
    .scroll-indicator,
    .btn,

    .infinity-hero {
        background: white !important;
        color: black !important;
    }

    .infinity-hero-title,
    .section-title {
        color: black !important;
    }
}

/* Quick Links Section */
.footer-quick-links {
    margin-top: 2rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.quick-link:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: rgba(52, 152, 219, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.quick-link i {
    font-size: 0.9rem;
    color: #3498db;
    transition: color 0.3s ease;
}

.quick-link:hover i {
    color: white;
}

/* Responsive Quick Links */
@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .quick-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}