:root {
    --brand-navy: #2f3541;
    --brand-navy-800: #262b36;
    --brand-navy-900: #1f232b;
    --brand-cyan: #c1a47e;      /* gold primary */
    --brand-cyan-strong: #b49164;
    --brand-sand: #f5f1e8;
    --brand-gray-100: #f7f8fb;
    --brand-gray-200: #e7ebf2;
    --brand-gray-400: #9aa5b5;
    --brand-gray-500: #6c7482;
    --brand-gray-700: #394152;
    --brand-success: #22c55e;
    --shadow-soft: 0 10px 30px -12px rgba(47, 53, 65, 0.22);
    --shadow-card: 0 16px 44px -18px rgba(31, 35, 43, 0.3);
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: var(--brand-gray-700);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Utility bar for internal systems */
.nav-utility-bar {
    background: #0f172a;
    color: #9ca3af;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.nav-utility-link {
    color: #9ca3af;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.3rem 0;
}

.nav-utility-link:hover {
    color: #e5e7eb;
}

a {
    color: var(--brand-cyan-strong);
}

.nav-custom {
    background:
        radial-gradient(circle at 0% 0%, rgba(193, 164, 126, 0.22), transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    position: sticky;
    top: 0;
    z-index: 60;
    box-shadow: 0 12px 30px -22px rgba(15, 23, 42, 0.45);
}

.nav-custom .brand-logo {
    display: block;
    width: auto;
    height: 75px;
    max-width: min(100%, 260px);
    object-fit: contain;
}

.nav-custom .nav-link-custom {
    color: var(--brand-gray-700);
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
    text-decoration: none;
}

.nav-custom .nav-link-custom:hover {
    color: var(--brand-cyan-strong);
    transform: translateY(-1px);
    text-shadow: 0 6px 16px rgba(180, 145, 100, 0.22);
}

.nav-custom .nav-link-custom:focus-visible,
.footer-sitemap-link:focus-visible,
.hero-cta:focus-visible,
.btn-staff-login:focus-visible {
    outline: 2px solid var(--brand-cyan-strong);
    outline-offset: 2px;
}

.btn-staff-login {
    background: var(--brand-navy);
    color: #fff !important;
    padding: 0.55rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: all 0.2s ease;
    border: none;
}

.btn-staff-login:hover {
    opacity: 0.95;
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-language-dropdown {
    border: 1px solid rgba(148, 163, 184, 0.32);
    color: var(--brand-gray-700);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    border-radius: 0.6rem;
    padding: 0.45rem 0.62rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 10px 22px -18px rgba(15, 23, 42, 0.45);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-language-dropdown:hover,
.btn-language-dropdown:focus {
    border-color: rgba(180, 145, 100, 0.55);
    color: var(--brand-navy);
    background: #fff;
}

.language-dropdown .dropdown-menu {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.8rem;
    box-shadow: 0 20px 36px -24px rgba(15, 23, 42, 0.65);
    z-index: 1055;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    min-width: 120px;
    padding: 0.45rem;
}

/* On mobile, keep language dropdown list above hero/sections below nav */
@media (max-width: 767.98px) {
    .nav-custom .collapse {
        overflow: visible;
    }
    .nav-custom .nav-mobile-menu {
        overflow: visible;
    }
    .nav-custom .language-dropdown {
        position: relative;
        z-index: 1056;
    }
    .nav-custom .language-dropdown .dropdown-menu {
        z-index: 1056;
        position: absolute;
        background: #fff;
    }
    .btn-language-dropdown {
        border: 1px solid var(--brand-gray-200);
        padding: 0.6rem 1rem;
    }
}

.language-dropdown .dropdown-item {
    font-weight: 500;
    color: var(--brand-gray-700);
    padding: 0.45rem 0.7rem;
    font-size: 0.95rem;
    border-radius: 0.55rem;
    transition: background 0.16s ease, color 0.16s ease;
}

.language-dropdown .dropdown-item:hover {
    background: rgba(193, 164, 126, 0.12);
    color: var(--brand-navy);
}

.language-dropdown .dropdown-item.active,
.language-dropdown .dropdown-item:active {
    background: rgba(193, 164, 126, 0.16);
    color: var(--brand-navy);
}

/* Use emoji-capable font so flag characters (regional indicators) render on Windows desktop */
.lang-flag {
    display: inline-block;
    line-height: 1;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
}

/* Explicit min-height reduces CLS (layout shift) before LCP image loads */
.hero-section {
    background: radial-gradient(circle at 0% 0%, rgba(148, 163, 184, 0.4), transparent 55%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
    color: #fdfbf7;
    padding: 5.25rem 0 4.25rem;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    z-index: 1;
}

.hero-section .hero-bg,
.hero-section .hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-section .hero-overlay {
    background: none;
}

.hero-section .hero-bg .blob1,
.hero-section .hero-bg .blob2 {
    display: none;
}

.hero-section .hero-bg .blob1 {
    width: 22rem;
    height: 22rem;
    background: #c1a47e;
    top: -4rem;
    right: -6rem;
}

.hero-section .hero-bg .blob2 {
    width: 26rem;
    height: 26rem;
    background: #b49164;
    bottom: -6rem;
    left: -8rem;
}

.hero-layout {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.hero-heading {
    font-size: clamp(2.4rem, 4.6vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fdfbf7;
    letter-spacing: -0.04em;
    text-shadow: 0 14px 30px rgba(15, 23, 42, 0.85);
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.15rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: radial-gradient(circle at 20% 0%, rgba(94, 234, 212, 0.24), transparent),
        rgba(15, 23, 42, 0.75);
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.85rem;
}

.hero-subtext,
.hero-section .subtitle {
    font-size: 1.02rem;
    color: rgba(241, 245, 249, 0.9);
    max-width: 34rem;
    margin: 0 0 1.8rem;
    line-height: 1.9;
}

/* Inner page hero: darker corporate background */
.hero-section-inner {
    background: var(--brand-navy-900);
    color: #fff;
    text-shadow: none;
    padding: 4rem 0 3.5rem;
}

.hero-section-inner h1 {
    color: #fff;
    text-shadow: none;
}

.hero-section-inner .subtitle {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: none;
}

.hero-accent {
    color: var(--brand-cyan);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2em 0.6em;
    border-radius: 0.25rem;
    display: inline-block;
    text-shadow: none;
    border: 1px solid rgba(193, 164, 126, 0.3);
}

.hero-cta {
    background: var(--brand-cyan);
    color: var(--brand-navy-900);
    padding: 0.85rem 2.1rem;
    border-radius: 0.5rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(193, 164, 126, 0.3);
    letter-spacing: 0.01em;
}

.hero-cta:hover {
    background: var(--brand-cyan-strong);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(193, 164, 126, 0.4);
}

/* Primary / secondary hero CTAs */
.hero-cta-group {
    flex-wrap: wrap;
}

.hero-cta-primary {
    background: var(--brand-cyan);
    color: var(--brand-navy-900);
}

.hero-cta-primary:hover {
    background: var(--brand-cyan-strong);
    color: #fff;
}

.hero-cta-secondary {
    background: transparent;
    color: #fdfbf7;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: none;
}

.hero-cta-secondary:hover {
    background: rgba(15, 23, 42, 0.3);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fdfbf7;
    text-shadow: none;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-badge .dot {
    width: 10px;
    height: 10px;
    background: var(--brand-success);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
}

/* Hero micro-metrics */
.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.75);
    font-size: 0.8rem;
    color: rgba(226, 232, 240, 0.9);
}

.hero-metric-pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

/* Hero dashboard visual */
.hero-dashboard-card {
    background: radial-gradient(circle at 10% 0%, rgba(148, 163, 184, 0.3), transparent),
        rgba(15, 23, 42, 0.95);
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 28px 70px -32px rgba(0, 0, 0, 0.85);
    padding: 1.5rem 1.7rem;
    color: #e5e7eb;
}

.hero-dashboard-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(148, 163, 184, 0.9);
}

.hero-dashboard-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #f9fafb;
}

.hero-dashboard-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.14);
    color: #bbf7d0;
    font-size: 0.78rem;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.hero-dashboard-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.28);
}

.hero-dashboard-body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.hero-dashboard-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-dashboard-row-label {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.95);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-dashboard-row-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-track {
    flex: 1;
    height: 0.4rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: inset 0 0 0 1px rgba(30, 41, 59, 0.8);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e, #a3e635);
    box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.9);
    transition: width 0.4s ease-out;
}

.progress-fill-secondary {
    background: linear-gradient(90deg, #38bdf8, #a855f7);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.9);
    transition: width 0.4s ease-out;
}

.hero-dashboard-row-value {
    font-size: 0.8rem;
    color: rgba(226, 232, 240, 0.88);
    min-width: 3.5rem;
    text-align: right;
}

.hero-dashboard-row-success {
    margin-top: 0.25rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.6);
}

.hero-dashboard-row-success .bi-shield-check {
    color: #22c55e;
}

.hero-dashboard-slot-window {
    font-size: 0.85rem;
    font-weight: 600;
    color: #bbf7d0;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.4);
    border: 1px solid rgba(45, 212, 191, 0.5);
}

.hero-dashboard-check .bi-check-circle-fill {
    color: #4ade80;
    font-size: 1.1rem;
}

.hero-dashboard-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    border-top: 1px solid rgba(30, 64, 175, 0.7);
    padding-top: 0.65rem;
    margin-top: 0.4rem;
}

.hero-dashboard-footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    color: rgba(191, 219, 254, 0.95);
    font-size: 0.78rem;
}

@media (max-width: 991.98px) {
    .hero-layout {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .hero-dashboard-card {
        margin-top: 1rem;
    }
}

.section-title-border {
    border-right: 4px solid var(--brand-cyan-strong);
    padding-right: 1rem;
}

.section-title-border h2 {
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--brand-navy);
}

.section-title-border p {
    color: var(--brand-gray-500);
    margin-top: 0.35rem;
}

.card-requirement {
    background: #fff;
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--brand-gray-200);
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.card-requirement .icon-wrap {
    width: 3.4rem;
    height: 3.4rem;
    background: var(--brand-navy-800);
    color: var(--brand-cyan);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: none;
}

.card-requirement h3 {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.45rem;
}

.card-requirement p {
    color: var(--brand-gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

.alert-campaign {
    background: #f8f9fa;
    border-right: 4px solid var(--brand-cyan-strong);
    padding: 1.6rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: none;
    border-left: 1px solid var(--brand-gray-200);
    border-top: 1px solid var(--brand-gray-200);
    border-bottom: 1px solid var(--brand-gray-200);
}

.alert-campaign h4 {
    color: var(--brand-navy-900);
    font-weight: 800;
    font-size: 1.12rem;
    margin-bottom: 0.25rem;
}

.alert-campaign p {
    color: var(--brand-gray-700);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Capability cards: slightly more SaaS-like hover */
.capability-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.capability-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(193, 164, 126, 0.22), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.capability-card:hover::before {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Role segmentation cards */
.role-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 1.5rem 1.4rem;
    box-shadow: 0 16px 40px -26px rgba(15, 23, 42, 0.9);
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.role-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 0% 0%, rgba(193, 164, 126, 0.2), transparent 55%);
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: 0;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 64px -38px rgba(15, 23, 42, 0.95);
    border-color: rgba(180, 145, 100, 0.95);
    background: linear-gradient(135deg, #ffffff, #fef6ec);
}

.role-card:hover::before {
    opacity: 1;
}

.role-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-gray-500);
    background: #f3f4f6;
    margin-bottom: 0.65rem;
}

.role-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.role-body {
    font-size: 0.95rem;
    color: var(--brand-gray-500);
    line-height: 1.7;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Data security reassurance near requirements */
.data-security-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    border-radius: 0.75rem;
    background: #f0f4ff;
    border: 1px solid #d4dbe9;
    box-shadow: 0 8px 22px -16px rgba(15, 23, 42, 0.35);
    margin-bottom: 1.25rem;
}

.data-security-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfdbfe;
    flex-shrink: 0;
}

.data-security-text h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.25rem;
}

.data-security-text p {
    font-size: 0.9rem;
    color: var(--brand-gray-600, #4b5563);
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .data-security-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Trusted by strip below hero */
.trusted-by-strip {
    background: #0f172a;
    color: rgba(248, 250, 252, 0.86);
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.trusted-by-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trusted-logo-row {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    animation: trustedMarquee 22s linear infinite;
}

.trusted-marquee-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.trusted-logo-placeholder {
    width: 88px;
    height: 28px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, rgba(248, 250, 252, 0.25), transparent),
        rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    opacity: 0.9;
}

@media (max-width: 575.98px) {
    .trusted-logo-row {
        animation-duration: 28s;
    }
}

@keyframes trustedMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.steps-connector {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-gray-200);
    z-index: -1;
}

.step-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid #e5e7eb;
    padding: 1.4rem 1.1rem 1.8rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    height: 100%;
}

.step-circle {
    width: 3.6rem;
    height: 3.6rem;
    background: var(--brand-navy-800);
    color: var(--brand-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 1.1rem;
    box-shadow: none;
    border: 6px solid #f8f9fa;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 0.65rem;
}

.step-card p {
    color: var(--brand-gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 5-step layout: slightly more compact on large screens so all stages fit in one row */
@media (min-width: 992px) {
    #steps .step-card {
        padding: 1.1rem 0.65rem 1.5rem;
    }
    #steps .step-circle {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
        margin-bottom: 0.85rem;
    }
    #steps .step-card h3 {
        font-size: 1.05rem;
    }
    #steps .step-card p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

.contact-section {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--brand-gray-200);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.contact-info {
    padding: 2rem;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.contact-info .contact-icon {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon.phone { background: #eff6ff; color: var(--brand-cyan-strong); }
.contact-icon.whatsapp { background: #ecfdf3; color: #16a34a; }
.contact-icon.email { background: #fef2f2; color: #ef4444; }

/* Right column contact cards */
.contact-item-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 1rem;
    box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.contact-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -20px rgba(15, 23, 42, 0.5);
    border-color: rgba(148, 163, 184, 0.45);
}

.contact-item-card .fw-semibold {
    font-size: 0.9rem;
    color: var(--brand-gray-500);
}

.contact-item-card .contact-value {
    font-size: 1rem;
    font-weight: 700;
}

.contact-item-card .btn.btn-sm {
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
}

.contact-info .contact-label {
    font-size: 0.78rem;
    color: var(--brand-gray-400);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.contact-info .contact-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-gray-700);
}

.contact-info .contact-value a {
    color: inherit;
    text-decoration: none;
}

.contact-info .contact-value a:hover {
    color: var(--brand-cyan-strong);
}

/* RTL fixes for contact alignment and numbers */
body[dir="rtl"] .contact-info .contact-item {
    flex-direction: row-reverse;
    text-align: right;
    justify-content: flex-start;
    gap: 1rem;
}
body[dir="rtl"] .contact-info .contact-label,
body[dir="rtl"] .contact-info .contact-value {
    text-align: right;
}
.contact-info .contact-icon {
    order: 0;
}
body[dir="rtl"] .contact-info .contact-icon {
    order: 1;
}
.contact-info .contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.contact-value.ltr,
.contact-value .ltr {
    direction: ltr;
    unicode-bidi: bidi-override;
    text-align: left;
}

.contact-cta-panel {
    background: #f8f9fa;
    color: var(--brand-navy);
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    border-right: 1px solid var(--brand-gray-200);
}

/* Right column header */
.cta-panel-header {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 1.5rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 25px -18px rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.cta-panel-note {
    background: rgba(59, 130, 246, 0.06);
    border-right: 4px solid #3b82f6;
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    color: #1d4ed8;
}

/* Contact icons inside CTA cards */
.cta-contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.cta-contact-icon.file {
    background: #e0ecff;
    color: #1d4ed8;
}

.cta-contact-icon.phone {
    background: #e5e7eb;
    color: var(--brand-navy);
}

.cta-contact-icon.whatsapp {
    background: #ecfdf3;
    color: #16a34a;
}

.cta-contact-icon.email {
    background: #fff7ed;
    color: #ea580c;
}

/* Small phone / WhatsApp icons inside contact action buttons */
.contact-section .contact-item-card .btn.btn-sm .bi-telephone-fill,
.contact-section .contact-item-card .btn.btn-sm .bi-whatsapp {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--brand-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-section .contact-item-card .btn.btn-sm .bi-whatsapp {
    background: #ecfdf3;
    color: #16a34a;
}

.contact-cta-panel h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0;
    color: var(--brand-navy);
}

.contact-cta-panel p {
    color: rgba(57, 65, 82, 0.9);
    margin: 0;
    line-height: 1.8;
}

.contact-queue-note {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--brand-gray-500);
}

.btn-download-template {
    background: var(--brand-cyan);
    color: #fff;
    padding: 1rem 1.9rem;
    border-radius: 0.5rem;
    font-weight: 800;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.25s ease;
    box-shadow: none;
}

.btn-download-template:hover {
    transform: translateY(-2px);
    background: var(--brand-cyan-strong);
    color: #fff;
}

.btn-outline-brand {
    border-color: var(--brand-cyan-strong);
    color: var(--brand-cyan-strong);
    padding: 0.8rem 1.8rem;
    font-weight: 800;
    border-width: 2px;
}

.btn-outline-brand:hover {
    background: var(--brand-cyan-strong);
    color: #fff;
    border-color: var(--brand-cyan-strong);
}

/* Contact form */
.contact-form {
    position: relative;
}

.contact-form .form-anti-spam {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.contact-form .form-control:focus {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 0.2rem rgba(193, 164, 126, 0.25);
}

.contact-form .form-check-input:checked {
    background-color: var(--brand-cyan-strong);
    border-color: var(--brand-cyan-strong);
}

.contact-form .form-check-label a {
    text-decoration: underline;
}

html[dir="rtl"] .contact-form .form-check {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 0.5rem;
    padding-right: 0;
}

html[dir="rtl"] .contact-form .form-check .form-check-input {
    float: none;
    margin-left: 0;
    margin-right: 0;
}

.btn-submit-cta {
    background: var(--brand-navy);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-submit-cta:hover {
    background: var(--brand-navy-800);
    color: #fff;
    transform: translateY(-2px);
}

.footer-custom {
    background: var(--brand-navy-900);
    color: var(--brand-gray-400);
    margin-top: 4rem;
    border-top: 4px solid var(--brand-cyan-strong);
}

.footer-custom .footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
}

.footer-custom .footer-contact-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-custom .footer-contact-link {
    color: var(--brand-gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.footer-custom .footer-contact-link:hover {
    color: var(--brand-cyan);
}

.footer-custom .footer-social-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-custom .footer-social-link {
    color: var(--brand-gray-400);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-custom .footer-social-link:hover {
    color: var(--brand-cyan-strong);
    transform: translateY(-1px);
}

.footer-custom .footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.footer-custom .footer-brand-link:hover {
    opacity: 0.9;
}

.footer-custom .footer-brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
}

.footer-custom .footer-brand-wordmark {
    display: none;
    color: var(--brand-cyan-strong);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.footer-custom .footer-brand-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #f8fbff;
    border-radius: 999px;
    padding: 0.9rem 1.6rem;    
    line-height: 0;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
    border: 2px solid rgba(212, 175, 55, 0.9);
}

.footer-custom .footer-brand-logo {
    display: block;
    height: 4.6rem;
    width: auto;
    max-width: min(100%, 360px);
    object-fit: contain;
    border-radius: 0;
}

/* Footer sitemap: card-style block with grid of links */
.footer-custom .footer-sitemap {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-custom .footer-sitemap-title {
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-custom .footer-sitemap-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 1rem;
    background: var(--brand-cyan);
    border-radius: 2px;
}

body[dir="rtl"] .footer-custom .footer-sitemap-title::before {
    order: 1;
}

.footer-custom .footer-sitemap-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
    font-size: 0.95rem;
    padding: 0;
    margin: 0;
}

@media (min-width: 576px) {
    .footer-custom .footer-sitemap-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-custom .footer-sitemap-list li {
    margin: 0;
}

.footer-custom .footer-sitemap-link {
    color: var(--brand-gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 0.35rem 0 0.35rem 0.75rem;
    border-left: 3px solid transparent;
    margin-left: -0.75rem;
    border-radius: 0 2px 2px 0;
}

.footer-custom .footer-sitemap-link:hover {
    color: var(--brand-cyan-strong);
    border-left-color: var(--brand-cyan-strong);
}

body[dir="rtl"] .footer-custom .footer-sitemap-link {
    padding: 0.35rem 0.75rem 0.35rem 0;
    margin-left: 0;
    margin-right: -0.75rem;
    border-left: none;
    border-right: 3px solid transparent;
    border-radius: 2px 0 0 2px;
}

body[dir="rtl"] .footer-custom .footer-sitemap-link:hover {
    border-right-color: var(--brand-cyan-strong);
}

.footer-custom .footer-copyright {
    text-align: center;
    margin: 1.4rem 0 0;
    color: var(--brand-gray-400);
    font-size: 0.9rem;
}

body[dir="rtl"] .footer-custom .footer-row {
    flex-direction: row-reverse;
}

.card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Mobile nav (hamburger menu) ---- */
.nav-mobile-toggler {
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    color: var(--brand-gray-700);
}
.nav-mobile-toggler:hover {
    background: var(--brand-gray-100);
    color: var(--brand-navy);
}
.nav-mobile-menu {
    padding: 0.65rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 20px 34px -26px rgba(15, 23, 42, 0.6);
}
.nav-mobile-link {
    display: block;
    padding: 0.72rem 0.62rem;
    color: var(--brand-gray-700);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.65rem;
    min-height: 44px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nav-mobile-link:hover {
    background: #f8fafc;
    color: var(--brand-cyan-strong);
    border-color: rgba(180, 145, 100, 0.38);
    transform: translateY(-1px);
}
.nav-mobile-login {
    min-height: 40px;
    padding: 0.4rem 1rem;
    font-weight: 700;
}

@media (max-width: 991px) {
    .nav-custom {
        /* Keep position relative so z-index works and language dropdown stays above hero */
        position: relative;
        z-index: 1050;
    }

    .contact-cta-panel {
        padding: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-custom .footer-row {
        justify-content: center;
    }
}

/* Cookie consent bar */
.cookie-consent-bar {
    z-index: 1090;
}

.cookie-consent-inner {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

.cookie-consent-content {
    gap: 0.75rem;
}

.cookie-consent-text {
    font-size: 0.875rem;
    color: var(--brand-gray-700);
}

.cookie-consent-link {
    color: #0f766e;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-link:hover {
    color: #115e59;
}

.cookie-consent-actions .btn {
    font-size: 0.85rem;
    border-radius: 0.5rem;
}

.cookie-consent-accept.btn-primary {
    background-color: #0f766e;
    border-color: #0f766e;
}

.cookie-consent-accept.btn-primary:hover {
    background-color: #115e59;
    border-color: #115e59;
}

.cookie-consent-manage.btn-outline-secondary {
    border-color: var(--brand-gray-200);
    color: var(--brand-gray-700);
    background-color: #ffffff;
}

.cookie-consent-manage.btn-outline-secondary:hover {
    background-color: #f3f4f6;
    border-color: var(--brand-gray-300, #d1d5db);
}

body.has-cookie-consent-bar {
    padding-bottom: 3.25rem;
}

@media (max-width: 575.98px) {
    body.has-cookie-consent-bar {
        padding-bottom: 4.5rem;
    }
}

.animate-slide-up {
    animation: cookieSlideUp 0.35s ease-out;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 3.5rem 1rem 2.75rem;
    }

    .hero-section h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-section .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .hero-section .d-flex.flex-wrap {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-cta,
    .hero-badge {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.75rem 1.25rem;
    }

    .section-title-border {
        border-right: none;
        border-bottom: 4px solid var(--brand-cyan-strong);
        padding-right: 0;
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
    }
    body[dir="rtl"] .section-title-border {
        border-right: none;
        border-bottom: 4px solid var(--brand-cyan-strong);
        padding-left: 0;
    }

    .section-title-border h2 {
        font-size: 1.55rem;
    }

    .card-requirement {
        padding: 1.25rem;
    }

    .contact-section .row.g-0 {
        flex-direction: column;
    }

    .contact-info {
        padding: 1.5rem 1rem;
    }

    .contact-cta-panel {
        padding: 1.5rem 1rem;
        border-top: 1px solid var(--brand-gray-200);
    }

    .contact-cta-panel h3 {
        font-size: 1.25rem;
    }

    .btn-download-template {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: flex;
    }

    .alert-campaign {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
        border-right: none;
        border-bottom: 4px solid #f59e0b;
        border-radius: 0 0 1rem 1rem;
    }
    body[dir="rtl"] .alert-campaign {
        border-left: none;
    }

    .footer-custom .footer-row {
        text-align: center;
        gap: 1rem;
    }

    .footer-custom .footer-contact-group,
    .footer-custom .footer-social-group,
    .footer-custom .footer-brand-link {
        justify-content: center;
        width: 100%;
    }

    .footer-custom .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    main.container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 3rem 0.75rem 2rem;
    }

    .step-card {
        padding: 1.25rem 1rem;
    }

    .step-circle {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
        border-width: 6px;
    }
}
