:root {
    --brand-navy: #001f3f;
    --brand-deep-navy: #002b4f;
    --brand-blue: #0072bc;
    --brand-green: #8cc63f;
    --brand-gray: #f5f7fa;
    --brand-dark: #102033;
    --text-muted: #667789;
    --line: #e3eaf0;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(0, 31, 63, .12);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--brand-dark);
    background: var(--white);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    text-align: start;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
}

a:hover {
    color: var(--brand-green);
}

.top-bar {
    min-height: 36px;
    color: rgba(255, 255, 255, .88);
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-deep-navy));
    font-size: .86rem;
}

.top-bar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.top-contact,
.top-actions,
.social-links,
.hero-actions,
.hero-badges {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mini-icon {
    color: var(--brand-green);
    margin-inline-end: 6px;
}

.social-links a,
.footer-social a {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-size: .74rem;
    font-weight: 800;
}

.top-link {
    border: 0;
    background: transparent;
    color: #fff;
    font-weight: 700;
    padding: 4px 0;
    white-space: nowrap;
}

.language-toggle {
    width: 42px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-size: .82rem;
    font-weight: 900;
    line-height: 1;
}

.language-toggle:hover {
    color: var(--brand-navy);
    background: #fff;
}

.site-header {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 31, 63, .08);
    z-index: 1020;
}

.site-header .navbar {
    min-height: 76px;
    padding: 0;
}

.brand-mark img {
    width: 158px;
    max-width: 42vw;
    height: auto;
}

.public-nav {
    gap: 2px;
}

.nav-link {
    position: relative;
    color: var(--brand-dark);
    font-weight: 700;
    padding: 26px 9px;
    white-space: nowrap;
}

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

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 16px;
    height: 3px;
    border-radius: 999px;
    background: var(--brand-green);
}

.dropdown-menu {
    border: 0;
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow);
    text-align: start;
}

.dropdown-item {
    border-radius: 6px;
    font-weight: 700;
    padding: 9px 12px;
}

.dropdown-item:hover {
    color: var(--brand-blue);
    background: #eef7fc;
}

.btn {
    border-radius: 6px;
    font-weight: 800;
}

.btn-demo,
.btn-brand {
    color: #fff;
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.btn-demo:hover,
.btn-brand:hover {
    color: #fff;
    background: var(--brand-deep-navy);
    border-color: var(--brand-deep-navy);
}

.btn-admin {
    color: #fff;
    background: var(--brand-navy);
    border-color: var(--brand-navy);
}

.btn-admin:hover {
    color: #fff;
    background: var(--brand-green);
    border-color: var(--brand-green);
}

.btn-outline-brand,
.btn-hero-outline {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
    background: #fff;
}

.btn-outline-brand:hover,
.btn-hero-outline:hover {
    color: #fff;
    background: var(--brand-blue);
}

.btn-hero-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, .76);
    background: rgba(255, 255, 255, .08);
}

.btn-hero-outline:hover {
    background: #fff;
    color: var(--brand-navy);
}

.hero-carousel {
    position: relative;
    background: var(--brand-navy);
}

.hero-slide {
    position: relative;
    min-height: 520px;
    background:
        linear-gradient(110deg, rgba(0, 31, 63, .88) 0%, rgba(0, 43, 79, .72) 45%, rgba(0, 31, 63, .28) 100%),
        url("/images/hero-rental.jpg") center/cover no-repeat,
        linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(140, 198, 63, .22), transparent 30%);
}

.hero-content {
    position: relative;
    z-index: 1;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-copy-block {
    max-width: 760px;
    color: #fff;
    padding: 56px 0 82px;
    text-align: start;
}

.hero-kicker,
.eyebrow {
    color: var(--brand-green);
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
    font-size: .8rem;
}

.hero-copy-block h1 {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: clamp(2.55rem, 5.4vw, 4.85rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-copy-block p {
    max-width: 690px;
    color: rgba(255, 255, 255, .9);
    font-size: 1.17rem;
    line-height: 1.8;
}

.hero-badges {
    margin: 26px 0 32px;
}

.hero-badges span {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
    font-weight: 800;
}

.carousel-control-prev,
.carousel-control-next {
    width: 64px;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators [data-bs-target] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #fff;
}

.stats-wrap {
    position: relative;
    z-index: 5;
    margin-top: -48px;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stats-strip article {
    min-height: 112px;
    padding: 24px 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: center;
    border-inline-end: 1px solid var(--line);
}

.stats-strip article:last-child {
    border-inline-end: 0;
}

.stat-icon {
    width: 48px;
    height: 48px;
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--brand-blue);
    background: #eaf6fd;
    font-weight: 900;
}

.stat-icon.users::before { content: "U"; }
.stat-icon.car::before { content: "C"; }
.stat-icon.calendar::before { content: "Y"; }
.stat-icon.document::before { content: "D"; }

.stats-strip strong {
    font-size: 1.9rem;
    color: var(--brand-navy);
    line-height: 1;
}

.stats-strip .counter {
    transition: color .2s ease;
}

.stats-strip p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-weight: 700;
}

.section {
    padding: 88px 0;
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading h2,
.why-section h2,
.mobile-section h2,
.demo-panel h2,
.page-hero h1 {
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0;
    color: var(--brand-dark);
}

.lead-text {
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 1.08rem;
}

.solutions-section {
    background: #fff;
    padding-top: 106px;
}

.solution-card,
.news-card,
.content-card,
.feature-card,
.contact-panel,
.form-surface,
.client-tile,
.admin-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.solution-card {
    min-height: 330px;
    padding: 30px;
    box-shadow: 0 10px 28px rgba(0, 31, 63, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(0, 31, 63, .16);
}

.solution-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 22px;
}

.solution-blue .solution-icon { background: var(--brand-blue); }
.solution-green .solution-icon { background: var(--brand-green); }
.solution-orange .solution-icon { background: #f59e0b; }
.solution-purple .solution-icon { background: #7c3aed; }

.solution-card h3 {
    font-size: 1.32rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.solution-card span {
    color: var(--brand-blue);
    display: block;
    font-weight: 800;
    margin-bottom: 16px;
}

.solution-card p {
    color: var(--text-muted);
    line-height: 1.75;
}

.solution-card a {
    font-weight: 900;
}

.trusted-strip {
    padding: 44px 0;
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-deep-navy));
    color: #fff;
}

.trusted-strip p {
    margin-bottom: 24px;
    color: var(--brand-green);
    font-weight: 900;
    letter-spacing: .09em;
    text-align: center;
}

.client-logo-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.client-logo {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}

.client-logo img {
    max-width: 145px;
    max-height: 56px;
    object-fit: contain;
}

.client-logo span {
    color: #fff;
    font-weight: 900;
    text-align: center;
}

.why-section {
    background: var(--brand-gray);
}

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

.why-grid article {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 31, 63, .06);
}

.why-grid span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-green);
    font-weight: 900;
}

.mobile-section {
    background: #fff;
}

.phone-mockups {
    min-height: 420px;
    position: relative;
}

.phone-card {
    width: min(280px, 80%);
    min-height: 420px;
    border: 10px solid var(--brand-navy);
    border-radius: 32px;
    padding: 34px 22px;
    color: #fff;
    background: linear-gradient(160deg, var(--brand-blue), var(--brand-deep-navy));
    box-shadow: var(--shadow);
}

.phone-card.secondary {
    position: absolute;
    right: 72px;
    bottom: 0;
    min-height: 340px;
    background: linear-gradient(160deg, var(--brand-green), var(--brand-blue));
}

html[dir="rtl"] .phone-card.secondary {
    right: auto;
    left: 72px;
}

.phone-card span {
    display: block;
    opacity: .85;
    font-weight: 800;
}

.phone-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.4rem;
}

.phone-lines {
    margin-top: 36px;
    display: grid;
    gap: 12px;
}

.phone-lines::before,
.phone-lines::after {
    content: "";
    display: block;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .34);
}

.news-section {
    background: var(--brand-gray);
}

.news-card,
.content-card,
.feature-card,
.contact-panel,
.form-surface {
    padding: 28px;
}

.news-card {
    min-height: 225px;
    box-shadow: 0 10px 26px rgba(0, 31, 63, .07);
}

.news-card span,
.tag {
    color: var(--brand-blue);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.news-card h3,
.content-card h2,
.content-card h3,
.feature-card h3,
.contact-panel h2 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-top: 10px;
}

.news-card p,
.content-card p,
.feature-card p,
.contact-panel p {
    color: var(--text-muted);
    line-height: 1.75;
}

.demo-section {
    background:
        linear-gradient(135deg, rgba(0, 31, 63, .93), rgba(0, 114, 188, .84)),
        url("/images/hero-rental.jpg") center/cover no-repeat;
}

.demo-panel {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 36px;
    align-items: start;
    padding: 42px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
}

.demo-panel p {
    color: var(--text-muted);
    line-height: 1.8;
}

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

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

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 .2rem rgba(0, 114, 188, .18);
}

.page-hero {
    background: linear-gradient(135deg, #eef7fc 0%, #fff 62%, #f2f9e9 100%);
}

.page-hero.compact {
    padding: 72px 0;
}

.page-hero p {
    max-width: 760px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1rem;
}

.empty-state {
    padding: 28px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--text-muted);
    background: #fff;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.client-tile {
    min-height: 150px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.client-tile img {
    max-width: 180px;
    max-height: 90px;
    object-fit: contain;
    margin-bottom: 16px;
}

.client-logo-card {
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 31, 63, .08);
}

.client-tile h2 {
    font-size: 1.08rem;
    font-weight: 900;
}

.client-tile span {
    color: var(--text-muted);
}

.value-list {
    display: grid;
    gap: 12px;
}

.value-list span {
    display: block;
    border: 1px solid var(--line);
    border-inline-start: 4px solid var(--brand-green);
    border-radius: 8px;
    padding: 14px 16px;
    font-weight: 800;
    background: #fff;
}

.site-footer {
    padding: 56px 0 24px;
    color: #dce7ef;
    background: #061c34;
}

.site-footer h2 {
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.site-footer a {
    color: #dce7ef;
    display: block;
    margin-bottom: 9px;
}

.footer-logo {
    width: 190px;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
}

.footer-about {
    margin: 18px 0;
    color: #c7d3dc;
    line-height: 1.8;
}

.footer-company-name {
    margin: 18px 0 4px !important;
    color: #fff;
    font-size: 1.05rem !important;
}

.footer-company-ar {
    color: var(--brand-green);
    font-weight: 800;
    margin-bottom: 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: #a9b9c6;
    margin-top: 36px;
    padding-top: 20px;
    font-size: .92rem;
}

html[dir="rtl"] .hero-content {
    justify-content: flex-start;
}

html[dir="rtl"] .hero-copy-block {
    margin-right: 0;
    text-align: right;
}

html[dir="rtl"] .dropdown-menu {
    text-align: right;
}

html[dir="rtl"] .top-bar-inner,
html[dir="rtl"] .header-inner {
    direction: rtl;
}

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

html[dir="rtl"] .nav-link.active::after {
    left: 10px;
    right: 10px;
}

.admin-body {
    background: var(--brand-gray);
}

.admin-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    background: #27313a;
    color: #fff;
    padding: 24px;
}

.admin-brand img {
    width: 190px;
    background: #fff;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 28px;
}

.admin-sidebar nav {
    display: grid;
    gap: 6px;
}

.admin-sidebar nav a {
    color: #eef5f8;
    border-radius: 6px;
    padding: 11px 12px;
    font-weight: 700;
}

.admin-sidebar nav a:hover {
    background: rgba(255, 255, 255, .1);
}

.admin-main {
    min-width: 0;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-topbar span {
    color: var(--text-muted);
    font-weight: 700;
}

.admin-topbar h1 {
    font-size: 1.7rem;
    font-weight: 900;
    margin: 0;
}

.admin-content {
    padding: 28px;
}

.admin-panel {
    padding: 24px;
    margin-bottom: 24px;
}

.admin-panel h2 {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.admin-stat-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
}

.admin-stat-grid span {
    color: var(--text-muted);
    display: block;
    font-weight: 700;
}

.admin-stat-grid strong {
    font-size: 2.1rem;
    color: var(--brand-blue);
}

@media (max-width: 1199.98px) {
    .nav-link {
        font-size: .91rem;
        padding-inline: 5px;
    }
}

@media (max-width: 991.98px) {
    .brand-mark img {
        width: 142px;
    }

    .site-header .navbar {
        min-height: 68px;
        padding: 10px 0;
    }

    .nav-link {
        padding: 12px 4px;
        white-space: normal;
    }

    .public-nav {
        gap: 4px;
        padding: 14px 0 4px;
    }

    .navbar-collapse {
        border-top: 1px solid var(--line);
        margin-top: 10px;
    }

    .mobile-menu-button {
        width: 48px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--line);
        border-radius: 10px;
        padding: 0;
        background: #fff;
    }

    .mobile-menu-button .hamburger {
        width: 24px;
        height: 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .mobile-menu-button .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        border-radius: 3px;
        background-color: var(--brand-blue);
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 .18rem rgba(0, 114, 188, .18);
    }

    .public-nav .btn-demo {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        margin-top: 8px;
    }

    .nav-link.active::after {
        left: 0;
        right: auto;
        bottom: 6px;
        width: 42px;
    }

    html[dir="rtl"] .nav-link.active::after {
        left: auto;
        right: 0;
    }

    .hero-slide,
    .hero-content {
        min-height: 620px;
    }

    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-strip article:nth-child(2) {
        border-inline-end: 0;
    }

    .client-logo-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .demo-panel {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-sidebar nav {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .top-bar-inner {
        justify-content: space-between;
        gap: 10px;
    }

    .top-contact {
        display: none;
    }

.top-actions {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

    .social-links {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .hero-copy-block {
        padding-top: 48px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats-wrap {
        margin-top: -34px;
    }

    .stats-strip,
    .why-grid,
    .client-logo-strip {
        grid-template-columns: 1fr;
    }

    .stats-strip article {
        border-inline-end: 0;
        border-bottom: 1px solid var(--line);
    }

    .stats-strip article:last-child {
        border-bottom: 0;
    }

    .phone-card.secondary {
        position: relative;
        right: auto;
        left: auto;
        margin-top: -150px;
        margin-inline-start: auto;
    }

    html[dir="rtl"] .phone-card.secondary {
        left: auto;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 58px 0;
    }

    .brand-mark img {
        width: 128px;
    }

    .top-bar {
        font-size: .78rem;
    }

    .language-switcher .dropdown-menu {
        min-width: 136px;
    }

    .hero-copy-block h1 {
        font-size: clamp(2rem, 12vw, 2.35rem);
        overflow-wrap: anywhere;
    }

    .hero-copy-block p {
        font-size: 1rem;
    }

    .demo-panel,
    .solution-card,
    .product-list-card,
    .news-card,
    .content-card,
    .feature-card,
    .contact-panel,
    .form-surface,
    .admin-panel {
        padding: 22px;
    }
}

.products-listing {
    background: var(--brand-gray);
}

.products-hero {
    border-bottom: 1px solid var(--line);
}

.product-list-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.product-list-card h2 {
    font-size: 1.32rem;
    font-weight: 900;
    margin: 0 0 4px;
}

.product-list-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

html[dir="rtl"] .product-list-card .btn {
    align-self: flex-end;
}

.products-extra-heading {
    margin-top: 64px;
}

.integrations-section {
    background: linear-gradient(180deg, #fff 0%, var(--brand-gray) 100%);
}

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

.integration-card {
    min-height: 245px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 31, 63, .08);
    text-align: center;
}

.integration-logo {
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef7fc, #f4fae8);
    border: 1px solid var(--line);
}

.integration-logo img {
    max-width: 68px;
    max-height: 58px;
    object-fit: contain;
}

.integration-logo span {
    color: var(--brand-blue);
    font-weight: 900;
}

.integration-card h3 {
    font-size: 1.05rem;
    font-weight: 900;
}

.integration-card p {
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

.quick-actions,
.admin-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

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

.system-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.system-status-grid article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--brand-gray);
}

.system-status-grid span {
    display: block;
    color: var(--text-muted);
    font-weight: 800;
}

.system-status-grid strong,
.small-stat {
    font-size: 1.05rem !important;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-sidebar nav a .admin-menu-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: var(--brand-green);
    font-size: .75rem;
    font-weight: 900;
}

.admin-sidebar-logout {
    margin-top: 24px;
}

.admin-sidebar-logout button {
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 11px 12px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    font-weight: 800;
    text-align: start;
}

.admin-topbar .language-toggle {
    color: var(--brand-blue);
    border-color: var(--line);
    background: #fff;
}

.admin-topbar .language-toggle:hover {
    color: #fff;
    background: var(--brand-blue);
}

@media (max-width: 1199.98px) {
    .integration-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .admin-dashboard-grid,
    .integration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .admin-dashboard-grid,
    .integration-grid {
        grid-template-columns: 1fr;
    }

    .top-actions {
        width: 100%;
        justify-content: space-between;
    }

    .language-toggle {
        width: 38px;
        height: 26px;
    }
}

/* Design refresh overrides */
.site-header .navbar {
    min-height: 70px;
}

.header-inner {
    gap: 18px;
}

.brand-mark img {
    width: 146px;
}

.public-nav {
    gap: 4px;
}

.public-nav .btn-demo {
    padding-inline: 18px;
    white-space: nowrap;
}

.nav-link {
    padding: 24px 8px;
}

.hero-slide,
.hero-content {
    min-height: 590px;
}

.hero-slide {
    overflow: hidden;
    background:
        linear-gradient(112deg, rgba(0, 18, 38, .97) 0%, rgba(0, 43, 79, .92) 48%, rgba(0, 114, 188, .66) 100%),
        url("/images/hero-rental.jpg") center/cover no-repeat;
}

.hero-overlay {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 36%),
        linear-gradient(315deg, rgba(140, 198, 63, .18), transparent 42%);
}

.hero-content {
    justify-content: space-between;
    gap: 42px;
}

.hero-copy-block {
    max-width: 610px;
}

.hero-copy-block h1 {
    font-size: clamp(2.15rem, 4vw, 3.55rem);
    line-height: 1.08;
}

.hero-copy-block p {
    font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.hero-visual {
    width: min(460px, 42vw);
    min-height: 390px;
    position: relative;
    flex: 0 0 auto;
    perspective: 1100px;
}

.dashboard-mockup {
    position: absolute;
    inset: 42px 24px 30px 16px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .07));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
    backdrop-filter: blur(12px);
    transform: rotateY(-10deg) rotateX(4deg);
}

html[dir="rtl"] .dashboard-mockup {
    transform: rotateY(10deg) rotateX(4deg);
}

.mockup-toolbar {
    display: flex;
    gap: 7px;
    margin-bottom: 20px;
}

.mockup-toolbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .46);
}

.mockup-header strong,
.mockup-header small {
    display: block;
}

.mockup-header strong {
    font-size: 1.08rem;
    font-weight: 900;
}

.mockup-header small {
    color: rgba(255, 255, 255, .72);
    margin-top: 6px;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0;
}

.mockup-grid span {
    min-height: 54px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .13);
}

.mockup-chart {
    height: 92px;
    display: flex;
    align-items: end;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0, 31, 63, .26);
}

.mockup-chart span {
    flex: 1;
    border-radius: 999px 999px 4px 4px;
    background: linear-gradient(180deg, var(--brand-green), var(--brand-blue));
}

.hero-float-card {
    position: absolute;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;
    color: #fff;
    background: rgba(255, 255, 255, .13);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
    backdrop-filter: blur(10px);
    animation: float-card 6s ease-in-out infinite;
}

.hero-float-card span {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--brand-navy);
    background: var(--brand-green);
    font-weight: 900;
}

.hero-float-card strong {
    font-size: .9rem;
}

.hero-float-card.card-0 { top: 8px; inset-inline-start: 0; }
.hero-float-card.card-1 { top: 86px; inset-inline-end: 0; animation-delay: .7s; }
.hero-float-card.card-2 { bottom: 72px; inset-inline-start: 6px; animation-delay: 1.2s; }
.hero-float-card.card-3 { bottom: 10px; inset-inline-end: 26px; animation-delay: 1.8s; }

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.workflow-section {
    background: #fff;
    padding-top: 74px;
}

.workflow-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    position: relative;
}

.workflow-track article {
    min-height: 118px;
    position: relative;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    padding: 18px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(0, 31, 63, .08);
    text-align: center;
}

.workflow-track article::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-end: -14px;
    width: 14px;
    height: 2px;
    background: var(--brand-green);
}

.workflow-track article:last-child::after {
    display: none;
}

.workflow-track span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy));
    font-weight: 900;
}

.workflow-track strong {
    color: var(--brand-navy);
    font-size: .98rem;
}

.solution-card {
    transform-style: preserve-3d;
}

.solution-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
}

html[dir="rtl"] .solution-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
}

.solution-icon {
    box-shadow: 0 14px 30px rgba(0, 31, 63, .16), inset 0 1px 0 rgba(255, 255, 255, .28);
    transform: translateZ(18px);
}

.solution-icon svg {
    width: 31px;
    height: 31px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.solution-icon .bi {
    font-size: 1.95rem;
    line-height: 1;
}

.accent-blue .solution-icon,
.solution-icon.solution-blue,
.solution-blue .solution-icon {
    background: linear-gradient(135deg, #0082d7, var(--brand-navy));
}

.accent-green .solution-icon,
.solution-icon.solution-green,
.solution-green .solution-icon {
    background: linear-gradient(135deg, var(--brand-green), #0b7a75);
}

.accent-orange .solution-icon,
.solution-icon.solution-orange,
.solution-orange .solution-icon {
    background: linear-gradient(135deg, #f59e0b, #b45309);
}

.accent-purple .solution-icon,
.solution-icon.solution-purple,
.solution-purple .solution-icon {
    background: linear-gradient(135deg, #7c3aed, #2f195f);
}

.integration-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.integration-card:hover {
    border-color: rgba(0, 114, 188, .26);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 31, 63, .14);
}

.integration-logo {
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 31, 63, .04);
}

.integration-logo img {
    max-width: 74px;
    max-height: 62px;
}

.client-logo,
.client-logo-card {
    background: #fff;
}

.trusted-strip .client-logo {
    border-color: rgba(255, 255, 255, .2);
}

.trusted-strip .client-logo span {
    color: var(--brand-navy);
}

.trusted-marquee {
    width: 100%;
    overflow: hidden;
    direction: ltr;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trusted-marquee-track {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
    animation: trustedMarqueeLTR 560s linear infinite;
    will-change: transform;
}

.trusted-marquee-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
    padding-inline-end: 16px;
}

.trusted-strip .client-logo {
    width: 190px;
    height: 95px;
    flex: 0 0 190px;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .12);
}

.trusted-logo-card {
    flex: 0 0 auto;
}

.trusted-strip .client-logo img {
    max-width: 154px;
    max-height: 66px;
    object-fit: contain;
}

.trusted-marquee:hover .trusted-marquee-track {
    animation-play-state: paused;
}

@keyframes trustedMarqueeLTR {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .trusted-marquee-track,
    .hero-float-card {
        animation: none;
    }
}

.hero-slide-quality {
    background:
        linear-gradient(112deg, rgba(0, 18, 38, .97) 0%, rgba(0, 43, 79, .9) 50%, rgba(140, 198, 63, .48) 100%),
        url("/images/hero-rental.jpg") center/cover no-repeat;
}

.hero-slide-service {
    background:
        linear-gradient(112deg, rgba(0, 31, 63, .97) 0%, rgba(0, 80, 130, .86) 52%, rgba(0, 31, 63, .72) 100%),
        url("/images/hero-rental.jpg") center/cover no-repeat;
}

.hero-slide-inspection {
    background:
        linear-gradient(112deg, rgba(0, 31, 63, .96) 0%, rgba(0, 114, 188, .82) 50%, rgba(140, 198, 63, .45) 100%),
        url("/images/hero-rental.jpg") center/cover no-repeat;
}

.hero-slide-erp {
    background:
        linear-gradient(112deg, rgba(2, 21, 39, .96) 0%, rgba(0, 43, 79, .9) 48%, rgba(245, 158, 11, .45) 100%),
        url("/images/hero-rental.jpg") center/cover no-repeat;
}

.hero-phone-visual {
    display: grid;
    place-items: center;
}

.hero-phone-card {
    position: relative;
    width: 240px;
    min-height: 420px;
    z-index: 2;
}

.finance-mockup {
    background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(245, 158, 11, .08));
}

.dashboard-preview-section {
    background: linear-gradient(180deg, #fff 0%, #eef7fc 100%);
    overflow: hidden;
}

.saas-dashboard-mockup {
    position: relative;
    min-height: 460px;
    perspective: 1200px;
}

.saas-window {
    position: absolute;
    inset: 34px 60px 34px 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .64));
    box-shadow: 0 34px 90px rgba(0, 31, 63, .18);
    transform: rotateY(-8deg) rotateX(4deg);
}

html[dir="rtl"] .saas-window {
    transform: rotateY(8deg) rotateX(4deg);
}

.saas-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.saas-metrics article,
.saas-float-panel {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(0, 31, 63, .09);
}

.saas-metrics article {
    padding: 18px;
}

.saas-metrics span,
.saas-float-panel span {
    color: var(--text-muted);
    display: block;
    font-size: .78rem;
    font-weight: 800;
}

.saas-metrics strong,
.saas-float-panel strong {
    color: var(--brand-navy);
    display: block;
    font-size: 1.35rem;
    margin-top: 6px;
}

.saas-chart {
    height: 180px;
    display: flex;
    align-items: end;
    gap: 14px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef7fc, #f4fae8);
}

.saas-chart span {
    flex: 1;
    min-width: 22px;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--brand-green), var(--brand-blue));
}

.saas-float-panel {
    position: absolute;
    width: 190px;
    padding: 18px;
}

.panel-branches { top: 12px; inset-inline-end: 0; }
.panel-revenue { bottom: 48px; inset-inline-end: 26px; }
.panel-invoices { bottom: 18px; inset-inline-start: 0; }

.mobile-apps-showcase {
    background: #fff;
}

.mobile-device-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mobile-device-card {
    display: grid;
    place-items: center;
}

.phone-frame {
    width: min(230px, 100%);
    min-height: 410px;
    padding: 12px;
    border-radius: 34px;
    background: #061c34;
    box-shadow: 0 28px 70px rgba(0, 31, 63, .2);
}

.phone-screen {
    min-height: 386px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 14px;
    padding: 22px;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(160deg, var(--brand-blue), var(--brand-navy));
    text-align: center;
}

.phone-screen .bi {
    font-size: 3rem;
    color: var(--brand-green);
}

.phone-screen strong {
    font-size: 1.12rem;
}

.phone-screen span {
    color: rgba(255, 255, 255, .76);
    line-height: 1.6;
}

.success-stories-section {
    background: var(--brand-gray);
}

.success-stories-heading {
    text-align: start;
}

.success-stories-heading .lead-text {
    max-width: 760px;
}

.success-story-card {
    height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 31, 63, .08);
    text-align: start;
}

.story-logo {
    height: 86px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--line);
}

.story-logo img {
    max-width: 150px;
    max-height: 58px;
    object-fit: contain;
}

.success-story-card h3 {
    font-size: 1.12rem;
    font-weight: 900;
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.story-meta span {
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--brand-navy);
    background: #eef7fc;
    font-size: .82rem;
    font-weight: 800;
}

.success-story-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.screenshots-gallery-section {
    background: #fff;
}

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

.screenshot-tile {
    min-height: 170px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--brand-dark);
    background: linear-gradient(145deg, #fff, #eef7fc);
    box-shadow: 0 14px 34px rgba(0, 31, 63, .07);
    text-align: start;
    transition: transform .22s ease, box-shadow .22s ease;
}

.screenshot-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 52px rgba(0, 31, 63, .13);
}

.screenshot-tile span,
.screenshot-tile strong {
    display: block;
}

.screenshot-tile span {
    color: var(--brand-blue);
    font-weight: 900;
}

.screenshot-tile strong {
    margin-top: 52px;
    font-size: .96rem;
}

.system-lightbox[hidden] {
    display: none;
}

.system-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.system-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 18, 38, .74);
}

.system-lightbox__dialog {
    position: relative;
    width: min(840px, 100%);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
    overflow: hidden;
}

.system-lightbox__close {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--brand-navy);
    font-weight: 900;
}

.screenshot-placeholder-large {
    min-height: 460px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 14px;
    padding: 40px;
    background: linear-gradient(145deg, #eef7fc, #fff, #f4fae8);
    text-align: center;
}

.screenshot-placeholder-large span {
    color: var(--brand-blue);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
}

.screenshot-placeholder-large strong {
    color: var(--text-muted);
}

.hero-visual-quality,
.hero-visual-service {
    min-height: 410px;
}

.quality-dashboard {
    inset: 50px 18px 34px 18px;
}

.quality-score {
    width: 98px;
    height: 98px;
    display: grid;
    place-items: center;
    margin: 4px 0 20px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-green), var(--brand-blue));
    box-shadow: 0 18px 42px rgba(140, 198, 63, .24);
    font-size: 2rem;
    font-weight: 900;
}

.hero-float-card.quality-card.card-0 { top: 18px; inset-inline-start: 0; }
.hero-float-card.quality-card.card-1 { top: 132px; inset-inline-end: 0; }
.hero-float-card.quality-card.card-2 { bottom: 22px; inset-inline-start: 26px; }

.service-hub-card {
    position: absolute;
    inset: 76px 70px 76px 70px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .32), 0 0 70px rgba(140, 198, 63, .16);
    backdrop-filter: blur(12px);
    text-align: center;
    transform: rotateY(-8deg) rotateX(3deg);
}

html[dir="rtl"] .service-hub-card {
    transform: rotateY(8deg) rotateX(3deg);
}

.service-headset-icon {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    box-shadow: 0 18px 42px rgba(0, 114, 188, .24);
}

.service-headset-icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-headset-icon .bi {
    font-size: 2.45rem;
    line-height: 1;
}

.service-hub-card strong,
.service-hub-card small {
    display: block;
}

.service-hub-card strong {
    font-size: 1.05rem;
    font-weight: 900;
}

.service-hub-card small {
    color: rgba(255, 255, 255, .74);
    line-height: 1.6;
}

.hero-float-card.service-card.card-0 { top: 12px; inset-inline-start: 12px; }
.hero-float-card.service-card.card-1 { top: 72px; inset-inline-end: 0; }
.hero-float-card.service-card.card-2 { bottom: 90px; inset-inline-start: 0; }
.hero-float-card.service-card.card-3 { bottom: 10px; inset-inline-end: 24px; }

.product-detail-card {
    min-height: 100%;
}

.product-detail-card p {
    font-size: 1.05rem;
}

.product-details-hero {
    padding: 76px 0;
    overflow: hidden;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
}

.product-category,
.section-kicker {
    color: var(--brand-blue);
    display: inline-block;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-hero-mark {
    width: 170px;
    height: 170px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 114, 188, .15);
    border-radius: 36px;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 24px 60px rgba(0, 31, 63, .12);
    transform: rotate(5deg);
}

.product-hero-mark .solution-icon {
    width: 88px;
    height: 88px;
    margin: 0;
    font-size: 2.4rem;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    transform: rotate(-5deg);
}

.product-details-section {
    background: #f7f9fc;
}

.product-intro-card,
.product-side-panel,
.program-detail-card,
.certificate-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 31, 63, .07);
}

.product-intro-card {
    padding: clamp(26px, 4vw, 42px);
    margin-bottom: 48px;
}

.product-intro-card h2,
.product-section-heading h2 {
    color: var(--brand-dark);
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 900;
    margin: 8px 0 16px;
}

.product-intro-card p,
.rich-content,
.side-slide-copy p,
.certificate-copy p {
    color: var(--text-muted);
    line-height: 1.85;
}

.product-intro-card p {
    margin: 0;
    white-space: pre-line;
}

.product-section-heading {
    margin-bottom: 24px;
}

.program-details-grid {
    display: grid;
    gap: 18px;
}

.program-detail-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    padding: 26px;
}

.program-detail-card > img {
    grid-column: 2;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 12px;
}

.program-detail-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    font-size: 1.25rem;
}

.program-detail-card h3,
.certificate-copy h3,
.product-cta-card h3 {
    color: var(--brand-dark);
    font-size: 1.15rem;
    font-weight: 900;
    margin: 2px 0 8px;
}

.rich-content > :last-child {
    margin-bottom: 0;
}

.product-side-panel {
    position: sticky;
    top: 118px;
    overflow: hidden;
}

.side-panel-heading {
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.side-panel-heading span,
.side-panel-heading strong {
    display: block;
}

.side-panel-heading span {
    color: var(--brand-blue);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.side-panel-heading strong {
    color: var(--brand-dark);
    margin-top: 4px;
}

.product-side-panel .carousel-item > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.side-slide-copy {
    padding: 22px 24px 46px;
}

.side-slide-copy h3 {
    color: var(--brand-dark);
    font-size: 1.08rem;
    font-weight: 900;
}

.side-slide-copy p {
    font-size: .92rem;
    margin-bottom: 0;
}

.product-side-panel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background-color: var(--brand-blue);
}

.product-side-panel .carousel-control-prev,
.product-side-panel .carousel-control-next {
    top: 22%;
    bottom: auto;
}

.product-cta-card {
    padding: 26px 24px;
    border-top: 1px solid var(--line);
}

.product-cta-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.product-certificates-section {
    background: #fff;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.certificate-card {
    overflow: hidden;
}

.certificate-image-button {
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    background: #eef2f6;
}

.certificate-image-button img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .3s ease;
}

.certificate-image-button span {
    position: absolute;
    inset-inline-end: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 10px;
    background: rgba(0, 31, 63, .82);
}

.certificate-image-button:hover img {
    transform: scale(1.03);
}

.certificate-copy {
    position: relative;
    padding: 24px;
}

.certificate-copy > .bi-quote {
    color: rgba(0, 114, 188, .15);
    font-size: 2.5rem;
    line-height: 1;
}

.certificate-copy strong {
    color: var(--brand-blue);
}

.certificate-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: grid;
    place-items: center;
    padding: 24px;
}

.certificate-lightbox[hidden] {
    display: none;
}

.certificate-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(4, 18, 32, .86);
}

.certificate-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    max-height: 90vh;
    overflow: auto;
    padding: 22px;
    border-radius: 16px;
    background: #fff;
}

.certificate-lightbox-dialog h2 {
    color: var(--brand-dark);
    font-size: 1.2rem;
    font-weight: 900;
    padding-inline-end: 42px;
}

.certificate-lightbox-dialog img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 10px;
    background: #eef2f6;
}

.certificate-lightbox-close {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: var(--brand-dark);
    background: #eef2f6;
}

.admin-filter-bar {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.admin-content-thumb {
    width: 74px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    background: #eef2f6;
}

.admin-image-preview {
    width: min(420px, 100%);
    max-height: 280px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.admin-image-preview.certificate {
    object-fit: contain;
    background: #eef2f6;
}

.status-pill {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
}

.status-pill.active {
    color: #166534;
    background: #dcfce7;
}

.status-pill.inactive {
    color: #991b1b;
    background: #fee2e2;
}

.code-textarea {
    font-family: Consolas, "Courier New", monospace;
    font-size: .88rem;
}

@media (max-width: 991.98px) {
    .product-hero-grid {
        grid-template-columns: 1fr;
    }

    .product-hero-mark {
        display: none;
    }

    .product-side-panel {
        position: static;
    }

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

@media (max-width: 575.98px) {
    .product-details-hero {
        padding: 56px 0;
    }

    .program-detail-card {
        grid-template-columns: 1fr;
    }

    .program-detail-card > img {
        grid-column: 1;
    }

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

/* Product details experience */
.product-detail-hero {
    position: relative;
    padding: 76px 0 88px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(0, 168, 89, .12), transparent 28%),
        radial-gradient(circle at 88% 20%, rgba(0, 114, 188, .16), transparent 32%),
        linear-gradient(145deg, #f8fbfd 0%, #eef7fc 48%, #f7fbf2 100%);
}

.product-detail-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    inset-inline-end: -140px;
    bottom: -210px;
    border: 54px solid rgba(0, 114, 188, .06);
    border-radius: 50%;
}

.product-detail-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
    gap: clamp(40px, 6vw, 84px);
    align-items: center;
}

.product-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-blue);
    font-size: .88rem;
    font-weight: 800;
    margin-bottom: 34px;
}

.product-detail-category {
    display: block;
    width: fit-content;
    padding: 7px 12px;
    color: #05603a;
    border: 1px solid rgba(0, 168, 89, .18);
    border-radius: 999px;
    background: rgba(0, 168, 89, .09);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.product-detail-hero-copy h1 {
    max-width: 720px;
    color: var(--brand-dark);
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    font-weight: 950;
    letter-spacing: -.045em;
    line-height: 1.02;
    margin: 16px 0 22px;
}

html[dir="rtl"] .product-detail-hero-copy h1 {
    letter-spacing: 0;
}

.product-detail-hero-copy > p {
    max-width: 670px;
    color: var(--text-muted);
    font-size: clamp(1.03rem, 1.5vw, 1.2rem);
    line-height: 1.9;
    margin: 0;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.product-detail-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-top: 30px;
    color: #465b6f;
    font-size: .86rem;
    font-weight: 750;
}

.product-detail-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.product-detail-trust-row i {
    color: var(--brand-green);
}

.product-tour-shell {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 24px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 32px 80px rgba(0, 31, 63, .16);
    backdrop-filter: blur(16px);
}

.product-tour-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}

.product-tour-topbar span,
.product-tour-topbar strong {
    display: block;
}

.product-tour-topbar span {
    color: var(--brand-blue);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-tour-topbar strong {
    color: var(--brand-dark);
    margin-top: 2px;
}

.product-tour-dots {
    display: flex;
    gap: 6px;
}

.product-tour-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9e2e9;
}

.product-tour-dots i:first-child {
    background: var(--brand-green);
}

.product-tour-image {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 18px;
    overflow: hidden;
    background: #eef4f8;
}

.product-tour-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border: 1px solid #dbe6ee;
    border-radius: 14px;
    background: #f8fbfd;
}

.product-tour-image-trigger {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.product-tour-image-trigger:focus-visible {
    outline: 3px solid rgba(0, 114, 188, .38);
    outline-offset: 4px;
}

.product-tour-zoom-icon {
    position: absolute;
    inset-inline-end: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 10px;
    background: rgba(6, 29, 51, .84);
    box-shadow: 0 10px 28px rgba(0, 31, 63, .22);
}

.product-slider-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000 !important;
    display: block;
    background: rgba(4, 18, 32, .94);
}

.product-slider-modal[hidden] {
    display: none;
}

.product-slider-modal-dialog {
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    pointer-events: auto;
}

.product-slider-modal-content {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: auto;
}

.product-slider-modal-body {
    height: 100%;
    padding: 0;
}

.product-slider-fullscreen-carousel,
.product-slider-fullscreen-carousel .carousel-inner,
.product-slider-fullscreen-carousel .carousel-item {
    height: 100%;
}

.product-slider-fullscreen-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 76px 92px 58px;
    pointer-events: none;
}

.product-slider-fullscreen-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

.product-slider-fullscreen-caption {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 48px);
    padding: 9px 14px;
    color: #fff;
    border-radius: 999px;
    background: rgba(6, 29, 51, .72);
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.product-slider-fullscreen-caption span,
.product-slider-fullscreen-caption strong {
    display: block;
    white-space: nowrap;
}

.product-slider-fullscreen-caption span {
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    font-weight: 900;
}

.product-slider-fullscreen-caption strong {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .94rem;
    font-weight: 900;
}

.product-slider-modal-close {
    position: absolute;
    top: 92px;
    right: 18px;
    z-index: 2147483002;
    min-width: 88px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .16);
    font-size: .92rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: auto;
}

.product-slider-modal-close span {
    font-size: 1.05rem;
    line-height: 1;
}

.product-slider-modal-close:hover,
.product-slider-modal-close:focus-visible {
    color: var(--brand-dark);
    background: #fff;
}

.product-slider-modal-nav {
    position: absolute;
    top: 50%;
    z-index: 2147483001;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    font-size: 1.35rem;
    pointer-events: auto;
}

.product-slider-modal-nav:hover,
.product-slider-modal-nav:focus-visible {
    color: var(--brand-dark);
    background: #fff;
}

.product-slider-modal-prev {
    left: 22px;
}

.product-slider-modal-next {
    right: 22px;
}

html[dir="rtl"] .product-slider-modal-close {
    right: auto;
    left: 18px;
}

.product-tour-copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
}

.product-tour-copy > span {
    color: rgba(0, 114, 188, .22);
    font-size: 2.25rem;
    font-weight: 950;
    line-height: 1;
}

.product-tour-copy h2 {
    color: var(--brand-dark);
    font-size: 1.15rem;
    font-weight: 900;
    margin: 0 0 6px;
}

.product-tour-copy p {
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.7;
    margin: 0;
}

.product-tour-controls {
    display: grid;
    grid-template-columns: auto minmax(80px, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 0 22px 20px;
}

.product-tour-controls > button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--brand-dark);
    background: #fff;
}

.product-tour-controls .carousel-indicators {
    position: static;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
}

.product-tour-controls .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #9fb1c0;
}

.product-tour-controls .carousel-indicators .active {
    width: 24px;
    border-radius: 999px;
    background: var(--brand-blue);
}

.product-detail-hero-art {
    position: relative;
    min-height: 400px;
    display: grid;
    place-items: center;
}

.product-detail-icon {
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 34px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    box-shadow: 0 30px 65px rgba(0, 114, 188, .24);
}

.product-detail-icon svg {
    width: 70px;
    height: 70px;
}

.product-detail-hero-art > span {
    position: absolute;
    border: 1px solid rgba(0, 114, 188, .16);
    border-radius: 24px;
    background: rgba(255, 255, 255, .7);
}

.product-detail-hero-art > span:nth-child(2) {
    width: 110px;
    height: 72px;
    top: 30px;
    inset-inline-start: 36px;
}

.product-detail-hero-art > span:nth-child(3) {
    width: 90px;
    height: 90px;
    inset-inline-end: 25px;
    bottom: 52px;
}

.product-detail-hero-art > span:nth-child(4) {
    width: 58px;
    height: 58px;
    inset-inline-start: 54px;
    bottom: 34px;
}

.product-overview-section {
    position: relative;
    z-index: 2;
    margin-top: -32px;
}

.product-overview-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 190px;
    gap: 32px;
    align-items: center;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(0, 31, 63, .1);
}

.product-overview-label {
    padding-inline-end: 26px;
    border-inline-end: 1px solid var(--line);
}

.product-overview-label span {
    color: rgba(0, 114, 188, .2);
    font-size: 2.4rem;
    font-weight: 950;
}

.product-overview-label p {
    color: var(--brand-blue);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .08em;
    margin: 0;
    text-transform: uppercase;
}

.product-overview-copy h2 {
    color: var(--brand-dark);
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0 0 8px;
}

.product-overview-copy p {
    color: var(--text-muted);
    line-height: 1.85;
    margin: 0;
    white-space: pre-line;
}

.product-overview-action {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #24506f;
    font-size: .9rem;
}

.product-overview-action i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    border-radius: 12px;
    background: var(--brand-green);
}

.product-program-section {
    padding-top: 110px;
    background: #fff;
}

.product-detail-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 42px;
}

.product-detail-section-heading span {
    color: var(--brand-blue);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-detail-section-heading h2 {
    color: var(--brand-dark);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 950;
    letter-spacing: -.035em;
    line-height: 1.1;
    margin: 8px 0 0;
}

html[dir="rtl"] .product-detail-section-heading h2 {
    letter-spacing: 0;
}

.product-detail-section-heading > p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

.product-program-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.product-program-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    min-height: 220px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(145deg, #fff, #fbfdff);
    box-shadow: 0 12px 35px rgba(0, 31, 63, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-program-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 114, 188, .24);
    box-shadow: 0 24px 50px rgba(0, 31, 63, .11);
}

.product-program-number {
    position: absolute;
    inset-inline-end: 18px;
    top: 10px;
    color: rgba(0, 114, 188, .055);
    font-size: 5rem;
    font-weight: 950;
    line-height: 1;
}

.product-program-icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--brand-blue);
    border-radius: 14px;
    background: rgba(0, 114, 188, .09);
    font-size: 1.35rem;
}

.product-program-copy {
    position: relative;
    z-index: 1;
}

.product-program-copy h3 {
    color: var(--brand-dark);
    font-size: 1.18rem;
    font-weight: 900;
    margin: 3px 0 10px;
}

.product-program-copy .rich-content {
    font-size: .95rem;
}

.product-program-media {
    grid-column: 1 / -1;
}

.product-program-media img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.product-recognition-section {
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(0, 168, 89, .19), transparent 30%),
        linear-gradient(145deg, #061d33, #0b365b);
}

.product-detail-section-heading.light span {
    color: #78d7aa;
}

.product-detail-section-heading.light h2 {
    color: #fff;
}

.product-detail-section-heading.light > p {
    color: rgba(255, 255, 255, .7);
}

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

.product-recognition-card {
    display: grid;
    grid-template-columns: minmax(180px, .78fr) minmax(0, 1.22fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .075);
    backdrop-filter: blur(8px);
}

.product-recognition-image {
    position: relative;
    min-height: 250px;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #fff;
}

.product-recognition-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.product-recognition-image:hover img {
    transform: scale(1.04);
}

.product-recognition-image span {
    position: absolute;
    inset-inline-end: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 10px;
    background: rgba(6, 29, 51, .84);
}

.product-recognition-copy {
    display: flex;
    gap: 15px;
    padding: 26px;
}

.product-recognition-copy > i {
    color: #78d7aa;
    font-size: 1.55rem;
}

.product-recognition-copy h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
    margin: 0 0 9px;
}

.product-recognition-copy p {
    color: rgba(255, 255, 255, .7);
    font-size: .92rem;
    line-height: 1.75;
    margin-bottom: 14px;
}

.product-recognition-copy strong {
    color: #78d7aa;
    font-size: .86rem;
}

.product-detail-final-cta {
    padding: 54px 0;
    background: var(--brand-green);
}

.product-detail-final-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.product-detail-final-cta span {
    color: rgba(255, 255, 255, .75);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-detail-final-cta h2 {
    max-width: 720px;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 950;
    margin: 6px 0 0;
}

.product-detail-final-cta .btn {
    flex: 0 0 auto;
    color: var(--brand-dark);
    font-weight: 900;
}

@media (max-width: 1199.98px) {
    .product-detail-hero-grid {
        grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
        gap: 40px;
    }

    .product-recognition-card {
        grid-template-columns: 1fr;
    }

    .product-recognition-image {
        min-height: 220px;
    }
}

@media (max-width: 991.98px) {
    .product-detail-hero-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-hero-copy {
        text-align: center;
    }

    .product-detail-back,
    .product-detail-category {
        margin-inline: auto;
    }

    .product-detail-hero-copy > p {
        margin-inline: auto;
    }

    .product-detail-actions,
    .product-detail-trust-row {
        justify-content: center;
    }

    .product-tour-shell {
        max-width: 720px;
        margin-inline: auto;
    }

    .product-overview-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .product-overview-action {
        grid-column: 2;
    }

    .product-detail-section-heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-program-list,
    .product-recognition-grid {
        grid-template-columns: 1fr;
    }

    .product-recognition-card {
        grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    }
}

@media (max-width: 767.98px) {
    .product-slider-fullscreen-slide {
        padding: 72px 18px 70px;
    }

    .product-slider-modal-nav {
        top: auto;
        bottom: 14px;
        width: 46px;
        height: 46px;
        transform: none;
    }

    .product-slider-modal-prev {
        left: calc(50% - 58px);
    }

    .product-slider-modal-next {
        right: calc(50% - 58px);
    }

    .product-slider-fullscreen-caption {
        bottom: 70px;
        max-width: calc(100vw - 28px);
    }

    .product-detail-hero {
        padding: 54px 0 72px;
    }

    .product-tour-image {
        height: 260px;
    }

    .product-detail-hero-copy h1 {
        font-size: clamp(2.15rem, 11vw, 3.3rem);
    }

    .product-detail-trust-row {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .product-overview-card {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .product-overview-label {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 0 0 16px;
        border-inline-end: 0;
        border-bottom: 1px solid var(--line);
    }

    .product-overview-label span {
        font-size: 1.8rem;
    }

    .product-overview-action {
        grid-column: 1;
    }

    .product-program-section {
        padding-top: 82px;
    }

    .product-recognition-card {
        grid-template-columns: 1fr;
    }

    .product-detail-final-cta .container {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .product-slider-fullscreen-caption strong {
        max-width: 54vw;
    }

    .product-admin-media-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-admin-media-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .product-detail-actions {
        display: grid;
    }

    .product-detail-actions .btn {
        width: 100%;
    }

    .product-tour-shell {
        border-radius: 18px;
    }

    .product-tour-copy {
        grid-template-columns: 1fr;
    }

    .product-program-card {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 24px;
    }

    .product-program-number {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .product-tour-image {
        height: 220px;
    }
}

.admin-body {
    background: #eef2f6;
}

.admin-sidebar {
    background: linear-gradient(180deg, #071d33, #0c2d4d);
    box-shadow: 18px 0 45px rgba(0, 31, 63, .12);
}

html[dir="rtl"] .admin-sidebar {
    box-shadow: -18px 0 45px rgba(0, 31, 63, .12);
}

.admin-sidebar nav a {
    min-height: 46px;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a:focus {
    color: #fff;
    background: rgba(255, 255, 255, .13);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-panel,
.admin-stat-grid article {
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(0, 31, 63, .06);
}

.admin-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.admin-panel-header h2 {
    margin: 0;
}

.admin-panel-header span,
.admin-hero-panel > div > span {
    color: var(--brand-blue);
    display: block;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.admin-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
    gap: 20px;
    align-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
}

.admin-hero-panel h2 {
    color: #fff;
    font-size: clamp(1.35rem, 2.5vw, 2.1rem);
    margin: 8px 0;
}

.admin-hero-panel p {
    color: rgba(255, 255, 255, .8);
    margin: 0;
}

.admin-health-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.admin-health-cards article {
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
}

.admin-health-cards span {
    color: rgba(255, 255, 255, .76);
    display: block;
    font-weight: 800;
}

.admin-health-cards strong {
    color: #fff;
    font-size: 1.8rem;
}

.admin-table {
    margin-bottom: 0;
}

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

.product-admin-media-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f8fbfd;
}

.product-admin-media-card span {
    color: var(--brand-blue);
    display: block;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.product-admin-media-card strong {
    color: var(--brand-dark);
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin: 8px 0;
}

.product-admin-media-card p {
    color: var(--text-muted);
    margin: 0;
}

.product-admin-media-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.admin-table thead th {
    color: var(--text-muted);
    border-bottom: 1px solid var(--line);
    font-size: .82rem;
    text-transform: uppercase;
}

.activity-feed {
    display: grid;
    gap: 12px;
}

.activity-feed article {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 10px;
    background: var(--brand-gray);
}

.activity-feed article span {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: var(--brand-green);
    box-shadow: 0 0 0 5px rgba(140, 198, 63, .14);
}

.activity-feed article strong {
    color: var(--brand-dark);
    font-size: .95rem;
}

.admin-form .form-check {
    min-height: 48px;
}

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

html[dir="rtl"] .admin-sidebar nav a,
html[dir="rtl"] .admin-sidebar-logout button {
    text-align: right;
}

html[dir="ltr"] .admin-sidebar nav a,
html[dir="ltr"] .admin-sidebar-logout button {
    text-align: left;
}

@media (max-width: 1199.98px) {
    .hero-visual {
        width: min(390px, 38vw);
    }

    .hero-float-card {
        min-width: 136px;
    }
}

@media (max-width: 991.98px) {
    .product-admin-media-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-top: 34px;
        padding-bottom: 64px;
    }

    .hero-visual {
        width: min(100%, 560px);
        min-height: 300px;
    }

    .dashboard-mockup {
        inset: 34px 12px 24px;
    }

    .service-hub-card {
        inset: 58px 80px 54px;
    }

    .trusted-strip .client-logo {
        width: 175px;
        flex-basis: 175px;
    }

    .trusted-marquee .trusted-logo-card {
        width: 175px;
        flex-basis: 175px;
    }

    .saas-dashboard-mockup {
        min-height: 390px;
    }

    .saas-window {
        inset: 28px 36px 28px 10px;
    }

    .mobile-device-grid {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
        overflow-x: auto;
        padding-bottom: 12px;
    }

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

    .workflow-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .workflow-track article:nth-child(3)::after {
        display: none;
    }

    .admin-hero-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .hero-slide,
    .hero-content {
        min-height: auto;
    }

    .hero-content {
        padding-top: 28px;
    }

    .hero-copy-block {
        padding: 36px 0 18px;
    }

    .hero-badges {
        gap: 9px;
    }

    .hero-badges span {
        padding: 7px 11px;
        font-size: .82rem;
    }

    .hero-visual {
        min-height: 260px;
    }

    .hero-visual-quality,
    .hero-visual-service {
        min-height: 300px;
    }

    .service-hub-card {
        inset: 62px 52px 50px;
        padding: 20px;
    }

    .hero-float-card {
        min-width: 120px;
        padding: 10px 12px;
    }

    .hero-float-card strong {
        font-size: .78rem;
    }

    .trusted-strip .client-logo {
        width: 160px;
        flex-basis: 160px;
    }

    .trusted-marquee .trusted-logo-card {
        width: 160px;
        flex-basis: 160px;
    }

    .saas-window {
        position: relative;
        inset: auto;
        transform: none;
    }

    html[dir="rtl"] .saas-window {
        transform: none;
    }

    .saas-dashboard-mockup {
        min-height: auto;
    }

    .saas-float-panel {
        position: relative;
        inset: auto;
        width: auto;
        margin-top: 12px;
    }

    .mobile-device-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .phone-frame {
        width: min(220px, 100%);
        min-height: 360px;
    }

    .phone-screen {
        min-height: 336px;
    }

    .workflow-track {
        grid-template-columns: 1fr;
    }

    .workflow-track article::after {
        top: auto;
        bottom: -14px;
        inset-inline-end: auto;
        width: 2px;
        height: 14px;
    }

    .workflow-track article:nth-child(3)::after {
        display: block;
    }

    .workflow-track article:last-child::after {
        display: none;
    }

    .admin-health-cards {
        grid-template-columns: 1fr;
    }

    .admin-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .brand-mark img {
        width: 118px;
    }

    .hero-copy-block h1 {
        font-size: clamp(1.85rem, 9vw, 2.35rem);
    }

    .hero-visual {
        min-height: 230px;
    }

    .hero-visual-quality,
    .hero-visual-service {
        min-height: 270px;
    }

    .hero-float-card.card-1,
    .hero-float-card.card-3 {
        inset-inline-end: 0;
    }

    .hero-float-card.quality-card,
    .hero-float-card.service-card {
        min-width: 112px;
    }

    .service-hub-card {
        inset: 58px 34px 48px;
    }

    .service-headset-icon {
        width: 64px;
        height: 64px;
    }

    .service-headset-icon svg {
        width: 34px;
        height: 34px;
    }

    .service-headset-icon .bi {
        font-size: 2rem;
    }

    .dashboard-mockup {
        padding: 16px;
    }

    .mockup-grid {
        margin: 16px 0;
    }

    .mockup-chart {
        height: 64px;
    }

    .top-actions {
        width: auto;
    }

    .trusted-strip .client-logo {
        width: 148px;
        flex-basis: 148px;
        height: 90px;
        padding: 16px;
    }

    .trusted-marquee .trusted-logo-card {
        width: 145px;
        flex-basis: 145px;
        height: 80px;
        padding: 14px;
    }

    .trusted-strip .client-logo img {
        max-width: 118px;
        max-height: 58px;
    }

    .saas-metrics {
        grid-template-columns: 1fr;
    }

    .saas-chart {
        height: 130px;
    }

    .screenshot-placeholder-large {
        min-height: 320px;
    }
}
