/* ================================================
   المتغيرات الأساسية (CSS Variables)
================================================ */
:root {
    --primary-orange: #ea9c57;
    --primary-blue: #7ebfe9;
    --light-background: #f8fbfd;
    --dark-text: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --success-green: #28a745;
    --warning-orange: #ffc107;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}
/* تطبيق على جميع الأقسام ذات المعرفات */
#about, #platforms, #faq, #contact {
    scroll-margin-top: 80px;
}
/* ================================================
   استيراد الفونت (Font Import)
================================================ */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;600;700;800;900&display=swap');

/* ================================================
   الإعدادات العامة للصفحة (General Styles)
================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:not([class^="fa"]):not([class*=" fa"]):not(i[class^="fa"]):not(i[class*=" fa"]) {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
}

body {
    font-family: 'Tajawal', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-background);
    direction: rtl;
    padding-top: 70px; /* مساحة للهيدر الثابت */
}

.container {
    max-width: 90%;
    margin-top: 50px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================
   أزرار عامة (General Buttons)
================================================ */
.btn i {
    text-align: center;
}

.btn {
    padding-block: 10px;
    padding-inline: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 6px;
    position: relative;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    text-align: center;
    min-width: 45px;
    height: 40px;
}

.btnn {
    padding: 10px 16px;
    border: none;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    justify-content: center;
    align-items: center;
    border-radius: 8px; 
    cursor: pointer;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c42);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-blue), #4a90e2);
    color: white;
    box-shadow: 0 2px 8px rgba(66, 139, 202, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 139, 202, 0.4);
}

.btn-lg {
    padding: 18px 35px;
    font-size: 18px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
    text-align: center;
    border: none;
    border-radius: 6px;
}

.btn:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* ================================================
   الهيدر (Header Section)
================================================ */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    position: relative;
    min-height: 60px;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-orange);
    z-index: 1001;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: logo 2.5s ease-in-out infinite;
    z-index: 2;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    animation: logoSwing 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.logo span {
    margin-right: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    animation: text 3s ease-in-out infinite;
    background: linear-gradient(270deg, var(--primary-orange), var(--primary-blue), var(--primary-orange));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

@keyframes logo {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes text {
    0%, 100% {
        background-position: 0% 50%;
        transform: translateY(0);
    }
    25% {
        background-position: 50% 50%;
        transform: translateY(-3px);
    }
    75% {
        background-position: 100% 50%;
        transform: translateY(3px);
    }
}

.nav-links {
    order: 2;
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    position: relative;
    white-space: nowrap;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--primary-orange);
    background-color: var(--gray-light);
}

.cta-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    order: 3;
}

.search-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    position: relative;
}

.search-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1002;
}

[data-tooltip]:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1002;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    opacity: 1;
    visibility: visible;
}

.social-icons {
    display: flex;
    right: 0px;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    order: 4;
    margin-right: 50px;
}

.social-icons a {
    font-size: 16px;
    transition: var(--transition);
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-icons a.whatsapp {
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}

.social-icons a.whatsapp:hover {
    color: #128C7E;
    background: rgba(37, 211, 102, 0.2);
    transform: scale(1.1);
}

.social-icons a.instagram {
    color: #E4405F;
    background: rgba(228, 64, 95, 0.1);
}

.social-icons a.instagram:hover {
    color: #C13584;
    background: rgba(228, 64, 95, 0.2);
    transform: scale(1.1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--dark-text);
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--gray-light);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* ================================================
   قسم الهيرو (Hero Section)
================================================ */
.hero {
    background: url('./images//newBanner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    text-align: center;
}

.hero .subtitle {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
}

.hero .subtitle-categories {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #ffd700, #ffb347, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

.hero .subtitle-main {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
}

.subtitle1 {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
    font-weight: 500;
}

.categories-v3 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 20px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.service {
    transition: color 0.3s ease;
    cursor: pointer;
}

.service:hover {
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

.colorful-separator {
    margin: 0 15px;
    font-size: 14px;
    animation: colorCycle 3s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

@keyframes colorCycle {
    0%, 100% { color: #fbbf24; }
    25% { color: #ef4444; }
    50% { color: #10b981; }
    75% { color: #3b82f6; }
}

@keyframes shimmer {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

.rap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    min-width: 140px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    flex: 1;
    max-width: 180px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
}

.stat-item::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
    content: "";
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    transition: left 0.5s ease;
    width: 100%;
    z-index: 5;
    pointer-events: none;
}

.stat-item:hover::before,
.stat-item.clicked::before {
    left: 90%;
}

.stat-item:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px #3498db1a;
    transform: translateY(-5px);
    z-index: 10;
}

.stat-item:hover .stat-number {
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-orange);
    display: block;
    margin-bottom: 8px;
    line-height: 1;
    position: relative;
    z-index: 6;
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 14px;
    color: var(--light-text);
    font-weight: 600;
    line-height: 1.3;
    position: relative;
    z-index: 6;
    transition: all 0.3s ease;
}

.stat-item.clicked {
    animation: statItemClick 0.6s ease-out;
}

@keyframes statItemClick {
    0% { 
        transform: scale(1); 
    }
    30% { 
        transform: scale(1.05) translateY(-3px); 
        box-shadow: 0 15px 40px rgba(234, 156, 87, 0.4);
    }
    100% { 
        transform: scale(1) translateY(0); 
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

.stat-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.stat-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.stat-notification-content {
    padding: 20px;
}

.stat-notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.stat-notification-header i {
    color: var(--primary-orange);
    font-size: 20px;
}

.stat-notification-header h4 {
    margin: 0;
    flex: 1;
    color: var(--dark-text);
    font-size: 16px;
}

.stat-notification-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--light-text);
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-notification-close:hover {
    color: var(--dark-text);
}

.stat-notification p {
    margin: 0;
    color: var(--light-text);
    line-height: 1.5;
    font-size: 14px;
}

/* ================================================
   قسم الإحصائيات (Statistics Section)
================================================ */
.statistics {
    background: var(--white);
    padding: 50px 0;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.stat-card {
    background: linear-gradient(135deg, white, var(--gray-light));
    padding: 25px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-medium);
    position: relative;
    overflow: hidden;
    min-height: 200px;
    cursor: pointer;
    z-index: 1;
}

.stat-card::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
    content: "";
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    transition: left 0.5s ease;
    width: 100%;
    z-index: 5;
    pointer-events: none;
}

.stat-card:hover::before {
    left: 90%;
}

.stat-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px #3498db1a;
    transform: translateY(-5px);
    z-index: 10;
}

.stat-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.stat-card i {
    font-size: 36px;
    color: var(--primary-orange);
    margin-bottom: 15px;
    transition: 0.3s;
    position: relative;
    z-index: 1;
}

.stat-card .number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.stat-card .label {
    font-size: 15px;
    color: var(--dark-text);
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.stat-card .description {
    font-size: 13px;
    color: var(--light-text);
    margin-top: 8px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* ================================================
   قسم المنصات (Platforms Section)
================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0.8;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.platforms-section {
    padding: 60px 0;
    background: var(--white);
}

.platforms-tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
}

.view-toggle-icons {
    order: 1;
    display: flex;
    gap: 8px;
    align-items: center;
    background: var(--gray-light);
    padding: 6px;
    border-radius: 25px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.platforms-tabs {
    order: 2;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.spacer {
    order: 3;
    width: 120px;
    flex-shrink: 0;
}

.tab-btn {
    padding: 15px 30px;
    border: 2px solid var(--gray-medium);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 16px;
    color: var(--dark-text);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-orange));
    color: white;
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(126, 191, 233, 0.3);
}

.tab-btn:hover:not(.active) {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-1px);
}

.view-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
    background: transparent;
    color: var(--light-text);
}

.view-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), #2980b9);
    color: white;
    box-shadow: 0 4px 12px rgba(126, 191, 233, 0.4);
}

.view-btn:hover:not(.active) {
    background: rgba(126, 191, 233, 0.15);
    color: var(--primary-blue);
    transform: scale(1.05);
}

.view-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.view-btn:hover::before {
    opacity: 1;
    visibility: visible;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.platform-card {
    background: white;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transition: left 0.5s ease;
}

.platform-card:hover::before {
    left: 90%;
}

.platform-card:hover .location-icon {
    transform: scale(1.1) rotate(5deg);
}

.platform-card:hover {
    border-color: #3498db;
    box-shadow: 0 10px 30px #3498db1a;
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.location-icon {
    background: linear-gradient(135deg, var(--primary-blue), #4a90e2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
}

.location-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.share-icon {
    background: #f1f1f1;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.share-icon:hover {
    background: linear-gradient(135deg, var(--primary-blue), #4a90e2);
    color: white;
}

.platform-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    margin-top: 10px;
}

.request-section2 {
    text-align: center;
}

.request-section2 button {
    padding: 15px 30px;
    width: fit-content;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    border: 2px solid linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    margin-top: 20px;
}

/* ================================================
   قسم الخريطة التفاعلية (Interactive Map Section)
================================================ */
.map-section {
    padding: 60px 0;
    background: var(--gray-light);
}

.map-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding-top: 40px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.map-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.map-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--gray-medium);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.filter-btn.active {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}

.filter-btn:hover:not(.active) {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.interactive-map {
    height: 600px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.request-section {
    text-align: right;
}

.request-section button {
    padding: 15px 30px;
    width: fit-content;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    border: 2px solid linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    margin: 20px;
}

/* ================================================
   قسم الخدمات المستهدفة (Target Sections)
================================================ */
.target-sections {
    padding: 35px 0;
    background: var(--gray-light);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
    margin-top: 60px;
    padding: 0 20px;
}

.target-card {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

.target-card::before {
    background: linear-gradient(90deg, transparent,rgba(255, 255, 255, 0.8),white);
    content: "";
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    transition: left 0.5s ease;
    width: 100%;
    z-index: 5;
}

.target-card:hover::before {
    left: 90%;
}

.target-card:hover {
    border-color: #3498db;
    box-shadow: 0 10px 30px #3498db1a;
    transform: translateY(-5px);
    z-index: 10;
}

.target-card:hover .target-icon {
    transform: scale(1.1) rotate(5deg);
}

.target-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    transition: 0.3s;
    position: relative;
    z-index: 3;
}

.target-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-text);
    position: relative;
    z-index: 3;
}

.target-description {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.6;
    position: relative;
    z-index: 3;
}

.target-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: right;
    flex-grow: 1;
    position: relative;
    z-index: 3;
}

.target-features li {
    padding: 12px 0;
    color: var(--dark-text);
    position: relative;
    padding-right: 25px;
    font-size: 16px;
}

.target-features li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 18px;
}

.btn-2 {
    position: relative;
    width: fit-content;
    margin-top: auto;
    z-index: 6;
}

/* ================================================
   قسم الأسئلة الشائعة (FAQ Section)
================================================ */
.faq-section {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--light-background), var(--white));
}

.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.faq-category {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.faq-category h3 {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item {
    border-bottom: 1px solid var(--gray-medium);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: right;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-text);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-light);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-orange);
    font-size: 12px;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--gray-light);
}

.faq-answer.show {
    max-height: 300px;
}

.faq-answer p {
    padding: 15px 20px;
    margin: 0;
    line-height: 1.6;
    color: var(--light-text);
    font-size: 14px;
}

/* ================================================
   نظام النوافذ المنبثقة (Modal System)
================================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-header {
    background: linear-gradient(135deg, #ea9c57, #7ebfe9);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close:hover {
    background: rgba(199, 177, 177, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ea9c57;
    box-shadow: 0 0 0 3px rgba(234, 156, 87, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 14px;
    line-height: 1.5;
}

.required {
    color: #dc3545;
    font-weight: 600;
}

.success-message,
.error-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
    display: none;
}

.success-message {
    background: #28a745;
    color: white;
}

.error-message {
    background: #dc3545;
    color: white;
}

.success-message.show,
.error-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

.btn1 {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    white-space: nowrap;
    min-height: 44px;
    font-size: 16px;
    color: white;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    font-family: 'Tajawal', Arial, sans-serif;
}

.btn-primary1 {
    background: linear-gradient(135deg, #ea9c57, #ff8c42);
    color: white;
    box-shadow: 0 2px 8px rgba(234, 156, 87, 0.3);
}

.btn-primary1:hover {
    background: linear-gradient(135deg, #d68943, #e67a35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 156, 87, 0.4);
}

.btn-secondary1 {
    background: linear-gradient(135deg, #7ebfe9, #4a90e2);
    color: white;
    box-shadow: 0 2px 8px rgba(126, 191, 233, 0.3);
}

.btn-secondary1:hover {
    background: linear-gradient(135deg, #6bb3e0, #3a7bc8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(126, 191, 233, 0.4);
}

.btn-text {
    display: block;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
}

.loading {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s ease-in-out infinite;
}

.btn1 .loading {
    display: inline-block;
}

.btn1 .loading + .btn-text {
    display: none;
}

/* ================================================
   الفوتر (Footer Section)
================================================ */
.footer {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #d68943 100%);
    color: white;
    padding: 20px 0 16px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: float 20s linear infinite;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-30px, -30px) rotate(360deg); }
}

.footer .container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 10px;
    align-items: start;
}

.footer-section:first-child {
    padding-right: 20px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.footer-section h3 i {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.owner-item {
    display: flex;
    align-items: center;
    margin: 12px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    gap: 2px;
}

.owner-item i {
    width: 16px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.owner-item span {
    margin: 0 5px;
}

.owner-number,
.certification-number {
    font-weight: 700;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.certification {
    align-items: center;
    gap: 0px;
}

.certification-logo {
    width: 135px;
    height: 75px;
    object-fit: contain;
    border-radius: 6px;
    background: transparent;
    padding: 4px;
}

.footer-social {
    display: flex;
    gap: 5px;
    margin-top: 1px;
    justify-content: flex-start;
}

.footer-social a {
    color: white;
    font-size: 12px;
    transition: var(--transition);
    padding: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.footer-social a:hover::before {
    left: 100%;
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 133px 133px;
    gap: 8px 15px;
}

.footer-section ul li {
    margin-bottom: 0;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 5px 0;
    border-radius: 6px;
    position: relative;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(-5px);
    background: rgba(255, 255, 255, 0.1);
    padding-right: 10px;
}

.footer-section ul li a i {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px;
}

.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.4;
    padding: 6px 0;
}

.contact-info i {
    width: 16px;
    text-align: center;
    font-size: 14px;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info span {
    flex: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    position: relative;
}

.footer-bottom p {
    margin: 5px 0;
    line-height: 1.4;
}

.footer-bottom p:first-child {
    font-weight: 600;
    font-size: 13px;
}

.footer-bottom-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.footer-bottom-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
    background: white;
    padding: 2px;
}

.footer-bottom-logo span {
    font-size: 11px;
    font-weight: 500;
}
@media (max-width:1200px)
{}
    

/* ================================================
   زر العودة للأعلى (Back to Top Button)
================================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    left: 30px;
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #d68943;
    transform: translateY(-3px);
}

/* ================================================
   المساعد الآلي (Chatbot)
================================================ */
.chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: none;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--success-green);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 520px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.show {
    display: flex;
    animation: slideInUp 0.3s ease;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chatbot-info h4 {
    margin: 0;
    font-size: 16px;
}

.chatbot-info small {
    opacity: 0.8;
    font-size: 12px;
}

.chatbot-close {
    margin-right: auto;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.chatbot-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--gray-light);
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}

.message {
    display: flex;
    margin-bottom: 15px;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    justify-content: flex-end;
}

.message.bot {
    justify-content: flex-start;
}

.message-avatar {
    width: 30px;
    height: 30px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    margin-left: 10px;
    flex-shrink: 0;
}

.message-content {
    background: white;
    padding: 12px 15px;
    border-radius: 15px;
    max-width: 80%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.message.user .message-content {
    background: var(--primary-blue);
    color: white;
}

.message-content p {
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
}

.message-options {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-btn {
    background: white;
    border: 2px solid var(--gray-medium);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: 'Tajawal', Arial, sans-serif;
    color: var(--dark-text);
}

.option-btn:hover {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
    transform: translateY(-1px);
}

.typing-indicator {
    display: flex;
    padding: 15px;
    margin-bottom: 10px;
    justify-content: flex-start;
}

.typing-content {
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--light-text);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.typing-text {
    color: var(--light-text);
    font-size: 12px;
    margin-right: 10px;
}

.chatbot-input {
    padding: 20px;
    background: white;
    border-top: 1px solid var(--gray-medium);
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--gray-medium);
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    font-family: 'Tajawal', Arial, sans-serif;
    transition: var(--transition);
}

.chatbot-input input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(234, 156, 87, 0.1);
}

.chatbot-input button {
    width: 45px;
    height: 45px;
    background: var(--primary-orange);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.chatbot-input button:hover {
    background: #d68943;
    transform: scale(1.05);
}

.chatbot-input button:disabled {
    background: var(--gray-medium);
    cursor: not-allowed;
    transform: none;
}

/* ================================================
   أيقونة المشاركة الثابتة (Share Button)
================================================ */
.share-float-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1500;
    overflow: hidden;
}

.share-float-button:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #20c997, #17a2b8);
}

.share-float-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.share-float-button:hover::before {
    left: 100%;
}

.share-tooltip {
    position: absolute;
    bottom: 70px;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.share-float-button:hover .share-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

.share-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.share-modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease;
    overflow: hidden;
}

.share-modal-header {
    background: linear-gradient(135deg, #25D366, #17a2b8);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.share-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.share-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.share-modal-body {
    padding: 30px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.share-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.share-option i {
    font-size: 24px;
    transition: all 0.3s ease;
}

.share-option.whatsapp:hover {
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}

.share-option.whatsapp:hover i {
    color: #25D366;
}

.share-option.twitter:hover {
    border-color: #1DA1F2;
    background: rgba(29, 161, 242, 0.1);
}

.share-option.twitter:hover i {
    color: #1DA1F2;
}

.share-option.facebook:hover {
    border-color: #4267B2;
    background: rgba(66, 103, 178, 0.1);
}

.share-option.facebook:hover i {
    color: #4267B2;
}

.share-option.linkedin:hover {
    border-color: #2867B2;
    background: rgba(40, 103, 178, 0.1);
}

.share-option.linkedin:hover i {
    color: #2867B2;
}

.share-option.telegram:hover {
    border-color: #0088cc;
    background: rgba(0, 136, 204, 0.1);
}

.share-option.telegram:hover i {
    color: #0088cc;
}

.share-option.copy:hover {
    border-color: #6c757d;
    background: rgba(108, 117, 125, 0.1);
}

.share-option.copy:hover i {
    color: #6c757d;
}

.share-url-container {
    margin-top: 20px;
}

.share-url-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.url-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.url-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #f8f9fa;
    color: #666;
    direction: ltr;
    text-align: left;
}

.copy-url-btn {
    padding: 12px 15px;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 45px;
}

.copy-url-btn:hover {
    background: linear-gradient(135deg, #5a6268, #343a40);
    transform: translateY(-1px);
}

.copy-success {
    animation: copySuccess 0.5s ease;
}

@keyframes copySuccess {
    0% { transform: scale(1); background: linear-gradient(135deg, #6c757d, #495057); }
    50% { transform: scale(1.05); background: linear-gradient(135deg, #28a745, #20c997); }
    100% { transform: scale(1); background: linear-gradient(135deg, #6c757d, #495057); }
}

/* ================================================
   أنيميشنز (Animations)
================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ================================================
   التصميم المتجاوب (Responsive Design)
================================================ */

/* التابلت الكبير */
@media (max-width: 1199px) {
    .navbar {
        gap: 15px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .hero {
        min-height: 60vh;
        padding: 100px 0 60px;
    }
    
    .hero .subtitle {
        font-size: 20px;
        max-width: 700px;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-item {
        padding: 20px 15px;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 32px;
    }
}

/* التابلت */
@media (max-width: 1200px) and (min-width: 769px) {
    .navbar {
        flex-wrap: wrap;
        gap: 35px;
        padding: 12px 0;
    }
    
    .nav-links {
        order: 4;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--gray-medium);
        position: relative;
        top: auto;
        right: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        gap: 20px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        width: auto;
    }
    
    .nav-links a {
        padding: 8px 12px;
        width: auto;
        font-size: 15px;
    }
    
    .search-container {
        order: 3;
        gap: 6px;
    }
    
    .social-icons {
        order: 5;
        gap: 8px;
    }
    
    .platform-counter {
        order: 6;
        margin-top: 10px;
    }
    
    .hero {
        min-height: 55vh;
        padding: 90px 0 50px;
        margin-top: 91px;
    }
    
    .hero .subtitle {
        font-size: 18px;
        max-width: 600px;
    }
    
    .hero-stats {
        gap: 20px;
        margin-top: 40px;
    }
    
    .subtitle1 {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.95);
        margin-bottom: 0;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        line-height: 1.5;
        font-weight: 500;
    }
}

/* الموبايل */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }
    
    .navbar {
        padding: 8px 0;
        gap: 8px;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        min-height: 60px;
    }
    
    .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    .logo img {
        height: 35px;
        max-width: 100px;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        order: 2;
        margin-right: auto;
    }
    
    .cta-buttons {
        order: 3;
        gap: 4px;
        flex-shrink: 0;
    }
    
    .btn {
        padding: 6px 8px;
        font-size: 11px;
        min-width: 32px;
        height: 32px;
        gap: 2px;
    }
    
    .search-container {
        order: 4;
        gap: 4px;
        flex-shrink: 0;
    }
    
    .search-select {
        min-width: 70px;
        max-width: 90px;
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 12px;
    }
    
    .social-icons {
        order: 5;
        gap: 4px;
        flex-shrink: 0;
    }
    
    .social-icons a {
        font-size: 14px;
        padding: 4px;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .platform-counter {
        display: none;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 50%;
        height: 50%;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 30px 20px;
        transition: right 0.3s ease;
        box-shadow: var(--shadow);
        border: none;
        margin-top: 0;
        order: 6;
        overflow-y: auto;
        z-index: 10000;
    }
    
    .nav-links.active {
        right: 0 !important;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        font-size: 16px;
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        border-radius: var(--border-radius);
        display: block;
    }
    
    .hero {
        min-height: 70vh;
        padding: 20px 0 40px;
        margin-top: 0;
    }
    
    .hero .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 20px;
        margin-bottom: 20px;
        line-height: 1.5;
        text-align: center;
        padding: 0 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero .subtitle {
        font-size: 18px;
        margin-bottom: 12px;
        padding: 0 15px;
        line-height: 1.4;
    }
    
    .hero .subtitle-categories {
        font-size: 14px;
        margin-bottom: 15px;
        padding: 0 10px;
        letter-spacing: 1px;
        line-height: 1.5;
    }
    
    .hero .subtitle-main {
        font-size: 13px;
        padding: 0 15px;
        line-height: 1.6;
    }
    
    .subtitle1 {
        font-size: 19px;
    }
    
    .categories-v3 {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .colorful-separator {
        margin: 0 10px;
        font-size: 12px;
    }
    
    .rap {
        margin-top: 15px;
        width: 100%;
    }
    
    .hero-stats {
        gap: 10px;
        margin-top: 25px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .stat-item {
        padding: 10px 6px;
        min-width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        flex: none;
        margin: 0;
    }
    
    .stat-number {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .stat-label {
        font-size: 10px;
        line-height: 1.4;
    }
    
    .stat-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    
    .stat-card {
        padding: 25px 20px;
        min-height: 160px;
    }
    
    .stat-card i {
        font-size: 36px;
    }
    
    .stat-card .number {
        font-size: 36px;
    }
    
    .stat-card .label {
        font-size: 16px;
    }
    
    .stat-card .description {
        font-size: 14px;
    }
    
    .platforms-tabs-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .view-toggle-icons {
        order: 1;
    }
    
    .platforms-tabs {
        order: 2;
        position: static;
        transform: none;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .platforms-grid {
        margin-top: 20px;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 10px;
    }
    
    .platform-card {
        padding: 15px 10px;
        min-height: 100px;
    }
    
    .card-header {
        gap: 8px;
    }

    .location-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .share-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .platform-title {
        font-size: 0.9rem;
    }
    
    .spacer {
        display: none;
    }
    
    .view-toggle-icons {
        padding: 4px;
    }

    .view-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .target-grid {
        grid-template-columns: 1fr;
    }
    
    .target-card {
        padding: 30px;
    }
    
    .faq-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 14px;
    }
    
    .faq-category h3 {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .faq-answer p {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .map-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .interactive-map {
        height: 400px;
    }
    
    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-width: 450px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
        display: block;
        color: #333;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-size: 16px;
        font-family: 'Tajawal', Arial, sans-serif;
        background: white;
        color: #333;
        box-sizing: border-box;
        min-height: 44px;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: #ea9c57;
        outline: none;
        box-shadow: 0 0 0 3px rgba(234, 156, 87, 0.1);
    }
    
    .checkbox-group {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin: 15px 0;
    }
    
    .checkbox-group input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .checkbox-group label {
        font-size: 14px;
        line-height: 1.5;
        margin: 0;
    }
    
    .btn1 {
        padding: 14px 20px;
        font-size: 16px;
        min-height: 48px;
        width: 100%;
        margin-top: 15px;
        border-radius: 10px;
    }
    
    .btn-text {
        font-size: 16px;
        font-weight: 600;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        text-align: center;
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 80px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .chatbot {
        bottom: 20px;
        right: 20px;
    }
    
    .chatbot-window {
        width: calc(100vw - 40px);
        height: 400px;
        right: -15px;
    }
    
    .share-float-button {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
    
    .share-modal-content {
        margin: 5% auto;
        width: 95%;
    }
    
    .share-modal-body {
        padding: 20px;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .share-option {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .share-option i {
        font-size: 20px;
    }
    
    .url-input-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .copy-url-btn {
        width: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .statistics,
    .map-section,
    .platforms-section,
    .target-sections,
    .faq-section {
        padding: 60px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .footer-section:first-child {
        padding-right: 0;
    }
    
    .footer-section h3 {
        font-size: 18px;
        justify-content: center;
    }
    
    .footer-section ul {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .owner-info {
        margin: 15px 0;
        padding: 15px;
    }
    
    .owner-item {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0px;
        font-size: 12px;
    }
    
    .certification {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-social {
        justify-content: center;
        gap: 5px;
    }
    
    .footer-section ul li a {
        justify-content: center;
    }
    
    .footer-section ul li a:hover {
        transform: translateY(-2px);
        padding-right: 0;
    }
    
    .contact-info {
        justify-content: center;
        text-align: center;
    }
    
    .hero {
        margin-top: 160px;
    }
}

/* الموبايل الصغير */
@media (max-width: 480px) {
    .body {
        padding-top: 55px;
    }
    
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    .navbar {
        padding: 6px 0;
        gap: 6px;
        min-height: 55px;
    }
    
    .logo img {
        height: 30px;
        max-width: 80px;
    }
    
    .btn {
        padding: 4px 6px;
        font-size: 10px;
        min-width: 28px;
        height: 28px;
    }
    
    .search-select {
        min-width: 60px;
        max-width: 75px;
        padding: 3px 6px;
        font-size: 10px;
    }
    
    .social-icons a {
        font-size: 12px;
        padding: 3px;
        width: 24px;
        height: 24px;
    }
    
    .hero {
        min-height: 65vh;
        padding: 15px 0 35px;
        margin-top: 60px
    }
    
    .hero .container {
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 17px;
        margin-bottom: 15px;
        padding: 0 5px;
        line-height: 1.4;
    }
    
    .hero .subtitle {
        font-size: 16px;
        margin-bottom: 10px;
        padding: 0 10px;
    }
    
    .hero .subtitle-categories {
        font-size: 12px;
        margin-bottom: 12px;
        padding: 0 5px;
        letter-spacing: 0.5px;
    }
    
    .hero .subtitle-main {
        font-size: 11px;
        padding: 0 10px;
        line-height: 1.5;
    }
    
    .subtitle1 {
        font-size: 12px;
    }
    
    .categories-v3 {
        font-size: 14px;
        line-height: 1.7;
        padding: 0 10px;
    }
    
    .colorful-separator {
        margin: 0 8px;
        font-size: 10px;
    }
    
    .rap {
        margin-top: 50px;
    }
    
    .hero-stats {
        gap: 8px;
        margin-top: 20px;
        padding: 0 5px;
    }
    
    .stat-item {
        padding: 8px 4px;
        min-width: calc(50% - 4px);
        max-width: calc(50% - 4px);
    }
    
    .stat-number {
        font-size: 16px;
        margin-bottom: 2px;
    }
    
    .stat-label {
        font-size: 9px;
        line-height: 1.3;
    }
    
    .nav-links {
        top: 55px;
        height: calc(100vh - 55px);
        padding: 20px 15px;
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 12px 15px;
        margin: 3px 0;
    }
    
    .statistics,
    .map-section,
    .platforms-section,
    .target-sections,
    .faq-section {
        padding: 40px 0;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
        min-height: 46px;
    }
    
    .btn1 {
        padding: 16px 20px;
        font-size: 16px;
        min-height: 50px;
        border-radius: 12px;
    }
    
    .modal-content {
        margin: 1% auto;
        width: 98%;
    }
    
    .target-features li {
        font-size: 14px;
    }
    
    .share-float-button {
        width: 50px;
        height: 50px;
        font-size: 18px;
        bottom: 15px;
        left: 15px;
    }
    
    .share-options {
        grid-template-columns: 1fr;
    }
    
    .share-option {
        flex-direction: row;
        justify-content: flex-start;
        text-align: right;
        padding: 15px;
    }
    
    .share-option i {
        font-size: 22px;
        margin-left: 12px;
    }
    
    .footer {
        padding: 25px 0 10px;
    }
    
    .footer .container {
        padding: 0 15px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-section h3 {
        font-size: 16px;
    }
    
    .footer-section p {
        font-size: 13px;
    }
    
    .owner-info {
        padding: 12px;
        margin: 12px 0;
    }
    
    .owner-item {
        font-size: 11px;
        gap: 0px;
    }
    
    .certification-logo {
        width: 100px;
        height: 50px;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 16px;
        padding: 10px;
    }
    
    .contact-info {
        font-size: 12px;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .footer-bottom {
        font-size: 11px;
    }
    
    .footer-bottom-logo {
        padding: 6px 12px;
        gap: 6px;
    }
    
    .footer-bottom-logo img {
        width: 20px;
        height: 20px;
    }
    
    .footer-bottom-logo span {
        font-size: 10px;
    }
    
    .filter-btn {
        width: 210px;
    }
    
    .tab-btn {
        width: 230px;
    }
}

/* موبايل صغير جداً */
@media (max-width: 360px) {
    body {
        padding-top: 50px;
    }
    
    .container {
        padding: 0 8px;
        max-width: 100%;
    }
    
    .navbar {
        padding: 5px 0;
        gap: 4px;
        min-height: 50px;
    }
    
    .logo img {
        height: 25px;
        max-width: 70px;
    }
    
    .btn {
        padding: 3px 5px;
        font-size: 9px;
        min-width: 24px;
        height: 24px;
    }
    
    .search-select {
        min-width: 50px;
        max-width: 65px;
        padding: 2px 4px;
        font-size: 9px;
    }
    
    .social-icons a {
        font-size: 10px;
        padding: 2px;
        width: 20px;
        height: 20px;
    }
    
    .mobile-menu-toggle {
        font-size: 1.2rem;
        padding: 4px;
    }
    
    .hero {
        padding: 10px 0 25px;
        min-height: 60vh;
        margin-top: 150px;
    }
    
    .hero .container {
        padding: 0 8px;
    }
    
    .hero h1 {
        font-size: 15px;
        line-height: 1.3;
        padding: 0;
    }
    
    .hero .subtitle {
        font-size: 14px;
        padding: 0 5px;
    }
    
    .hero .subtitle-categories {
        font-size: 11px;
        padding: 0;
    }
    
    .hero .subtitle-main {
        font-size: 10px;
        padding: 0 5px;
    }
    
    .rap {
        margin-top: 12px;
    }
    
    .hero-stats {
        gap: 6px;
        margin-top: 15px;
        padding: 0;
    }
    
    .stat-item {
        padding: 6px 3px;
        min-width: calc(50% - 3px);
        max-width: calc(50% - 3px);
    }
    
    .stat-number {
        font-size: 14px;
        margin-bottom: 1px;
    }
    
    .stat-label {
        font-size: 8px;
        line-height: 1.2;
    }
    
    .nav-links {
        top: 50px;
        height: calc(100vh - 50px);
        padding: 15px 10px;
        gap: 12px;
    }
    
    .nav-links a {
        font-size: 13px;
        padding: 10px 12px;
        margin: 2px 0;
    }
}

/* الوضع الأفقي للموبايل */
@media (max-height: 500px) and (orientation: landscape) {
    body {
        padding-top: 45px;
    }
    
    .hero {
        min-height: 95vh;
        padding: 10px 0 15px;
        margin-top: 30px;
    }
    
    .hero h1 {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .hero .subtitle {
        font-size: 11px;
        margin-bottom: 5px;
        line-height: 1.4;
    }
    
    .rap {
        margin-top: 10px;
    }
    
    .hero-stats {
        margin-top: 12px;
        gap: 6px;
        flex-direction: row;
    }
    
    .stat-item {
        padding: 6px 4px;
        min-width: calc(25% - 5px);
        max-width: calc(25% - 5px);
        flex: none;
    }
    
    .stat-number {
        font-size: 14px;
        margin-bottom: 1px;
    }
    
    .stat-label {
        font-size: 8px;
        line-height: 1.1;
    }
    
    .navbar {
        min-height: 40px;
        padding: 3px 0;
    }
    
    .logo img {
        height: 25px;
    }
    
    .modal-content {
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .btn1 {
        min-height: 42px;
        padding: 12px 20px;
    }
}

/* تحسينات للوصولية */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* تحسين للشاشات عالية الكثافة */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* إصلاح خاص للأيفون */
@supports (-webkit-touch-callout: none) {
    .form-group input,
    .form-group select {
        font-size: 16px !important;
    }
}

/* إصلاح placeholder */
::placeholder {
    color: #999;
    opacity: 1;
}
@media (max-width:1200px){
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
        text-align: center;
    }
    
}
@media (max-width:691px){
    .footer-content {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
}
    
@media (max-width:1160px){
        .platforms-tabs {
        order: 2;
        position: static;
        transform: none;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
}
html, body {
    overflow: auto !important;
    height: auto !important;
    position: static !important;
}
    
/* ================================================
   أزرار التسجيل والدخول (Auth Buttons) - نمط الهيدر
================================================ */

.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    order: 2;
    margin-right: 20px;
}

.auth-btn {
    padding: 10px 16px;
    border: none;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    justify-content: center;
    align-items: center;
    border-radius: 8px; 
    cursor: pointer;
    position: relative;
    text-decoration: none;
    display: inline-flex;
    min-width: 45px;
    height: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    text-align: center;
}

/* زر تسجيل الدخول - نمط btn-primary */
.auth-btn.sign-in {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c42);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.auth-btn.sign-in:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* زر إنشاء حساب جديد - نمط btn-secondary */
.auth-btn.sign-up {
    background: linear-gradient(135deg, var(--primary-blue), #4a90e2);
    color: white;
    box-shadow: 0 2px 8px rgba(66, 139, 202, 0.3);
}

.auth-btn.sign-up:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 139, 202, 0.4);
}

/* تطبيق نفس تأثيرات tooltip المستخدمة في الهيدر */
.auth-btn[data-tooltip] {
    position: relative;
}

.auth-btn[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1002;
}

.auth-btn[data-tooltip]:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1002;
}

.auth-btn[data-tooltip]:hover:before,
.auth-btn[data-tooltip]:hover:after {
    opacity: 1;
    visibility: visible;
}

/* تطبيق نفس focus style */
.auth-btn:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* إضافة الأيقونات للأزرار */
.auth-btn i {
    transition: transform 0.3s ease;
}

.auth-btn:hover i {
    transform: scale(1.05);
}

/* ================================================
   التصميم المتجاوب - مطابق للأزرار في الهيدر
================================================ */

/* التابلت الكبير */
@media (max-width: 1199px) {
    .auth-buttons {
        gap: 10px;
    }
    
    .auth-btn {
        padding: 8px 14px;
        font-size: 13px;
        min-width: 40px;
        height: 36px;
    }
}

/* التابلت */
@media (max-width: 991px) and (min-width: 769px) {
    .auth-buttons {
        order: 4;
        gap: 8px;
    }
    
    .auth-btn {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 38px;
        height: 34px;
    }
}

/* الموبايل */
@media (max-width: 768px) {
    .auth-buttons {
        order: 4;
        gap: 4px;
        flex-shrink: 0;
    }
    
    .auth-btn {
        padding: 6px 8px;
        font-size: 11px;
        min-width: 32px;
        height: 32px;
        gap: 2px;
    }
    
    /* تطبيق نفس تعديلات tooltip للموبايل */
    .auth-btn[data-tooltip]:before {
        font-size: 10px;
        padding: 4px 8px;
        bottom: -35px;
    }
    
    .auth-btn[data-tooltip]:after {
        bottom: -12px;
        border-width: 3px;
    }
}

/* الموبايل الصغير */
@media (max-width: 480px) {
    .auth-buttons {
        gap: 3px;
    }
    
    .auth-btn {
        padding: 4px 6px;
        font-size: 10px;
        min-width: 28px;
        height: 28px;
    }
}

/* الموبايل الصغير جداً */
@media (max-width: 360px) {
    .auth-buttons {
        gap: 2px;
    }
    
    .auth-btn {
        padding: 3px 5px;
        font-size: 9px;
        min-width: 24px;
        height: 24px;
    }
    
    /* إخفاء tooltip في الشاشات الصغيرة جداً */
    .auth-btn[data-tooltip]:before,
    .auth-btn[data-tooltip]:after {
        display: none;
    }
}

/* الوضع الأفقي للموبايل */
@media (max-height: 500px) and (orientation: landscape) {
    .auth-btn {
        min-height: 28px;
        height: 28px;
        padding: 4px 8px;
        font-size: 10px;
    }
}

/* تحسينات للوصولية - مطابقة للأزرار الأخرى */
@media (prefers-reduced-motion: reduce) {
    .auth-btn {
        transition: none;
    }
    
    .auth-btn:hover {
        transform: none;
    }
}

/* تحسين للشاشات عالية الكثافة */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    .auth-btn {
        border: 0.5px solid transparent;
    }
}

/* تحسين للأجهزة اللمسية */
@media (pointer: coarse) {
    .auth-btn {
        min-height: 44px;
    }
    
    .auth-btn:hover {
        transform: translateY(-1px);
    }
}

/* إصلاح خاص للأيفون */
@supports (-webkit-touch-callout: none) {
    .auth-btn {
        -webkit-appearance: none;
        -webkit-touch-callout: none;
    }
}

/* التكامل مع باقي عناصر الهيدر */
.cta-buttons + .auth-buttons {
    margin-right: 0;
}

.auth-buttons + .social-icons {
    margin-right: 0;
}

/* تحسين الترتيب في navbar */
.navbar .auth-buttons {
    position: relative;
    z-index: 100;
}

/* تطبيق نفس متغيرات الألوان المستخدمة */
.auth-btn.sign-in {
    background: linear-gradient(135deg, var(--primary-orange), #ff8c42);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.auth-btn.sign-in:hover {
    background: linear-gradient(135deg, #d68943, #e67a35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.auth-btn.sign-up {
    background: linear-gradient(135deg, var(--primary-blue), #4a90e2);
    color: white;
    box-shadow: 0 2px 8px rgba(66, 139, 202, 0.3);
}

.auth-btn.sign-up:hover {
    background: linear-gradient(135deg, #6bb3e0, #3a7bc8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 139, 202, 0.4);
}