/* ============================================================
   ENGLISH STYLESHEET (LTR) & BASE COMPONENTS
   ============================================================ */

:root {
    --brand-emerald: #10b981;
    --navy-dark: #0f172a;
    --text-slate: #475569;
    --white: #ffffff;
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

/* Global English Typography */
html[dir="ltr"] body,
html[dir="ltr"] h1, html[dir="ltr"] h2, html[dir="ltr"] h3, 
html[dir="ltr"] .btn-modern, html[dir="ltr"] .discover-btn, html[dir="ltr"] .nav-link { 
    font-family: 'SE', sans-serif !important; 
}

html[dir="ltr"] body {
    color: var(--text-slate);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    text-align: left;
}

h1, h2, h3, h4, .about-title-compact, .ops-heading, .footer-heading { font-weight: 800 !important; }

/* ------------------- COMPONENTS ------------------- */

/* Navbar & Links */
/* --- Editable Variables --- */
:root {
    --brand-emerald: #10b981;
    --navy-dark: #0f172a;
    --text-slate: #64748b;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Link Styles --- */
.nav-link { 
    color: var(--text-slate); 
    font-size: 0.75rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: var(--transition-smooth); 
    text-decoration: none; 
    position: relative; 
    padding: 8px 0; 
}

/* --- Vertical Dividers Between Links --- */
.nav-link:not(:first-child)::before {
    content: '';
    position: absolute;
    inset-inline-start: -20px; 
    top: 50%;
    transform: translateY(-50%);
    height: 14px; 
    width: 1.5px; 
    background-color: black; 
    border-radius: 2px;
}

/* Underline Animation */
.nav-link::after { 
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 2px; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    background-color: var(--brand-emerald); 
    transition: var(--transition-smooth); 
}

.nav-link:hover { color: var(--navy-dark); }
.nav-link:hover i { color: var(--brand-emerald); transform: translateY(-2px); }
.nav-link:hover::after { width: 100%; }
.nav-link i { font-size: 1rem; transition: var(--transition-smooth); }

/* --- Logo Constraints --- */
.logo-wrapper {
    display: block;
}

/* --- Language Dropdown --- */
.lang-selector { 
    font-size: 11px; 
    font-weight: 800; 
    text-transform: uppercase; 
    color: var(--navy-dark); 
    padding: 8px 12px; 
    border-radius: 10px; 
    transition: background 0.3s; 
}

.lang-dropdown { 
    inset-inline-end: 0; 
}

.dropdown-item { 
    width: 100%; 
    padding: 10px 20px; 
    font-size: 11px; 
    font-weight: 700; 
    color: var(--text-slate); 
    transition: all 0.2s; 
    text-align: start; 
    border: none;
    background: transparent;
    cursor: pointer;
}
.dropdown-item:hover { background: #f8fafc; color: var(--brand-emerald); }

/* --- Modern CTA Button --- */
.btn-modern { 
    position: relative; 
    display: inline-flex; 
    align-items: center; 
    gap: 1.2rem; 
    padding: 5px;
    padding-inline-start: 22px; 
    background: var(--navy-dark); 
    color: white !important; 
    font-weight: 700; 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    border-radius: 50px; 
    border: 2px solid var(--navy-dark); 
    transition: var(--transition-smooth); 
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.1); 
    text-decoration: none;
}

.btn-modern:hover { 
    background: white; 
    color: var(--navy-dark) !important; 
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15); 
}

.btn-icon-circle { 
    width: 34px; 
    height: 34px; 
    background: var(--brand-emerald); 
    color: white; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: transform 0.6s; 
}

.btn-modern:hover .btn-icon-circle { transform: rotate(360deg); }

/* --- Mobile Menu --- */
.mobile-nav-link { 
    display: flex; 
    align-items: center; 
    padding: 15px; 
    background: #f8fafc; 
    border-radius: 12px; 
    font-weight: 700; 
    color: var(--navy-dark); 
    text-decoration: none; 
}

.mobile-nav-link i { margin-inline-end: 12px; }

.lang-btn-mobile { 
    background: #f1f5f9; 
    padding: 12px; 
    border-radius: 12px; 
    font-size: 11px; 
    font-weight: 800; 
    color: var(--text-slate); 
    border: none;
}

/* --- Specific Language Overrides --- */
html[dir="rtl"] {
    font-family: 'Tajawal', sans-serif;
}

html[dir="rtl"] .nav-link {
    letter-spacing: 0; 
    font-size: 15px;
}

html[dir="rtl"] .font-tajawal {
    font-family: 'Tajawal', sans-serif;
    font-size: 15px; 
}

/* ==========================================================================
   MOBILE RESPONSIVE FIXES
   ========================================================================== */
@media (max-width: 768px) {
    .flex-1.justify-end .btn-modern {
        display: none !important;
    }

    #mobile-menu .btn-modern {
        display: inline-flex !important;
    }

    .logo-wrapper {
        max-width: 140px; 
    }
}
/* Hero */
/* ==========================================================================
   1. CORE HERO & KEN BURNS BACKGROUND
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: #0f172a;
    overflow: hidden;
    padding-top: 80px;
}

.hero-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; filter: brightness(0.35); transform: scale(1.15);
    animation: imageCycle 24s infinite linear;
}

.slide-1 { background-image: url(../images/hero-image/background-1.jpg); animation-delay: 0s; }
.slide-2 { background-image: url(../images/hero-image/background-2.jpg); animation-delay: 8s; }
.slide-3 { background-image: url(../images/hero-image/background-3.jpg); animation-delay: 16s; }

@keyframes imageCycle {
    0%, 28% { opacity: 1; transform: scale(1.15); }
    33%, 100% { opacity: 0; transform: scale(1); }
}

/* ==========================================================================
   2. AUTOMATIC TYPING EFFECT
   ========================================================================== */
.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid #10b981;
    width: 0;
    animation: typing 4s steps(25, end) forwards, blink-caret 0.8s step-end infinite;
}

@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes blink-caret { from, to { border-color: transparent; } 50% { border-color: #10b981; } }

/* ==========================================================================
   3. PREMIUM BORDERED BUTTON STYLE
   ========================================================================== */
.hero-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 6px 6px 6px 25px;
    background: #10b981;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    border: 2px solid #10b981;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
    z-index: 10;
}

.hero-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0f172a !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.btn-icon {
    width: 38px;
    height: 38px;
    background: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    color: #ffffff;
}

.hero-btn:hover .btn-icon {
    transform: rotate(360deg);
    background: #10b981;
}

/* ==========================================================================
   4. TEXT ALIGNMENT & CLARITY (LTR & RTL)
   ========================================================================== */
html[dir="ltr"] .hero-container { width: 85%; margin: 0 auto; }
html[dir="ltr"] .hero-content { text-align: left; max-width: 800px; }
html[dir="ltr"] .hero-title { color: #ffffff; font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 25px; text-shadow: 3px 6px 15px rgba(0,0,0,0.8); }
html[dir="ltr"] .hero-text { color: #ffffff; font-size: 1.1rem; border-left: 3px solid #10b981; padding-left: 20px; margin-bottom: 40px; text-shadow: 2px 2px 8px rgba(0,0,0,1); }
html[dir="ltr"] .hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to right, #0f172a 0%, rgba(15, 23, 42, 0.7) 50%, transparent 100%); }

html[dir="rtl"] .hero-content { text-align: right; max-width: 800px; font-family: 'Tajawal', sans-serif; margin-right: 7.5%; }
html[dir="rtl"] .hero-title { color: #ffffff; font-size: 3.5rem; font-weight: 900; line-height: 1.3; margin-bottom: 25px; }
html[dir="rtl"] .hero-text { color: #ffffff; font-size: 1.2rem; border-right: 3px solid #10b981; padding-right: 20px; margin-bottom: 40px; }
html[dir="rtl"] .typing-text { border-right: none; border-left: 4px solid #10b981; }
html[dir="rtl"] .hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to left, #0f172a 0%, rgba(15, 23, 42, 0.7) 50%, transparent 100%); }
html[dir="rtl"] .hero-btn { flex-direction: row-reverse; padding-inline: 6px 25px; font-size: 15px; }

/* ==========================================================================
   5. RESPONSIVE DESIGN (DECREASE SIZE FOR MOBILE)
   ========================================================================== */

/* Tablets */
@media (max-width: 1024px) {
    html[dir="ltr"] .hero-title, html[dir="rtl"] .hero-title { font-size: 2.6rem; }
}

/* Mobile Phones (Decreased Size Logic) */
@media (max-width: 768px) {
    .hero-section { min-height: 80vh; padding-top: 60px; }
    
    /* Decrease Font Sizes */
    html[dir="ltr"] .hero-title, html[dir="rtl"] .hero-title { 
        font-size: 1.8rem; 
        white-space: normal; /* Allow title to wrap */
        text-align: center;
    }

    /* Disable typing effect for better mobile wrapping */
    .typing-text { width: 100%; border: none; animation: none; white-space: normal; } 

    html[dir="ltr"] .hero-text, html[dir="rtl"] .hero-text { 
        font-size: 0.95rem; 
        border: none; 
        padding: 0; 
        text-align: center;
        margin: 0 auto 30px;
    }

    /* Center layout for small screens */
    html[dir="ltr"] .hero-content, html[dir="rtl"] .hero-content { 
        text-align: center; 
        margin: 0 auto; 
    }
    
    /* Button Adjustments */
    .hero-btn { width: 100%; justify-content: center; font-size: 0.7rem; }
    .btn-icon { width: 34px; height: 34px; }

    /* Change to radial overlay for mobile readability */
    html[dir="ltr"] .hero-overlay, html[dir="rtl"] .hero-overlay {
        background: radial-gradient(circle, rgba(15, 23, 42, 0.6) 0%, #0f172a 100%);
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    html[dir="ltr"] .hero-title, html[dir="rtl"] .hero-title { font-size: 1.5rem; }
    .hero-section { min-height: 70vh; }
}

/* ==========================================================================
   MARQUEE SECTION - ORIGINAL STYLE
   ========================================================================== */
    .marquee-section { background: #f8fafc; border-bottom: 1px solid #e2e8f0; padding: 1.2rem 0; overflow: hidden; display: flex; }
        .marquee-container { display: flex; flex-shrink: 0; min-width: 100%; gap: 5rem; }
        html[dir="ltr"] .marquee-container { animation: scroll-to-right 40s linear infinite; }
        html[dir="rtl"] .marquee-container { animation: scroll-to-left 40s linear infinite; }
        @keyframes scroll-to-right { from { transform: translateX(-100%); } to { transform: translateX(0); } }
        @keyframes scroll-to-left { from { transform: translateX(0); } to { transform: translateX(-100%); } }
        .marquee-item { font-size: 13px; font-weight: 800; color: #94a3b8; letter-spacing: 0.4em; text-transform: uppercase; white-space: nowrap; }

        
/* About Section */
/* --- Professional Gradient Background --- */
.about-modern-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 40%, #f1f5f9 100%);
}

/* --- Typography (Equal Line Focus) --- */
.about-tag-mini { color: #10b981; font-weight: 800; letter-spacing: 0.3em; font-size: 9px; text-transform: uppercase; margin-bottom: 12px; display: block; }
.about-title-compact { color: #0f172a; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.about-desc-sm { color: #475569; line-height: 1.8; max-width: 580px; font-weight: 500; font-size: 13px;}

/* --- Equal Cards Grid --- */
.about-card-sm { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    padding: 15px 20px; 
    background: rgba(255, 255, 255, 0.8); 
    border-radius: 12px; 
    border: 1px solid #e2e8f0; 
    transition: 0.4s ease; 
    height: 100%; 
    min-height: 65px; 
    
}
.about-card-sm:hover { background: #ffffff; border-color: #10b981; transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.icon-box-pro-sm { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #f8fafc; color: #10b981; border-radius: 8px; font-size: 1.1rem; }
.card-label { font-size: 11px; font-weight: 700; color: #1e293b; }

/* --- Floating Badge --- */
.floating-badge-box { position: absolute; bottom: -15px; left: -15px; background: #0f172a; padding: 18px; border-radius: 15px; z-index: 20; border: 1px solid rgba(255,255,255,0.1); animation: float-slow 5s ease-in-out infinite; }
.badge-divider { height: 35px; width: 1px; background: #334155; }
.badge-text { font-size: 9px; text-transform: uppercase; font-weight: 800; color: white; line-height: 1.3; }

/* --- Final Button Styling --- */
.btn-top-down-unique { position: relative; display: inline-flex; align-items: center; justify-content: space-between; width: 190px; padding: 6px 6px 6px 22px; color: #0f172a !important; font-weight: 800; border-radius: 100px; border: 2px solid #10b981; overflow: hidden; transition: 0.4s ease; text-decoration: none; margin-left: 1%; }
.btn-top-down-unique::before { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: #10b981; transition: 0.4s ease; z-index: 1; }
.btn-top-down-unique:hover::before { top: 0; }
.btn-top-down-unique:hover { color: white !important; }
.btn-icon-circle-sm { width: 36px; height: 36px; background: #0f172a; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.4s ease; position: relative; }

/* --- Directional Edits (English vs Arabic) --- */
html[dir="ltr"] .about-title-compact { font-size: 1.8rem; text-align: left; }
html[dir="rtl"] #about { text-align: right; }
html[dir="rtl"] .about-title-compact { font-size: 2.1rem; text-align: right; }
html[dir="rtl"] .about-desc-sm { text-align: right; }
html[dir="rtl"] .about-card-sm { flex-direction: row-reverse; }
html[dir="rtl"] .btn-top-down-unique { flex-direction: row-reverse; padding: 6px 22px 6px 6px;  }
html[dir="rtl"] .floating-badge-box { left: auto; right: -15px; }
/* Service Section */

  /* Import Google Fonts */
        @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

        /* ========================================================
           1. CORE BACKGROUND LAYOUT (Dark top, Light bottom)
           ======================================================== */
        .premium-accordion-wrapper {
            background: #f8fafc; 
            padding-top: 80px;
        }
        .premium-accordion-wrapper::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 55%; 
            background: #0f172a; 
            z-index: 0;
            transition: height 0.3s ease;
        }

        /* Ambient Glows */
        .ambient-glow-1 { position: absolute; width: 600px; height: 600px; background: rgba(245, 158, 11, 0.05); top: -200px; right: -200px; filter: blur(130px); border-radius: 50%; pointer-events: none; z-index: 1; }
        .ambient-glow-2 { position: absolute; width: 500px; height: 500px; background: rgba(16, 185, 129, 0.03); bottom: -150px; left: -150px; filter: blur(120px); border-radius: 50%; pointer-events: none; z-index: 1; }

        /* ========================================================
           2. TOP INTRO SECTION
           ======================================================== */
        .section-intro-block { width: 100%; max-width: 1300px; margin: 0 auto 50px auto; text-align: center; position: relative; z-index: 2; padding: 0 20px; }
        
        .section-tagline { color: #10b981; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 12px; }
        .section-tagline::after, .section-tagline::before { content: ''; width: 25px; height: 1.5px; background: #10b981; display: inline-block; }
        .tagline-flex-wrapper { display: inline-flex; align-items: center; gap: 8px; }
        
        .section-main-title { color: #ffffff; font-size: 2.8rem; font-weight: 700; line-height: 1.2; margin: 0 0 16px 0; letter-spacing: -0.5px; white-space: normal; }
        
        /* Subtitle Badge Container Style */
        .section-badge-info { display: inline-block; background: rgba(21, 110, 103, 0.1); border: 1px solid rgba(7, 139, 117, 0.3); color: #10b981; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;  color: #ffffff;letter-spacing: 1px;
 padding: 6px 16px; border-radius: 50px; margin-bottom: 24px; }

        .section-description { color: #cbd5e1; max-width: 820px; margin: 0 auto; font-weight: 400; font-size: 1.1rem; line-height: 1.7; }

        /* ========================================================
           3. INTERACTIVE SPLIT CONTAINER
           ======================================================== */
        .interactive-flex-container {
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            align-items: stretch;
            position: relative;
            z-index: 2;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3);
            border-radius: 8px;
            overflow: hidden;
        }

        /* --- Left Dark Blue Box --- */
        .flex-content-left {
            flex: 1.1; 
            background: #0b1120; 
            padding: 40px 45px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* --- Accordion Rows --- */
        .flex-menu-row {
            padding: 16px 0; 
            border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .flex-menu-row:last-child { border-bottom: none; }
        
        .row-header { display: flex; justify-content: space-between; align-items: center; }

        .row-title-text { 
            color: #f8fafc; 
            font-size: 1.2rem; 
            font-weight: 500; 
            transition: color 0.3s ease; 
            line-height: 1.4;
            padding-right: 15px; 
        }
        .row-toggle-icon { color: #10b981; font-size: 1.8rem; font-weight: 400; line-height: 1; transition: transform 0.3s ease; flex-shrink: 0; }

        .flex-menu-row:hover .row-title-text { color: #10b981; }
        .flex-menu-row.is-selected .row-title-text { color: #10b981; font-weight: 700; }

        /* --- Accordion Dropdown Description --- */
        .row-description {
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        }
        .flex-menu-row.is-selected .row-description {
            max-height: 1000px; 
            opacity: 1;
            margin-top: 15px; 
        }
        .custom-text-node { color: #cbd5e1; font-size: 0.95rem; line-height: 1.7; margin: 0; }

        /* --- MOBILE INLINE IMAGE HOOK --- */
        .mobile-inline-image {
            display: none; 
            width: 100%;
            height: 360px; 
            object-fit: cover;
            border-radius: 6px;
            margin-top: 18px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 6px 20px rgba(0,0,0,0.4);
        }

        /* --- Right Image Showcase (Desktop Side-Panel) --- */
        .flex-media-right {
            flex: 1; 
            position: relative;
            background: #1e293b; 
        }

        .showcase-image-pane {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 0.6s ease;
            position: absolute;
            top: 0; left: 0;
            z-index: 1;
        }
        .showcase-image-pane.visible { opacity: 1; z-index: 2; }

        /* ========================================================
           4. ARABIC (RTL) CONFIGURATION
           ======================================================== */
        .rtl-mode, [dir="rtl"] #custom-accordion-section { font-family: 'Cairo', sans-serif !important; direction: rtl; }
        .rtl-mode .section-intro-block, [dir="rtl"] #custom-accordion-section .section-intro-block { text-align: center; }
        .rtl-mode .row-header, .rtl-mode .custom-text-node { text-align: right; }
        .rtl-mode .row-title-text { padding-right: 0; padding-left: 15px; }

        /* ========================================================
           5. RESPONSIVE MEDIA BREAKPOINTS
           ======================================================== */
        @media (max-width: 992px) {
            .flex-media-right { 
                display: none !important; 
            }
            
            .mobile-inline-image { 
                display: block; 
            }
            
            .interactive-flex-container { 
                margin-left: 20px; 
                margin-right: 20px; 
                width: calc(100% - 40px); 
                box-shadow: 0 15px 30px rgba(0,0,0,0.2);
            }
            
            .premium-accordion-wrapper::before { height: 42%; } 
        }

        @media (max-width: 768px) {
            .section-main-title { font-size: 2.2rem; }
            .flex-content-left { padding: 35px 25px; }
            .premium-accordion-wrapper::before { height: 32%; } 
        }

        @media (max-width: 480px) {
            .section-main-title { font-size: 1.75rem; }
            .section-badge-info { font-size: 0.65rem; padding: 4px 12px; }
            .section-description { font-size: 0.95rem; }
            .flex-content-left { padding: 30px 20px; }
            .row-title-text { font-size: 1.05rem; }
            .mobile-inline-image { height: 280px; } 
            .premium-accordion-wrapper::before { height: 26%; } 
        }
    







/* Why Choose Us */
.icon-box-adv { width: 3.5rem; height: 3.5rem; border-radius: 0.85rem; background-color: rgba(16, 185, 129, 0.1); display: flex; align-items: center; justify-content: center; color: #34d399; margin-bottom: 1.75rem; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); font-size: 1.75rem; }
.adv-card { position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column; padding: 2rem; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1.25rem; }
.adv-card h4 { font-size: 1.1rem !important; font-weight: 700; color: #ffffff; margin-bottom: 0.75rem; letter-spacing: 0.025em; }
.adv-card p { font-size: 0.875rem !important; line-height: 1.6; color: #94a3b8; }
.group:hover .adv-card { transform: translateY(-10px); background: rgba(255, 255, 255, 0.08); border-color: rgba(16, 185, 129, 0.5) !important; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.group:hover .icon-box-adv { background-color: #10b981; color: #ffffff; box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); transform: scale(1.05); }
.hover-line { position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: #10b981; transform: scaleX(0); transition: transform 0.4s ease; }
.group:hover .hover-line { transform: scaleX(1); }

/* CTA Options */
#saudi-ops-cta { background-color: #0f172a; padding: 50px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.ops-container { width: 85%; margin: 0 auto; }
.ops-flex-wrapper { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
.ops-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(16, 185, 129, 0.1); border-left: 3px solid #10b981; padding: 6px 15px; color: #10b981; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.ops-heading { color: #ffffff; font-size: 2rem; font-weight: 800; line-height: 1.3; margin-bottom: 15px; }
.text-emerald { color: #10b981; }
.ops-description { color: #94a3b8; font-size: 14px; max-width: 600px; line-height: 1.6; }

.btn-starlen-double { position: relative; display: inline-flex; align-items: center; width: 200px; height: 52px; background: transparent; border: 2px solid #10b981; border-radius: 100px; overflow: hidden; transition: all 0.4s ease; z-index: 1; text-decoration: none; }
.btn-inner { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 8px 0 24px; color: #ffffff; font-weight: 700; font-size: 12px; text-transform: uppercase; }
.btn-slide-layer { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: #ffffff; transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1); z-index: 2; }
.btn-circle-icon { width: 36px; height: 36px; background: #10b981; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; }
.btn-starlen-double:hover { border-color: #ffffff; }
.btn-starlen-double:hover .btn-slide-layer { left: 0; }
.btn-starlen-double:hover .btn-inner { color: #0f172a; }
/* --- Responsive Adjustments --- */

/* 1. CTA Section Responsiveness */
@media (max-width: 992px) {
    .ops-flex-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .ops-badge {
        margin: 0 auto 20px auto; /* Centers the badge */
    }
    .ops-description {
        margin: 0 auto; /* Centers the text */
    }
}

@media (max-width: 768px) {
    .ops-container {
        width: 90%; /* Give it a bit more breathing room on small devices */
    }
    .ops-heading {
        font-size: 1.5rem; /* Slightly smaller for mobile readability */
    }
}

/* 2. Footer Section Responsiveness */
@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
    }
}

@media (max-width: 600px) {
    .footer-main-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .footer-social-flex, 
    .footer-nav-links, 
    .contact-entry {
        justify-content: center;
    }
    .footer-nav-links {
        align-items: center;
    }
    /* Ensures the mail input is full width on very small screens */
    .mail-box-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Footer */
/* Core Structural Layout Base rules */
.stralen-footer-section { 
    position: relative; 
    padding-top: 0; /* REMOVED TOP SPACE COMPLETELY */
    padding-bottom: 0; 
    background-size: cover; 
    background-position: top center; 
    background-attachment: scroll; 
    overflow: hidden; 
}

.footer-80-container { 
    width: 85%; 
    max-width: 1400px; 
    margin: 0 auto; 
}

.stralen-footer-section i { 
    display: inline-block !important; 
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important; 
    font-weight: 900 !important; 
    color: #10b981 !important; 
    font-style: normal !important; 
}

.footer-border-glow { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 3px; 
    background: linear-gradient(90deg, transparent, #10b981, #0f172a, #10b981, transparent); 
    background-size: 200% 100%; 
    animation: glowMove 4s linear infinite; 
    z-index: 10; 
}

/* Headings & Underline Rules */
.footer-title-wrap { 
    display: inline-block; 
    position: relative; 
    margin-bottom: 30px; 
}

.footer-heading { 
    font-size: 1.1rem; 
    font-weight: 800; 
    color: #0f172a; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    margin: 0;
}

.footer-title-wrap::after { 
    content: ''; 
    position: absolute; 
    bottom: -8px; 
    left: 0; 
    width: 35px; 
    height: 3px; 
    background: #10b981; 
    transition: width 0.4s ease; 
}

/* Switches title line anchor point context when direction flips to Arabic */
html[dir="rtl"] .footer-title-wrap::after {
    left: auto;
    right: 0;
}

.footer-title-wrap:hover::after { 
    width: 100%; 
}

/* FIXED EQUAL GRID SPACING: 
   Using grid-template-columns with minmax stops text columns from breaking widths 
*/
.footer-main-grid { 
    display: grid; 
    grid-template-columns: repeat(4, minmax(0, 1fr)); 
    gap: 50px; /* Enhanced default padding margin gap distributions */
    padding-bottom: 60px; 
}

/* Clean Column Flex Configurations for both English and Arabic */
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

html[dir="rtl"] .footer-col {
    align-items: flex-start; /* Ensures Arabic columns align clean to their text anchor */
}

.footer-logo-anchor img { 
    height: 40px; 
    margin-bottom: 20px; 
}

.footer-about-text { 
    font-size: 0.9rem; 
    line-height: 1.6; 
    color: #475569; 
    margin: 0;
}

/* FIXED MULTI-LANGUAGE NAVIGATION LINKS BLOCK:
   Removed 'html[dir="ltr"]' restriction so it rules items evenly in both English and Arabic
*/
.nav-item, .contact-entry { 
    display: flex; 
    align-items: flex-start; /* Keeps icons locked properly alongside multi-line text blocks */
    gap: 12px; 
    color: #475569; 
    font-size: 0.9rem; 
    font-weight: 600; 
    text-decoration: none; 
    margin-bottom: 15px; 
    transition: all 0.3s ease; 
    width: 100%;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.nav-item i, .contact-entry i {
    margin-top: 3px; /* Standardizes icon top baseline heights */
    min-width: 16px;
    text-align: center;
}

/* Hover Translation Directionals handling */
.nav-item:hover { 
    color: #10b981; 
}
html[dir="ltr"] .nav-item:hover { transform: translateX(8px); }
html[dir="rtl"] .nav-item:hover { transform: translateX(-8px); }

/* Corporate Branding Social Links Panel */
.footer-social-flex { 
    display: flex; 
    gap: 12px; 
    margin-top: 20px; 
}

.social-btn { 
    width: 40px; 
    height: 40px; 
    background: #fff; 
    border: 1px solid #e2e8f0; 
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: 0.4s; 
}

.social-btn i { 
    color: #475569 !important; 
    margin-top: 0 !important; /* Removes layout inheritance overrides */
}

.s-linkedin:hover { background: #0077b5; border-color: #0077b5; transform: translateY(-5px); }
.s-instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); border-color: transparent; transform: translateY(-5px); }
.s-facebook:hover { background: #1877f2; border-color: #1877f2; transform: translateY(-5px); }
.social-btn:hover i { color: #fff !important; }

/* Contact Specific Address Properties */
.footer-contact-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.addr-txt {
    margin: 0;
    line-height: 1.6;
}

.footer-email {
    color: #475569;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-email:hover {
    color: #10b981;
}

/* Newsletter Input Components Form Block */
.news-desc {
    font-size: 0.9rem;
    color: #475569;
    margin: 0 0 15px 0;
}

.mail-box-wrapper { 
    width: 100%; 
    max-width: 350px; 
}

.footer-news-form { 
    display: flex; 
    background: #fff; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 5px; 
    transition: 0.3s; 
}

.footer-news-form:focus-within { 
    border-color: #10b981; 
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1); 
}

.input-group { 
    display: flex; 
    align-items: center; 
    flex-grow: 1; 
    padding: 0 8px; 
}

.mail-icon { 
    color: #94a3b8 !important; 
    margin-top: 0 !important;
}
html[dir="ltr"] .mail-icon { margin-right: 8px; margin-left: 0; }
html[dir="rtl"] .mail-icon { margin-left: 8px; margin-right: 0; }

.footer-news-form input { 
    border: none; 
    outline: none; 
    width: 100%; 
    font-size: 0.85rem; 
    background: transparent; 
}

.news-send-btn { 
    background: #0f172a; 
    color: #fff; 
    border: none; 
    width: 38px; 
    height: 38px; 
    border-radius: 8px; 
    cursor: pointer; 
    transition: 0.3s; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.news-send-btn i { 
    color: #fff !important; 
    font-size: 0.8rem !important; 
    margin-top: 0 !important;
}

.news-send-btn:hover { 
    background: #10b981; 
    transform: scale(1.05); 
}

/* Bottom Copyright Bar Panel rules */
/* Base style for both layouts (Default English setup) */
.footer-navy-bar { 
    background: #0f172a; 
    padding: 25px 0; 
    text-align: center; 
}

.copyright-text { 
    color: rgba(255,255,255,0.6); 
    font-size: 0.7rem; /* English Size */
    letter-spacing: 1.5px; 
    font-weight: 700; 
    text-transform: uppercase; 
    margin: 0; 
}

/* Specific Arabic Layout Overrides */
html[dir="rtl"] .copyright-text {
    font-family: 'Cairo', sans-serif !important; /* Premium Arabic Font balance */
    font-size: 0.9rem !important; /* Increased font size for Arabic legibility */
    letter-spacing: 0px !important; /* Removes English letter-spacing stretching */
    text-transform: none !important; /* Arabic doesn't use uppercase uppercase */
}
/* Accessory Scroll Control Systems */
.scroll-top-small { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    width: 42px; 
    height: 42px; 
    background: #10b981; 
    border: none; 
    border-radius: 10px; 
    cursor: pointer; 
    display: none; 
    z-index: 1000; 
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); 
    transition: all 0.3s ease; 
}

.scroll-top-small i { 
    font-family: "Font Awesome 6 Free" !important; 
    font-weight: 900 !important; 
    color: #ffffff !important; 
    font-size: 1.1rem !important; 
    font-style: normal; 
    display: inline-block; 
    line-height: 1; 
    margin-top: 0 !important;
}

@keyframes glowMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Fully Responsive Breakpoint Adjustments */
@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}
@media (max-width: 640px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}
/* ------------------- ENGLISH MEDIA QUERIES ------------------- */
@media (max-width: 1024px) {
    .footer-80-container { width: 90%; }
    .footer-main-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; padding-bottom: 50px; }
}
@media (max-width: 768px) {
    html[dir="ltr"] .about-title-compact { font-size: 1.4rem; text-align: left; }
    html[dir="ltr"] .stralen-footer-section { padding-top: 60px; text-align: left; }
    .footer-main-grid { grid-template-columns: 1fr; gap: 40px; }
    html[dir="ltr"] .footer-title-wrap::after { left: 0; right: auto; }
    html[dir="ltr"] .nav-item, html[dir="ltr"] .contact-entry, html[dir="ltr"] .footer-social-flex, html[dir="ltr"] .footer-logo-anchor { display: flex; justify-content: flex-start; }
    .mail-box-wrapper { max-width: 100%; }
}
@media (max-width: 640px) {
    .btn-top-down-unique { width: 145px; font-size: 8px; padding: 4px 4px 4px 15px; }
    .btn-icon-circle-sm { width: 28px; height: 28px; }
    #sector-nav { grid-template-columns: 1fr; }
    #display-title, #display-text { text-align: center; margin-left: auto; margin-right: auto; }
    #display-list { justify-content: center; }
}
@media (max-width: 480px) {
    .footer-80-container { width: 92%; }
    .copyright-text { font-size: 0.65rem; line-height: 1.5; }
}