/* =========================================================
   AJEEB EXPRESS
   GLOBAL APPLICATION STYLES
   Load order:
   1. app.css
   2. components.css
   3. home.css
   app.css contains:
   - Global variables
   - Reset
   - Typography
   - Container system
   - Header
   - Footer
   - Global utilities
   Page-specific styles belong in home.css.
========================================================= */
/* =========================================================
   1. DESIGN TOKENS
========================================================= */
:root {
    /* ---------- Brand ---------- */
    --primary: #bd1e20;
    --primary-hover: #a81719;
    --primary-light: #f4d6d7;
    /* ---------- Backgrounds ---------- */
    --bg: #f6f5f6;
    --bg-secondary: #f1f0f1;
    --surface: #ffffff;
    --surface-glass: rgba(255, 255, 255, .75);
    /* ---------- Text ---------- */
    --text: #171719;
    --text-secondary: #69696f;
    --text-light: #919197;
    /* Alias used by shared components */
    --muted: var(--text-secondary);
    /* ---------- Borders ---------- */
    --border: rgba(20, 20, 20, .07);
    /* ---------- Status ---------- */
    --success: #20b75a;
    /* ---------- Typography ---------- */
    --font:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    --font-ar:
        "SF Arabic",
        "Noto Sans Arabic",
        Tahoma,
        Arial,
        sans-serif;
    /* ---------- Layout ---------- */
    --container: 1240px;
    /*
     * One unified horizontal gutter.
     * All global/page sections should use this system.
     */
    --page-gutter: clamp(20px, 4vw, 64px);
    /*
     * Backward-compatible alias.
     * Existing page CSS can continue using --side-padding
     * until home.css is replaced.
     */
    --side-padding: var(--page-gutter);
    /*
     * Default vertical section spacing.
     */
    --section-space: clamp(80px, 9vw, 130px);
    /*
     * Backward-compatible alias.
     */
    --section-padding: var(--section-space);
    /* ---------- Radius ---------- */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    /* ---------- Shadows ---------- */
    --shadow-sm:
        0 10px 24px rgba(0, 0, 0, .05);
    --shadow-md:
        0 20px 45px rgba(0, 0, 0, .08);
    /*
     * Shared alias used by older components.
     */
    --shadow: var(--shadow-md);
    --shadow-red:
        0 12px 30px rgba(189, 30, 32, .27);
    /* ---------- Animation ---------- */
    --ease:
        cubic-bezier(.2, .75, .2, 1);
    --transition:
        250ms var(--ease);
}
/* =========================================================
   2. DARK MODE
========================================================= */
html[data-theme="dark"] {
    --bg: #111215;
    --bg-secondary: #16171a;
    --surface: #1b1d21;
    --surface-glass: rgba(27, 29, 33, .78);
    --text: #f4f4f4;
    --text-secondary: #aaaab0;
    --text-light: #7f8188;
    --border: rgba(255, 255, 255, .08);
    --shadow-sm:
        0 10px 30px rgba(0, 0, 0, .22);
    --shadow-md:
        0 20px 55px rgba(0, 0, 0, .35);
}
/* =========================================================
   3. RESET / BASE
========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-width: 320px;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    /*
     * clip prevents accidental viewport expansion without
     * creating a scroll container like overflow-x:hidden can.
     */
    overflow-x: clip;
    transition:
        background var(--transition),
        color var(--transition);
}

html[dir="rtl"] body {
    font-family: var(--font-ar);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    max-width: 100%;
}
/* =========================================================
   4. GLOBAL CONTAINER
========================================================= */
.container {
    width: min(calc(100% - (var(--page-gutter) * 2)),
            var(--container));
    margin-inline: auto;
}
/*
 * Useful generic full-width section wrapper.
 */
.section {
    width: 100%;
}
/* =========================================================
   5. HEADER
========================================================= */
.header {
    position: fixed;
    top: 14px;
    left: 0;
    /*
     * width instead of left + right padding tricks.
     * This keeps the header inside the viewport.
     */
    width: 100%;
    z-index: 1000;
    padding-inline: var(--page-gutter);
    pointer-events: none;
}
/*
 * All actual header elements receive pointer events.
 */
.navbar,
.mobile-menu {
    pointer-events: auto;
}
/* =========================================================
   6. MAIN NAVBAR
========================================================= */
.navbar {
    width: min(100%,
            var(--container));
    min-height: 58px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 8px 7px 16px;
    border:
        1px solid rgba(255, 255, 255, .55);
    border-radius: 14px;
    background:
        color-mix(in srgb,
            var(--surface) 76%,
            transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 8px 26px rgba(0, 0, 0, .06);
}

html[dir="rtl"] .navbar {
    padding:
        7px 16px 7px 8px;
}
/* =========================================================
   7. LOGO
========================================================= */
.logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: .8;
    flex-shrink: 0;
    user-select: none;
}
.logo-main {
    color: var(--primary);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -1.5px;
}
.logo-sub {
    color: var(--text);
    margin-top: 5px;
    margin-inline-start: 5px;
    font-size: 5px;
    font-weight: 900;
    letter-spacing: 2px;
}
/* =========================================================
   8. HEADER ACTIONS
========================================================= */
.header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
/* =========================================================
   9. ICON BUTTON
========================================================= */
.icon-button {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background:
        rgba(255, 255, 255, .38);
    color: var(--text);
    cursor: pointer;
    transition:
        transform var(--transition),
        background var(--transition);
}
.icon-button:hover {
    transform: translateY(-1px);
    background:
        rgba(189, 30, 32, .07);
}
.icon-button svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
}
/* =========================================================
   10. THEME ICONS
========================================================= */
.sun-icon {
    display: none;
}

html[data-theme="dark"] .sun-icon {
    display: block;
}

html[data-theme="dark"] .moon-icon {
    display: none;
}
/* =========================================================
   11. LANGUAGE SWITCHER
========================================================= */
.language-wrapper {
    position: relative;
    flex: 0 0 auto;
}
.language-menu {
    position: absolute;
    top: calc(100% + 20px);
    inset-inline-end: 0;
    width: 110px;
    padding: 6px;
    background: var(--surface);
    border:
        1px solid var(--border);
    border-radius: 11px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform:
        translateY(-8px) scale(.97);
    transition:
        opacity var(--transition),
        transform var(--transition);
}
.language-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}
.language-menu button {
    width: 100%;
    display: block;
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
    text-align: start;
    font-size: 11px;
}
.language-menu button:hover {
    background:
        rgba(189, 30, 32, .07);
    color: var(--primary);
}
/* =========================================================
   12. MENU BUTTON
========================================================= */
.menu-button {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background:
        rgba(255, 255, 255, .38);
    color: var(--text);
    cursor: pointer;
    transition:
        background var(--transition),
        transform var(--transition);
}
.menu-button:hover {
    background:
        rgba(189, 30, 32, .07);
    transform:
        translateY(-1px);
}
/* =========================================================
   13. HAMBURGER
========================================================= */
.menu-lines {
    display: grid;
    gap: 3px;
}
.menu-lines span {
    display: block;
    width: 14px;
    height: 1.5px;
    background: currentColor;
    border-radius: 5px;
    transition:
        transform var(--transition),
        opacity var(--transition);
}
/* ---------- Open = X ---------- */
.menu-button.active .menu-lines span:nth-child(1) {
    transform:
        translateY(4.5px) rotate(45deg);
}
.menu-button.active .menu-lines span:nth-child(2) {
    opacity: 0;
}
.menu-button.active .menu-lines span:nth-child(3) {
    transform:
        translateY(-4.5px) rotate(-45deg);
}
/* =========================================================
   14. EXPANDABLE MOBILE / SECONDARY MENU
========================================================= */
.mobile-menu {
    width: min(100%,
            var(--container));
    margin:
        7px auto 0;
    padding: 8px;
    border:
        1px solid rgba(255, 255, 255, .55);
    border-radius: 14px;
    background:
        color-mix(in srgb,
            var(--surface) 88%,
            transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 8px 26px rgba(0, 0, 0, .06);
    /*
     * Closed state.
     */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transform:
        translateY(-8px) scale(.985);
    transform-origin:
        top center;
    transition:
        opacity .25s ease,
        transform .25s ease,
        max-height .35s ease,
        visibility .25s ease;
}
/* =========================================================
   15. DESKTOP SECONDARY NAVIGATION
========================================================= */
@media (min-width: 901px) {
    .mobile-menu {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr) auto;
        align-items: center;
        gap: 15px;
    }
}
/* =========================================================
   16. OPEN MENU
========================================================= */
.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 300px;
    transform:
        translateY(0) scale(1);
}
/* =========================================================
   17. NAV LINKS
========================================================= */
.mobile-menu nav {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:
        clamp(8px, 1.35vw, 21px);
}
.mobile-menu nav a {
    color: var(--text-secondary);
    font-size: 10px;
    white-space: nowrap;
    padding: 9px 10px;
    border-radius: 8px;
    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}
.mobile-menu nav a:hover {
    color: var(--primary);
    background:
        rgba(189, 30, 32, .06);
}
.mobile-menu nav a.active {
    color: var(--primary);
    font-weight: 700;
    background:
        rgba(189, 30, 32, .07);
}
/* =========================================================
   18. TRACK BUTTON
========================================================= */
.mobile-menu .track-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 36px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow-red);
    transition:
        background var(--transition),
        transform var(--transition);
}
.mobile-menu .track-header:hover {
    background: var(--primary-hover);
    transform:
        translateY(-1px);
}
/* =========================================================
   FOOTER MAIN
========================================================= */
.site-footer {
    width: 100%;
    padding-inline: var(--page-gutter);
    padding-bottom: 40px;
    background: var(--bg);
    direction: inherit;
    text-align: start;
}
.site-footer[dir="rtl"] {
    direction: rtl;
    text-align: right;
}
.site-footer[dir="ltr"] {
    direction: ltr;
    text-align: left;
}
.site-footer .footer-card {
    width: min(100%, var(--container));
    margin-inline: auto;
    padding: 48px 40px 30px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
}
/* =========================================================
   FOUR COLUMNS GRID
========================================================= */
.site-footer .footer-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.4fr)
        repeat(3, minmax(0, .9fr));
    gap: 30px;
    align-items: start;
    direction: inherit;
}
.site-footer[dir="rtl"] .footer-grid {
    direction: rtl;
}
.site-footer[dir="ltr"] .footer-grid {
    direction: ltr;
}
/* =========================================================
   BRAND
========================================================= */
.site-footer .footer-brand {
    min-width: 0;
}
.site-footer .footer-brand .logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}
.site-footer .footer-brand p {
    max-width: 330px;
    margin: 24px 0 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: 12px;
}
/* =========================================================
   LEGAL INFORMATION
   Two documents in one horizontal row
========================================================= */
.site-footer .footer-legal-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 22px;
}
.site-footer .footer-legal-item {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    min-width: 0;
    white-space: nowrap;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}
.site-footer .footer-legal-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.site-footer .footer-legal-item img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.site-footer .footer-legal-item bdi {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    color: var(--muted);
}
/* =========================================================
   FOOTER COLUMNS
========================================================= */
.site-footer .footer-column {
    min-width: 0;
}
.site-footer .footer-column h4 {
    margin: 0 0 20px;
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.8;
    color: var(--text);
}
/* =========================================================
   SERVICES & COMPANY LINKS
========================================================= */
.site-footer .footer-column > a:not(.footer-contact-item) {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
    text-decoration: none;
    transition: color var(--transition);
}
.site-footer .footer-column > a:not(.footer-contact-item):hover {
    color: var(--primary);
}
/* =========================================================
   OFFICES
   Country name and address
   Same size and weight as company links
========================================================= */
.site-footer .footer-office {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    min-width: 0;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
    text-align: start;
}
.site-footer .footer-office-title {
    display: block;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
}
.site-footer .footer-office-address {
    display: block;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
/* =========================================================
   EMAIL
========================================================= */
.site-footer .footer-contact-column .footer-contact-item {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    margin-top: 17px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.8;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color var(--transition);
}
.site-footer .footer-contact-column .footer-contact-item:hover {
    color: var(--primary);
}
/* =========================================================
   REMOVE ICONS FROM FOOTER
========================================================= */
.site-footer .footer-column i,
.site-footer .footer-contact-item i {
    display: none !important;
}
/* =========================================================
   RTL / LTR
========================================================= */
.site-footer[dir="rtl"] .footer-column,
.site-footer[dir="rtl"] .footer-brand {
    text-align: right;
}
.site-footer[dir="ltr"] .footer-column,
.site-footer[dir="ltr"] .footer-brand {
    text-align: left;
}
.site-footer[dir="rtl"] .footer-office {
    align-items: flex-start;
    text-align: right;
}
.site-footer[dir="ltr"] .footer-office {
    align-items: flex-start;
    text-align: left;
}
.site-footer[dir="rtl"] .footer-bottom {
    direction: rtl;
}
.site-footer[dir="ltr"] .footer-bottom {
    direction: ltr;
}
/* =========================================================
   FOOTER BOTTOM
========================================================= */
.site-footer .footer-bottom {
    margin-top: 55px;
    padding-top: 23px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
}
.site-footer .footer-bottom-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    letter-spacing: normal;
    text-transform: none;
    font-size: 10px;
}
.site-footer .footer-bottom-right > span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.site-footer .footer-bottom-right > span:not(:last-child)::after {
    content: "•";
    display: inline-block;
    margin-inline: 9px;
    color: var(--muted);
}
/* =========================================================
   RESPONSIVE - TABLET
========================================================= */
@media (max-width: 1200px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 25px;
    }
    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }
    .site-footer .footer-brand p {
        max-width: 550px;
    }
}
/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */
@media (max-width: 600px) {
    .site-footer {
        padding-bottom: 25px;
    }
    .site-footer .footer-card {
        padding: 32px 22px 24px;
        border-radius: 22px;
    }
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 18px;
    }
    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }
    .site-footer .footer-brand p {
        max-width: 100%;
        font-size: 12px;
    }
    .site-footer .footer-legal-info {
        justify-content: flex-start;
        gap: 12px;
    }
    .site-footer .footer-legal-item {
        font-size: 10px;
        gap: 5px;
    }
    .site-footer .footer-legal-item img {
        width: 26px;
        height: 26px;
    }
    .site-footer .footer-column h4 {
        margin-bottom: 16px;
    }
    .site-footer .footer-column > a:not(.footer-contact-item),
    .site-footer .footer-office,
    .site-footer .footer-office-title,
    .site-footer .footer-office-address,
    .site-footer .footer-contact-column .footer-contact-item {
        font-size: 11px;
    }
    .site-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 35px;
        gap: 15px;
    }
    .site-footer .footer-bottom-right {
        line-height: 1.8;
        font-size: 9px;
    }
}
/* =========================================================
   VERY SMALL SCREENS
========================================================= */
@media (max-width: 360px) {
    .site-footer .footer-card {
        padding-inline: 15px;
    }
    .site-footer .footer-grid {
        column-gap: 12px;
    }
    .site-footer .footer-legal-info {
        gap: 10px;
    }
    .site-footer .footer-legal-item {
        font-size: 9px;
    }
    .site-footer .footer-legal-item img {
        width: 23px;
        height: 23px;
    }
}
/* =========================================
   FOOTER LEGAL INFORMATION
========================================= */
.site-footer .footer-legal-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 14px;
    margin-top: 18px;
    width: 100%;
}
.site-footer .footer-legal-item {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    white-space: nowrap;
    direction: ltr;
}
.site-footer .footer-legal-item a {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.site-footer .footer-legal-item img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.site-footer .footer-legal-item bdi {
    font-size: 11px;
    font-weight: 500;
    direction: ltr;
    unicode-bidi: isolate;
}
/* =========================================
   FOOTER BOTTOM SERVICES SEPARATOR
========================================= */
.site-footer .footer-bottom-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}
.site-footer .footer-bottom-right > span {
    display: inline-flex;
    align-items: center;
}
.site-footer .footer-bottom-right > span:not(:last-child)::after {
    content: "•";
    display: inline-block;
    margin-inline: 9px;
    color: var(--muted);
}
/* =========================================
   REMOVE OLD SEPARATOR
========================================= */
.site-footer .footer-bottom-separator {
    display: none !important;
}
/* =========================================
   SMALL SCREENS
========================================= */
@media (max-width: 480px) {
    .site-footer .footer-legal-info {
        flex-wrap: wrap;
        gap: 12px;
    }
}
/* =========================================================
   22. SMALL MOBILE
========================================================= */
@media (max-width: 520px) {
    :root {
        --page-gutter: 15px;
        --side-padding: var(--page-gutter);
    }
    .logo-main {
        font-size: 16px;
    }
    .icon-button,
    .menu-button {
        width: 32px;
        height: 32px;
    }
    .mobile-menu nav a {
        font-size: 9px;
        min-height: 36px;
    }
    .mobile-menu .track-header {
        font-size: 10px;
    }
    .footer-card {
        padding:
            34px 22px 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-footer {
        padding:
            60px var(--page-padding, 18px) 65px;
    }
}
/* =========================================================
   23. VERY SMALL MOBILE
========================================================= */
@media (max-width: 360px) {
    :root {
        --page-gutter: 12px;
        --side-padding: var(--page-gutter);
    }
    .navbar {
        padding-inline:
            7px;
    }
    html[dir="rtl"] .navbar {
        padding-inline:
            7px;
    }
    .header-actions {
        gap: 3px;
    }
    .logo-main {
        font-size: 15px;
    }
    .icon-button,
    .menu-button {
        width: 30px;
        height: 30px;
    }
    .mobile-menu {
        padding: 7px;
    }
}
/* =========================================================
   FINAL CTA
========================================================= */
.final-cta {
    padding-block: var(--section-padding);
    background: var(--bg);
}
.final-cta-inner {
    position: relative;
    overflow: hidden;
    width: min(calc(100% - (var(--side-padding) * 2)),
            var(--container));
    min-height: 360px;
    margin-inline: auto;
    padding: 50px 30px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    border-radius: 28px;
    background:
        linear-gradient(90deg,
            rgba(108, 31, 31, .90),
            rgba(22, 22, 25, .94)),
        url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1800&q=85") center / cover;
    box-shadow: var(--shadow-md);
}
.final-cta-inner::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 23px;
    pointer-events: none;
}
.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}
.final-cta h2 {
    margin: 0;
    font-size: clamp(38px, 4.7vw, 64px);
    line-height: 1;
    letter-spacing: -.045em;
}
.final-cta p {
    max-width: 620px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.55;
}
.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}
.cta-light,
.cta-outline {
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 13px;
}
.cta-light {
    border: 0;
    background: #fff;
    color: #8d1719;
    font-weight: 800;
    cursor: pointer;
}
.cta-outline {
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-weight: 700;
}

/* =========================================================
   BLOG SIDEBAR CTA — MAIN WEBSITE THEME
========================================================= */

.bd-sidebar .bd-sidebar__card.final-cta {
    width: 100%;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 20px;
    background: transparent;
    box-shadow: none;
}

.bd-sidebar .final-cta-inner {
    width: 100%;
    min-height: 0;
    padding: 38px 24px;
    border-radius: 20px;
    background:
        linear-gradient(
            90deg,
            rgba(108, 31, 31, .90),
            rgba(22, 22, 25, .94)
        ),
        url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=900&q=85")
        center / cover;
    box-shadow: var(--shadow-md);
}

.bd-sidebar .final-cta-inner::after {
    inset: 10px;
    border-radius: 15px;
}

.bd-sidebar .final-cta-content {
    width: 100%;
    max-width: 100%;
}

.bd-sidebar .final-cta-content h3 {
    margin: 0;
    color: #fff;
    font-size: 23px;
    font-weight: 850;
    line-height: 1.5;
    letter-spacing: -.4px;
}

.bd-sidebar .final-cta-content p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    line-height: 1.9;
}

.bd-sidebar .final-cta-buttons {
    justify-content: flex-start;
    margin-top: 22px;
}

.bd-sidebar .cta-light {
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 11px;
    background: #fff;
    color: #8d1719;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s ease;
}

.bd-sidebar .cta-light:hover {
    transform: translateY(-2px);
    background: #f5eeee;
    color: #8d1719;
}

@media (max-width: 767px) {
    .bd-sidebar .final-cta-inner {
        padding: 35px 23px;
        border-radius: 17px;
    }

    .bd-sidebar .final-cta-content h3 {
        font-size: 21px;
    }
}

/* =========================================================
   BLOG SIDEBAR CTA — MAIN WEBSITE THEME
========================================================= */

.bd-sidebar .bd-sidebar__card.final-cta {
    width: 100%;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 20px;
    background: transparent;
    box-shadow: none;
}

.bd-sidebar .final-cta-inner {
    width: 100%;
    min-height: 0;
    padding: 38px 24px;
    border-radius: 20px;
    background:
        linear-gradient(
            90deg,
            rgba(108, 31, 31, .90),
            rgba(22, 22, 25, .94)
        ),
        url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=900&q=85")
        center / cover;
    box-shadow: var(--shadow-md);
}

.bd-sidebar .final-cta-inner::after {
    inset: 10px;
    border-radius: 15px;
}

.bd-sidebar .final-cta-content {
    width: 100%;
    max-width: 100%;
}

.bd-sidebar .final-cta-content h3 {
    margin: 0;
    color: #fff;
    font-size: 23px;
    font-weight: 850;
    line-height: 1.5;
    letter-spacing: -.4px;
}

.bd-sidebar .final-cta-content p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    line-height: 1.9;
}

.bd-sidebar .final-cta-buttons {
    justify-content: flex-start;
    margin-top: 22px;
}

.bd-sidebar .cta-light {
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 11px;
    background: #fff;
    color: #8d1719;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s ease;
}

.bd-sidebar .cta-light:hover {
    transform: translateY(-2px);
    background: #f5eeee;
    color: #8d1719;
}

@media (max-width: 767px) {
    .bd-sidebar .final-cta-inner {
        padding: 35px 23px;
        border-radius: 17px;
    }

    .bd-sidebar .final-cta-content h3 {
        font-size: 21px;
    }
}

/* ======================================================
   COMPLETE GUIDES
====================================================== */
.complete-guides {
    position: relative;
    isolation: isolate;
    padding:
        78px var(--page-padding, 24px) 85px;
    overflow: hidden;
    color: var(--text);
}
/* ======================================================
   BACKGROUND
====================================================== */
.complete-guides::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 520px;
    height: 380px;
    right: -220px;
    top: -190px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
/* ======================================================
   CONTAINER
====================================================== */
.complete-guides__container {
    width: min(100%,
            950px);
    margin-inline: auto;
}
/* ======================================================
   HEADING
====================================================== */
.complete-guides__heading {
    margin-bottom: 32px;
    text-align: center;
}
.complete-guides__eyebrow {
    margin: 0 0 13px;
    color: var(--primary);
    font-size: 8px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: .31em;
    text-transform: uppercase;
}
.complete-guides__heading h2 {
    margin: 0;
    color: var(--text);
    font-size:
        clamp(34px,
            4vw,
            44px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.045em;
}
.complete-guides__subtitle {
    margin: 15px 0 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.55;
}
/* ======================================================
   GRID
====================================================== */
.complete-guides__grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 13px;
}
/* ======================================================
   GUIDE CARD
====================================================== */
.guide-card {
    position: relative;
    min-width: 0;
    min-height: 168px;
    padding:
        19px 20px 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border:
        1px solid var(--border);
    border-radius: 18px;
    background:
        color-mix(in srgb,
            var(--surface) 94%,
            transparent);
    color: var(--text);
    text-decoration: none;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .045);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        transform .3s var(--ease),
        box-shadow .3s var(--ease),
        border-color .3s var(--ease),
        background .3s var(--ease);
}
/* subtle hover glow */
.guide-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -100px;
    top: -100px;
    border-radius: 50%;
    background:
        color-mix(in srgb,
            var(--primary) 8%,
            transparent);
    opacity: 0;
    transition:
        opacity .3s var(--ease);
    pointer-events: none;
}
.guide-card:hover {
    transform: translateY(-5px);
    border-color:
        color-mix(in srgb,
            var(--primary) 20%,
            var(--border));
    background: var(--surface);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, .08);
}
.guide-card:hover::before {
    opacity: 1;
}
/* ======================================================
   TAG
====================================================== */
.guide-card__top {
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
}
.guide-card__tag {
    width: max-content;
    max-width: 100%;
    min-height: 18px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    border:
        1px solid color-mix(in srgb,
            var(--primary) 22%,
            transparent);
    border-radius: 999px;
    background:
        color-mix(in srgb,
            var(--primary) 7%,
            var(--surface));
    color: var(--primary);
    font-size: 6px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: .17em;
    text-transform: uppercase;
    white-space: nowrap;
}
/* ======================================================
   TITLE
====================================================== */
.guide-card h3 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--text);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: -.02em;
}
/* ======================================================
   DESCRIPTION
====================================================== */
.guide-card>p {
    position: relative;
    z-index: 2;
    margin: 12px 0 17px;
    color: var(--text-secondary);
    font-size: 10px;
    line-height: 1.55;
    font-weight: 400;
}
/* ======================================================
   CHAPTERS
====================================================== */
.guide-card__chapters {
    position: relative;
    z-index: 2;
    margin-top: auto;
    color: var(--text-secondary);
    font-size: 6px;
    line-height: 1;
    font-weight: 650;
    letter-spacing: .2em;
    text-transform: uppercase;
}
/* ======================================================
   VIEW ALL
====================================================== */
.complete-guides__footer {
    margin-top: 29px;
    display: flex;
    justify-content: center;
}
.complete-guides__view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    transition:
        gap .25s var(--ease),
        opacity .25s var(--ease);
}
.complete-guides__arrow {
    display: inline-block;
    font-size: 13px;
    transition:
        transform .25s var(--ease);
}
.complete-guides__view-all:hover {
    gap: 13px;
}
.complete-guides__view-all:hover .complete-guides__arrow {
    transform: translateX(3px);
}
/* ======================================================
   DARK MODE
====================================================== */
html[data-theme="dark"] .guide-card {
    background:
        color-mix(in srgb,
            var(--surface) 90%,
            transparent);
    box-shadow:
        0 13px 32px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] .guide-card:hover {
    background: var(--surface);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, .3);
}

html[data-theme="dark"] .complete-guides::before {
    opacity: .6;
}
/* ======================================================
   RTL
====================================================== */
html[dir="rtl"] .complete-guides__eyebrow {
    letter-spacing: .06em;
}

html[dir="rtl"] .complete-guides__heading h2 {
    letter-spacing: -.015em;
}

html[dir="rtl"] .guide-card {
    text-align: right;
}

html[dir="rtl"] .guide-card__tag {
    letter-spacing: .04em;
}

html[dir="rtl"] .guide-card__chapters {
    letter-spacing: .05em;
}

html[dir="rtl"] .complete-guides__arrow {
    transform: rotate(180deg);
}

html[dir="rtl"] .complete-guides__view-all:hover .complete-guides__arrow {
    transform:
        rotate(180deg) translateX(3px);
}
/* ======================================================
   TABLET
====================================================== */
@media (max-width: 900px) {
    .complete-guides__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .guide-card {
        min-height: 180px;
        padding: 20px;
    }
    .guide-card h3 {
        font-size: 13px;
    }
    .guide-card>p {
        font-size: 11px;
    }
}
/* ======================================================
   MOBILE
====================================================== */
@media (max-width: 600px) {
    .complete-guides {
        padding:
            60px var(--page-padding, 18px) 65px;
    }
    .complete-guides__heading {
        margin-bottom: 27px;
    }
    .complete-guides__eyebrow {
        font-size: 7px;
        letter-spacing: .22em;
    }
    .complete-guides__heading h2 {
        font-size: 35px;
    }
    .complete-guides__subtitle {
        max-width: 330px;
        margin:
            12px auto 0;
        font-size: 11px;
    }
    .desktop-only {
        display: none;
    }
    .complete-guides__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .guide-card {
        min-height: 175px;
        padding:
            20px 18px;
        border-radius: 16px;
    }
    .guide-card h3 {
        font-size: 14px;
    }
    .guide-card>p {
        margin-top: 11px;
        font-size: 11px;
        line-height: 1.6;
    }
    .guide-card__tag {
        font-size: 7px;
    }
    .guide-card__chapters {
        font-size: 7px;
    }
    .complete-guides__footer {
        margin-top: 27px;
    }
    .complete-guides__view-all {
        font-size: 11px;
    }
}
/* Knowledge Center — intentionally uses the global Ajeeb variables/theme from layouts.app */
.knowledge-page {
    background: var(--bg);
    color: var(--text);
    overflow: hidden
}
.kc-container {
    width: min(calc(100% - (var(--side-padding, clamp(18px, 6vw, 80px))*2)), var(--container, 1140px));
    margin-inline: auto
}
.kc-section {
    padding: clamp(72px, 8vw, 115px) 0
}
.kc-center {
    text-align: center
}
.kc-kicker {
    margin: 0 0 14px;
    color: #985356;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .32em;
    text-transform: uppercase
}
.kc-title {
    margin: 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1;
    letter-spacing: -.045em;
    font-weight: 850
}
.kc-copy {
    margin: 14px auto 0;
    max-width: 680px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6
}
/* ======================================================
   REDUCED MOTION
====================================================== */
@media (prefers-reduced-motion: reduce) {
    .guide-card,
    .complete-guides__view-all,
    .complete-guides__arrow {
        transition: none;
    }
}
.kc-calculator-wrap {
    padding: 70px 0;
    background: var(--bg)
}
/* calculator */
.kc-calc-tabs {
    display: flex;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
    margin: 32px 0 18px
}
.kc-calc-tab {
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text-secondary);
    font-weight: 700;
    cursor: pointer
}
.kc-calc-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-red)
}
.kc-calc-tools {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    padding: 15px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 10px
}
.kc-tool-buttons {
    display: flex;
    gap: 8px
}
.kc-tool-buttons button {
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer
}
.kc-calc-panel {
    display: none
}
.kc-calc-panel.active {
    display: grid
}
.kc-calc-box {
    margin-top: 14px;
    grid-template-columns: 1.35fr .95fr;
    gap: 26px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-sm)
}
.kc-calc-form {
    padding: 6px
}
.kc-pill {
    display: inline-flex;
    padding: 5px 11px;
    border: 1px solid rgba(189, 30, 32, .25);
    border-radius: 999px;
    background: rgba(189, 30, 32, .08);
    color: #985356;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .2em
}
.kc-calc-form h3 {
    font-size: 23px;
    margin: 20px 0 8px
}
.kc-calc-form p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
    max-width: 510px
}
.kc-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 36px
}
.kc-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-secondary);
    font-size: 9px
}
.kc-field input,
.kc-field select {
    width: 100%;
    height: 42px;
    border: 0;
    outline: 0;
    border-radius: 11px;
    padding: 0 12px;
    background: var(--bg-secondary);
    color: var(--text)
}
.kc-formula {
    margin-top: 15px !important;
    font-family: monospace;
    font-size: 9px !important
}
.kc-result {
    padding: 25px;
    border: 1px solid rgba(189, 30, 32, .25);
    border-radius: 20px;
    background: color-mix(in srgb, var(--primary-light) 65%, var(--surface));
    align-self: stretch
}
.kc-result-label {
    margin-top: 28px;
    color: #985356;
    font-size: 11px
}
.kc-result-number {
    font-size: 43px;
    font-weight: 900;
    letter-spacing: -.04em
}
.kc-result-number small {
    font-size: .7em;
    color: var(--text-secondary);
    font-weight: 500
}
.kc-result hr {
    border: 0;
    border-top: 1px solid rgba(189, 30, 32, .14);
    margin: 24px 0
}
.kc-result p {
    font-size: 10px;
    color: var(--text-secondary);
    line-height: 1.6
}
.kc-result a {
    display: inline-block;
    margin-top: 20px;
    color: #8d1719;
    font-size: 10px;
    font-weight: 800
}
.kc-faq-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px
}
.kc-faq-list {
    display: grid;
    gap: 10px
}
.kc-faq-item {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden
}
.kc-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: start;
    font-weight: 750;
    cursor: pointer
}
.kc-faq-a {
    display: none;
    padding: 0 22px 22px;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.6
}
.kc-faq-item.open .kc-faq-a {
    display: block
}
.kc-cta {
    padding: 20px 0 90px
}
.kc-cta-card {
    position: relative;
    overflow: hidden;
    padding: 65px 25px;
    border-radius: 30px;
    text-align: center;
    color: #fff;
    background: radial-gradient(circle at 10% 20%, rgba(189, 30, 32, .5), transparent 35%), linear-gradient(120deg, #3c2425, #171719 65%);
    box-shadow: var(--shadow-md)
}
.kc-cta-card h2 {
    max-width: 650px;
    margin: 0 auto;
    font-size: clamp(35px, 4vw, 52px);
    line-height: 1.02
}
.kc-cta-card p {
    max-width: 620px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, .68);
    line-height: 1.6
}
.kc-cta-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px
}
.kc-cta-actions a {
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    border-radius: 13px;
    font-weight: 750
}
.kc-quote {
    background: #fff;
    color: #8d1719
}
.kc-whatsapp {
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .08);
    color: #fff
}

html[dir="rtl"] .kc-kicker,
html[dir="rtl"] .kc-meta,
html[dir="rtl"] .kc-pill {
    letter-spacing: .03em
}
.knowledge-page * {
    box-sizing: border-box
}
@media(max-width:900px) {
    .kc-grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }
    .kc-video-grid,
    .kc-article-grid {
        grid-template-columns: 1fr 1fr
    }
    .kc-calc-box {
        grid-template-columns: 1fr
    }
    .kc-fields {
        grid-template-columns: 1fr 1fr
    }
}
@media(max-width:620px) {
    .kc-hero {
        padding-top: 120px
    }
    .kc-hero h1 {
        font-size: 44px
    }
    .kc-search {
        margin-inline: 0
    }
    .kc-audience {
        flex-wrap: wrap
    }
    .kc-filter {
        flex: 1;
        white-space: nowrap;
        padding-inline: 12px
    }
    .kc-grid-4,
    .kc-video-grid,
    .kc-article-grid {
        grid-template-columns: 1fr
    }
    .kc-fields {
        grid-template-columns: 1fr 1fr
    }
    .kc-calc-tools {
        align-items: flex-start;
        flex-direction: column
    }
    .kc-faq-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px
    }
    .kc-cta-actions {
        flex-direction: column;
        align-items: stretch
    }
    .kc-cta-actions a {
        justify-content: center
    }
}
/* ----------------  */
/* =========================================================
   SERVICES DROPDOWN
========================================================= */
.services-dropdown {
    width: min(100%, 804px);
    margin: 7px auto 0;
    padding: 9px 11px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-sm);
    pointer-events: auto;
    max-height: calc(100dvh - 180px);
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: services-reveal 180ms var(--ease);
}
.services-dropdown[hidden] {
    display: none !important;
}
/* =========================================================
   GRID
========================================================= */
.services-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 5px;
    align-items: start;
}
/* =========================================================
   SERVICE CARD
========================================================= */
.services-dropdown .service-card {
    width: 100%;
    min-width: 0;
    /* مهم جداً */
    height: auto !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 6px 8px !important;
    box-sizing: border-box;
    /* الأيقونة + المحتوى بجانب بعض */
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px;
    border-radius: 9px;
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    transition:
        background var(--transition),
        transform var(--transition);
}
/* =========================================================
   ICON
========================================================= */
.services-dropdown .service-card .service-icon {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    flex: 0 0 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
}
.services-dropdown .service-card .service-icon svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* =========================================================
   CONTENT
========================================================= */
.services-dropdown .service-card .service-content {
    min-width: 0;
    width: auto;
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}
/* =========================================================
   TITLE
========================================================= */
.services-dropdown .service-card .service-title {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--text);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* =========================================================
   DESCRIPTION
========================================================= */
.services-dropdown .service-card .service-description {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--text-secondary);
    font-family:
        ui-monospace,
        SFMono-Regular,
        Consolas,
        monospace;
    font-size: 8px;
    font-weight: 400;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html[dir="rtl"] .services-dropdown .service-card .service-description {
    font-family: var(--font-ar);
}
/* =========================================================
   HOVER
========================================================= */
.services-dropdown .service-card:hover,
.services-dropdown .service-card:focus-visible {
    background: color-mix(in srgb,
            var(--surface) 75%,
            transparent);
    transform: translateY(-1px);
}
/* =========================================================
   SERVICES TRIGGER
========================================================= */
.mobile-menu nav .services-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 9px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color var(--transition),
        background var(--transition);
}
.mobile-menu nav .services-trigger:hover,
.mobile-menu nav .services-trigger.active,
.mobile-menu nav .services-trigger[aria-expanded="true"] {
    background: var(--surface);
    color: var(--primary);
}
.services-trigger svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition);
}
.services-trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
/* =========================================================
   ANIMATION
========================================================= */
@keyframes services-reveal {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 900px) {
    .mobile-menu.open {
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
    }
    .services-dropdown {
        max-height: 45dvh;
    }
}
/* =========================================================
   MOBILE SERVICES
========================================================= */
@media (max-width: 600px) {
    .services-dropdown {
        width: 100%;
        margin-top: 5px;
        padding: 8px 7px;
        border-radius: 11px;
    }
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 5px;
        row-gap: 5px;
        align-items: start;
    }
    .services-dropdown .service-card {
        min-height: 46px !important;
        height: auto !important;
        padding: 6px 6px !important;
        gap: 7px;
    }
    .services-dropdown .service-card .service-icon {
        width: 27px !important;
        height: 27px !important;
        min-width: 27px !important;
        min-height: 27px !important;
        max-width: 27px !important;
        max-height: 27px !important;
        flex: 0 0 27px !important;
        border-radius: 7px;
    }
    .services-dropdown .service-card .service-icon svg {
        width: 14px !important;
        height: 14px !important;
    }
    .services-dropdown .service-card .service-content {
        gap: 3px;
    }
    .services-dropdown .service-card .service-title {
        font-size: 9px;
        line-height: 1.2;
    }
    .services-dropdown .service-card .service-description {
        font-size: 7px;
        line-height: 1.25;
    }
}
/* =========================================================
   VERY SMALL MOBILE
========================================================= */
@media (max-width: 380px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-dropdown .service-card {
        min-height: 44px !important;
    }
}
/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
    .services-dropdown {
        animation: none;
    }
    .services-trigger svg,
    .service-card {
        transition: none;
    }
}

/* =========================================
   RESPONSIVE HEADER - MOBILE
========================================= */

@media (max-width: 900px) {

    .navbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .logo {
        flex: 0 1 auto;
        min-width: 0;
    }

    .header-actions {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 6px;
    }

    .mobile-menu {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mobile-menu nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 7px;
        width: 100%;
    }

    .mobile-menu nav a,
    .mobile-menu nav .services-trigger {
        flex: 1 1 auto;
        min-width: 90px;
        max-width: 160px;
        box-sizing: border-box;
        justify-content: center;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .mobile-menu .track-header {
        flex: 1 1 100%;
        justify-content: center;
        max-width: none;
    }

    .services-dropdown {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Small mobile screens */
@media (max-width: 480px) {

    .mobile-menu nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .mobile-menu nav a,
    .mobile-menu nav .services-trigger {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .mobile-menu .track-header {
        grid-column: 1 / -1;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
