: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.6;
}

a,
a:visited {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 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: 5px 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: 8px 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: 8px 18px !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 {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        url('../hero_image/hero2.png') center/cover;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 0 8%;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 900px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

/* Hero Buttons */
.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-btn {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s ease;
    display: inline-block;
}

.btn-connect {
    background-color: var(--primary);
    color: #fff !important;
}

.btn-connect:hover {
    background-color: var(--gold);
}

.btn-faq {
    background-color: transparent;
    color: #fff !important;
    border: 2px solid #fff;
}

.btn-faq:hover {
    background-color: #fff;
    color: var(--primary) !important;
}

/* Expertise Section */
.section-padding {
    padding: 50px 8%;
}

.expertise-header {
    text-align: center;
    margin-bottom: 40px;
}

.expertise-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.expertise-header p {
    font-size: 1.3rem;
    color: var(--text-addition);
    margin-bottom: 20px;
}

.expertise-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.expertise-row:last-child {
    margin-bottom: 0;
}

.expertise-row.reverse {
    flex-direction: row-reverse;
}

.expertise-image {
    flex: 1;
    min-width: 320px;
}

.expertise-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.expertise-text {
    flex: 1;
    min-width: 320px;
}

.expertise-text i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
}

.expertise-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.expertise-text p {
    font-size: 1.2rem;
    color: var(--text-addition);
    margin-bottom: 15px;
}

.pointer-list {
    list-style: none;
}

.pointer-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-left: 35px;
    position: relative;
    color: var(--text-main);
    font-weight: 500;
}

.pointer-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

/* Why Choose Us Section - UPDATED LAYOUT */
.why-us-section {
    background-color: var(--primary);
    color: #fff;
    padding: 40px 8%;
}

.why-us-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.why-us-content {
    flex: 3;
    min-width: 320px;
}

.why-us-visual {
    flex: 1.2;
    min-width: 300px;
}

.why-us-visual img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-us-header h2 {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.why-us-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.5;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.why-card {
    border-left: 3px solid var(--gold);
    padding-left: 15px;
}

.why-card h4 {
    color: #fff;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.why-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Footer & Slider */
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;
}

.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: 1200px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .expertise-row {
        flex-direction: column;
        text-align: left;
        gap: 30px;
    }
    html[dir="rtl"] .expertise-row {
        flex-direction: column;
        text-align: right;
        gap: 30px;
    }


    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        height: auto;
        padding: 80px 8%;
    }
}

@media (max-width: 600px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}


/* 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;
    }
    html[dir="rtl"] .pointer-list li {  
        text-align: right;
    }
    .hero-content h1{
        font-size: 2rem;
    }
    html[dir="rtl"] .why-card {
        border-right: 3px solid var(--gold);
        padding-right: 15px;
        border-left: 0;
        padding-left: 0;
    }
}

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;
}