:root {
    --primary: #3e2723;
    /* Dark Brown */
    --gold: #b39359;
    /* Gold */
    --bg-light: #f8f9fa;
    --text-main: #2d3436;
    --text-muted: #5d6769;
    --text-addition: #3e2723;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Noto Sans Arabic', sans-serif;
}

body {
    background-color: #fff;
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

a,
a:visited {
    text-decoration: none;
    color: inherit;
}

/* --- NAVIGATION (Full Main Page Format) --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.logo-text {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.6rem;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links>li {
    position: relative;
    padding: 10px 20px;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 1.1rem;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 260px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--primary);
    list-style: none;
    padding: 10px 0;
}

.nav-links li:hover>.dropdown {
    display: block;
}

.dropdown a {
    padding: 10px 20px;
    border-bottom: 1px solid #f1f1f1;
    font-weight: 600;
    font-size: 1.0rem;
    display: block;
}

.dropdown a:hover {
    background: var(--bg-light);
    color: var(--gold);
}

.sub-dropdown {
    display: none;
    position: absolute;
    left: 100%;
    top: -3px;
    background: #fff;
    min-width: 260px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    list-style: none;
}

.dropdown li:hover>.sub-dropdown {
    display: block;
}

.contact-btn {
    background-color: var(--primary);
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--gold);
}

/* --- HERO --- */
.hero-banner {
    height: 35vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('../hero_image/Contact-Us.png') center/cover;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 0 8%;
}

.hero-content h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.gold-line {
    height: 4px;
    background: var(--gold);
    width: 100%;
}

/* --- CONTENT LAYOUT --- */
.page-container {
    display: flex;
    padding: 60px 8%;
    gap: 50px;
}

.main-content {
    flex: 2.5;
}

.sidebar {
    flex: 1;
}

.section-title {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* SPECIFIC FONT STYLE FOR THE INTRO PARAGRAPH */
.intro-text {
    font-size: 1.25rem;
    /* Increased font size */
    color: #444;
    font-weight: 400;
    margin-bottom: 35px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin: 40px 0;
}

.feature-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-addition);
    line-height: 1.6;
}

.feature-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.5rem;
}

/* --- SIDEBAR STACK (ARROW ON LEFT, POINTING LEFT) --- */
.sidebar-nav {
    position: sticky;
    top: 120px;
}

.sidebar-nav h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--primary);
    position: relative;
}

.sidebar-nav h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--gold);
    margin-top: 8px;
}

.sidebar-group-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1.2px;
    margin: 25px 0 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.service-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card {
    text-decoration: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
    gap: 12px;
}

.service-card span {
    color: #555;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.2;
}

.service-card i {
    color: var(--gold);
    font-size: 0.75rem;
}

.service-card:hover {
    border-color: var(--gold);
    background: var(--bg-light);
    transform: translateX(-5px);
}

.service-card:hover i {
    transform: translateX(-3px);
}

.service-card.active {
    background: var(--primary);
    border-color: var(--primary);
}

.service-card.active span {
    color: #fff;
}

.service-card.active i {
    color: var(--gold);
}

/* --- FOOTER --- */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 8% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-grid h4 {
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid li {
    margin-bottom: 8px;
}

.footer-grid a {
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-grid a:hover {
    opacity: 1;
    color: var(--gold);
}

.service-slider-container {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    margin-bottom: 30px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
}

.service-slider-container:hover .service-marquee {
    animation-play-state: paused;
}

/* Linked marquee items reset */
.service-marquee a,
.service-marquee a:visited {
    text-decoration: none;
    padding: 0 40px;
    font-size: 0.85rem;
    color: var(--gold) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.service-marquee a:hover {
    opacity: 0.7;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--gold);
    border-radius: 12px;
    color: #1a1a1a;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #fff;
    transform: translateY(-5px);
}

@media (max-width: 992px) {

    .expertise-row,
    .why-us-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        height: auto;
        padding: 80px 8%;
    }
}

.privacy-policy ul{
    padding: revert;
}

/* nav css */
/* ===== NAVBAR RESPONSIVE ===== */

.nav-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

/* MOBILE */
@media(max-width:992px) {

    nav {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        background: #fff;
        display: none;
        margin-top: 15px;
        padding: 10px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    nav.active .nav-links {
        display: flex;
        align-items: baseline;
    }

    .nav-links>li {
        padding: 12px 20px;
        width: 100%;
    }

    /* Disable hover dropdown */
    .nav-links li:hover>.dropdown {
        display: none;
    }

    /* DROPDOWN */
    .dropdown,
    .sub-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        background: #f9f9f9;
        margin-top: 10px;
    }

    .dropdown a {
        padding-left: 30px;
    }

    .sub-dropdown a {
        padding-left: 45px;
    }

    .nav-links li.open>.dropdown {
        display: block;
    }

    .dropdown li.open>.sub-dropdown {
        display: block;
    }
    .pointer-list li {  
        text-align: left;
    }
    .hero-content h1{
        font-size: 2rem;
    }
}


/* rtl and google translate */
body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Hide Google bar */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Optional styling */
#lang-switcher {
    font-size: 14px;
    cursor: pointer;
}
.lang-btn:hover {
    text-decoration: underline;
}

/* 🔁 RTL FIX */
html[dir="rtl"] .pointer-list li {
    padding-left: 0;
    padding-right: 28px;
}

html[dir="rtl"] .pointer-list li::before {
    left: auto;
    right: 0;
}


/* google strip remove */
/* Hide Google translate top bar */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

/* Fix body shift caused by banner */
body {
    top: 0px !important;
}

/* Hide google translate tooltip */
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

.skiptranslate{
    visibility: hidden !important;
}