@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary: #184a5a;
    --primary-light: #2b7891;
    --primary-dark: #0e2d38;
    --accent: #d99528;
    --accent-hover: #e8a639;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-alt: #f1f5f9;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(24, 74, 90, 0.08), 0 4px 6px -2px rgba(24, 74, 90, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(24, 74, 90, 0.12), 0 10px 10px -5px rgba(24, 74, 90, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.section-padding {
    padding: 90px 0;
}

/* --- Topbar --- */
.topbar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}

.topbar-contact a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
}

.topbar-contact a:hover {
    color: var(--accent);
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.topbar-social a:hover {
    color: var(--accent);
}

/* --- Header / Navigation --- */
.header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* --- Dropdown Menu --- */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1010;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--bg-main);
    color: var(--primary);
    padding-left: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(24, 74, 90, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 74, 90, 0.35);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(217, 149, 40, 0.25);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 149, 40, 0.35);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 149, 40, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffd07b;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: white;
}

.hero-title span {
    color: #ffd07b;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.visual-box {
    position: relative;
}

.visual-main-card {
    background: white;
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.visual-title {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
}

.region-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.region-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-main);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.region-item:hover {
    transform: translateX(6px);
    border-color: var(--primary-light);
    background: white;
    box-shadow: var(--shadow-sm);
}

.region-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.region-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.region-text h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.region-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.float-badge {
    position: absolute;
    background: white;
    color: var(--primary-dark);
    padding: 16px 22px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: floatAnim 4s ease-in-out infinite;
    z-index: 3;
}

.float-badge.top-right {
    top: -20px;
    right: -20px;
}

.float-badge.bottom-left {
    bottom: -25px;
    left: -20px;
    animation-delay: 2s;
}

.float-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(43, 120, 145, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* --- Trust Ribbon --- */
.trust-ribbon {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.trust-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    border-radius: 16px;
    transition: var(--transition);
}

.trust-card:hover {
    background: var(--bg-main);
}

.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.trust-content h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

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

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(43, 120, 145, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.section-title span {
    color: var(--primary-light);
}

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

/* --- Services Grid --- */
.services-grid, #servicesGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(43, 120, 145, 0.3);
}

.service-banner {
    position: relative;
    height: 225px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.service-icon-wrapper {
    position: absolute;
    bottom: 14px;
    right: 18px;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    pointer-events: none;
    z-index: 2;
}

.service-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex: 1;
}

.service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* --- Filter Tabs --- */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: 50px;
    background: white;
    border: 1px solid var(--border-color);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

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

.footer-col h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-info span {
    display: flex;
    align-items: center;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* --- Language Switcher & Google Translate Hiding --- */
body {
    top: 0 !important;
    position: static !important;
}

.skiptranslate,
iframe.skiptranslate,
div.skiptranslate,
span.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.VIpgJd-ZVi9qd-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9qd-aZ2wEe-OiiCO {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    border: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#google_translate_element {
    display: none !important;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

.lang-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* --- Arabic RTL Support --- */
[dir="rtl"],
body.rtl-layout {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .me-1, [dir="rtl"] .me-2, [dir="rtl"] .me-3 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .ms-1, [dir="rtl"] .ms-2, [dir="rtl"] .ms-3 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

[dir="rtl"] .nav-links,
[dir="rtl"] .topbar-contact,
[dir="rtl"] .topbar-social {
    flex-direction: row-reverse;
}

[dir="rtl"] .fa-arrow-right,
[dir="rtl"] .fa-chevron-right {
    transform: rotate(180deg);
}

[dir="rtl"] .service-badge {
    left: auto;
    right: 18px;
}

[dir="rtl"] .float-badge.top-right {
    right: auto;
    left: -20px;
}

[dir="rtl"] .float-badge.bottom-left {
    left: auto;
    right: -20px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .services-grid, #servicesGrid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 84px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 84px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 24px;
        transition: var(--transition);
    }
    .nav-links.active {
        left: 0;
    }
    .mobile-toggle {
        display: block;
    }
    .services-grid, #servicesGrid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
