/* =========================================
   VARIABLES & RESET
========================================= */
:root {
    --primary-color: #0b4b8a;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.mt-2 {
    margin-top: 2rem;
}

.bg-light {
    background-color: var(--bg-light);
}

/* =========================================
   NAVIGATION & LANGUAGE MENU
========================================= */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
}

.logo-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 0.9rem;
        max-width: 150px;
        line-height: 1.2;
    }
}

.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    text-align: center;
}

.nav-links a {
    display: block;
    padding: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--bg-light);
    color: var(--secondary-color);
}

.nav-links i {
    margin-inline-end: 5px;
}

/* Logical property for LTR/RTL */
.hamburger {
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Language Dropdown */
.lang-menu {
    position: relative;
    display: inline-block;
}

.lang-menu .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--white);
    min-width: 140px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 5px;
    overflow: hidden;
}

html[dir="rtl"] .lang-menu .dropdown-content {
    right: auto;
    left: 0;
}

.lang-menu:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--primary-color) !important;
    padding: 12px 20px !important;
    text-align: start !important;
    font-weight: 500 !important;
    border-bottom: 1px solid var(--bg-light);
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--secondary-color) !important;
    padding-inline-start: 25px !important;
}

/* =========================================
   STICKY WIDGET (RTL Supported)
========================================= */
.sticky-widget {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

html[dir="rtl"] .sticky-widget {
    right: auto;
    left: 0;
}

.sticky-widget a {
    color: var(--white);
    padding: 15px;
    font-size: 24px;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    transition: all 0.3s ease;
}

html[dir="rtl"] .sticky-widget a {
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.sticky-widget a.whatsapp {
    background-color: #25D366;
}

.sticky-widget a.phone {
    background-color: var(--primary-color);
}

.sticky-widget a:hover {
    width: 75px;
    padding-inline-start: 20px;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    background: linear-gradient(rgba(11, 75, 138, 0.8), rgba(11, 75, 138, 0.8)), url('https://img.magnific.com/free-vector/earth-blue-wave-background_1017-36678.jpg?t=st=1778235198~exp=1778238798~hmac=de971b14419bdc8cefed45b1044c979d85ce8c771291ae8f55bb0bc5ff8fb2cc&w=1480') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    margin-inline: 5px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #d68910;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-red {
    background-color: #ff0000;
    color: var(--white);
}

.btn-red:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
}

/* Flip directional icons in Arabic */
html[dir="rtl"] .fa-arrow-right {
    transform: scaleX(-1);
}

html[dir="rtl"] .fa-angle-right {
    transform: scaleX(-1);
}

/* =========================================
   ALTERNATING BLOCKS
========================================= */
.alt-blocks-container {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.alt-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.alt-block:nth-child(even) {
    flex-direction: row-reverse;
    text-align: end;
}

.alt-block:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.alt-icon {
    flex: 0 0 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    font-size: 3.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    border: 2px dashed var(--secondary-color);
}

.alt-block:hover .alt-icon {
    background: var(--primary-color);
    color: var(--white);
    border-style: solid;
    transform: rotate(10deg);
}

.alt-content {
    flex: 1;
}

.alt-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* European Highlight */
.highlight-europe {
    background: linear-gradient(135deg, #fff 0%, #fef9e7 100%);
    border-inline-start: 5px solid var(--secondary-color);
}

.alt-block:nth-child(even).highlight-europe {
    border-inline-start: none;
    border-inline-end: 5px solid var(--secondary-color);
}

.highlight-europe .alt-icon {
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* =========================================
   RICH ABOUT PAGE SECTIONS
========================================= */
.rich-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.core-values {
    margin-top: 40px;
}

.core-values ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.core-values li {
    background: var(--bg-light);
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.core-values li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* =========================================
   SECTIONS, GALLERY, CONTACT
========================================= */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.grid-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-box:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.info-box i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-inline-end: 20px;
    margin-top: 5px;
}

.info-box:hover i,
.info-box:hover a {
    color: var(--white);
}

/* =========================================
   RESPONSIVE 3-COLUMN FOOTER
========================================= */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

html[dir="rtl"] .footer-col h4::after {
    left: auto;
    right: 0;
}

.footer-col .footer-logo {
    height: 60px;
    margin-bottom: 20px;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-inline-start: 5px;
}

.footer-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col p i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* =========================================
   SCROLL REVEAL & MEDIA QUERIES
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width: 768px) {

    .alt-block,
    .alt-block:nth-child(even) {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .alt-block:hover {
        transform: translateY(-5px);
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    html[dir="rtl"] .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-col p {
        justify-content: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .rich-grid,
    .core-values ul {
        grid-template-columns: 1fr;
    }

    .lang-menu .dropdown-content {
        position: relative;
        box-shadow: none;
        background-color: var(--bg-light);
        width: 100%;
    }

    .dropdown-content a {
        text-align: center !important;
        padding-inline-start: 20px !important;
    }
}

@media(min-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        box-shadow: none;
    }

    .hamburger {
        display: none;
    }

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

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media(min-width: 1024px) {
    .grid-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}