:root {
    --ink: #17201d;
    --muted: #66716d;
    --surface: #f6f8f5;
    --line: #dfe6df;
    --green: #27306f;
    --green-soft: #e8ebfb;
    --gold: #4f7fd8;
    --coral: #d96b55;
    --white: #ffffff;
}

* {
    letter-spacing: 0;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--surface);
}

[dir="rtl"] body {
    font-family: "Noto Sans Arabic", "Inter", system-ui, sans-serif;
}

a {
    text-decoration: none;
}

.fixed-top .container {
    max-width: 1160px;
}

.ledgora-nav {
    background: rgba(246, 248, 245, 0.9);
    border-bottom: 1px solid rgba(23, 32, 29, 0.08);
    backdrop-filter: blur(18px);
    min-height: 58px;
    padding: 6px 16px;
    margin-top: 8px;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(17, 24, 22, 0.08);
}

.navbar-brand {
    color: var(--ink);
    font-weight: 800;
}

.ledgora-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 160px;
    padding: 0;
}

.ledgora-logo {
    display: block;
    width: 142px;
    max-width: 42vw;
    height: auto;
}

.brand-mark {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), #3d63c7);
    font-weight: 800;
}

.nav-link {
    color: rgba(23, 32, 29, 0.72);
    font-weight: 600;
}

.nav-link:hover {
    color: var(--green);
}

.navbar-freya .dropdown-item {
    color: rgba(23, 32, 29, 0.76);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    border-radius: 8px;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.language-switch {
    color: var(--green) !important;
}

.navbar-freya .dropdown-item:hover,
.navbar-freya .dropdown-item:focus,
.navbar-freya .dropdown-item:active,
.navbar-freya .dropdown-item.active {
    color: var(--green);
    background: var(--green-soft);
}

.navbar-freya .dropdown-item.active {
    box-shadow: inset 0 -2px 0 var(--gold);
}

.whatsapp-float {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 1040;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: #25d366;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.32);
}

.whatsapp-float:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.btn {
    border-radius: 8px;
    font-weight: 700;
}

.btn-ledgora {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(39, 48, 111, 0.2);
}

.btn-ledgora:hover {
    background: #1e265d;
    border-color: #1e265d;
    color: var(--white);
}

.btn-outline-ledgora {
    border-color: var(--green);
    color: var(--green);
}

.btn-outline-ledgora:hover {
    background: var(--green);
    color: var(--white);
}

.hero-section {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 120px 0 56px;
    color: var(--white);
    background:
        linear-gradient(115deg, rgba(15, 21, 55, 0.96), rgba(39, 48, 111, 0.84)),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.ledgora-slider .overlay-freya::before {
    background: linear-gradient(90deg, rgba(13, 18, 46, 0.93), rgba(39, 48, 111, 0.62), rgba(13, 18, 46, 0.2));
}

.hero-title {
    max-width: 980px;
    font-size: clamp(2.6rem, 6.4vw, 6.2rem);
    line-height: 0.95;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

[dir="rtl"] .hero-actions,
[dir="rtl"] .panel-header,
[dir="rtl"] .ledger-row,
[dir="rtl"] .progress-label,
[dir="rtl"] .footer-bottom {
    flex-direction: row-reverse;
}

[dir="rtl"] .eyebrow::before {
    order: 2;
}

[dir="rtl"] .check-list div {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .wide-card ul {
    padding-right: 18px;
    padding-left: 0;
}

[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

[dir="rtl"] .message-stack {
    right: auto;
    left: 24px;
}

[dir="rtl"] .text-lg-end {
    text-align: left !important;
}

.ls {
    letter-spacing: 0.08em;
    font-weight: 800;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #dbeee7;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.eyebrow.dark {
    color: var(--green);
}

.hero-section h1,
.page-hero h1 {
    max-width: 850px;
    font-size: clamp(2.6rem, 6vw, 5.7rem);
    line-height: 0.98;
    font-weight: 800;
}

.hero-copy {
    max-width: 680px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.2rem;
    line-height: 1.7;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 620px;
    gap: 14px;
    margin-top: 44px;
}

.hero-metrics div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics strong {
    color: var(--gold);
    font-size: 1.35rem;
}

.hero-metrics span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}

.insight-panel {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.panel-header,
.ledger-row,
.progress-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.panel-header {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 700;
}

.status-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #6ee7b7;
    box-shadow: 0 0 0 6px rgba(110, 231, 183, 0.16);
}

.ledger-row {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ledger-row span {
    color: rgba(255, 255, 255, 0.72);
}

.ledger-row strong {
    color: var(--white);
}

.progress-wrap {
    margin-top: 18px;
}

.progress-label {
    margin-bottom: 10px;
}

.progress {
    height: 10px;
    background: rgba(255, 255, 255, 0.18);
}

.progress-bar {
    background: linear-gradient(90deg, var(--gold), #7aa7ff);
}

.mini-chart {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    height: 132px;
    gap: 12px;
    margin-top: 24px;
}

.mini-chart span {
    display: block;
    border-radius: 8px 8px 0 0;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.section-pad {
    padding: 92px 0;
}

.message-stack {
    position: fixed;
    top: 92px;
    right: 24px;
    z-index: 1050;
    max-width: 420px;
}

.message-alert {
    padding: 14px 18px;
    border-radius: 8px;
    color: var(--white);
    background: var(--green);
    box-shadow: 0 18px 45px rgba(17, 24, 22, 0.18);
    font-weight: 700;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.split-section h2,
.cta-band h2,
.contact-info h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.04;
}

.service-card,
.wide-card,
.contact-form,
.contact-info {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(23, 32, 29, 0.06);
}

.service-card h3,
.wide-card h2 {
    margin-top: 20px;
    font-size: 1.35rem;
    font-weight: 800;
}

.service-card p,
.wide-card p,
.lead,
.muted-copy {
    color: var(--muted);
    line-height: 1.75;
}

.card-icon {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    background: var(--green-soft);
    color: var(--green);
    font-weight: 800;
}

.split-section {
    padding: 92px 0;
    background: #eef2fb;
}

.proof-section {
    padding: 92px 0;
    background: var(--white);
}

.proof-card {
    height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f5f7ff);
    box-shadow: 0 18px 50px rgba(23, 32, 29, 0.06);
}

.proof-card strong {
    display: block;
    margin-bottom: 12px;
    color: var(--green);
    font-size: 1.2rem;
    font-weight: 800;
}

.proof-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.faq-section {
    padding: 92px 0;
    background: var(--white);
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-list.compact {
    margin-top: 24px;
}

.faq-item {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f5f7ff;
}

.faq-item h3 {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 1.1rem;
    font-weight: 800;
}

.faq-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.check-list {
    display: grid;
    gap: 16px;
}

.check-list div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    font-weight: 700;
}

.check-list span {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--coral);
}

.cta-band {
    padding: 68px 0;
    color: var(--white);
    background: var(--green);
}

.cta-band p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.page-hero {
    padding: 150px 0 76px;
    color: var(--white);
    background:
        linear-gradient(115deg, rgba(8, 12, 38, 0.98), rgba(32, 42, 105, 0.9)),
        url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero p {
    color: var(--white) !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.page-hero p {
    max-width: 720px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 1.18rem;
}

.wide-card ul {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.detail-panel {
    height: 100%;
    padding: 28px;
    border-radius: 8px;
    color: var(--white);
    background: var(--green);
    box-shadow: 0 24px 70px rgba(23, 32, 29, 0.14);
}

.detail-panel h3 {
    color: var(--white);
    font-weight: 800;
}

.detail-panel ul {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding-left: 18px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.process-grid div {
    padding: 20px;
    border-radius: 8px;
    background: #f5f7ff;
}

.process-grid span {
    display: block;
    margin-bottom: 12px;
    color: var(--gold);
    font-weight: 800;
}

.process-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

[dir="rtl"] .detail-panel ul {
    padding-right: 18px;
    padding-left: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.values-grid div,
.contact-info div {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.values-grid strong,
.values-grid span,
.contact-info strong,
.contact-info span {
    display: block;
}

.values-grid strong,
.contact-info strong {
    margin-bottom: 8px;
    color: var(--green);
    font-weight: 800;
}

.values-grid span,
.contact-info span {
    color: var(--muted);
}

.contact-info {
    display: grid;
    gap: 16px;
}

.about-photo {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(23, 32, 29, 0.14);
}

.form-control,
.form-select {
    min-height: 52px;
    border-color: var(--line);
    border-radius: 8px;
}

textarea.form-control {
    min-height: 140px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 0.2rem rgba(39, 48, 111, 0.14);
}

.footer-section {
    padding: 64px 0 28px;
    background: #111816;
    color: var(--white);
}

.footer-section h6 {
    margin-bottom: 16px;
    color: var(--gold);
    font-weight: 800;
}

.footer-logo {
    display: block;
    width: 178px;
    max-width: 100%;
    height: auto;
}

.footer-section a,
.footer-section span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.68);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 112px;
    }

    .hero-metrics,
    .values-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1,
    .page-hero h1 {
        font-size: 2.45rem;
    }

    .section-pad,
    .split-section,
    .faq-section {
        padding: 68px 0;
    }

    .service-card,
    .wide-card,
    .contact-form,
    .contact-info,
    .insight-panel {
        padding: 22px;
    }

    .ledgora-logo {
        width: 122px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
