:root {
    --bg-color: #e6f2ff;
    --bg-lighter: #f2f8ff;
    --bg-darker: #cce6ff;
    --accent-blue: #004080;
    --accent-light: #0066cc;
    --text-main: #001a33;
    --text-muted: #335577;
    --border-color: rgba(0, 64, 128, 0.1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: color 0.3s;
}

/* =========================================
   تنسيقات الترويسة
   ========================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(242, 248, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    padding: 8px 40px;
    font-size: 12px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(0, 64, 128, 0.03);
}

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

.logo {
    font-family: 'Cinzel', 'Cairo', serif;
    color: var(--accent-blue);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    font-size: 15px;
    margin: 0 15px;
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--accent-light);
}

.client-portal-btn {
    background-color: var(--accent-blue);
    color: #ffffff;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
}

.client-portal-btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-1px);
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--accent-blue);
}

/* =========================================
   القسم الرئيسي (Hero Section)
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

#globeViz {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: linear-gradient(to bottom, var(--bg-lighter), var(--bg-color), var(--bg-darker));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    pointer-events: none;
}

.pre-title {
    color: var(--accent-light);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 700;
}

.main-title {
    font-family: 'Cinzel', 'Cairo', serif;
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 700;
    background: linear-gradient(135deg, #001a33, #0066cc, #001a33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 600;
}

.quote {
    color: var(--accent-blue);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    pointer-events: auto;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 64, 128, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-secondary {
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(0, 64, 128, 0.05);
}

/* =========================================
   شريط الاعتمادات (Credentials Bar)
   ========================================= */
.credentials-bar {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.cred-item {
    text-align: center;
}

.cred-item .val {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
    font-family: 'Cinzel', serif;
}

.cred-item .lbl {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
}

/* =========================================
   بوابة التجارة الدولية (Bento Grid)
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.gateway-section {
    margin-top: 20px;
}

.gateway-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Cinzel', 'Cairo', serif;
    color: var(--accent-blue);
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 25px;
}

.bento-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-light);
    box-shadow: 0 15px 35px rgba(0, 64, 128, 0.08);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(242, 248, 255, 0.95));
}

.bento-vertical-img {
    grid-column: span 1;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 4;
}

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

.highlight-text {
    display: inline-block;
    color: #ffffff;
    background-color: var(--accent-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.bento-card h3 {
    color: var(--accent-blue);
    font-size: 22px;
    margin-bottom: 15px;
}

.bento-large h3 {
    font-size: 34px;
    line-height: 1.3;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.card-link {
    display: inline-block;
    margin-top: 25px;
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 14px;
}

.card-link:hover {
    color: var(--accent-light);
    padding-right: 8px;
}

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

.feature-item {
    display: flex;
    align-items: center;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 600;
}

.feature-item span {
    color: var(--accent-light);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 20px;
    margin-left: 15px;
}

/* =========================================
   تنسيقات خريطة الأسواق المستهدفة
   ========================================= */


/* =========================================
   إنفوغرافيك العملاء والالتزام
   ========================================= */
.customers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.cust-box {
    background: rgba(0, 64, 128, 0.03);
    border: 1px solid var(--border-color);
    padding: 20px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.cust-box .icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.cust-box:hover {
    background: var(--accent-blue);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 64, 128, 0.15);
}

.timeline {
    border-right: 3px solid var(--border-color); 
    padding-right: 25px;
    margin-right: 10px;
}

.tl-item {
    position: relative;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.tl-item strong {
    color: var(--accent-blue);
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.tl-item::before {
    content: '';
    position: absolute;
    right: -34px; 
    top: 3px;
    width: 14px;
    height: 14px;
    background: var(--accent-light);
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px var(--border-color);
}

/* =========================================
   تنسيقات معرض الصور الجديد
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 35px 35px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 64, 128, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); 
}

/* =========================================
   تذييل الصفحة (Footer)
   ========================================= */
footer {
    background-color: var(--bg-lighter);
    padding: 60px 40px 20px;
    border-top: 1px solid var(--border-color);
    text-align: right;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col .brand-title {
    color: var(--accent-blue);
}

.footer-col p, .footer-col a {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
}

.footer-col a:hover {
    color: var(--accent-light);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    margin-right: 15px;
}

.footer-bottom-links a:hover {
    color: var(--accent-light);
}

/* =========================================
   استعلامات الميديا (Responsive Media Queries) - مجمعة لتجنب التكرار
   ========================================= */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-large, .bento-wide {
        grid-column: span 2;
    }
    .bento-vertical-img {
        grid-column: span 1;
        grid-row: span 1;
        height: 350px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }
    .main-nav {
        flex-wrap: wrap;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 20px;
    }
    .nav-links a {
        margin: 10px 0;
    }
    .mobile-menu-btn {
        display: block;
    }
    .client-portal-btn {
        display: none;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large, .bento-wide, .bento-vertical-img {
        grid-column: span 1;
    }
    .map-card .card-content {
        max-width: 100%;
        margin-bottom: 140px; 
    }
    .market-point.asia { top: 80%; right: 15%; }
    .market-point.mena { top: 60%; right: 50%; }
    .market-point.europe { top: 40%; right: 75%; }
    .market-point::after { font-size: 11px; padding: 4px 8px; }
    
    .customers-grid { 
        grid-template-columns: 1fr; 
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px 20px;
        gap: 10px;
    }
    .gallery-item {
        height: 150px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .credentials-bar {
        flex-direction: column;
        gap: 20px;
    }
}