/* DITC brand system and bidirectional layout hardening. */
:root {
    --brand-navy: #07152f;
    --brand-navy-soft: #0d2348;
    --brand-blue: #246bfd;
    --brand-blue-dark: #174fc7;
    --brand-cyan: #35bfea;
    --brand-surface: #f3f7fc;
    --brand-border: #dce7f5;
    --brand-text: #101828;
    --brand-muted: #53647a;
    --brand-white: #fff;
    --brand-shadow-sm: 0 8px 24px rgba(7, 21, 47, 0.08);
    --brand-shadow-md: 0 18px 48px rgba(7, 21, 47, 0.12);
    --brand-radius-sm: 10px;
    --brand-radius-md: 16px;
    --brand-focus: 0 0 0 4px rgba(36, 107, 253, 0.2);
    --primary-color: var(--brand-blue);
    --secondary-color: var(--brand-navy);
    --tblr-primary: 36, 107, 253;
    --tblr-primary-rgb: 36, 107, 253;
    --tblr-link-color: var(--brand-blue-dark);
}

html {
    overflow-x: clip;
    scroll-padding-top: 96px;
}

body {
    color: var(--brand-text);
    background: var(--brand-white);
    overflow-wrap: break-word;
}

main,
.page-wrapper,
.page-body,
.container,
.container-xl,
.row,
[class*="col-"] {
    min-width: 0;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

p,
li,
label,
input,
select,
textarea,
button,
.btn,
.btn-one {
    line-height: 1.65;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 0;
    box-shadow: var(--brand-focus);
}

.primary-color,
a.primary-hover:hover,
.read-more-btn:hover {
    color: var(--brand-blue) !important;
}

.primary-bg,
.bg-primary,
.btn-primary,
.progress-bar {
    background-color: var(--brand-blue) !important;
}

.secondary-bg,
.bg-secondary {
    background-color: var(--brand-navy) !important;
}

.sub-bg {
    background-color: var(--brand-surface) !important;
}

.btn-one,
.btn-primary {
    border-color: var(--brand-blue) !important;
    background: var(--brand-blue) !important;
    color: var(--brand-white) !important;
    border-radius: var(--brand-radius-sm);
    box-shadow: 0 10px 24px rgba(36, 107, 253, 0.2);
}

.btn-one:hover,
.btn-primary:hover,
.btn-one:focus-visible,
.btn-primary:focus-visible {
    border-color: var(--brand-blue-dark) !important;
    background: var(--brand-blue-dark) !important;
    color: var(--brand-white) !important;
    transform: translateY(-1px);
}

.btn-one::before,
.btn-one::after {
    background: var(--brand-blue-dark);
}

.header-two-area {
    border-block-end: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 21, 47, 0.94);
    backdrop-filter: blur(14px);
}

.header-two-area.menu-fixed {
    background: rgba(7, 21, 47, 0.98);
    box-shadow: 0 12px 34px rgba(2, 10, 26, 0.22);
}

.header-two-area .header__main {
    min-height: 80px;
}

.header-two-area .logo img {
    width: auto;
    max-width: 190px;
    max-height: 58px;
    object-fit: contain;
}

.header-two-area .main-menu ul {
    align-items: center;
}

.header-two-area .main-menu ul li a {
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.header-two-area .main-menu ul li a:hover,
.header-two-area .main-menu ul li.active > a {
    color: var(--brand-cyan);
}

.header-call .about-call-icon {
    border-color: rgba(53, 191, 234, 0.55);
    color: var(--brand-cyan);
}

.banner__inner-page {
    position: relative;
    isolation: isolate;
    min-height: 390px;
    display: grid;
    align-items: center;
    background-position: center;
}

.banner__inner-page > .container {
    position: relative;
    z-index: 3;
}

.banner__inner-page .shape1,
.banner__inner-page .shape2,
.banner__inner-page .shape3 {
    z-index: 1;
    pointer-events: none;
}

.banner__inner-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(7, 21, 47, 0.88), rgba(10, 39, 86, 0.72));
}

.banner__inner-page h1 {
    max-width: 900px;
    color: var(--brand-white) !important;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.16;
    text-wrap: balance;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}

.banner__inner-page .breadcrumb-list,
.banner__inner-page .breadcrumb-list a,
.banner__inner-page .breadcrumb-list span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.banner__inner-page .breadcrumb-list a:hover {
    color: var(--brand-cyan);
}

.service-single-area {
    background: var(--brand-white);
}

.service-single__left-item,
.service-single__right-item,
.blog-single__left-item,
.blog-single__right-item {
    min-width: 0;
}

.service-detail__media {
    overflow: hidden;
    border-radius: var(--brand-radius-md);
    box-shadow: var(--brand-shadow-sm);
}

.service-detail__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.service-single__left-item .title {
    color: var(--brand-text);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
}

.service-single__left-item > p,
.service-single__left-item > div:not(.image):not(.service-detail__offer):not(.accordion) p {
    color: var(--brand-muted);
}

.service-detail__offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    border: 1px solid #cfe0ff;
    border-radius: var(--brand-radius-md);
    background: linear-gradient(135deg, #eef4ff 0%, #f7fbff 100%);
    box-shadow: var(--brand-shadow-sm);
}

.service-detail__offer-copy {
    min-width: 0;
}

.service-detail__price {
    color: var(--brand-text) !important;
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 700;
}

.service-detail__price .currency-value,
.service-detail__price .numeric-value,
.service-detail__price bdi {
    color: var(--brand-blue) !important;
}

.service-detail__offer p {
    color: var(--brand-muted);
}

.service-detail__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    white-space: nowrap;
}

.service-single__right-item .item,
.blog-single__right-item .item {
    padding: 28px;
    border: 1px solid var(--brand-border);
    border-radius: var(--brand-radius-md);
    box-shadow: var(--brand-shadow-sm);
}

.service-single__right-item .item > h4,
.blog-single__right-item .item > h4 {
    color: var(--brand-text);
    font-size: 22px;
}

.service-single__right-item .category {
    display: grid;
    gap: 10px;
}

.service-single__right-item .category li,
.blog-single__right-item .category li {
    min-height: 52px;
    margin: 0 !important;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: var(--brand-radius-sm);
    background: var(--brand-white);
    color: var(--brand-text);
}

.service-single__right-item .service-category li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.service-category__label {
    min-width: 0;
    color: inherit !important;
}

.service-category__arrow {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: #edf4ff;
}

.service-single__right-item .category li:hover,
.service-single__right-item .category li.active,
.blog-single__right-item .category li:hover {
    border-color: #bfd4ff;
    background: #edf4ff;
    color: var(--brand-blue-dark);
}

.accordion {
    display: grid;
    gap: 12px;
}

.accordion .accordion-item {
    overflow: hidden;
    border: 1px solid var(--brand-border) !important;
    border-radius: 12px !important;
    background: var(--brand-white);
    box-shadow: 0 6px 18px rgba(7, 21, 47, 0.06) !important;
}

.accordion .accordion-item h2 button,
.accordion .accordion-button {
    position: relative;
    min-height: 58px;
    padding-block: 16px;
    padding-right: 66px;
    padding-left: 20px;
    color: var(--brand-text);
    background: var(--brand-white);
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.accordion .accordion-button::before {
    inset-block-start: 50%;
    inset-inline-end: auto;
    inset-inline-start: auto;
    right: 16px;
    left: auto;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    line-height: 1;
    transform: translateY(-50%);
    border-radius: 9px;
}

.accordion .accordion-button::after {
    display: none !important;
}

.accordion .accordion-button:not(.collapsed) {
    color: var(--brand-blue-dark);
    background: #f4f8ff;
    box-shadow: none;
}

.accordion .accordion-body {
    padding: 4px 20px 20px;
    color: var(--brand-muted);
}

.footer-two-area {
    background: var(--brand-navy) !important;
}

.footer__item .footer-title,
.footer__item .footer-contact li h5 {
    color: var(--brand-white);
}

.footer__item p,
.footer__item ul li a,
.footer__copyright p,
.footer__copyright a {
    color: rgba(255, 255, 255, 0.74);
}

.footer__item ul li a:hover,
.footer__copyright a:hover {
    color: var(--brand-cyan);
}

.footer__item .social-icon a {
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--brand-white);
}

.footer__item .social-icon a:hover {
    border-color: var(--brand-blue);
    background: var(--brand-blue);
}

.footer__copyright {
    border-block-start: 1px solid rgba(255, 255, 255, 0.12);
}

.scroll-up {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    background: var(--brand-navy);
}

.card,
.pricing__item,
.blog__item,
.blog-two__grid-item,
.blog-two__list-item {
    border-color: var(--brand-border);
    border-radius: var(--brand-radius-md);
    box-shadow: var(--brand-shadow-sm);
}

.form-control,
.form-select,
.nice-select,
.contact__form form input,
.contact__form form textarea {
    min-height: 48px;
    border-color: var(--brand-border);
    border-radius: var(--brand-radius-sm);
    color: var(--brand-text);
    background-color: var(--brand-white);
}

.form-control:focus,
.form-select:focus,
.nice-select:focus,
.contact__form form input:focus,
.contact__form form textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: var(--brand-focus);
}

.table-responsive {
    overflow-x: auto;
    border-radius: var(--brand-radius-sm);
}

.navbar-overlap {
    background: var(--brand-navy) !important;
}

.page-body {
    background: var(--brand-surface);
}

.page-wrapper .card {
    border: 1px solid var(--brand-border);
}

html[dir="rtl"] body,
html[dir="rtl"] .page,
html[dir="rtl"] .page-wrapper,
html[dir="rtl"] main {
    text-align: start;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] label,
html[dir="rtl"] .btn,
html[dir="rtl"] .btn-one {
    letter-spacing: 0;
}

html[dir="rtl"] .header__main,
html[dir="rtl"] .footer__wrp,
html[dir="rtl"] .footer-contact li,
html[dir="rtl"] .service-detail__offer,
html[dir="rtl"] .breadcrumb-list {
    direction: rtl;
}

html[dir="rtl"] .main-menu ul,
html[dir="rtl"] .footer__item ul,
html[dir="rtl"] .service-single__right-item ul,
html[dir="rtl"] .blog-single__right-item ul {
    padding-inline-start: 0;
}

html[dir="rtl"] .banner__inner-page::before {
    background: linear-gradient(270deg, rgba(7, 21, 47, 0.9), rgba(10, 39, 86, 0.7));
}

html[dir="rtl"] .banner__inner-page .shape1,
html[dir="rtl"] .banner__inner-page .shape2,
html[dir="rtl"] .banner__inner-page .shape3 {
    transform: scaleX(-1);
}

html[dir="rtl"] .service-single__right-item .service-category li {
    grid-template-columns: minmax(0, 1fr) auto;
}

html[dir="rtl"] .accordion .accordion-item h2 button,
html[dir="rtl"] .accordion .accordion-button {
    padding-right: 66px;
    padding-left: 20px;
    text-align: start;
}

html[dir="rtl"] .accordion .accordion-button::before,
html[dir="rtl"] .accordion .accordion-button::after {
    inset-inline-end: auto;
    inset-inline-start: auto;
    right: 16px;
    left: auto;
}

html[dir="rtl"] .fa-arrow-right-long,
html[dir="rtl"] .fa-angles-right,
html[dir="rtl"] .fa-chevron-right {
    transform: scaleX(-1);
}

html[dir="rtl"] [dir="ltr"],
html[dir="rtl"] bdi,
html[dir="rtl"] .phone-number,
html[dir="rtl"] .email-address,
html[dir="rtl"] .numeric-value,
html[dir="rtl"] .currency-value {
    unicode-bidi: isolate;
}

@media (max-width: 1199.98px) {
    .header-two-area .header__main {
        gap: 14px;
    }

    .header-two-area .main-menu ul {
        gap: 18px;
    }

    .header-two-area .logo img {
        max-width: 165px;
    }
}

@media (max-width: 991.98px) {
    .banner__inner-page {
        min-height: 330px;
        padding-block: 130px 90px !important;
    }

    .service-single-area {
        padding-block: 76px !important;
    }

    .service-single__right-item {
        margin-block-end: 18px;
    }

    .footer__wrp {
        gap: 46px 24px;
    }
}

@media (max-width: 767.98px) {
    .service-detail__offer {
        align-items: stretch;
        flex-direction: column;
        padding: 20px;
    }

    .service-detail__cta {
        width: 100%;
        white-space: normal;
    }

    .service-single__right-item .item,
    .blog-single__right-item .item {
        padding: 22px;
    }

    .footer__copyright .d-flex {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .header-two-area .header__main {
        min-height: 72px;
    }

    .header-two-area .logo,
    .header-two-area .logo img {
        max-width: 150px;
    }

    .banner__inner-page {
        min-height: 290px;
        padding-block: 110px 70px !important;
    }

    .banner__inner-page h1 {
        font-size: clamp(32px, 10vw, 44px);
    }

    .banner__inner-page .breadcrumb-list {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .service-single-area {
        padding-block: 56px !important;
    }

    .service-detail__media {
        margin-block-end: 30px !important;
    }

    .service-single__left-item .title {
        margin-block-end: 22px !important;
    }

    .accordion .accordion-item h2 button,
    .accordion .accordion-button {
        min-height: 64px;
        padding-block: 14px;
        font-size: 14px;
    }

    .footer__wrp {
        padding-block: 70px !important;
    }

    .footer__item,
    .footer__item.item-big,
    .footer__item.item-sm {
        width: 100%;
        max-width: none;
    }

    .table-responsive table {
        min-width: 680px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
