@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0F1B2D;
    --primary-light: #1E2B3E;
    --secondary: #777ff2;
    --gold: #5342e5;
    --gold-glow: rgba(242, 194, 48, 0.3);
    --gold-soft: rgba(212, 160, 23, 0.12);
    --text: #2a2a2a;
    --text-light: #666;
    --text-muted: #999;
    --bg: #ffffff;
    --bg-alt: #f7f8fc;
    --bg-dark: #050d1a;
    --glass: rgba(255, 255, 255, 0.9);
    --glass-dark: rgba(15, 27, 45, 0.92);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 8px 30px rgba(212, 160, 23, 0.25);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
}

body.lang-en {
    direction: ltr;
    font-family: 'Inter', 'Cairo', sans-serif;
}

/* ======= LANG SYSTEM ======= */
.en-text {
    display: none
}

.ar-text {
    display: inline
}

body.lang-en .en-text {
    display: inline
}

body.lang-en .ar-text {
    display: none
}

.en-block {
    display: none
}

.ar-block {
    display: block
}

body.lang-en .en-block {
    display: block
}

body.lang-en .ar-block {
    display: none
}

/* ======= LANG TOGGLE BUTTON ======= */
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    border: 1.5px solid rgba(212, 160, 23, 0.4);
    background: transparent;
    color: var(--primary);
    font-family: 'Cairo', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: .5px;
}

.lang-btn:hover {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}

.lang-btn .lang-flag {
    font-size: 1rem;
}

/* ======= NAVIGATION ======= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 160, 23, 0.12);
}

nav.scrolled {
    padding: 10px 60px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.logo img {
    height: 52px;
    transition: var(--transition);
}

nav.scrolled .logo img {
    height: 44px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: .9rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--gold));
    transition: var(--transition);
    border-radius: 2px;
}

body.lang-en .nav-links a::after {
    right: auto;
    left: 0;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.contact-btn a {
    padding: 10px 22px;
    font-size: .85rem;
}

/* ======= SECTION BASE ======= */
section {
    padding: 90px 8%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: var(--gold-soft);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: var(--secondary);
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.3;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
}

.section-line {
    width: 60px;
    height: 4px;
    margin: 20px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--gold));
}

/* ======= BUTTONS ======= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    color: var(--primary);
    font-weight: 800;
    font-size: .95rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 160, 23, 0.45);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-dark {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(15, 27, 45, 0.25);
}

.btn-dark:hover {
    box-shadow: 0 12px 30px rgba(15, 27, 45, 0.35);
}

/* ======= HERO ======= */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.hero-city-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, #050d1a 0%, #0a1628 40%, #0d1f35 70%, #1a3050 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 15s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(5, 13, 26, 0.88) 0%, rgba(10, 22, 40, 0.75) 100%);
}

#particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    padding: 0 20px;
    animation: heroIn 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(40px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(212, 160, 23, 0.18);
    border: 1px solid rgba(212, 160, 23, 0.4);
    color: var(--gold);
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 24px;
    animation: heroIn 1s .2s both;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 22px;
    animation: heroIn 1s .35s both;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    opacity: .82;
    max-width: 650px;
    margin: 0 auto 38px;
    animation: heroIn 1s .5s both;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroIn 1s .65s both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .5);
    font-size: 1.4rem;
    z-index: 5;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(-10px)
    }
}

/* ======= ANIMATED CITY SVG ======= */
.city-svg-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.city-svg-wrap svg {
    width: 100%;
    height: 75%;
}

/* Star field */
.star {
    fill: #fff;
    animation: twinkle var(--dur, 3s) var(--del, 0s) ease-in-out infinite alternate;
}

@keyframes twinkle {
    from {
        opacity: .2;
        r: 1
    }

    to {
        opacity: 1;
        r: 2.5
    }
}

/* Window lights */
.win-on {
    animation: winFlicker var(--dur, 4s) var(--del, 0s) ease-in-out infinite alternate;
}

@keyframes winFlicker {

    0%,
    90%,
    100% {
        opacity: 1
    }

    92% {
        opacity: .1
    }

    95% {
        opacity: .8
    }

    97% {
        opacity: .2
    }
}

.win-slow {
    animation: winSlow var(--dur, 8s) var(--del, 0s) ease-in-out infinite alternate;
}

@keyframes winSlow {
    0% {
        opacity: .3
    }

    50% {
        opacity: 1
    }

    100% {
        opacity: .5
    }
}

/* Clouds */
.cloud {
    animation: cloudMove var(--dur, 40s) var(--del, 0s) linear infinite;
}

@keyframes cloudMove {
    from {
        transform: translateX(-200px)
    }

    to {
        transform: translateX(calc(100vw + 200px))
    }
}

/* ======= SUB HERO (inner pages) ======= */
.sub-hero {
    height: 58vh;
    min-height: 380px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    padding-top: 73px;
}

.sub-hero .hero-bg img {
    animation: slowZoom 20s ease-in-out infinite alternate;
}

.sub-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(5, 13, 26, .88) 0%, rgba(10, 22, 40, .72) 100%);
}

.sub-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 20px;
}

.sub-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.sub-hero-content p {
    font-size: 1.05rem;
    opacity: .8;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .85rem;
    opacity: .7;
}

.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
}

.breadcrumb-sep {
    opacity: .5;
}

/* ======= SERVICE CARDS ======= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 35px 28px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 100% 0%, var(--gold-soft), transparent 70%);
    transition: var(--transition);
}

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

.service-card:hover::before {
    width: 150px;
    height: 150px;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.1), rgba(242, 194, 48, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    color: #fff;
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.05rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: .88rem;
    line-height: 1.8;
}

/* Dark service cards (for dark sections) */
.service-card.dark {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 160, 23, 0.15);
    backdrop-filter: blur(10px);
}

.service-card.dark h3 {
    color: #fff;
}

.service-card.dark p {
    color: rgba(255, 255, 255, 0.65);
}

.service-card.dark .service-icon {
    background: rgba(212, 160, 23, 0.15);
}

/* ======= STATS SECTION ======= */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, #162741 100%);
    padding: 80px 8%;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.08), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: .9rem;
    margin-top: 8px;
}

.stat-sublabel {
    color: rgba(255, 255, 255, 0.4);
    font-size: .78rem;
    margin-top: 3px;
}

/* ======= CHARTS SECTION ======= */
.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.chart-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
}

.chart-card h3 {
    color: var(--primary);
    font-size: .95rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.chart-container {
    position: relative;
    height: 200px;
}

/* ======= WHY US ======= */
.why-us-content {
    display: flex;
    gap: 70px;
    align-items: center;
}

.why-us-image {
    flex: 1;
    position: relative;
}

.why-us-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.why-us-image .img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    color: var(--primary);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    font-weight: 800;
    box-shadow: var(--shadow-gold);
}

.why-us-image .img-badge .num {
    font-size: 1.8rem;
    display: block;
}

.why-us-image .img-badge .lbl {
    font-size: .75rem;
    opacity: .8;
}

.why-us-text {
    flex: 1;
}

.why-us-text h2 {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 18px;
    font-weight: 800;
}

.why-us-text p {
    color: var(--text-light);
    font-size: 1.02rem;
    margin-bottom: 25px;
    line-height: 1.9;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--bg-alt);
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.feature-item h4 {
    color: var(--primary);
    margin-bottom: 4px;
    font-size: .95rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: .87rem;
    margin: 0;
}

/* ======= CTA BANNER ======= */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), #162741);
    border-radius: var(--radius-xl);
    padding: 70px 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin: 0 8%;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.12), transparent 60%);
    border-radius: 50%;
}

.cta-banner h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    position: relative;
}

.cta-banner h2 span {
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: .82;
    margin-bottom: 32px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .cta-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ======= PROCESS STEPS ======= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    right: 12.5%;
    left: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--gold), var(--secondary));
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

.step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.4);
    transition: var(--transition);
}

.step-item:hover .step-num {
    transform: scale(1.15) rotate(5deg);
}

.step-item h4 {
    color: var(--primary);
    font-size: .95rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.step-item p {
    color: var(--text-light);
    font-size: .83rem;
    line-height: 1.7;
}

/* ======= CONTACT FORM ======= */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: var(--radius);
    font-family: 'Cairo', sans-serif;
    font-size: .95rem;
    transition: var(--transition);
    background: #fff;
    color: var(--text);
    direction: rtl;
}

body.lang-en .contact-form input,
body.lang-en .contact-form textarea,
body.lang-en .contact-form select {
    direction: ltr;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px var(--gold-glow);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ======= TESTIMONIALS ======= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testi-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testi-name {
    font-weight: 700;
    color: var(--primary);
    font-size: .95rem;
}

.testi-loc {
    color: var(--text-muted);
    font-size: .8rem;
    margin-top: 2px;
}

.testi-stars {
    color: var(--gold);
    font-size: .9rem;
    margin-bottom: 10px;
}

.testi-text {
    color: var(--text-light);
    font-size: .88rem;
    line-height: 1.8;
    font-style: italic;
}

/* ======= CONTACT INFO CARDS ======= */
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.contact-info-card:hover {
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateX(-5px);
}

body.lang-en .contact-info-card:hover {
    transform: translateX(5px);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.contact-info-card h4 {
    color: var(--primary);
    font-size: .88rem;
    margin-bottom: 3px;
    font-weight: 600;
}

.contact-info-card a,
.contact-info-card p {
    color: var(--text-light);
    text-decoration: none;
    font-size: .95rem;
    margin: 0;
    transition: var(--transition);
}

.contact-info-card:hover a {
    color: var(--secondary);
}

/* ======= FOOTER ======= */
footer {
    background: var(--primary);
    color: #fff;
    padding: 70px 8% 25px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--gold), var(--secondary));
}

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

.footer-section h3 {
    margin-bottom: 22px;
    color: var(--gold);
    font-size: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
    font-size: .88rem;
}

.footer-section a:hover {
    color: var(--gold);
    padding-right: 6px;
}

body.lang-en .footer-section a:hover {
    padding-right: 0;
    padding-left: 6px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
    margin-bottom: 0;
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    font-size: .82rem;
    opacity: .5;
}

/* ======= SCROLL REVEAL ANIMATIONS ======= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.visible,
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all .8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-left.visible,
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all .8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-right.visible,
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(.85);
    transition: all .8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-scale.visible,
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ======= KEYFRAMES ======= */
@keyframes slowZoom {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(1.08)
    }
}

@keyframes floatAnim {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(212, 160, 23, .4)
    }

    50% {
        box-shadow: 0 0 0 15px transparent
    }
}

@keyframes shimmer {
    0% {
        background-position: 200% center
    }

    100% {
        background-position: -200% center
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes gradShift {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes barGrow {
    from {
        width: 0
    }

    to {
        width: var(--w)
    }
}

/* ======= ABOUT PAGE ======= */
.about-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
}

.hero-stat-box {
    text-align: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(212, 160, 23, .25);
    border-radius: var(--radius);
    padding: 18px 10px;
    backdrop-filter: blur(10px);
}

.hero-stat-box .n {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-stat-box .l {
    color: rgba(255, 255, 255, .6);
    font-size: .78rem;
    margin-top: 4px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-right: 30px;
}

body.lang-en .timeline {
    padding-right: 0;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--secondary), var(--gold), var(--secondary));
    border-radius: 3px;
}

body.lang-en .timeline::before {
    right: auto;
    left: 0;
}

.tl-item {
    position: relative;
    padding: 0 30px 40px 0;
}

body.lang-en .tl-item {
    padding: 0 0 40px 30px;
}

.tl-item::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 5px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, .25);
}

body.lang-en .tl-item::before {
    right: auto;
    left: -8px;
}

.tl-year {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    background: var(--gold-soft);
    color: var(--secondary);
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tl-item h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.tl-item p {
    color: var(--text-light);
    font-size: .88rem;
    line-height: 1.8;
}

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

.team-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.team-avatar {
    width: 100%;
    padding: 40px 0 30px;
    background: linear-gradient(135deg, var(--primary) 0%, #162741 100%);
    position: relative;
    overflow: hidden;
}

.team-avatar::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(212, 160, 23, .15), transparent);
    border-radius: 50%;
}

.team-emoji {
    font-size: 4.5rem;
    display: block;
    position: relative;
}

.team-info {
    padding: 22px 20px 25px;
}

.team-info h3 {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.team-role {
    color: var(--secondary);
    font-size: .82rem;
    font-weight: 600;
}

.team-info p {
    color: var(--text-light);
    font-size: .82rem;
    margin-top: 10px;
    line-height: 1.7;
}

/* ======= SERVICES PAGE ======= */
.service-card-v2 {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.service-card-v2:hover {
    transform: translateX(-6px);
    box-shadow: var(--shadow-lg);
}

body.lang-en .service-card-v2:hover {
    transform: translateX(6px);
}

.svc-icon-v2 {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(212, 160, 23, .12), rgba(242, 194, 48, .2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--secondary);
    transition: var(--transition);
}

.service-card-v2:hover .svc-icon-v2 {
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    color: var(--primary);
}

.svc-body h3 {
    color: var(--primary);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.svc-body p {
    color: var(--text-light);
    font-size: .83rem;
    line-height: 1.7;
}

.svc-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    background: var(--gold-soft);
    color: var(--secondary);
    font-size: .72rem;
    font-weight: 700;
    margin-top: 8px;
}

/* Bar chart style stats */
.bar-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bar-label {
    color: var(--primary);
    font-size: .85rem;
    font-weight: 600;
    min-width: 130px;
    text-align: right;
}

body.lang-en .bar-label {
    text-align: left;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--secondary), var(--gold));
    width: 0;
    transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bar-pct {
    color: var(--secondary);
    font-size: .82rem;
    font-weight: 700;
    min-width: 35px;
}

/* ======= WHATSAPP FLOATING ======= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9998;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, .4);
    text-decoration: none;
    transition: var(--transition);
    animation: waPulse 2.5s ease-in-out infinite;
}

body.lang-en .whatsapp-float {
    left: auto;
    right: 30px;
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, .4)
    }

    50% {
        box-shadow: 0 8px 40px rgba(37, 211, 102, .7), 0 0 0 10px rgba(37, 211, 102, .08)
    }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    animation: none;
}

/* ======= TAGS / BADGES ======= */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
}

.badge-gold {
    background: var(--gold-soft);
    color: var(--secondary);
}

.badge-navy {
    background: rgba(15, 27, 45, .08);
    color: var(--primary);
}

.badge-green {
    background: rgba(34, 197, 94, .1);
    color: #16a34a;
}

/* ======= RESPONSIVE ======= */
@media(max-width:1200px) {
    .charts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:1024px) {
    section {
        padding: 70px 5%;
    }

    nav {
        padding: 14px 30px;
    }

    nav.scrolled {
        padding: 10px 30px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-content {
        flex-direction: column;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before {
        display: none;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cta-banner {
        margin: 0 3%;
        padding: 50px 30px;
    }

    .about-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:768px) {
    nav {
        padding: 12px 18px;
    }

    nav.scrolled {
        padding: 10px 18px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        padding: 90px 25px 30px;
        gap: 0;
        z-index: 999;
    }

    body.lang-en .nav-links {
        right: auto;
        left: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: #fff;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
        font-size: .95rem;
    }

    .hamburger {
        display: flex;
    }

    .contact-btn {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    section {
        padding: 60px 5%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .cta-banner {
        margin: 0;
        border-radius: 0;
        padding: 40px 20px;
    }

    .sub-hero-content h1 {
        font-size: 2rem;
    }

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-image .img-badge {
        right: -5px;
        bottom: -10px;
    }

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