:root {
    --primary: #1a2b4c;
    --primary-light: #2c426f;
    --gold: #c5a059;
    --gold-light: #dfc48c;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;

    /* Fonts */
    --font-en: 'Poppins', sans-serif;
    --font-ar: 'Cairo', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-en);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* RTL Support via Body Font */
html[dir="rtl"] body {
    font-family: var(--font-ar);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--gold);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--gold);
    text-align: center;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--gold);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--white);
    text-align: center;
    cursor: pointer;
}

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

.w-full {
    width: 100%;
}

/* Header / Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-lang {
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-call {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-call:hover {
    background-color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(26, 43, 76, 0.8), rgba(26, 43, 76, 0.6)), url('hero_bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.hero-text {
    max-width: 700px;
}

.hero-logo-wrapper {
    flex: 0 0 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.badge {
    display: inline-block;
    background-color: var(--gold);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

html[dir="rtl"] .hero h1 {
    font-size: 2.8rem;
    line-height: 1.4;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--bg-light);
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 600;
    color: var(--primary);
}

.trust-item i {
    font-size: 2rem;
    color: var(--gold);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Nationalities Section */
.nationalities {
    padding: 80px 0;
}

.nat-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.nat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
}

.flag-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.nat-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.nat-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon-check {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-check i {
    font-size: 3rem;
    color: var(--primary);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Gallery / Carousel Section */
.gallery {
    padding: 80px 0;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    direction: ltr;
    /* Force LTR for consistent carousel logic */
}

.carousel-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    padding: 20px 5px;
    /* Add some padding for shadows */
}

.carousel-slide.card {
    min-width: calc((100% - 40px) / 3);
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    height: 450px;
}

.carousel-slide.card:hover {
    transform: translateY(-5px);
}

.card-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
}

.card-body h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0;
    text-align: center;
}

.btn-card {
    margin-top: auto;
    background-color: var(--gold);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

/* Responsive Carousel */
@media (max-width: 992px) {
    .carousel-slide.card {
        min-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 768px) {
    .carousel-slide.card {
        min-width: 100%;
    }
}

/* Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
    z-index: 10;
}

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

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dots span {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots span.active {
    background-color: var(--gold);
    transform: scale(1.2);
}

/* Videos Section */
.videos {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.video-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.video-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    margin-bottom: 15px;
}

.video-card video {
    width: 100%;
    height: auto;
    display: block;
}

.video-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-info-wrapper {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-top: 4px solid var(--gold);
}

.contact-info-wrapper h2 {
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-info-wrapper p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--gold);
}

.contact-item .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item .value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-btn i {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.social-btn.fb {
    background-color: #1877f2;
    color: white;
}

.social-btn.ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-btn.tt {
    background-color: #000000;
    color: white;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.map-iframe {
    border-radius: 8px;
    filter: grayscale(0.1) contrast(1.05);
}

.map-wrapper {
    height: 100%;
    min-height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--bg-light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    border: 1px dashed #ddd;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 15px;
    opacity: 0.5;
}

.map-placeholder span {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo-wrapper {
    max-width: 150px;
    margin-bottom: 15px;
    background: white;
    padding: 10px;
    border-radius: 4px;
}

.footer-logo {
    max-width: 100%;
    height: auto;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h3,
.footer-social-wrapper h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--gold);
    padding-left: 5px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    color: var(--white);
    text-decoration: none;
}

.footer-socials a:hover {
    background-color: var(--gold);
    color: var(--primary);
    transform: translateY(-3px);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(1, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding-top: 20px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-logo-wrapper {
        flex: 0 0 auto;
        width: 100px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    html[dir="rtl"] .hero h1 {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .trust-bar .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-logo-wrapper {
        margin: 0 auto 15px;
    }

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

/* RTL Specific Adjustments */
html[dir="rtl"] .hero-text {
    text-align: right;
}

html[dir="rtl"] .section-header p,
html[dir="rtl"] .nat-card p,
html[dir="rtl"] .service-card p,
html[dir="rtl"] .contact-form-wrapper p {
    text-align: center;
}

html[dir="rtl"] .contact-form-wrapper {
    text-align: right;
}

html[dir="rtl"] .form-group label {
    text-align: right;
}