:root { 
    --primary-color: #092C56;
    --accent-color: #F0F5F4;
    --secondary-color: #225688;
    --water-blue: #668CA9;
    --text-light: #F0F5F4;;  
    --text-dark: #092C56;
    --secondary-text: #A9CBE0;
    --bg-gray: #F0F5F4;
    --nav-height: -10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-gray);
    color: var(--text-dark);
    overflow-x: hidden; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-srv-details-container{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 33px;
    background: #e5e5e5;
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: 0.3s;
}

.logo h1 {
    color: var(--text-light);
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
}



.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
/* التنسيق الأساسي للينكات (باستثناء زرار تواصل معنا) */
.nav-links a:not(.btn-primary) {
    color: var(--text-dark); /* أغمق درجة أزرق عشان تبان فخمة */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding-bottom: 5px; /* مسافة صغيرة عشان الخط ميخبطش في الكلمة */
    transition: color 0.3s ease;
}

/* تجهيز الخط السفلي (مخفي في البداية) */
.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%; /* بيبدأ من المنتصف */
    background-color: #478ac9; /* اللون الذهبي */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* حركة ناعمة جداً */
    transform: translateX(-50%); /* تظبيط السنترة */
    border-radius: 2px;
}

/* تأثير الـ Hover */
.nav-links a:not(.btn-primary):hover {
    color: #478ac9; /* النص بيقلب ذهبي */
}

.lang-switch:hover::after
{
  display:  none !important;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%; /* الخط بيتمدد ليغطي الكلمة كلها */
    background-color: #478ac9;
}

/* تنسيق اللينك النشط (لو العميل واقف في الصفحة دي) - اختياري بس بيدي فخامة */
.nav-links a.active:not(.btn-primary) {
    color: #478ac9;
}
.nav-links a.active:not(.btn-primary)::after {
    width: 100%;
}



.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color) !important;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    text-decoration: none;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: transparent; /* بيفرغ لونه */
    color:var(--secondary-color) !important; /* النص بيبقى ذهبي */
    transform: translateY(-3px); /* بيترفع لفوق بخفة */
    box-shadow: 0 10px 25px rgba(198, 167, 94, 0.25); /* توهج ذهبي فخم */
} 
/* --- Dropdown Menu Styles --- */
 
.nav-links .menu {
  font-size: 1rem;
  color: var(--text-light); /* تم التعديل */
  width: fit-content;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links .menu a {
  text-decoration: none;
  color: inherit;
}

.nav-links .menu .link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

 
/* --- Hamburger Icon Styles --- */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1002; /* عشان يفضل فوق القائمة لما تفتح */
}

.hamburger .bar {
    width: 28px;
    height: 3px;
    background-color: #092c56;
    border-radius: 5px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* --- Mobile Menu Styles (Screens below 992px) --- */ 
@media (max-width: 991px) {
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    .nav-links {
        position: absolute; 
        top: 0;
        left: 0;
        width: 100%; 
        height: 100vh;
        background-color: rgb(11 25 44);
        
        display: flex !important; 
        flex-direction: column !important; 
        justify-content: center;
        align-items: center;
        
        /* 1. التعديل الأساسي: تأثير الدايرة (ديفولت إنجليزي يمين) */
        clip-path: circle(0px at top right);
        transition: clip-path 0.7s cubic-bezier(0.77, 0, 0.175, 1);
        
        z-index: 1001;
        /* gap: 40px; */
    }

    .nav-links a { 
    font-size: 21px;
    }
    /* عكس اتجاه فتح الدايرة في اللغة العربية (عشان تفتح من الشمال) */
    html[lang="ar"] .nav-links {
        clip-path: circle(0px at top left);
    }

    /* كلاس الفتح بيكبر الدايرة لحد ما تغطي الشاشة */
    .nav-links.active {
        clip-path: circle(150vh at top right);
    }
    
    html[lang="ar"] .nav-links.active {
        clip-path: circle(150vh at top left);
    }

    /* ========================================== */
    /* 2. تأثير التمويجة للينكات (Staggered Wave) */
    /* ========================================== */
    .nav-links li {
        opacity: 0;
        transform: translateY(30px); /* بيبدأ مخفي ونازل لتحت شوية */
        /* حركة باونس خفيفة للينكات وهي بتظهر */
        transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    }

    /* لما القائمة تفتح، اللينكات تظهر وترجع لمكانها الطبيعي */
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* تأخير ظهور كل لينك عشان يعمل شكل الموجة (واحدة ورا التانية) */
    .nav-links.active li:nth-child(1) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.5s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.6s; }

    /* ========================================== */
    /* باقي كود الهمبرجر والقائمة المنسدلة (بدون تغيير) */
    /* ========================================== */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--accent-color);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--accent-color);
    }

    .nav-links .menu .item .submenu {
        position: static;
        min-width: 100%;
        background: transparent;
        border: none;
        /* box-shadow: none; */
        opacity: 1;
        visibility: visible;
        height: auto;
        padding-top: 15px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
    }

    /* تصغير حجم خط الخدمات الفرعية قليلاً لتمييزها عن اللينكات الرئيسية */
    .nav-links .menu .item .submenu .submenu-link {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7); /* لون أهدى شوية */
        text-align: center;
        border-bottom: none; /* إزالة الخط السفلي في الموبايل ليكون الشكل أنظف */
        padding: 8px 20px;
    }

    .nav-links .menu .item .submenu .submenu-link:hover {
      background-color: var(--primary-color) !important;
      color: var(--accent-color) !important;
    }

    /* إخفاء السهم في الموبايل لأن القائمة مفتوحة بالفعل */
    .nav-links .menu .link svg {
        display: none;
    }

    /* إلغاء تأثيرات الـ Hover بتاعت الديسكتوب على الموبايل */
    .nav-links .menu .item:hover .link {
        background: transparent;
        border: none;
    }
    .nav-links .menu .item:hover .link::after {
        display: none;
    }


    .nav-links .menu .item.mobile-open .submenu {
        opacity: 1;
        visibility: visible;
        height: auto;
        padding-top: 15px;
    }

     
    .nav-links .menu .item:hover .link svg {
        transform: none;
        fill: var(--text-light);
    }
    
    .nav-links .menu .item.mobile-open .link svg {
        transform: rotate(-180deg);
        fill: var(--accent-color);
    }

    .hero {
        min-height: 112vh !important;
    }
    .hero-content { 
      margin-top: -100px !important;
    }
    .hero-badge {
      font-size: 11px !important;
    }

    .value-card-pro {
     padding: 50px 10px !important;
     border-color: rgba(212, 175, 55, 0.4) !important; 
     box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.05) !important;

    }

    
.value-card-pro .icon-box {
    background: var(--accent-color) !important;
    transform: scale(1.1) !important;
}

.value-card-pro .icon-box i {
    color: var(--primary-color) !important;
}

.value-card-pro .pulse-ring {
    animation: pulseIcon 1.5s ease-out infinite !important;
}
.value-card-pro .watermark-number {
    color: rgba(212, 175, 55, 0.08) !important;
    transform: scale(1.1) rotate(-5deg) !important;
}

}


/*********************************************footer*******************************************/

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

footer h2 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.copyright {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; } /* يمكن إضافة قائمة هامبرغر لاحقاً */
    .hero h2 { font-size: 2.5rem; }
}

/* --- Language Switcher Button --- */
.lang-switch {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--primary-color);
}

.lang-switch:hover {
    background: var(--accent-color);
    color: var(--primary-color) !important;
}





/* ----------------- LUXURY FOOTER SECTION --------------------------- */
.footer-luxury {
    background: var(--primary-color);
    position: relative;
    padding: 100px 0 20px;
    color: var(--text-light);
    overflow: hidden;
    z-index: 1;
}

/* إضاءة ذهبية خفيفة من الأعلى تعطي إحساساً بالفخامة */
.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 100%);
    box-shadow: 0 0 30px 2px var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* --- العمود الأول (Brand) --- */
.footer-luxury .logo h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}
.footer-luxury .logo span {
    color: var(--accent-color);
}

.footer-desc {
    color: #a0aabf;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 400px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-icons a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* --- العمود الثاني والثالث (العناوين) --- */
.footer-luxury h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-luxury h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

/* --- الروابط السريعة --- */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #a0aabf;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.footer-links ul li a i {
    font-size: 0.8rem;
    color: var(--accent-color);
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* --- معلومات التواصل --- */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text strong {
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.contact-text span {
    color: #a0aabf;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- الجزء السفلي وحقوق Ternpress --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
    flex-direction: column;
}

.developer-credit {
    text-transform: capitalize;
}

.ternpress-link {
    color: var(--text-light);
    font-weight: 800;
    text-transform: lowercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

/* تأثير لمعان خفيف على اسم Ternpress */
.ternpress-link:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* --- دعم اللغة العربية (RTL) --- */
html[lang="ar"] .footer-luxury h3::after {
    left: auto;
    right: 0;
}

html[lang="ar"] .footer-links ul li a i {
    transform: rotate(180deg); /* عكس السهم للعربي */
}

html[lang="ar"] .footer-links ul li a:hover {
    transform: translateX(-5px); /* حركة لليسار في العربي */
}

/* --- استجابة الموبايل --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

a.contact-link{
    text-decoration: none;
    color: #a0aabf;
}



/***********************************Home Page************************************/

/* =========================================
   HOMEPAGE STYLES (Light & Luxury)
========================================= */
.py-section { padding: 100px 0; }
.bg-primary-dark { background-color: var(--primary-color); }
.text-light { color: var(--text-light) !important; }
.dark-text { color: var(--text-dark) !important; }
.text-muted { color: var(--secondary-text) !important; opacity: 0.8; }

/* --- 1. HERO SECTION --- */

.al-hero-section {
    position: relative;
    width: 100%;
    margin-top: 80px; /* Offset the 80px fixed navbar height */
    padding: 0;
    overflow: hidden;
    z-index: 1;
}

/* Upper Part (Deep Blue) */
.hero-upper-part {
    position: relative;
    background-color: var(--primary-color);
    background-image: radial-gradient(#f0f5f440 2px, transparent 2px);
    background-size: 30px 30px; /* مساحة توزيع النقط */

    padding-top: 85px;
    padding-bottom: 15px;
    overflow: hidden;
    z-index: 1; /* Lower than wave canvas to allow overlap */
}

.hero-overlay-gradient {
    display: none;
}

.hero-upper-part .container {
    position: relative;
    z-index: 3;
}

.hero-content-wrapper {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Cyber / Luxury Badge */
.cyber-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(198, 167, 94, 0.35);
    color: var(--text-light);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.cyber-badge:hover {
    border-color: rgba(198, 167, 94, 0.7);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.text-gold {
    color: #c6a75e !important;
}

/* Giant Heading */
.giant-heading {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 2px;
    color: var(--text-light);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.giant-heading .text-gold {
    background: linear-gradient(135deg, #ffe8b5 0%, #c6a75e 50%, #aa873c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Wave Canvas Container (Full Screen Width) */
.hero-wave-fullwidth {
    position: relative;
    width: 100%;
    height: 247px;
    background-color: var(--primary-color);
    background-image: radial-gradient(#f0f5f440 2px, transparent 2px);
    background-size: 30px 30px; /* مساحة توزيع النقط */

    margin: 0;
    padding: 0;
    overflow: visible; /* Allow taller canvas to draw outside container boundaries */
    z-index: 5; /* Higher than upper part */
}

#bend {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px; /* Taller than container to prevent canvas clipping */
    z-index: 5;
    pointer-events: none; /* Let pointer events pass through to lower layers if needed */
}

/* Lower Part (White background) */
.hero-lower-part {
    position: relative;
    background-color: var(--accent-color);
    /* padding-top: 20px; */
    padding-bottom: 50px;
    z-index: 5;
}

.hero-lower-part .container {
    position: relative;
    z-index: 3;
}

/* Hero Subtitle */
.hero-subtitle {
    max-width: 850px;
    margin: 0 auto 20px;
    font-size: 1.35rem;
    line-height: 1.9;
    text-align: center;
}

.hero-subtitle b {
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #1e3a5a;
    display: block;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.hero-lower-part .btn-primary {
    background: var(--primary-color);
    color: #ffffff !important;
    border: 2px solid var(--primary-color);
}

.hero-lower-part .btn-primary:hover {
    background: transparent;
    color: var(--primary-color) !important;
    box-shadow: 0 10px 25px rgba(9, 44, 86, 0.15);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary-color) !important;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(9, 44, 86, 0.15);
}

/* Language styling helpers */
html[lang="ar"] .giant-heading {
    letter-spacing: 0;
    font-family: 'Tajawal', sans-serif;
}

html[lang="ar"] .hero-subtitle b {
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-upper-part {
        padding-top: 80px;
        padding-bottom: 10px;
    }
    .giant-heading {
        font-size: 3.5rem;
    }
    .hero-wave-fullwidth {
        height: 210px;
    }
    .hero-lower-part {
      margin-top: -51px;
    }
    .hero-subtitle {
        font-size: 1.15rem;
        padding: 0 15px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .btn-primary, .btn-outline-dark {
        width: 100%;
        text-align: center;
    }
    .btn-outline-dark {
        margin-left: 0 !important;
    }

    .giant-heading{
        font-size: 32px !important;
    }
    .cyber-badge{
        font-size: 11px;
    }
    .mob-container{
        padding: 0 5px !important;
    }
    .al-about-section .editorial-title {
    font-size: 26px !important;}

    .al-about-section .desc-text {
    font-size: 16px !important;
    }
    .stat-card {
        padding: 45px 10px !important;
        transform: scale(0.9) !important;
    }
    .about-stats{
        gap: 0px !important;
    }
    .nav-links a:not(.btn-primary) { 
     font-size: 31px !important;
     color: #dddddd ;
   }
   .hk-about-story-sec
   {
     height: auto !important;
   }

}


/* --- 2. ABOUT SECTION --- */
.al-about-section {
    position: relative;
    background-color: #030a16; /* Deep midnight charcoal */
    /* Liquid Gold Radial & Mesh Glows */
    background-image: 
    radial-gradient(circle at 10% 20%, rgb(9 44 86 / 50%) 0%, #00000000 40%), 
    radial-gradient(circle at 90% 80%, rgba(198, 167, 94, 0.08) 0%, transparent 45%), 
    linear-gradient(rgb(255 255 255 / 0%) 1px, #00000054 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, #00000000 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    padding: 100px 0;
    overflow: hidden;
}

/* Luxury decorative light bar at the top border */
.al-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(198, 167, 94, 0.3), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

/* Premium Heading Styling */
.al-about-section .editorial-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.25;
    background: linear-gradient(135deg, #ffffff 10%, #fff0d4 50%, #c6a75e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

/* Sleek dynamic decorative accent bar below H2 */
.al-about-section .editorial-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    margin-top: 15px;
    border-radius: 2px;
}

/* Refined high-end description text */
.al-about-section .desc-text {
    font-size: 1.15rem;
    color: #b5c7dc; /* Platinum-gray with a touch of blue for high-fidelity dark UI */
    line-height: 2.0;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.al-about-section .desc-text strong {
    color: var(--accent-color);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(198, 167, 94, 0.15);
}

/* Glassmorphic Stats Section */
.about-stats {
    display: flex;
    gap: 25px;
}

.stat-card {
    position: relative;
    flex: 1;
    padding: 45px 25px;
    border-radius: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25), 
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

/* Golden particle glow effect behind the card on hover */
.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(198, 167, 94, 0.05) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

/* Outline stats card style (Frosted glass with glowing gold border) */
.stat-card.outline-card {
    background: rgba(255, 255, 255, 0.01) !important;
    border-color: rgba(198, 167, 94, 0.25) !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2), 
        inset 0 0 15px rgba(198, 167, 94, 0.02) !important;
}

.stat-card.outline-card:hover {
    border-color: rgba(198, 167, 94, 0.7) !important;
    box-shadow: 
        0 30px 60px rgba(198, 167, 94, 0.15), 
        inset 0 0 20px rgba(198, 167, 94, 0.05) !important;
}

/* Solid stats card style (Luxury bronze-to-gold metallic gradient) */
.stat-card.solid-card {
    background: linear-gradient(145deg, #092c56 0%, #031428 100%) !important;
    border-color: rgba(9, 44, 86, 0.3) !important;
}

.stat-card.solid-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(198, 167, 94, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stat-card.solid-card:hover {
    border-color: rgba(198, 167, 94, 0.5) !important;
    box-shadow: 
        0 30px 60px rgba(9, 44, 86, 0.3), 
        0 5px 15px rgba(198, 167, 94, 0.1) !important;
}

.stat-card h3 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.stat-card.outline-card h3 {
    background: linear-gradient(135deg, #ffffff 30%, #c6a75e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card.solid-card h3 {
    background: linear-gradient(135deg, #ffe094 0%, #c6a75e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card p {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 10px;
    color: var(--secondary-text) ;
}

.stat-card.outline-card p {
    color: #8c9cb0;
}

.stat-card.solid-card p {
    color: #e2eaf4;
}

/* --- 3. VALUES SECTION (LISTAR DESIGN) --- */

/* --- 3. VALUES SECTION (LISTAR DESIGN) --- */

 /* --- الإعدادات الأساسية للقسم --- */
.al-values-section {
    background-color: #031428;
    padding: 0; 
    font-family: sans-serif;
    overflow: hidden;
    position: relative;
}

.al-values-section .pset {
    /* background: linear-gradient(135deg, #092c56 0%, #031428 100%) !important; */
    padding-top: 100px;
    padding-bottom: 80px;
}

/* --- LUXURY HEADER DESIGN --- */
.header-design {
    position: relative;
    /* background: linear-gradient(135deg, #092c56 0%, #031428 100%); */
    background-color: var(--primary-color);
    padding: 100px 0 140px 0;
    overflow: hidden;
    text-align: center;
}

.header-overlay-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(198, 167, 94, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.header-content-overlay {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphic Pill Badge */
.header-content-overlay .chapter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(198, 167, 94, 0.35);
    color: var(--text-light);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.header-content-overlay .chapter-badge i {
    font-size: 0.9rem;
}

.header-content-overlay .chapter-badge:hover {
    border-color: rgba(198, 167, 94, 0.7);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(198, 167, 94, 0.15);
    transform: translateY(-2px);
}

/* Luxury Metallic Heading */
.header-content-overlay .values-editorial-title {
    font-size: 3.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 25px;
    line-height: 1.25;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 10%, #fff0d4 50%, #c6a75e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Gold Accent in Title */
.header-content-overlay .values-editorial-title .text-gold {
    background: linear-gradient(135deg, #ffe8b5 0%, #c6a75e 50%, #aa873c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Editorial Divider */
.header-content-overlay .editorial-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c6a75e, transparent);
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
}

.header-content-overlay .editorial-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: #ffe8b5;
    border: 1px solid #c6a75e;
    border-radius: 50%;
    box-shadow: 0 0 10px #c6a75e;
}

/* --- Smooth Multi-Layered Animated Waves --- */
.header-wave-wrapper {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
    transform: rotate(180deg);
}

.header-waves {
    position: relative;
    width: 100%;
    height: 65px;
    min-height: 45px;
    max-height: 85px;
}

/* Animated parallax effect */
.parallax-waves > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax-waves > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax-waves > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax-waves > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax-waves > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-design {
        padding: 70px 0 110px 0;
    }
    .header-content-overlay .values-editorial-title {
        font-size: 2.6rem;
    }
    .header-waves {
        height: 45px;
    }
}

.al-values-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- نظام الشبكة (Flex Row) --- */
.listar-feature-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    margin: 0 -15px;
}

.listar-feature-item-wrapper {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
    box-sizing: border-box;
    margin-top: 80px; /* لترك مساحة للأيقونة العلوية */
    margin-bottom: 80px; /* لترك مساحة للنقطة السفلية */
}

/* التجاوب مع الشاشات الأصغر */
@media (max-width: 991px) {
    .listar-feature-item-wrapper { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 767px) {
    .listar-feature-item-wrapper { flex: 0 0 100%; max-width: 100%; }
}

/* --- تصميم الكارت الداخلي --- */
.listar-feature-item {
    height: 100%;
    position: relative;
}

/* الرابط الذي يغطي الكارت */
.listar-feature-item > a {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10;
}

.listar-feature-item-inner {
    position: relative;
    height: 100%;
    z-index: 1;
}

/* الظل الأبيض الجانبي الذي يغطي النصف الأيسر من القوس الأزرق */
.listar-feature-item-inner:before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 1000px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 100%);
    box-shadow: 120px 0px 150px rgba(80, 80, 80, 0.15), 10px 0px 10px rgba(80, 80, 80, 0.02);
    z-index: -1;
}

/* --- القوس الأزرق الدائري --- */
.listar-feature-right-border {
    position: absolute;
    width: calc(100% + -13px);
    height: calc(100% + -6px);
    top: -10px;
    left: 48%;
    /* overflow: hidden; */
    pointer-events: none;
     /* z-index: -2; */
}

.listar-feature-right-border:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -50%;
    border: 11px solid #258bd5; 
    border-radius: 800px;
}



/* --- النقطة السفلية البيضاء --- */
.listar-feature-item-inner:after {
    content: "";
    background-color: #fff;
    position: absolute;
    bottom: -25px;
    left: 50%;
    margin-left: -25px;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    box-shadow: 10px 10px 40px rgba(80, 80, 80, 0.15), 15px 15px 30px rgba(80, 80, 80, 0.05), 0 0 120px rgba(80, 80, 80, 0.6);
    z-index: 2;
}



.listar-feature-icon-wrapper {
    position: absolute;
    top: -74px;
    left: 50%;
    transform: translateX(-50%);
    width: 148px;
    height: 148px;
    background-color: #fff;
    border-radius: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.06);
}

.listar-feature-icon-inner {
    width: 120px;
    height: 120px;
    background-color: #fff;
    border-radius: 500px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.14);
    display: flex;
    justify-content: center;
    align-items: center;
}

.listar-feature-icon-inner img {
    height: 55px;
    width: auto;
}

.listar-feature-content-wrapper {
    text-align: center;
    width: 100%;
}

/* --- النصوص (العنوان والرقم الوصفي) --- */
.listar-feature-item-title {
    margin-bottom: 25px;
}

.listar-feature-item-title > span {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    padding: 10px 25px 10px 45px;
    border-radius: 50px;
    box-shadow: 15px 20px 30px rgba(80, 80, 80, 0.12), 5px 0px 40px rgba(80, 80, 80, 0.1);
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.listar-feature-item-title > span span {
    position: absolute;
    left: -20px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #fff;
    border-radius: 50px;
    box-shadow: 15px 15px 30px rgba(80, 80, 80, 0.2), 5px 0px 80px rgba(80, 80, 80, 0.15);
    font-weight: bold;
    color: #555;
}

.listar-feature-item-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    padding: 0 10px;
}

/* =========================================
   دعم اللغة العربية (RTL Adjustments)
========================================= */
html[lang="ar"] .listar-feature-item-inner:before {
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 100%);
    box-shadow: -120px 0px 150px rgba(80, 80, 80, 0.15), -10px 0px 10px rgba(80, 80, 80, 0.02);
}

html[lang="ar"] .listar-feature-right-border {
    left: auto;
    right: 50%;
}

html[lang="ar"] .listar-feature-right-border:before {
    left: auto;
    right: -50%;
}

html[lang="ar"] .listar-feature-item-title > span {
    padding: 10px 45px 10px 25px;
}

html[lang="ar"] .listar-feature-item-title > span span {
    left: auto;
    right: -20px;
    box-shadow: -15px 15px 30px rgba(80, 80, 80, 0.2), -5px 0px 80px rgba(80, 80, 80, 0.15);
}

/***************************************our services*****************************************/
.al-services-split {
    background-color: var(--bg-gray);
    padding: 100px 0;
    overflow: hidden;
}

/* ========================================= */
/* تخطيط الشاشة المنقسمة */
/* ========================================= */
.split-showcase-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.services-list {
    flex: 0 0 45%; /* القائمة تأخذ 45% من العرض */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.visual-showcase {
    flex: 1; /* الصور تأخذ باقي المساحة 55% */
    height: 550px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(9, 44, 86, 0.15);
}

/* ========================================= */
/* تصميم قائمة الخدمات (الجانب الأيسر) */
/* ========================================= */
/* ========================================= */
/* تصميم قائمة الخدمات (الجانب الأيسر) المحدث */
/* ========================================= */
.srv-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 25px;
    background: #ffffff;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid rgba(9, 44, 86, 0.05);
    border-left: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    
    /* ضمان أن البوكس يأخذ مساحته الطبيعية ولا يضغط ما حوله */
    min-height: 85px; 
}

.srv-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    background: rgba(9, 44, 86, 0.04);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.srv-content {
    flex: 1; /* يأخذ باقي المساحة لمنع التداخل */
}

.srv-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 5px 0; /* تم تثبيت المارجن لمنع القفز وقت الهافر */
    transition: color 0.3s ease;
    line-height: 1.2;
}

/* ========================================= */
/* الحل الجذري لمنع التضارب (Perfect Accordion) */
/* ========================================= */
.srv-details {
    display: grid;
    grid-template-rows: 0fr; /* مخفي في البداية */
    transition: grid-template-rows 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.details-wrapper {
    min-height: 0; /* ضروري جداً لعمل الـ Grid Animation */
    overflow: hidden; /* يمنع الكلام من الخروج والتضارب مع باقي العناصر */
    opacity: 0;
    transition: opacity 0.4s ease 0.1s; /* تأخير بسيط للشفافية ليظهر بعد الفتح */
}

.details-wrapper p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 5px 0 15px 0;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #C6A75E;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

/* ========================================= */
/* تأثيرات الـ Hover المحدثة (بدون تضارب) */
/* ========================================= */
.srv-item:hover {
    background: #ffffff;
    border-left-color: #C6A75E;
    box-shadow: 0 15px 35px rgba(9, 44, 86, 0.08);
    transform: translateX(10px);
    z-index: 2; /* يضمن أن العنصر المفتوح فوق باقي العناصر */
}

.srv-item:hover .srv-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.05) rotate(-5deg);
}

.srv-item:hover .srv-content h3 {
    color: #C6A75E;
}

/* فتح المساحة بنعومة */
.srv-item:hover .srv-details {
    grid-template-rows: 1fr;
}

/* إظهار النص بعد الفتح */
.srv-item:hover .details-wrapper {
    opacity: 1;
}

.srv-item:hover .explore-btn {
    transform: translateX(0);
}

/* ========================================= */
/* تصميم شاشة العرض (الجانب الأيمن) وربطها بالماوس */
/* ========================================= */
.images-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
}

.showcase-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* كل الصور مخفية */
    transform: scale(1.1); /* زوم مبدئي */
    transition: opacity 0.6s ease, transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

/* طبقة لونية خفيفة فوق الصور لزيادة الفخامة */
.images-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(9, 44, 86, 0.1), rgba(9, 44, 86, 0.4));
    z-index: 2;
}

/* 
   السحر التقني (CSS :has)
   ربط الصور في اليمين بالماوس في اليسار بدون جافاسكريبت
*/
/* الحالة الافتراضية: الصورة الأولى ظاهرة */
.showcase-img:first-child { 
    opacity: 1; 
    transform: scale(1); 
}

/* عندما يمرر المستخدم الماوس على "القسم بالكامل"، نخفي الصورة الأولى استعداداً للجديدة */
.split-showcase-wrapper:hover .showcase-img {
    opacity: 0;
    transform: scale(1.05);
}

/* إظهار الصورة بناءً على العنصر الذي يتم تمرير الماوس عليه */
.split-showcase-wrapper:has(.srv-item:nth-child(1):hover) .img-1,
.split-showcase-wrapper:has(.srv-item:nth-child(2):hover) .img-2,
.split-showcase-wrapper:has(.srv-item:nth-child(3):hover) .img-3,
.split-showcase-wrapper:has(.srv-item:nth-child(4):hover) .img-4,
.split-showcase-wrapper:has(.srv-item:nth-child(5):hover) .img-5 {
    opacity: 1;
    transform: scale(1);
}

 /* ========================================= */
/* تصميم العنوان الاحترافي الجديد (Premium Header) */
/* ========================================= */
.premium-section-header {
    margin-bottom: 50px;
    max-width: 650px; /* لضمان عدم تمدد النص بشكل مبالغ فيه */
}

/* شكل الـ Badge (الشارة) البديل للنص العادي */
.expertise-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(198, 167, 94, 0.08); /* لون ذهبي شفاف */
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(198, 167, 94, 0.2);
    margin-bottom: 20px;
}

.expertise-badge .num {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.1rem;
}

/* خط فاصل أنيق بين الرقم والنص */
.expertise-badge .divider {
    width: 30px;
    height: 2px;
    background: #c6a75e !important;
}

.expertise-badge .text {
    color: #c6a75e !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* العنوان الرئيسي بحجم أضخم وفخامة أكبر */
.editorial-title-new {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 15px;
}

.header-desc {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ========================================= */
/* أنيميشن الدخول الجانبي (Fade In Right & Left) */
/* ========================================= */
/* دخول من اليسار إلى الوسط */
.fade-in-left {
    opacity: 0;
    transform: translateX(-80px); 
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* دخول من اليمين إلى الوسط */
.fade-in-right {
    opacity: 0;
    transform: translateX(80px); 
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 
   ملاحظة مهمة: هذا الكلاس (.visible أو .in-view أو الكلاس الذي تستخدمه 
   في ملف الجافاسكريبت الخاص بالـ Scroll) سيعيد العناصر لمكانها الطبيعي 
*/
.fade-in-left.visible, 
.fade-in-left.in-view, 
.fade-in-left.aos-animate, /* لو بتستخدم مكتبة AOS */
.fade-in-right.visible, 
.fade-in-right.in-view,
.fade-in-right.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================= */
/* التوافق مع شاشات الموبايل */
/* ========================================= */
@media (max-width: 991px) {
    .editorial-title-new {
        font-size: 2.5rem;
    }
    
    .premium-section-header {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* في الموبايل من الأفضل إرجاع الأنيميشن للأسفل لتجنب مشاكل العرض الجانبي (Overflow) */
    .fade-in-left, .fade-in-right {
        transform: translateY(40px);
    }
}

/* ========================================= */
/* التوافق مع شاشات الموبايل (Responsive) */
/* ========================================= */
@media (max-width: 991px) {
    .split-showcase-wrapper {
        flex-direction: column-reverse; /* جعل الصورة فوق القائمة في الموبايل */
        gap: 30px;
    }
    
    .services-list {
        width: 100%;
    }
    
    .visual-showcase {
        width: 100%;
        height: 350px; /* تصغير ارتفاع الصورة في الموبايل */
    }

    /* في الموبايل نظهر التفاصيل دائماً لعدم وجود Hover */
    .srv-item .srv-content h3 {
        margin-top: 0;
    }
    
    .srv-details {
        grid-template-rows: 1fr;
        opacity: 1;
    }

    .explore-btn {
        opacity: 1;
        transform: translateX(0);
    }
}


/* --- 4. SERVICES OVERVIEW --- */
.services-minimal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.srv-minimal-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid rgba(9, 44, 86, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.srv-icon-top {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: 0.4s ease;
}
.srv-minimal-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.srv-minimal-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}
.read-more {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}
.srv-minimal-card:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(9, 44, 86, 0.15);
}
.srv-minimal-card:hover .srv-icon-top { color: var(--accent-color); transform: scale(1.1); }
.srv-minimal-card:hover p { color: var(--secondary-text); }

/* --- 5. ORGANIZATION CHART --- */
.al-org-section {
    position: relative;
    background-color: var(--bg-gray);
    /* شبكة خفيفة ورا الهيكل التنظيمي */
    background-image: radial-gradient(rgba(9, 44, 86, 0.05) 2px, transparent 2px);
    background-size: 30px 30px;
}
.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.org-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    width: 220px;
    box-shadow: 0 10px 20px rgba(9, 44, 86, 0.05);
    border-top: 4px solid var(--secondary-color);
    position: relative;
    transition: 0.3s;
}
.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(9, 44, 86, 0.1);
    border-top-color: var(--accent-color);
}
.gm-card {
    border-top-color: var(--accent-color);
    width: 260px;
    padding: 30px;
}
.org-avatar {
    width: 60px; height: 60px;
    background: rgba(9, 44, 86, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}
.gm-card .org-avatar { background: rgba(198, 167, 94, 0.1);}
.org-card h4 { font-size: 1.1rem; margin-bottom: 5px; color: var(--text-dark); }
.org-role { font-size: 0.85rem; color: #666; font-weight: 500; }

/* خط التوصيل بين المدير العام والمديرين */
.org-connector {
    width: 2px;
    height: 40px;
    background-color: rgba(9, 44, 86, 0.2);
    position: relative;
}
.org-connector::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -400px; /* يعتمد على عرض الشاشة، سيتم تظبيطه في الفليكس */
    width: 800px;
    height: 2px;
    background-color: rgba(9, 44, 86, 0.2);
}
.managers-level {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 40px;
    position: relative;
}
/* خطوط التوصيل الرأسية للمديرين */
.managers-level .org-card::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    width: 2px;
    height: 40px;
    background-color: rgba(9, 44, 86, 0.2);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .giant-heading { font-size: 3.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .org-connector::after { display: none; } /* إخفاء الخط الأفقي في الموبايل */
    .managers-level .org-card::before { display: none; }
    .managers-level { gap: 20px; flex-direction: column; padding-top: 20px; }
    .org-connector { height: 20px; }
}

/* --- GSAP SCROLL REVEAL STYLES --- */
/* Progressive enhancement: hide reveal elements initially only if JS is enabled to prevent FOUC */
.js-enabled .al-hero-section .cyber-badge,
.js-enabled .al-hero-section .giant-heading,
.js-enabled .al-hero-section .hero-subtitle,
.js-enabled .al-hero-section .hero-actions a,
.js-enabled .al-about-section .about-text,
.js-enabled .al-about-section .about-stats,
.js-enabled .al-values-section .header-content-overlay,
.js-enabled .al-values-section .listar-feature-item-wrapper,
.js-enabled .al-services-section .chapter-number,
.js-enabled .al-services-section .editorial-title,
.js-enabled .al-services-section .srv-minimal-card,
.js-enabled .al-org-section .chapter-number,
.js-enabled .al-org-section .editorial-title,
.js-enabled .al-org-section .org-card,
.js-enabled .al-org-section .org-connector {
    opacity: 0;
    will-change: transform, opacity;
}

/* Premium Card Interaction enhancements */
.srv-minimal-card, .org-card {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
}

.srv-minimal-card:hover, .org-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(9, 44, 86, 0.1), 0 3px 10px rgba(198, 167, 94, 0.1) !important;
    border-color: var(--accent-color) !important;
}

/* Enhanced 3D lift classes */
.lift-effect {
    perspective: 1000px;
}














/**********************************************section of why *******************************************/
  
  .listar-feature-item a {
    position: absolute;
    top: -12px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% + 4px);
    border-radius: 1000px;
    z-index: 10;
  }
   
  
  .listar-feature-item a:after {
    content: "";
    position: absolute;
    bottom: -38px;
    left: 50%;
    margin-left: -25px;
    width: 50px;
    height: 50px;
    border-radius: 1000px;
    z-index: 10;
    animation: ripple 0.7s linear infinite;
    box-shadow: 5px 5px 10px rgba(163, 177, 198, 0.6),
      -5px -5px 10px rgba(255, 255, 255, 0.5);
  }
  
  
  @keyframes ripple {
    0% {
          box-shadow: 0 0 0 0 rgba(163, 177, 198, 0.3), 0 0 0 1em rgba(163, 177, 198, 0.3), 0 0 0 3em rgba(163, 177, 198, 0.03), 0 0 0 5em rgba(163, 177, 198, 0.01);
    }
    100% {
      box-shadow: 0 0 0 1em rgba(163, 177, 198, 0.3), 0 0 0 3em rgba(163, 177, 198, 0.03), 0 0 0 5em rgba(163, 177, 198, 0.03), 0 0 0 8em rgba(163, 177, 198, 0.01);
    }
  }
  
  
   
  
  .listar-feature-item .listar-feature-item-inner {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  
 
  
  /* .listar-feature-right-border {
    position: absolute;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    top: -12px;
    left: 50%;
    overflow: hidden;
  } */
  
  .listar-feature-items {
    text-align: center;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  
 
  
  
  .listar-feature-item .listar-feature-block-content-wrapper {
    position: relative;
    display: block;
    text-decoration: none;
    margin: -30px;
    padding: 30px;
    height: calc(100% + 100px);
  }
  
  .listar-features-design-2 .listar-feature-item-wrapper {
    margin-bottom: 120px;
    padding-left: 27px;
    padding-right: 27px;
  }
   
  .listar-feature-icon-wrapper {
    width: 148px;
    height: 148px;
    line-height: 148px;
    border-radius: 500px;
    position: relative;
    background-color: #fff;
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.06);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    left: 50%;
    vertical-align: middle;
    margin-left: -74px;
    top: -66px;
    margin-top: -74px;
  }
  
  .listar-feature-icon-inner {
    width: 120px;
    height: 120px;
    line-height: 120px;
    border-radius: 500px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.14);
    background: #fff;
  }
  
  .listar-feature-icon-inner div {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    display: inline-block;
    position: relative;
    width: 120px;
    height: 120px;
    line-height: 120px;
    text-align: left;
  }
  
  .listar-feature-icon-inner img {
    position: relative;
    margin: 0 auto;
    vertical-align: middle;
    display: inline-block;
    width: auto;
    left: 50%;
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -o-transform: translate(-50%);
    transform: translate(-50%);
    height: 55px;
  }
  
  .listar-feature-item img,
  .listar-feature-item i {
    position: relative;
    display: inline-block;
    border-bottom: 0;
    font-size: 40px;
    top: 0;
    padding: 0;
    color: #258bd5;
  }
  
  .listar-feature-with-image .listar-feature-content-wrapper {
    top: 0;
  }
  .listar-feature-content-wrapper {
    position: relative;
    margin-top: -15.5px;
  }
  
  .listar-feature-item .listar-feature-item-title {
    padding-top: 0;
    margin: 0 0 30px;
    text-align: center;
    line-height: 1.5;
  }
  
  .listar-feature-item
    .listar-feature-item-title.listar-feature-counter-added
    > span {
    margin-left: 25px;
    border-radius: 0 50px 50px 0;
  }
  
  .listar-feature-item .listar-feature-item-title > span {
    box-shadow: 15px 20px 30px rgba(80, 80, 80, 0.12),
      5px 0px 40px rgba(80, 80, 80, 0.1);
    padding: 10px 20px;
    display: inline-block;
    position: relative;
    background-color: #fff;
  }
  
  .listar-feature-item .listar-feature-item-title > span span {
    box-shadow: 15px 15px 30px rgba(80, 80, 80, 0.2),
      5px 0px 80px rgba(80, 80, 80, 0.15);
    padding: 10px 0;
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 30px;
    white-space: nowrap;
    position: absolute;
    top: -3px;
    left: -40px;
    border-radius: 50px;
    background-color: #fff;
  }
  
  .listar-feature-item .listar-feature-item-title span {
    display: inline-block;
    font-size: 14px;
    line-height: normal;
    font-weight: 400;
    text-shadow: none;
    border-radius: 50px;
    color: #252525;
    font-size: 18px;
  }
  
  .listar-feature-item-excerpt {
    padding: 0 38px;
  }
  
  .listar-feature-item-excerpt {
    color: #252525;
    position: relative;
    top: 0;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  
  .pset {
    padding-top: 180px;
    padding-bottom: 80px;
  }
  
  .listar-map-button-text span {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
    height: 44px;
    line-height: 1.6;
    padding: 10px 25px;
    box-shadow: 0 0 31px rgba(0, 0, 0, 0.65), 0 0 4px rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    background-color: rgba(35, 40, 45, 0.9);
    color: #fff;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
  }
  
  .listar-map-button-text span {
    background-color: #fff;
    color: #252525;
    text-shadow: none;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
  }
  
  .listar-map-button-text span:after {
    border: 12px solid #fff;
  }
  
 
  
  .listar-feature-with-image .listar-feature-item a:before {
    content: "";
    position: absolute;
    top: -74px;
    left: 50%;
    margin-left: -74px;
    width: 148px;
    height: 148px;
    border-radius: 1000px;
    z-index: 10;
  }
  
  .listar-feature-item.listar-feature-has-link .listar-feature-item-inner:after {
    margin-left: -25px;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    box-shadow: 10px 10px 40px rgba(80, 80, 80, 0.15),
      15px 15px 30px rgba(80, 80, 80, 0.05), 0 0 120px rgba(80, 80, 80, 0.6);
    bottom: -30px;
    background-size: 40%;
    color: red;
    line-height: 52px;
  }

/* --- LUXURY DARK/GOLD VALUES OVERRIDES (OG UI) --- */

.al-values-section .listar-feature-item-inner:before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 1000px;
    background: linear-gradient(135deg, rgba(240, 245, 244, 0.08) 0%, rgba(102, 140, 169, 0.15) 100%) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(240, 245, 244, 0.2) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 0 25px rgba(240, 245, 244, 0.05) !important;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.al-values-section .listar-feature-item-wrapper:hover .listar-feature-item-inner:before {
    background: linear-gradient(135deg, rgba(240, 245, 244, 0.15) 0%, rgba(102, 140, 169, 0.25) 100%) !important;
    border-color: rgba(240, 245, 244, 0.5) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(102, 140, 169, 0.35), inset 0 0 20px rgba(240, 245, 244, 0.1) !important;
}

.al-values-section .listar-feature-right-border:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%; 
    top: 0;
    left: -50%;
    border: 11px solid var(--water-blue) !important;
    border-radius: 800px;
    box-shadow: 0 0 25px rgba(102, 140, 169, 0.297) !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.al-values-section .listar-feature-item:hover .listar-feature-right-border:before {
    border-color: var(--secondary-text) !important;
    border-width: 13px !important;
    box-shadow: 0 0 35px rgba(169, 203, 224, 0.8) !important;
}

.al-values-section .listar-feature-icon-wrapper {
    background-color: rgba(240, 245, 244, 0.1) !important;
    border: 2px solid var(--water-blue) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(102, 140, 169, 0.3) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.al-values-section .listar-feature-icon-inner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    box-shadow: inset 0 0 15px rgba(240, 245, 244, 0.2) !important;
}

.al-values-section .listar-feature-item:hover .listar-feature-icon-wrapper {
    transform: translateX(-50%) translateY(-5px) scale(1.05) !important;
    border-color: var(--secondary-text) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(169, 203, 224, 0.6) !important;
}

.al-values-section .listar-feature-item-title > span {
    background-color: rgba(240, 245, 244, 0.08) !important;
    color: var(--accent-color) !important;
    border: 1px solid rgba(240, 245, 244, 0.2) !important;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important; */
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(8px);
}

.al-values-section .listar-feature-item-title > span span {
    background-color: var(--water-blue) !important;
    color: #ffffff !important;
    /* box-shadow: 0 0 15px rgba(102, 140, 169, 0.6) !important; */
    font-weight: 800 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.al-values-section .listar-feature-item:hover .listar-feature-item-title > span {
    border-color: var(--secondary-text) !important;
    color: #ffffff !important;
    background-color: rgba(240, 245, 244, 0.15) !important;
    /* box-shadow: 0 12px 35px rgba(102, 140, 169, 0.3) !important; */
}

.al-values-section .listar-feature-item:hover .listar-feature-item-title > span span {
    background-color: var(--secondary-text) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 0 20px rgba(169, 203, 224, 0.8) !important;
}

.al-values-section .listar-feature-item-excerpt {
    color: var(--secondary-text) !important;
    font-size: 0.95rem !important;
    line-height: 1.9 !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: color 0.3s ease !important;
}

.al-values-section .listar-feature-item:hover .listar-feature-item-excerpt {
    color: #ffffff !important;
}

.al-values-section .listar-feature-item-inner:after {
    background-color: var(--water-blue) !important;
    box-shadow: 0 0 20px rgba(102, 140, 169, 0.8) !important;
}

.al-values-section .listar-feature-item.listar-feature-has-link .listar-feature-item-inner:after {
    background-color: var(--water-blue) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M16.172 11l-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2z'/%3E%3C/svg%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 50% !important;
    box-shadow: 0 0 25px rgba(102, 140, 169, 0.8) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.al-values-section .listar-feature-item.listar-feature-has-link:hover .listar-feature-item-inner:after {
    background-color: var(--secondary-text) !important;
    box-shadow: 0 0 35px rgba(169, 203, 224, 1) !important;
    transform: rotate(360deg) scale(1.1) !important;
}

.al-values-section .listar-feature-item a:after {
    content: "" !important;
    position: absolute !important;
    bottom: -38px !important;
    left: 50% !important;
    margin-left: -25px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 1000px !important;
    z-index: 10 !important;
    animation: ripple 1.5s linear infinite !important;
    box-shadow: 0 0 20px rgba(102, 140, 169, 0.4) !important;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 140, 169, 0.5), 0 0 0 1em rgba(102, 140, 169, 0.3), 0 0 0 2em rgba(102, 140, 169, 0.1);
  }
  100% {
    box-shadow: 0 0 0 1em rgba(102, 140, 169, 0.3), 0 0 0 2em rgba(102, 140, 169, 0.1), 0 0 0 4em rgba(102, 140, 169, 0);
  }
}

/* --- RTL mirroring support for dark values --- */
html[lang="ar"] .al-values-section .listar-feature-item-inner:before {
    background: linear-gradient(135deg, rgba(240, 245, 244, 0.08) 0%, rgba(102, 140, 169, 0.15) 100%) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(240, 245, 244, 0.03) !important;
}

html[lang="ar"] .al-values-section .listar-feature-item-title > span {
    padding: 10px 45px 10px 25px !important;
}

html[lang="ar"] .al-values-section .listar-feature-item-title > span span {
    left: auto !important;
    right: -20px !important;
    box-shadow: 0 0 15px rgba(102, 140, 169, 0.6) !important;
}

html[lang="ar"] .al-values-section .listar-feature-item.listar-feature-has-link .listar-feature-item-inner:after {
    margin-left: auto !important;
    margin-right: -25px !important;
    transform: rotate(180deg) !important;
}

html[lang="ar"] .al-values-section .listar-feature-item.listar-feature-has-link:hover .listar-feature-item-inner:after {
    transform: rotate(-180deg) scale(1.1) !important;
}
   
  
  
  


/* ========================================================================= */
/* VARIABLES & SCOPED UTILITIES FOR ABOUT PAGE */
/* ========================================================================= */
:root {
    --hk-primary-blue: #092C56;
    --hk-secondary-blue: #030b17; /* أغمق لزيادة التباين */
    --hk-accent-gold: #C6A75E;
    --hk-accent-gold-rgb: 198, 167, 94;
    --hk-ice-blue: #A9CBE0;
    --hk-text-white: #FFFFFF;
    --hk-text-dark: #1E293B;
    --hk-text-muted: #556B82;
    --hk-bg-light: #F8FAFC;
}

.hk-about-relative { position: relative; }
.hk-about-z10 { z-index: 10; }

/* ========================================================================= */
/* 1. HERO SECTION & BACKGROUND */
/* ========================================================================= */
.hk-about-hero-sec {
    position: relative;
    height: 100vh;
    min-height: 750px;
    background: linear-gradient(135deg, var(--hk-secondary-blue) 0%, #061a35 50%, var(--hk-primary-blue) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* التوهج الخلفي (Glowing Orb) خلف النص مباشرة لبروز المحتوى */
.hk-about-hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(var(--hk-accent-gold-rgb), 0.08) 0%, rgba(9, 44, 86, 0) 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(50px);
}

/* الشبكة الهندسية مع تأثير التلاشي (Vignette Mask) */
.hk-about-hero-grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    /* السر هنا: إخفاء حواف الشبكة لتندمج مع الخلفية المظلمة */
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
}

/* ========================================================================= */
/* 2. FLOATING GLASS SHAPES (Abstract Engineering Elements) */
/* ========================================================================= */
.hk-glass-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 3;
}

 /* ========================================================================= */
/* 2. FLOATING INDUSTRIAL ICONS (Glass & Hologram Motif) */
/* ========================================================================= */
.hk-glass-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 3;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    /* لون الأيقونات شبه شفاف ليظهر كأنه هولوجرام */
    color: rgba(255, 255, 255, 0.15); 
}

/* الأيقونة الأولى: الترس (أعلى اليمين) */
.hk-icon-shape-1 {
    width: 200px; height: 200px;
    border-radius: 50%;
    top: 16%; right: 8%;
    font-size: 6rem;
    animation: hk-float-spin 20s linear infinite; /* الترس يلف بالكامل */
}

/* الأيقونة الثانية: بئر بترول (أسفل اليمين) - تعبر عن الـ Oil & Gas */
.hk-icon-shape-2 {
    width: 140px; height: 140px;
    border-radius: 30px; /* شكل مربع بحواف ناعمة */
    bottom: 15%; right: 15%;
    font-size: 4rem;
    /* إعطاء الأيقونة الثانية لمسة ذهبية خفيفة */
    color: rgba(198, 167, 94, 0.15);
    border-color: rgba(198, 167, 94, 0.1);
    animation: hk-float-tilt 12s ease-in-out infinite alternate-reverse;
}

/* الأيقونة الثالثة: مصنع (منتصف اليسار) */
.hk-icon-shape-3 {
    width: 160px; height: 160px;
    border-radius: 50%;
    top: 35%; left: 3%;
    font-size: 4.5rem;
    animation: hk-float-tilt 16s ease-in-out infinite alternate;
}

/* إضافة توهج (Glow) داخلي للأيقونات */
.hk-glass-icon i {
    filter: drop-shadow(0 0 15px currentColor);
}

/* أنيميشن الدوران الكامل (ممتاز مع الترس) */
@keyframes hk-float-spin {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* أنيميشن الطفو والميلان */
@keyframes hk-float-tilt {
    0% { transform: translateY(0) rotate(-10deg); }
    100% { transform: translateY(-40px) rotate(15deg); }
}

@media (max-width: 991px) {
    .hk-glass-icon { display: none; }
}

/* 
@keyframes hk-float-slow {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-40px) rotate(15deg); }
} */

/* ========================================================================= */
/* 3. TYPOGRAPHY & CONTENT */
/* ========================================================================= */
.hk-about-content-box {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

/* Badge بتصميم سايبر/زجاجي حديث */
.hk-about-gold-sub {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(var(--hk-accent-gold-rgb), 0.3);
    padding: 8px 24px;
    border-radius: 50px;
    color: var(--hk-accent-gold);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* إضاءة متحركة داخل البادج */
.hk-sub-glow {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--hk-accent-gold-rgb), 0.4), transparent);
    animation: hk-badge-shine 4s infinite ease-in-out;
}

@keyframes hk-badge-shine {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}

/* Metallic Title */
.hk-about-giant-title {
    font-size: 4.5rem;
    color: var(--hk-text-white);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 25px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hk-about-giant-title .hk-about-text-gold {
    /* تأثير معدن الذهب الحقيقي */
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hk-gold-shine 5s linear infinite;
}

@keyframes hk-gold-shine {
    to { background-position: 200% center; }
}

.hk-about-hero-desc {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin-bottom: 40px;
    font-weight: 400;
}

/* ========================================================================= */
/* 4. PREMIUM BUTTON */
/* ========================================================================= */
.hk-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    color: var(--hk-text-white) !important;
    font-weight: 600;
    padding: 6px 6px 6px 32px; /* مسافة للزر الدائري */
    border-radius: 50px;
    font-size: 1rem;
    text-decoration: none !important;
    border: 1px solid rgba(var(--hk-accent-gold-rgb), 0.5);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hk-btn-text {
    z-index: 2;
    transition: color 0.4s ease;
}

.hk-btn-icon {
    width: 45px;
    height: 45px;
    background: var(--hk-accent-gold);
    color: var(--hk-primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s ease;
}

/* خلفية الزر عند التمرير */
.hk-btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--hk-accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

/* تعديل الاتجاه للغة العربية */
html[lang="ar"] .hk-btn-primary { padding: 6px 32px 6px 6px; }
html[lang="ar"] .hk-btn-primary::before { transform-origin: left; }

.hk-btn-primary:hover::before { transform: scaleX(1); }
.hk-btn-primary:hover .hk-btn-text { color: var(--hk-primary-blue); }
.hk-btn-primary:hover .hk-btn-icon { background: #fff; transform: translateX(5px); }
html[lang="ar"] .hk-btn-primary:hover .hk-btn-icon { transform: translateX(-5px); }

/* ========================================================================= */
/* 5. SCROLL INDICATOR */
/* ========================================================================= */
.hk-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hk-scroll-indicator:hover { opacity: 1; }

.hk-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    position: relative;
}

.hk-wheel {
    width: 4px;
    height: 8px;
    background: var(--hk-accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: hk-scroll-wheel 2s infinite ease-in-out;
}

.hk-scroll-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes hk-scroll-wheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* ========================================================================= */
/* RESPONSIVE DESIGN */
/* ========================================================================= */
@media (max-width: 991px) {
    .hk-about-giant-title { font-size: 3rem; }
    .hk-glass-shape { display: none; /* إخفاء الأشكال الزجاجية في الموبايل لتحسين الأداء */ }
    .hk-about-hero-desc { font-size: 1.1rem; }
}


/* ========================================================================= */
/* 2. THE STORY SECTION */
/* ========================================================================= */

.hk-about-story-sec {
    background-color: var(--hk-bg-light);
    position: relative;
    overflow: hidden;
    height: 120vh;

}

/* Blueprint Dots Background */
.hk-story-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(9, 44, 86, 0.08) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: 0.6;
    pointer-events: none;
}

.hk-about-story-wrapper {
    display: flex;
    align-items: center;
    gap: 100px; /* زيادة المسافة للسماح بتداخل الكارت الزجاجي */
    margin-top: 50px;
}

.hk-about-story-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hk-about-story-img-box {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 30px; /* مساحة لزوايا التحديد الهندسية */
}

/* ========================================= */
/* Typography & Badges */
/* ========================================= */
.hk-tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid rgba(9, 44, 86, 0.1);
    padding: 6px 20px 6px 12px;
    border-radius: 4px; /* شكل هندسي بدل الدائري */
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
html[lang="ar"] .hk-tech-badge { padding: 6px 12px 6px 20px; }

/* النقطة المضيئة (Live Indicator) */
.hk-pulse-dot {
    width: 8px; height: 8px;
    background-color: var(--hk-accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(198, 167, 94, 0.7);
    animation: hk-pulse-anim 2s infinite;
}

@keyframes hk-pulse-anim {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(198, 167, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(198, 167, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(198, 167, 94, 0); }
}

.hk-tech-badge .hk-badge-num { color: var(--hk-primary-blue); font-weight: 800; font-size: 0.95rem; }
.hk-tech-badge .hk-badge-divider { width: 1px; height: 16px; background: rgba(9, 44, 86, 0.2); }
.hk-tech-badge .hk-badge-text { color: var(--hk-accent-gold); font-weight: 700; font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; }

.hk-about-sec-title {
    font-size: 3rem;
    color: var(--hk-primary-blue);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-align: center;
}

.hk-about-sec-title .hk-about-text-gold {
    background:linear-gradient(135deg, #617fa2 0%, var(--hk-accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hk-about-lead { font-size: 1.25rem; line-height: 1.6; color: var(--hk-primary-blue); font-weight: 600; margin-bottom: 20px; border-left: 3px solid var(--hk-accent-gold); padding-left: 20px; }
html[lang="ar"] .hk-about-lead { border-left: none; border-right: 3px solid var(--hk-accent-gold); padding-left: 0; padding-right: 20px; }

.hk-about-sub { font-size: 1.05rem; line-height: 1.8; color: var(--hk-text-muted); margin-bottom: 30px; }

/* الرابط الاستكشافي المتطور */
.hk-explore-link {
    display: inline-flex; align-items: center; gap: 15px; color: var(--hk-primary-blue); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; transition: all 0.3s ease;
}
.hk-link-line { width: 30px; height: 2px; background: var(--hk-accent-gold); transition: width 0.3s ease; }
.hk-explore-link:hover { color: var(--hk-accent-gold); }
.hk-explore-link:hover .hk-link-line { width: 50px; }
html[lang="ar"] .hk-explore-link i { transform: rotate(180deg); }

/* ========================================= */
/* Image & Engineering Brackets Composition */
/* ========================================= */
.hk-bracket-top-left, .hk-bracket-bottom-right {
    position: absolute; width: 60px; height: 60px; border: 3px solid var(--hk-accent-gold); z-index: 1; transition: all 0.5s ease;
}
.hk-bracket-top-left { top: 0; left: 0; border-right: none; border-bottom: none; }
.hk-bracket-bottom-right { bottom: 0; right: 0; border-left: none; border-top: none; }

.hk-about-story-img-box:hover .hk-bracket-top-left { top: -10px; left: -10px; }
.hk-about-story-img-box:hover .hk-bracket-bottom-right { bottom: -10px; right: -10px; }

.hk-image-composition {
    position: relative;
    border-radius: 4px; /* زوايا حادة للطابع الصناعي */
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(9, 44, 86, 0.15);
}

/* طبقة زرقاء خفيفة تعطي الطابع السينمائي للصورة (Color Grading) */
.hk-image-overlay-tint {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(9, 44, 86, 0.15); mix-blend-mode: multiply; z-index: 2; transition: opacity 0.5s ease;
}
.hk-about-story-img-box:hover .hk-image-overlay-tint { opacity: 0; }

.hk-about-main-img { width: 100%; height: auto; display: block; transform: scale(1.05); transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.hk-about-story-img-box:hover .hk-about-main-img { transform: scale(1); }

/* Micro-UI: Industrial Tag */
.hk-micro-tag {
    position: absolute; top: 20px; right: 20px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); color: #fff; font-size: 0.65rem; font-family: monospace; padding: 4px 10px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, 0.2); z-index: 3; letter-spacing: 1px;
}

/* ========================================= */
/* Overlapping Glass Metrics Dashboard */
/* ========================================= */
.hk-glass-metrics-card {
    position: absolute;
    bottom: 40px;
    left: -80px; /* تداخل (Overlapping) مع النص */
    background: rgba(9, 44, 86, 0.95); /* كحلي داكن زجاجي */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--hk-accent-gold);
    padding: 30px 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}
html[lang="ar"] .hk-glass-metrics-card { left: auto; right: -80px; border-left: 1px solid rgba(255, 255, 255, 0.1); border-right: 4px solid var(--hk-accent-gold); }

.hk-metric-group { display: flex; flex-direction: column; gap: 5px; }

.hk-metric-value {
    font-size: 2.5rem; font-weight: 800; color: var(--hk-text-white); margin: 0; line-height: 1; font-family: 'Arial', sans-serif;
}
.hk-metric-sym { color: var(--hk-accent-gold); font-size: 1.5rem; font-weight: 700; margin-left: 2px; }

.hk-metric-label {
    font-size: 0.75rem; color: var(--hk-ice-blue); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; white-space: nowrap;
}

.hk-metric-divider { width: 1px; height: 50px; background: rgba(255, 255, 255, 0.15); }

@keyframes hk-float-dashboard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.hk-about-floating { animation: hk-float-dashboard 5s ease-in-out infinite; }

/* ========================================= */
/* Responsive Adjustments */
/* ========================================= */
@media (max-width: 1199px) {
    .hk-glass-metrics-card { left: -40px; padding: 20px 25px; gap: 20px; }
    html[lang="ar"] .hk-glass-metrics-card { right: -40px; }
}
@media (max-width: 991px) {
    .hk-about-story-wrapper { flex-direction: column; gap: 60px; }
    .hk-about-sec-title { font-size: 22px; }
    .hk-glass-metrics-card {
         margin-top: -73px !important;
        position: relative; bottom: auto; left: auto !important; right: auto !important; transform: translateY(-30px); margin: 0 auto; width: 90%; justify-content: center; flex-wrap: wrap;
    }
    .hk-about-relative {
      padding-bottom: 15px !important;
    }
    .hk-global-map-sec, .hk-about-fleet-sec{
        padding: 10px 0 !important;
    }
    .hks-slide-content{
        text-align: center !important;
    }
}
@media (max-width: 768px) {
    .hk-glass-metrics-card { flex-direction: column; text-align: center; gap: 15px; }
    .hk-metric-divider { width: 50px; height: 1px; }
}


 /* ========================================================================= */
/* 1. QHSE & CERTIFICATIONS (Dark Glassmorphism) */
/* ========================================================================= */
.hk-about-qhse-sec {
    background-color: var(--hk-primary-blue);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* Infinite Marquee */
.hk-marquee-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    margin-bottom: 80px;
}

.hk-marquee-track {
    display: inline-flex;
    gap: 50px;
    animation: hk-scroll-marquee 25s linear infinite;
}

.hk-marquee-track span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes hk-scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* بيتحرك لنص العرض لأننا مكررين الكلمات */
}

/* Glass Shields */
.hk-qhse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.hk-glass-shield {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--hk-accent-gold);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.hk-glass-shield:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 50px rgba(198, 167, 94, 0.15);
}

.hk-shield-icon {
    font-size: 3rem;
    color: var(--hk-accent-gold);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(198, 167, 94, 0.4));
}

.hk-glass-shield h3 { color: #fff; font-size: 1.4rem; margin-bottom: 15px; font-weight: 700; }
.hk-glass-shield p { color: rgba(255,255,255,0.7); line-height: 1.7; margin: 0; }
.text-white { color: #fff !important; }

/* ========================================================================= */
/* 2. GEOGRAPHIC FOOTPRINT (Cyber-Map Nodes) - UPDATED */
/* ========================================================================= */
 /* ========================================================================= */
/* GLOBAL COMMAND CENTER (AL-HAKAMI THEME) */
/* ========================================================================= */
.hk-global-map-sec { 
    background-color: var(--hk-bg-light); 
    overflow: hidden; 
}

.hk-map-command-center {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 600px;
    background: #ffffff;
    border: 1px solid rgba(9, 44, 86, 0.08);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(9, 44, 86, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* --- لوحة المعلومات العائمة (Dark Glass Vibe) --- */
.hk-map-info-panel {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    padding: 40px;
    background: rgba(9, 44, 86, 0.95); /* كحلي داكن زجاجي */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--hk-accent-gold); /* خط دهبي جمالي */
    border-radius: 16px;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* تعديل الاتجاه للغة العربية */
html[lang="ar"] .hk-map-info-panel {
    left: auto;
    right: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 4px solid var(--hk-accent-gold);
}

.hk-map-info-panel h3 { 
    font-size: 2.2rem; 
    font-weight: 800; 
    color: #ffffff; 
    margin-bottom: 15px; 
    line-height: 1.2; 
}

.hk-map-info-panel p { 
    color: rgba(255, 255, 255, 0.7); 
    font-size: 1rem; 
    line-height: 1.7; 
    margin-bottom: 30px; 
}

/* --- شبكة الإحصائيات (Stats Grid) --- */
.hk-map-stats-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.hk-m-stat { 
    padding-left: 15px; 
    border-left: 2px solid rgba(198, 167, 94, 0.5); 
}
html[lang="ar"] .hk-m-stat { padding-left: 0; padding-right: 15px; border-left: none; border-right: 2px solid rgba(198, 167, 94, 0.5); }

.hk-m-stat strong { 
    display: block; 
    font-size: 1.8rem; 
    font-weight: 800; 
    color: #ffffff; 
    line-height: 1;
    margin-bottom: 5px;
}
.hk-m-stat span { 
    font-size: 0.8rem; 
    font-weight: 700; 
    color: var(--hk-accent-gold); 
    text-transform: uppercase; 
    letter-spacing: 1px;
}

/* --- الخريطة الخلفية --- */
.hk-map-visual-area {
    position: absolute;
    right: -150px; 
    width: 1200px;
    height: 100%;
    z-index: 1;
}
html[lang="ar"] .hk-map-visual-area { right: auto; left: -150px; }

.hk-world-map-bg {
    width: 100%;
    height: 100%;
    background: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg') no-repeat center center;
    background-size: cover;
    /* فلتر كحلي خفيف للخريطة لتبدو احترافية */
    filter: invert(15%) sepia(45%) saturate(300%) hue-rotate(180deg) opacity(0.12);
}

/* --- النقاط (Nodes) وموجات الرادار --- */
.hk-map-node {
    position: absolute;
    width: 12px; height: 12px;
    background: var(--hk-accent-gold);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px var(--hk-accent-gold);
    transition: 0.3s;
    z-index: 5;
}

.hk-map-node::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border: 2px solid var(--hk-accent-gold);
    border-radius: 50%;
    animation: hkRadarPulse 2.5s infinite ease-out;
}

@keyframes hkRadarPulse { 
    0% { width: 12px; height: 12px; opacity: 1; border-width: 2px; } 
    100% { width: 45px; height: 45px; opacity: 0; border-width: 0px; } 
}

/* --- الـ Tooltip التفاعلي --- */
.hk-map-node::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 25px; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #000000;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 6px;
    border-bottom: 2px solid var(--hk-accent-gold);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 10;
}

.hk-map-node:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.hk-map-node:hover { transform: scale(1.5); background: #ffffff; border: 2px solid var(--hk-accent-gold); }

/* تمييز النقطة الرئيسية (الظهران/أرامكو) */
.hk-active-hub { background: #ffffff; border: 3px solid var(--hk-accent-gold); box-shadow: 0 0 25px var(--hk-accent-gold); transform: scale(1.2); }
.hk-active-hub::before { border-color: var(--hk-primary-blue); animation-duration: 1.5s; }

/* --- توزيع النقاط (مركزة على شبه الجزيرة العربية في الخريطة العالمية) --- */
.hk-node-neom { top: 43%; left: 59%; }
.hk-node-riyadh { top: 46%; left: 61.5%; }
.hk-node-dhahran { top: 44.5%; left: 63.5%; }
.hk-node-jubail { top: 43.5%; left: 63%; }
.hk-node-bah { top: 44.8%; left: 63.8%; }
.hk-node-dxb { top: 46.5%; left: 65%; }

/* --- استجابة الموبايل (Responsive) --- */
@media (max-width: 991px) {
    .hk-map-command-center { flex-direction: column; height: auto; border-radius: 20px; }
    
    .hk-map-info-panel { 
        position: relative; left: 0 !important; right: 0 !important; transform: none; width: 100%; 
        border-radius: 0; border: none; border-bottom: 1px solid rgba(9, 44, 86, 0.1); box-shadow: none;
    }
    
    .hk-map-stats-grid { flex-direction: row; flex-wrap: wrap; gap: 30px;}
    
    .hk-map-visual-area { position: relative; right: 0 !important; left: 0 !important; width: 100%; height: 350px; overflow: hidden; }
    .hk-world-map-bg { background-size: 200%; background-position: center right; }
    
    /* إخفاء الـ Tooltip في الموبايل لتجنب خروجه عن الشاشة */
    .hk-map-node::after { display: none; }
}
/* ========================================================================= */
/* Responsive Map Fixes */
/* ========================================================================= */
@media (max-width: 991px) {
    .hk-cyber-map-wrapper { height: 400px; }
    .hk-map-zoom-area { transform: scale(2.2) translateY(5%); } /* زووم أكبر للموبايل */
}
/* ========================================================================= */
/* 3. FLEET CAPABILITIES (Blueprint HUD Cards) */
/* ========================================================================= */
.hk-about-fleet-sec { background: #fff; }

.hk-fleet-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}

.hk-fleet-card {
    position: relative; background: var(--hk-bg-light); border: 1px solid rgba(9, 44, 86, 0.08);
    border-radius: 8px; overflow: hidden; padding: 30px; transition: all 0.4s ease;
}

.hk-fleet-card:hover {
    box-shadow: 0 20px 40px rgba(9, 44, 86, 0.1); border-color: var(--hk-accent-gold); transform: translateY(-5px);
}

/* Technical Blueprint Background Pattern */
.hk-fleet-blueprint-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 150px;
    background-image: linear-gradient(rgba(9, 44, 86, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(9, 44, 86, 0.05) 1px, transparent 1px);
    background-size: 20px 20px; z-index: 1;
}

.hk-fleet-img-box {
    position: relative; z-index: 2; height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}

.hk-fleet-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); transition: transform 0.4s ease; }
.hk-fleet-card:hover .hk-fleet-img-box img { transform: scale(1.08); }

.hk-fleet-data { position: relative; z-index: 2; border-top: 1px dashed rgba(9, 44, 86, 0.2); padding-top: 20px; }
.hk-fleet-data h3 { font-size: 1.2rem; color: var(--hk-primary-blue); font-weight: 800; margin-bottom: 15px; }

.hk-fleet-stats { display: flex; gap: 15px; flex-wrap: wrap; }
.hk-f-stat { background: rgba(9, 44, 86, 0.05); padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; color: var(--hk-text-muted); display: flex; align-items: center; gap: 6px; }
.hk-f-stat i { color: var(--hk-accent-gold); }

/* ========================================================================= */
/* 4. TRUSTED BY GIANTS (Clients Infinite Marquee) */
/* ========================================================================= */
.hk-about-clients-sec { background: var(--hk-bg-light); border-top: 1px solid rgba(9, 44, 86, 0.05); }

.hk-clients-sm-title { text-align: center; color: var(--hk-text-muted); font-size: 0.9rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 40px; }

.hk-clients-marquee-wrapper { overflow: hidden; position: relative; width: 100%; }

/* تأثير التلاشي يمين ويسار الشريط */
.hk-clients-marquee-wrapper::before, .hk-clients-marquee-wrapper::after {
    content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2;
}
.hk-clients-marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--hk-bg-light) 0%, transparent 100%); }
.hk-clients-marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--hk-bg-light) 0%, transparent 100%); }

.hk-clients-track { display: inline-flex; align-items: center; gap: 80px; animation: hk-scroll-clients 30s linear infinite; }

.hk-clients-track img {
    height: 60px; object-fit: contain;
    /* الفلتر هنا بيخلي اللوجوهات رمادية في البداية */
    filter: grayscale(0%) opacity(1);
    transition: all 0.4s ease; cursor: pointer;
}

/* لما تقف بالماوس، اللوجو يرجع للونه الطبيعي وينور */
.hk-clients-track img:hover {
 
    transform: scale(1.1);
}

@keyframes hk-scroll-clients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* يضمن حركة لانهائية ناعمة */
}

/* ========================================================================= */
/* Responsive Fixes */
/* ========================================================================= */
@media (max-width: 991px) {
    .hk-map-node { transform: scale(0.8); }
    .hk-clients-track { gap: 40px; }
    .hk-clients-track img { height: 40px; }
}

/***********************************Services********************************************************/
/* ========================================= */
/* VARIABLES */
/* ========================================= */
:root {
    --hks-primary: #092C56;
    --hks-dark: #041224;
    --hks-gold: #C6A75E;
    --hks-gray: #F4F7F9;
    --hks-text: #4A5568;
}

.hks-relative { position: relative; z-index: 10; }
.hks-gold-text { color: var(--hks-gold); }

/* ========================================= */
/* 1. HERO SLIDER */
/* ========================================= */
.hks-hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: var(--hks-dark);
    overflow: hidden;
}

.hks-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hks-slide.active { opacity: 1; z-index: 2; }

.hks-slide-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transform: scale(1.1); transition: transform 6s ease-out;
}
.hks-slide.active .hks-slide-bg { transform: scale(1); }

.hks-slide-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(4,18,36,0.9) 0%, rgba(4,18,36,0.4) 100%);
}

.hks-slide-content {
    max-width: 650px;
    transform: translateY(30px); opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}
.hks-slide.active .hks-slide-content { transform: translateY(0); opacity: 1; }

.hks-slide-tag {
    display: inline-block; color: var(--hks-gold); font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 20px;
}
.hks-slide-title { font-size: 4rem; color: #fff; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hks-slide-desc { color: rgba(255,255,255,0.8); font-size: 1.1rem; line-height: 1.6; }

/* Controls */
.hks-slider-controls {
    position: absolute; bottom: 40px; left: 0; right: 0; z-index: 10;
    display: flex; align-items: center; gap: 30px;
}
.hks-nav-arrows { display: flex; gap: 10px; }
.hks-arrow {
    width: 50px; height: 50px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; border-radius: 50%; cursor: pointer; transition: 0.3s; backdrop-filter: blur(5px);
}
.hks-arrow:hover { background: var(--hks-gold); border-color: var(--hks-gold); color: var(--hks-primary); }

.hks-progress-bar { flex: 1; height: 2px; background: rgba(255,255,255,0.2); position: relative; }
.hks-progress-fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--hks-gold); width: 0%; transition: width 0.1s linear; }

/* ========================================= */
/* 2. SERVICES HUB (Interactive Menu) */
/* ========================================= */
.hks-services-hub { padding: 100px 0; background: var(--hks-gray); }

.hks-hub-header { margin-bottom: 60px; }
.hks-tech-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; padding: 6px 15px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; color: var(--hks-primary); box-shadow: 0 4px 10px rgba(0,0,0,0.05); margin-bottom: 20px; border: 1px solid rgba(9,44,86,0.1); }
.hks-dot { width: 8px; height: 8px; background: var(--hks-gold); border-radius: 50%; }
.hks-section-title { font-size: 3rem; color: var(--hks-primary); font-weight: 800; }

.hks-hub-layout {
    display: grid; grid-template-columns: 350px 1fr; gap: 50px; align-items: start;
}

/* Vertical Menu */
.hks-hub-menu {
    display: flex; flex-direction: column; gap: 10px; background: #fff; padding: 20px; border-radius: 16px; box-shadow: 0 20px 40px rgba(9,44,86,0.05);
}
.hks-tab-btn {
    text-align: left; background: transparent; border: none; padding: 20px 25px; border-radius: 12px; font-size: 1.05rem; font-weight: 700; color: var(--hks-primary); cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 15px; border: 1px solid transparent;
}
.hks-tab-btn i { font-size: 1.2rem; color: #a0aec0; transition: 0.3s; }

.hks-tab-btn:hover { background: var(--hks-gray); }
.hks-tab-btn.active {
    background: var(--hks-primary); color: #fff; border-color: var(--hks-primary); box-shadow: 0 10px 20px rgba(9,44,86,0.2); transform: translateX(10px);
}
.hks-tab-btn.active i { color: var(--hks-gold); }

/* Tab Content Pane */
.hks-tab-pane {
    display: none; animation: hksFadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.hks-tab-pane.active { display: block; }

@keyframes hksFadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hks-pane-text h3 { font-size: 2.2rem; color: var(--hks-primary); margin-bottom: 20px; font-weight: 800; }
.hks-pane-text p { font-size: 1.1rem; color: var(--hks-text); line-height: 1.8; margin-bottom: 30px; }

.hks-features-list { list-style: none; padding: 0; margin-bottom: 30px; }
.hks-features-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: var(--hks-primary); font-weight: 600; }
.hks-features-list i { color: var(--hks-gold); margin-top: 5px; }

/* Creative Bento Gallery */
.hks-bento-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 15px;
}
.hks-bento-gallery img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 12px; transition: transform 0.5s ease;
}
.hks-bento-gallery img:hover { transform: scale(1.03); }

/* The layout trick */
.hks-img-large { grid-row: 1 / span 2; grid-column: 1; }
.hks-img-small { grid-column: 2; }

/* Responsive */
@media (max-width: 991px) {
    .hks-slide-title { font-size: 36px; }
    .hks-hub-layout { grid-template-columns: 1fr; }
    .hks-tab-btn.active { transform: translateX(0); transform: translateY(-5px); }
    .hks-bento-gallery { grid-template-columns: 1fr; grid-template-rows: 250px 200px 200px; }
    .hks-img-large { grid-row: 1; grid-column: 1; }
    .hks-img-small { grid-column: 1; }
    .hk-lead-text{
        font-size: 15px !important;
    }
}

/* ========================================= */
/* 1. GENERAL LAYOUT & MENU */
/* ========================================= */
.hk-vmenu-services { padding: 100px 0; background-color: var(--hk-gray); overflow: hidden; }
.hk-vmenu-header { margin-bottom: 60px; }
.hk-gold-text { color: var(--hk-gold); }

 
.hk-pulse-dot { width: 8px; height: 8px; background: var(--hk-gold); border-radius: 50%; }
.hk-section-title { font-size: 25px; color: var(--hk-primary-blue); font-weight: 800; }

.hk-vmenu-layout {
    display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start; max-width: 1200px; margin: 0 auto;
}

/* Vertical Sidebar */
.hk-vmenu-sidebar { position: relative; display: flex; flex-direction: column; padding-left: 25px; }
html[lang="ar"] .hk-vmenu-sidebar { padding-left: 0; padding-right: 25px; }

.hk-vmenu-track { position: absolute; top: 0; left: 5px; width: 2px; height: 100%; background: rgba(9, 44, 86, 0.1); border-radius: 2px; }
html[lang="ar"] .hk-vmenu-track { left: auto; right: 5px; }

.hk-tab-btn {
    position: relative; text-align: left; background: transparent; border: none; padding: 20px 0; font-size: 1.1rem; font-weight: 700; color: #a0aec0; cursor: pointer; transition: all 0.4s ease;
}
html[lang="ar"] .hk-tab-btn { text-align: right; }

.hk-tab-btn::before {
    content: ''; position: absolute; top: 50%; left: -24px; transform: translateY(-50%) scale(0); width: 10px; height: 10px; background: var(--hk-gold); border-radius: 50%; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: 0 0 10px var(--hk-gold);
}
html[lang="ar"] .hk-tab-btn::before { left: auto; right: -24px; }

.hk-tab-btn:hover { color: var(--hk-primary); transform: translateX(5px); }
html[lang="ar"] .hk-tab-btn:hover { transform: translateX(-5px); }

.hk-tab-btn.active { color: var(--hk-primary); font-size: 1.25rem; }
.hk-tab-btn.active::before { transform: translateY(-50%) scale(1); }

/* Content Area */
.hk-tab-pane { display: none; animation: hkSlideFadeUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.hk-tab-pane.active { display: block; }

@keyframes hkSlideFadeUp { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }

.hk-pane-text-box { margin-bottom: 30px; }
.hk-pane-text-box h3 { font-size: 2.5rem; color: var(--hk-primary); font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.hk-lead-text { font-size: 1.25rem; color: var(--hk-accent-gold); font-weight: 700; margin-bottom: 15px; border-left: 3px solid var(--hk-accent-gold); padding-left: 15px; }
html[lang="ar"] .hk-lead-text { border-left: none; border-right: 3px solid var(--hk-accent-gold); padding-left: 0; padding-right: 15px; }
.hk-pane-text-box p:not(.hk-lead-text) { font-size: 1.1rem; color: var(--hk-text); line-height: 1.8; }

/* ========================================= */
/* 3. CINEMATIC GALLERY SLIDER (The Wow Factor) */
/* ========================================= */
.hk-gallery-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(9, 44, 86, 0.15);
    background: #000;
}

/* طبقة لونية خفيفة لضمان وضوح الأزرار */
.hk-gallery-slider::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(9, 44, 86, 0.8) 0%, transparent 100%);
    pointer-events: none; z-index: 2;
}

.hk-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.hk-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* تأثير البارالاكس وتكبير الصورة بنعومة */
.hk-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1.5s ease-out;
}
.hk-gallery-slider.sliding .hk-slide img { transform: scale(1); }

/* ========================================= */
/* SLIDER UI CONTROLS */
/* ========================================= */
.hk-slider-ui {
    position: absolute;
    bottom: 25px;
    left: 30px;
    right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

/* العداد (01 / 04) */
.hk-slider-counter {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
}
.hk-slider-counter .current { color: var(--hk-gold); font-size: 1.1rem; }

/* أزرار التنقل (الأسهم) */
.hk-slider-arrows {
    display: flex;
    gap: 15px;
}

.hk-arrow-btn {
    width: 45px; height: 45px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hk-arrow-btn:hover {
    background: var(--hk-gold);
    color: var(--hk-primary);
    border-color: var(--hk-gold);
    transform: translateY(-3px);
}

/* ========================================= */
/* Responsive Design */
/* ========================================= */
@media (max-width: 991px) {
    .hk-vmenu-layout { grid-template-columns: 1fr; gap: 40px; }
    
    .hk-vmenu-sidebar { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 0; padding-bottom: 10px; border-bottom: 2px solid rgba(9,44,86,0.1); }
    .hk-vmenu-track { display: none; }
    .hk-tab-btn { white-space: nowrap; padding: 10px 20px; font-size: 1rem; }
    .hk-tab-btn::before { bottom: -12px; top: auto; left: 50%; transform: translateX(-50%) scale(0); }
    html[lang="ar"] .hk-tab-btn::before { left: 50%; right: auto; }
    .hk-tab-btn.active { font-size: 1.05rem; }
    .hk-tab-btn.active::before { transform: translateX(-50%) scale(1); }
    
    .hk-gallery-slider { height: 300px; }
    .hk-slider-ui { bottom: 15px; left: 15px; right: 15px; }
    .hk-pane-text-box h3 {
     font-size: 25px !important;
     text-align: center !important;
    }
}





/*************************mission**************************/
/* ========================================= */
/* STRATEGY SECTION DESIGN */
/* ========================================= */
.hk-strategy-sec {
    background: var(--primary-color); /* خلفية كحلية عميقة */
    position: relative;
    color: #fff;
    margin-top: 85px;
    padding: 18px;
}

.hk-strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hk-strategy-card {
    position: relative;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

/* Glass Effect Overlay */
.hk-card-glass {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: radial-gradient(circle at top right, rgba(198, 167, 94, 0.1), transparent 70%);
    opacity: 0; transition: 0.5s;
}

.hk-strategy-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--hk-gold);
}
.hk-strategy-card:hover .hk-card-glass { opacity: 1; }

.hk-card-icon {
    font-size: 2.5rem; color: var(--hk-gold); margin-bottom: 25px;
    transition: 0.4s;
}
.hk-strategy-card:hover .hk-card-icon { transform: rotateY(180deg); }

.hk-strategy-card h3 { font-size: 1.6rem; margin-bottom: 20px; color: #fff; }
.hk-strategy-card p { color: rgba(255,255,255,0.7); line-height: 1.8; font-size: 1rem; }

/* الرقم الخلفي (Watermark Number) */
.hk-card-number {
    position: absolute;
    bottom: 10px; right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .hk-strategy-grid { grid-template-columns: 1fr; }
}



/* ========================================================================= */
/* PREMIUM CONTACT PAGE DESIGN (Dark Cyber Theme) */
/* ========================================================================= */
:root {
    --hk-dark-bg: #030b17;
    --hk-form-bg: rgba(255, 255, 255, 0.03);
    --hk-input-bg: rgba(0, 0, 0, 0.2);
}

.hk-contact-sec {
    position: relative;
    background:#0a1c37;
    min-height: 100vh; /* تغيير من height إلى min-height لعدم قص الشاشة */
    padding: 120px 0px 80px 0px;
    margin-top: 80px;
    overflow: hidden;
}

/* --- Background Effects (الإبهار البصري) --- */
.hk-contact-bg-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1; pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.hk-contact-glow-orb {
    position: absolute; border-radius: 50%; filter: blur(80px); z-index: 1; pointer-events: none; opacity: 0.5;
}
.orb-1 { width: 500px; height: 500px; background: rgba(198, 167, 94, 0.15); top: -100px; left: -100px; animation: hk-orb-float 15s infinite alternate ease-in-out; }
.orb-2 { width: 400px; height: 400px; background: rgba(9, 44, 86, 0.5); bottom: -50px; right: -50px; animation: hk-orb-float 20s infinite alternate-reverse ease-in-out; }

@keyframes hk-orb-float { 0% { transform: translate(0, 0); } 100% { transform: translate(100px, 50px); } }

/* --- Layout --- */
.hk-relative { position: relative; }
.hk-z10 { z-index: 10; }

.hk-contact-wrapper {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center;
}

/* --- Left Side: Contact Info --- */


 
.hk-pulse-dot { width: 8px; height: 8px; background: var(--hk-primary-blue); border-radius: 50%; box-shadow: 0 0 10px var(--hk-primary-blue); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198,167,94,0.7); } 70% { box-shadow: 0 0 0 6px rgba(198,167,94,0); } 100% { box-shadow: 0 0 0 0 rgba(198,167,94,0); } }

.hk-contact-title { font-size: 3.5rem; color: #fff; font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hk-gold-text { color: var(--hk-gold); }
.hk-contact-desc { font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 40px; }

/* Contact Cards (Glassmorphism Hover) */
.hk-contact-card {
    display: flex; gap: 20px; align-items: center; padding: 20px; border-radius: 16px; transition: 0.4s ease; border: 1px solid transparent; margin-bottom: 15px;
}
.hk-contact-card:hover {
    background: rgba(255, 255, 255, 0.03); border-color: rgba(198, 167, 94, 0.2); transform: translateX(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
html[lang="ar"] .hk-contact-card:hover { transform: translateX(-10px); }

.hk-contact-icon {
    width: 60px; height: 60px; background: #ffffffb0; color: var(--hk-gold); display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 1.5rem; transition: 0.4s; border: 1px solid rgba(255,255,255,0.05);
}
.hk-contact-card:hover .hk-contact-icon { background: var(--hk-accent-gold); color: var(--hk-primary); transform: scale(1.1) rotate(-5deg); }

.hk-contact-details h4 { color: #fff; font-weight: 700; margin-bottom: 5px; font-size: 1.1rem; }
.hk-contact-details p { color: rgba(255,255,255,0.6); margin: 0; font-size: 0.95rem; }

/* --- Right Side: The Glass Form --- */
.hk-contact-form-box {
    background: var(--hk-form-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(198, 167, 94, 0.3); /* إضاءة علوية دهبي */
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.hk-form-header { margin-bottom: 30px; }
.hk-form-header h3 { color: #fff; font-size: 1.8rem; font-weight: 800; margin-bottom: 5px; }
.hk-form-header p { color: var(--hk-ice-blue); font-size: 0.9rem; }

.hk-smart-form { display: flex; flex-direction: column; gap: 20px; }
.hk-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Floating Label Inputs (السحر هنا) */
.hk-floating-label { position: relative; }

.hk-floating-label input, 
.hk-floating-label textarea,
.hk-custom-select select {
    width: 100%; padding: 18px 20px; background: var(--hk-input-bg);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: #fff;
    font-size: 1rem; transition: 0.3s;
}
.hk-floating-label textarea { resize: vertical; min-height: 120px; }

/* إخفاء الـ placeholder الافتراضي */
.hk-floating-label input::placeholder, 
.hk-floating-label textarea::placeholder { color: transparent; }

/* تنسيق الـ Label الطافي */
.hk-floating-label label {
    position: absolute; top: 18px; left: 20px; color: rgba(255, 255, 255, 0.5);
    font-size: 1rem; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); pointer-events: none;
}
html[lang="ar"] .hk-floating-label label { left: auto; right: 20px; }

/* حالة التركيز (Focus) أو عند وجود نص (not placeholder-shown) */
.hk-floating-label input:focus, 
.hk-floating-label textarea:focus {
    border-color: rgba(198, 167, 94, 0.5); background: rgba(0,0,0,0.4); outline: none;
}
.hk-floating-label input:focus ~ label,
.hk-floating-label input:not(:placeholder-shown) ~ label,
.hk-floating-label textarea:focus ~ label,
.hk-floating-label textarea:not(:placeholder-shown) ~ label {
    top: -10px; left: 15px; font-size: 0.8rem; font-weight: 700;
    color: var(--hk-dark-bg, #E2E8F0); background: var(--hk-ice-blue); padding: 0 8px; border-radius: 4px;
}
html[lang="ar"] .hk-floating-label input:focus ~ label,
html[lang="ar"] .hk-floating-label input:not(:placeholder-shown) ~ label { left: auto; right: 15px; }

/* Select Dropdown */
.hk-custom-select { position: relative; }
.hk-custom-select select { appearance: none; cursor: pointer; color: rgba(255,255,255,0.7); }
.hk-custom-select select:focus { border-color: rgba(198, 167, 94, 0.5); outline: none; }
.hk-custom-select select option { background: var(--hk-dark-bg); color: var(--bg-gray); padding: 10px; }


.hk-select-arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--hk-gold); pointer-events: none; }
html[lang="ar"] .hk-select-arrow { right: auto; left: 20px; }

/* تأثير الخط المنير تحت الخانة (Animated Line) */
.hk-input-line {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px;
    background: var(--hk-gold); transition: width 0.4s ease; border-radius: 0 0 12px 12px;
}
.hk-floating-label input:focus ~ .hk-input-line,
.hk-floating-label textarea:focus ~ .hk-input-line,
.hk-custom-select select:focus ~ .hk-input-line { width: 100%; }

/* Submit Button */
.hk-btn-submit {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 15px;
   background: #fff; color: var(--hk-primary); border: none; padding: 18px;
    border-radius: 12px; font-weight: 800; font-size: 1.1rem; cursor: pointer; transition: 0.4s;
    margin-top: 10px; box-shadow: 0 10px 20px rgba(198, 167, 94, 0.2);
}
.hk-btn-submit:hover {
    transform: translateY(-3px); box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}
.hk-btn-submit i { transition: 0.3s; }
.hk-btn-submit:hover i { transform: translateX(5px) scale(1.1); }
html[lang="ar"] .hk-btn-submit:hover i { transform: translateX(-5px) scale(1.1); }

/* ========================================= */
/* RESPONSIVE DESIGN */
/* ========================================= */
@media (max-width: 991px) {
    .hk-contact-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .hk-form-row { grid-template-columns: 1fr; }
    .hk-contact-title { font-size:30px; }
    .hk-contact-form-box { padding: 30px 20px; }
    .hk-contact-desc {
     font-size: 15px;
    }

    .hk-contact-card{
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(198, 167, 94, 0.2) !important; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
   }
   .hk-contact-card .hk-contact-icon { background: var(--hk-accent-gold) !important;
     color: var(--hk-primary) !important;
      transform: scale(1.1) rotate(-5deg); }
}


/********************floating contact*****************/

/* ========================================================================= */
/* GLOBAL FLOATING CONTACT BUTTON (FAB) */
/* ========================================================================= */

#hk-container-floating {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 30px;
    right: 30px;
    z-index: 9999; /* لضمان ظهوره فوق أي عنصر آخر */
}

/* تمدد الحاوية عند الوقوف عليها لضمان عدم اختفاء الأزرار الفرعية */
#hk-container-floating:hover {
    height: 350px;
    width: 90px;
}

/* ========================================= */
/* Main Button */
/* ========================================= */
#hk-floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--hk-gold, #C6A75E); /* اللون الذهبي للفت الانتباه */
    position: absolute;
    bottom: 0;
    right: 5px;
    cursor: pointer;
    box-shadow: 0px 5px 20px rgba(198, 167, 94, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

#hk-floating-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 25px rgba(198, 167, 94, 0.6);
}

/* أيقونات الزر الرئيسي (التبديل بين السماعة وعلامة X) */
.hk-main-icon, .hk-close-icon {
    font-size: 1.5rem;
    color: var(--hk-primary, #092C56); /* أيقونة كحلية */
    position: absolute;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.hk-close-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

#hk-container-floating:hover .hk-main-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

#hk-container-floating:hover .hk-close-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ========================================= */
/* Child Buttons (Social Media) */
/* ========================================= */
.hk-nds {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    position: absolute;
    right: 12.5px; /* توسيط بالنسبة للزر الرئيسي */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transform: scale(0) translateY(20px);
    opacity: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* حركة ارتدادية Bouncy */
}

/* ألوان السوشيال ميديا المخصصة */
.hk-nd1 { background: var(--hk-primary, #092C56); bottom: 80px; } /* اتصال */
.hk-nd2 { background: #1877F2; bottom: 140px; } /* فيسبوك */
.hk-nd3 { background: #E4405F; bottom: 200px; } /* انستجرام */
.hk-nd4 { background: #25D366; bottom: 260px; } /* واتساب */

/* تأثير الـ Hover على الأزرار الفرعية */
.hk-nds:hover {
    transform: scale(1.1) !important;
    color: white;
}

/* ترتيب ظهور الأزرار الفرعية عند الوقوف على الحاوية */
#hk-container-floating:hover .hk-nds {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* تأخير ظريف (Staggered Animation) لتبدو كأنها تخرج واحدة تلو الأخرى */
#hk-container-floating:hover .hk-nd1 { transition-delay: 0.05s; }
#hk-container-floating:hover .hk-nd2 { transition-delay: 0.1s; }
#hk-container-floating:hover .hk-nd3 { transition-delay: 0.15s; }
#hk-container-floating:hover .hk-nd4 { transition-delay: 0.2s; }

/* ========================================= */
/* Tooltips (إضافة مبهرة لتوضيح الزر) */
/* ========================================= */
.hk-nds::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px; /* مكان التلميح على يسار الأزرار */
    background: rgba(9, 44, 86, 0.9); /* خلفية كحلية زجاجية */
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* سهم صغير للتلميح */
.hk-nds::after {
    content: '';
    position: absolute;
    right: 50px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(9, 44, 86, 0.9);
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.hk-nds:hover::before,
.hk-nds:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================= */
/* Responsive Mobile (RTL/LTR handling if needed) */
/* ========================================= */
html[lang="ar"] #hk-container-floating {
    right: auto;
    left: 30px; /* نقل الزر لليسار في النسخة العربية إذا أردتِ */
}
html[lang="ar"] .hk-nds::before {
    right: auto;
    left: 60px;
    transform: translateX(-10px);
}
html[lang="ar"] .hk-nds::after {
    right: auto;
    left: 50px;
    border-color: transparent rgba(9, 44, 86, 0.9) transparent transparent;
    transform: translateX(-10px);
}
html[lang="ar"] .hk-nds:hover::before,
html[lang="ar"] .hk-nds:hover::after {
    transform: translateX(0);
}

/* Force explicit RTL direction on footer */
html[lang='ar'] .footer-luxury {
    direction: rtl;
    text-align: right;
}
html[lang='ar'] .footer-luxury .contact-list li {
    flex-direction: row;
}
html[lang='ar'] .footer-luxury .social-icons {
    justify-content: flex-start;
}
html[lang='ar'] .footer-bottom {
    flex-direction: row-reverse;
}
@media (max-width: 992px) {
    html[lang='ar'] .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* Global RTL Overrides for Index.php and Main Layouts */
html[lang='ar'] body {
    direction: rtl;
    text-align: right;
}
html[lang='ar'] .ml-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}
html[lang='ar'] .mr-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}
html[lang='ar'] .text-left { text-align: right !important; }
html[lang='ar'] .text-right { text-align: left !important; }

/* About Section */
html[lang='ar'] .al-about-section .about-text {
    text-align: right;
}

/* Services Split Section */
html[lang='ar'] .premium-section-header,
html[lang='ar'] .premium-section-header .header-desc {
    text-align: right;
}
html[lang='ar'] .srv-content {
    text-align: right;
}
html[lang='ar'] .explore-btn i {
    transform: rotate(180deg);
}

/* Organization Chart */
html[lang='ar'] .org-tree .org-card {
    text-align: center;
}
html[lang='ar'] .al-org-section .editorial-title {
    text-align: center;
}

