@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
    --color-gold: #d4af37;
    --color-gold-light: #f3d778;
    --color-gold-dark: #aa8a2e;
    --color-navy: #0a1128;
    --color-navy-light: #1c2541;
    --color-navy-dark: #000411;
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-gray-light: #e9ecef;
    --color-gray: #6c757d;
    --color-text-heading: var(--color-navy-dark);
    --color-text-body: #4a4a4a;
    --color-text-light: #a0a0a0;
    --font-heading-en: 'Cinzel', serif;
    --font-body-en: 'Montserrat', sans-serif;
    --font-ar: 'Tajawal', sans-serif;
    --gradient-hero: linear-gradient(135deg, #050b1a 0%, #0d1435 50%, #1a1f4d 100%);
    --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    --gradient-gold-text: linear-gradient(to right, var(--color-gold), var(--color-gold-light), var(--color-gold));
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 25px 60px rgba(10, 17, 40, 0.12);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.25);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --backdrop-blur: blur(12px);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-off-white);
    color: var(--color-text-body);
    line-height: 1.85;
    overflow-x: hidden;
    transition: background-color 0.4s var(--transition-smooth);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-navy-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
}

body[dir="ltr"] {
    font-family: var(--font-body-en);
}

body[dir="rtl"] {
    font-family: 'Tajawal', sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--color-text-heading);
    line-height: 1.25;
    font-weight: 700;
}

body[dir="ltr"] h1,
body[dir="ltr"] h2,
body[dir="ltr"] h3,
body[dir="ltr"] h4 {
    font-family: var(--font-heading-en);
    letter-spacing: -0.02em;
}

body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3 {
    font-family: var(--font-ar);
}

a {
    text-decoration: none;
    transition: all 0.35s var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ===== REFINED ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--transition-smooth), transform 1s var(--transition-smooth);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECTIONS ===== */
section {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.subtitle {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-gold);
    margin-bottom: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.section-header h2 {
    font-size: 2.75rem;
    color: var(--color-navy);
    position: relative;
    padding-bottom: 0;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3.25rem;
    }
}

/* ===== HEADER ===== */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.4s var(--transition-smooth);
}

header.scrolled {
    background: rgba(10, 17, 40, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    position: fixed;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 70px;
    transition: all 0.4s var(--transition-smooth);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

header.scrolled .logo img {
    height: 55px;
}

.logo-text {
    color: var(--color-white);
    font-family: var(--font-ar);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    padding: 0.7rem 1.75rem;
    font-family: var(--font-body-en);
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.4s var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(8px);
    font-weight: 500;
}

.lang-toggle:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy-dark);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
#hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    color: var(--color-white);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 70%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(37, 47, 98, 0.35) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
}

.hero-tagline {
    color: var(--color-gold);
    font-family: var(--font-ar);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 2rem;
    padding: 0.6rem 1.25rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(8px);
}

body[dir="ltr"] .hero-tagline {
    font-family: var(--font-body-en);
    letter-spacing: 3.5px;
    font-size: 0.85rem;
}

#hero h1 {
    font-size: 2.75rem;
    color: var(--color-white);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

@media (min-width: 768px) {
    #hero h1 {
        font-size: 3.75rem;
    }
}

@media (min-width: 900px) {
    #hero h1 {
        font-size: 4.25rem;
    }
}

#hero h1 span {
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

@media (max-width: 768px) {
    #hero {
        min-height: 90vh;
        padding-top: 120px;
        padding-bottom: 4rem;
        align-items: flex-start;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1.75rem;
        margin-top: 3rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 2rem;
    }

    .trust-item {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .trust-item span {
        font-size: 1.75rem;
        margin-bottom: 0;
    }

    .trust-item label {
        font-size: 0.8rem;
    }

    #hero .lead-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-contact-strip {
        flex-direction: column;
        gap: 1rem;
    }
}

#hero .lead-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 700px;
    line-height: 1.9;
}

/* ENHANCED CTA GROUP */
.cta-group.cta-enhanced {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-cta-main {
    padding: 1.25rem 3rem;
    font-size: 0.95rem;
    gap: 0.75rem;
    animation: pulse-glow 2.5s ease-in-out infinite;
}

.btn-cta-main i {
    font-size: 1rem;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 12px 30px rgba(212, 175, 55, 0.25);
    }

    50% {
        box-shadow: 0 16px 50px rgba(212, 175, 55, 0.4), 0 0 30px rgba(212, 175, 55, 0.15);
    }
}

/* HERO CONTACT STRIP */
.hero-contact-strip {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-whatsapp,
.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    transition: all 0.4s var(--transition-smooth);
}

.hero-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.25);
}

.hero-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.35);
}

.hero-whatsapp i {
    font-size: 1.25rem;
    color: #25D366;
    transition: color 0.3s ease;
}

.hero-whatsapp:hover i {
    color: var(--color-white);
}

.hero-phone {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-phone:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-phone i {
    color: var(--color-gold);
}

.cta-group {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.75rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s var(--transition-bounce);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 180px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-navy-dark);
    border: none;
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(212, 175, 55, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
    transform: translateY(-3px);
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    display: flex;
    gap: 4.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 3rem;
}

.trust-item span {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-gold);
    font-family: var(--font-heading-en);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.trust-item label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
#services {
    background-color: var(--color-off-white);
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 900px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-column {
    background: var(--color-white);
    padding: 3rem 2.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.5s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-column:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.2);
}

.service-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.5s var(--transition-smooth);
    transform-origin: left;
}

.service-column:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.75rem;
    background: var(--gradient-gold-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.75rem;
}

.service-column h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-navy);
    line-height: 1.35;
}

.service-list {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-light);
    list-style: none;
}

.service-list li {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
    position: relative;
    color: var(--color-text-body);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.service-list li::before {
    content: '\f058';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--color-gold);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 3px;
}

body[dir="rtl"] .service-list li,
body[dir="ltr"] .service-list li {
    padding-left: 0;
    padding-right: 0;
}

.license-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

/* ===== LICENSES SECTION ===== */
.licenses-section {
    margin-top: 5rem;
}

.license-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.filter-btn {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--color-text-body);
    font-family: inherit;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(10, 17, 40, 0.2);
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.license-card {
    background: var(--color-white);
    padding: 2.75rem 2.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: all 0.4s var(--transition-smooth);
    height: 100%;
}

.license-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.25);
}

.lic-badge {
    display: inline-block;
    background: rgba(10, 17, 40, 0.04);
    color: var(--color-navy);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.license-card h4 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--color-navy);
    line-height: 1.3;
}

.license-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ===== WHY SECTION ===== */
#why {
    background: var(--color-white);
    position: relative;
    z-index: 1;
    padding: 8rem 0;
}

#why::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--color-off-white);
    transition: all 0.4s var(--transition-smooth);
    border: 1px solid transparent;
}

.why-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.15);
    transform: translateY(-8px);
}

.why-number {
    font-family: var(--font-heading-en);
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.5) 0%, rgba(212, 175, 55, 0.1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

.why-card p {
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ===== VISION SECTION ===== */
#vision {
    position: relative;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 9rem 0;
}

#vision::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1h2v2H1V1zm4 4h2v2H5V5zm4 4h2v2H9V9zm4 4h2v2h-2v-2zm4 4h2v2h-2v-2z' fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.vision-content {
    display: flex;
    align-items: center;
    gap: 5rem;
    position: relative;
    z-index: 10;
}

@media (max-width: 900px) {
    .vision-content {
        flex-direction: column-reverse;
        gap: 3rem;
    }
}

.vision-text {
    flex: 1;
}

.vision-text h2 {
    color: var(--color-white);
    font-size: 2.75rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.vision-text .lead-text {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    border-left: 3px solid var(--color-gold);
    padding-left: 2rem;
}

body[dir="rtl"] .vision-text .lead-text {
    border-left: none;
    border-right: 3px solid var(--color-gold);
    padding-left: 0;
    padding-right: 2rem;
}

.vision-image {
    flex: 1;
    position: relative;
}

.vision-image img {
    border-radius: var(--radius-md);
    box-shadow: -25px 25px 0 rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s var(--transition-smooth);
}

.vision-image:hover img {
    box-shadow: -30px 30px 0 rgba(212, 175, 55, 0.12);
    transform: scale(1.02);
}

/* ===== PROCESS SECTION ===== */
#process {
    background: var(--color-white);
    padding: 8rem 0;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        gap: 2.5rem;
    }

    .process-timeline::before {
        width: 1px;
        height: 100%;
        left: 50%;
        top: 0;
    }
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-gray-light) 0%, var(--color-gold-light) 50%, var(--color-gray-light) 100%);
    z-index: 0;
}

@media (max-width: 768px) {
    .process-timeline::before {
        display: none;
    }
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.step-number {
    width: 65px;
    height: 65px;
    background: var(--color-white);
    border: 2px solid var(--color-gold);
    color: var(--color-navy);
    border-radius: 50%;
    margin: 0 auto 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 0 0 12px var(--color-off-white);
    transition: all 0.4s var(--transition-bounce);
}

.process-step:hover .step-number {
    background: var(--color-gold);
    color: var(--color-white);
    transform: scale(1.15);
    box-shadow: 0 0 0 12px rgba(212, 175, 55, 0.1);
}

.process-step h4 {
    color: var(--color-navy);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.process-step p {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .process-step h4 {
        min-height: auto;
    }
}

/* ===== CONTACT SECTION ===== */
#contact {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-off-white) 100%);
    padding: 8rem 0;
}

.contact-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(10, 17, 40, 0.08);
    padding: 4.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-gold);
}

@media (max-width: 768px) {
    .contact-wrap {
        padding: 2.5rem 1.75rem;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.form-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--color-navy);
}

.form-header p {
    color: var(--color-gray);
    font-size: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    color: var(--color-navy);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-sm);
    background: var(--color-off-white);
    font-family: inherit;
    transition: all 0.4s var(--transition-smooth);
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--color-white);
    border-color: var(--color-gold);
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.08);
}

.checkbox-group,
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1.75rem;
    background: var(--color-off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-light);
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-body);
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    padding: 0.25rem 0;
}

.checkbox-item:hover,
.radio-item:hover {
    color: var(--color-navy);
}

.checkbox-item input,
.radio-item input {
    margin-right: 0.8rem;
    accent-color: var(--color-navy);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

body[dir="rtl"] .checkbox-item input,
body[dir="rtl"] .radio-item input {
    margin-right: 0;
    margin-left: 0.8rem;
}

.form-actions {
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

#submitBtn {
    min-width: 280px;
    padding: 1.25rem 3rem;
    font-size: 0.95rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    padding: 1.15rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
    transition: all 0.4s var(--transition-smooth);
    min-width: 280px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.15rem;
}

.contact-phone {
    margin-top: 2.5rem;
    text-align: center;
}

.contact-phone a {
    color: var(--color-navy);
    font-weight: 700;
    font-size: 1.05rem;
    direction: ltr;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.75rem;
    background: var(--color-off-white);
    border-radius: 50px;
    transition: all 0.4s var(--transition-smooth);
    border: 1px solid transparent;
}

.contact-phone a:hover {
    background: var(--color-gold);
    color: var(--color-navy-dark);
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(180deg, var(--color-navy-dark) 0%, #000309 100%);
    color: var(--color-white);
    padding: 5rem 0 3.5rem;
    text-align: center;
    border-top: 4px solid var(--color-gold);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.06) 0%, transparent 100%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    margin-bottom: 1.75rem;
}

.footer-logo img {
    height: 75px;
    margin: 0 auto;
    opacity: 0.95;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: all 0.4s var(--transition-smooth);
}

.footer-logo img:hover {
    transform: scale(1.05);
    opacity: 1;
}

.footer-brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 1.25rem;
    letter-spacing: 1.5px;
}

body[dir="rtl"] .footer-brand {
    font-family: var(--font-ar);
}

body[dir="ltr"] .footer-brand {
    font-family: var(--font-heading-en);
}

.footer-info {
    margin: 1.75rem 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.footer-info p {
    margin: 0.4rem 0;
}

.footer-info .footer-phone {
    margin-top: 1.25rem;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 1rem;
}

.footer-info .footer-phone i {
    margin-right: 0.5rem;
}

body[dir="rtl"] .footer-info .footer-phone i {
    margin-right: 0;
    margin-left: 0.5rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

body[dir="rtl"] .copyright {
    font-family: var(--font-ar);
}

body[dir="ltr"] .copyright {
    font-family: var(--font-body-en);
}

.footer-links {
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== LANGUAGE VISIBILITY ===== */
[lang="ar"],
[lang="en"] {
    display: none;
}

html[lang] {
    display: block;
}

body[dir="rtl"] [lang="ar"] {
    display: block;
}

body[dir="rtl"] [lang="en"] {
    display: none;
}

body[dir="ltr"] [lang="en"] {
    display: block;
}

body[dir="ltr"] [lang="ar"] {
    display: none;
}

body[dir="rtl"] .services-container[lang="ar"] {
    display: grid;
}

body[dir="ltr"] .services-container[lang="en"] {
    display: grid;
}

body[dir="rtl"] .why-grid[lang="ar"] {
    display: grid;
}

body[dir="ltr"] .why-grid[lang="en"] {
    display: grid;
}

body[dir="rtl"] .process-timeline[lang="ar"] {
    display: flex;
}

body[dir="ltr"] .process-timeline[lang="en"] {
    display: flex;
}

body[dir="rtl"] .vision-content[lang="ar"] {
    display: flex;
}

body[dir="ltr"] .vision-content[lang="en"] {
    display: flex;
}

/* ===== FOOTER PARTNERSHIPS LAYOUT ===== */
.footer-main {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 5rem;
    text-align: start;
    padding: 2.5rem 0;
}

/* RTL (Arabic): Images LEFT, Text RIGHT */
body[dir="rtl"] .footer-main {
    flex-direction: row;
}

/* LTR (English): Text LEFT, Images RIGHT */
body[dir="ltr"] .footer-main {
    flex-direction: row-reverse;
}

.footer-partnerships {
    flex: 1;
    max-width: 580px;
    min-width: 400px;
}

/* Glassmorphism Card Container - Enhanced */
/* Glassmorphism Card Container - Enhanced */
.partnerships-card {
    background: transparent;
    padding: 6rem 0;
    position: relative;
    overflow: visible;
    box-shadow: none;
    border: none;
    text-align: center;
}

.partnerships-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(10, 17, 40, 0.4) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Partnerships Header with Label - Enhanced */
.partnerships-header {
    margin-bottom: 2.25rem;
    text-align: center;
}

.partnerships-label {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

body[dir="rtl"] .partnerships-label {
    font-family: var(--font-ar);
    letter-spacing: 0;
    font-size: 1.05rem;
}

body[dir="ltr"] .partnerships-label {
    font-family: var(--font-body-en);
}

.partnerships-line {
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 0 auto;
}

/* Partnership Images Grid - Enhanced */
/* Partnership Images Grid - Premium Redesign */
/* Partnership Images Grid - Premium Redesign */
.partnership-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 3rem;
}

/* Individual Partner Item - Premium Dark Glass */
.partner-item {
    position: relative;
    width: 100%;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    padding: 1rem;
}

.partner-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
    z-index: 2;
    background: rgba(255, 255, 255, 0.08);
}

.partner-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.05);
    transition: transform 0.4s ease;
}

.partner-item:hover img {
    transform: none;
    filter: brightness(1.2) contrast(1.1);
}

.footer-main .footer-content {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



@media (max-width: 1100px) {
    .footer-main {
        gap: 3rem;
    }

    .footer-partnerships {
        min-width: 350px;
        max-width: 480px;
    }
}

@media (max-width: 900px) {
    .footer-main {
        flex-direction: column !important;
        text-align: center;
        gap: 3rem;
        padding: 1.5rem 0;
    }

    .footer-partnerships {
        max-width: 100%;
        min-width: unset;
        order: 2;
        margin-top: 1.5rem;
    }

    .partnerships-card {
        padding: 4rem 1.5rem;
    }

    .footer-main .footer-content {
        order: 1;
    }
}

@media (max-width: 600px) {
    .partnerships-card {
        padding: 3rem 1rem;
    }
}

body[dir="rtl"] .footer-main[lang="ar"] {
    display: flex;
}

body[dir="ltr"] .footer-main[lang="en"] {
    display: flex;
}

/* ===== SELECTION STYLES ===== */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--color-navy-dark);
}

::-moz-selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--color-navy-dark);
}

/* =========================================
   MOBILE OPTIMIZATION (MAX-WIDTH 768PX)
   ========================================= */
@media (max-width: 768px) {

    /* 1. Global Spacing & Sizing */
    section {
        padding: 4rem 0 !important;
    }

    .container {
        padding: 0 1.25rem !important;
        width: 100% !important;
    }

    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* 2. Typography */
    h1,
    #hero h1 {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1.5rem !important;
    }

    h2,
    .section-header h2 {
        font-size: 1.85rem !important;
        word-wrap: break-word;
    }

    h3 {
        font-size: 1.45rem !important;
    }

    p,
    li,
    .lead-text {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        letter-spacing: 0 !important;
    }

    /* 3. Hero Section */
    #hero {
        padding-top: 140px !important;
        padding-bottom: 4rem !important;
        min-height: auto !important;
        height: auto !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .lead-text {
        margin-bottom: 2.5rem !important;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem !important;
    }

    .hero-contact-strip {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem !important;
        border-right: none;
        border-left: none;
    }

    .trust-badges {
        flex-direction: column;
        gap: 2rem !important;
        align-items: center;
        text-align: center;
        margin-top: 3rem !important;
    }

    /* 4. Buttons */
    .btn,
    .btn-cta-main,
    .hero-whatsapp,
    .hero-phone {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 1.25rem 1rem !important;
        margin: 0 !important;
        border-radius: 12px !important;
        font-size: 1rem !important;
    }

    /* 5. Services & Grid Overrides */
    .services-container,
    .why-grid,
    .license-grid,
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .service-column {
        padding: 2rem 1.5rem !important;
        height: auto !important;
    }

    .license-card {
        padding: 2rem !important;
        height: auto !important;
    }

    /* 6. Process / Timeline */
    .process-timeline {
        flex-direction: column !important;
        gap: 3rem !important;
        padding-left: 1rem;
        border-left: 2px solid var(--color-gold);
        margin-left: 1rem;
    }

    .process-step {
        width: 100% !important;
        text-align: left !important;
        padding: 0 0 0 1.5rem !important;
        margin: 0 !important;
    }

    .process-step::before {
        left: -2.35rem !important;
        right: auto !important;
        top: 0 !important;
    }

    body[dir="rtl"] .process-timeline {
        border-left: none;
        border-right: 2px solid var(--color-gold);
        padding-left: 0;
        padding-right: 1rem;
        margin-left: 0;
        margin-right: 1rem;
    }

    body[dir="rtl"] .process-step {
        text-align: right !important;
        padding: 0 1.5rem 0 0 !important;
    }

    body[dir="rtl"] .process-step::before {
        left: auto !important;
        right: -2.35rem !important;
    }

    /* 7. Partners Section */
    .footer-partnerships {
        min-width: 100% !important;
        max-width: 100% !important;
        margin-top: 2rem !important;
    }

    .partnership-images {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .partner-item {
        height: 110px !important;
        padding: 1rem !important;
    }

    /* 8. Footer Main */
    .footer-main {
        flex-direction: column !important;
        gap: 3rem !important;
        text-align: center !important;
    }

    /* 9. Contact Form */
    .contact-wrap {
        padding: 2rem 1.25rem !important;
    }

    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }

    /* 10. Fix Header Mobile */
    header {
        padding: 1rem 0 !important;
    }

    .logo img {
        height: 45px !important;
    }

    .lang-toggle {
        padding: 0.5rem 1rem !important;
        font-size: 0.7rem !important;
    }
}