:root {
    --Primary: #D49F25;
    --Secondary: #000;
    --Bg-light: #F0F4F8;
    --font-main: "Plus Jakarta Sans", sans-serif;
    --font-main2: "Red Hat Display", sans-serif;
    --font-main3: "Rethink Sans", sans-serif;
    --font-main4: "Manrope", sans-serif;
}

/* ── Topbar ── */
.ins-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background-color: var(--Primary);
    padding: 8px 16px;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.ins-topbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* ── Unified sticky header ── */
.ins-header,
.header.style-10.ins-header {
    position: fixed;
    top: 35px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(32px);
    transition: top 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.ins-header.scrolled,
.header.style-10.ins-header.scrolled {
    top: 0;
    background-color: #fff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
    .ins-header,
    .header.style-10.ins-header {
        top: 55px;
    }

    .ins-header.scrolled,
    .header.style-10.ins-header.scrolled {
        top: 0;
    }
}

/* logo swap on scroll */
.ins-header:not(.scrolled) .logo-black { display: none; }
.ins-header:not(.scrolled) .logo-white { display: block; }
.ins-header.scrolled .logo-white { display: none; }
.ins-header.scrolled .logo-black { display: block; }

/* white nav links + buttons when header is transparent (not scrolled) */
.ins-header:not(.scrolled) .navigation > li > a,
.ins-header:not(.scrolled) .navigation > li > a .text,
.ins-header:not(.scrolled) .header-right .link {
    color: #fff !important;
}

.ins-header:not(.scrolled) .navigation li.has-child::after {
    color: #fff !important;
}

.ins-header .tf-btn.style-border {
    padding-top: 8px;
    padding-bottom: 8px;
}

.ins-header:not(.scrolled) .tf-btn.style-border {
    color: #fff !important;
    border-color: #fff !important;
}

.ins-header:not(.scrolled) .mobile-button span {
    background-color: #fff !important;
}

/* push page content below the combined topbar + header */
#smooth-wrapper {
    padding-top: calc(40px + 80px);
}

/* hero banner starts at viewport top so the blurry header overlays the video */
#smooth-wrapper .hero-banner-3:first-child {
    margin-top: calc(-40px - 80px);
}

/* full-screen hero */
.hero-banner-3 {
    height: 100svh;
    min-height: 600px;
}

.hero-banner-3 .parallax-video,
.hero-banner-3 .parallax-container {
    position: absolute;
    inset: 0;
    height: 100%;
}

.hero-banner-3 .thumbs-video,
.hero-banner-3 .video-inner {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover;
}

/* Give 13-inch/smaller desktop widths noticeably more side breathing room */
@media (min-width: 992px) and (max-width: 1700px) {
    .ins-topbar {
        padding-left: clamp(20px, 3vw, 48px);
        padding-right: clamp(20px, 3vw, 48px);
    }

    .ins-header .tf-container,
    #smooth-wrapper .tf-container {
        padding-left: clamp(28px, 3.6vw, 56px) !important;
        padding-right: clamp(28px, 3.6vw, 56px) !important;
    }

    /* Keep full hero text + support strip visible on 13-inch style viewports */
    .hero-banner-3 {
        min-height: 640px;
    }

    .hero-banner-3 .content .title {
        font-size: clamp(52px, 4.6vw, 72px);
        line-height: 1.05;
    }

    .hero-banner-3 .support {
        margin-top: 24px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}


/* ── Service slider – uniform image height ── */
.service-item.style-1 .img-style {
    height: 560px;
    overflow: hidden;
}

.service-item.style-1 .img-style img {
    width: 100%;
    height: 100% !important;
    min-height: unset !important;
    object-fit: cover;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: var(--font-main2);
    font-weight: 600;
}

.text-caption-1 {
    font-size: 15px;
    line-height: 22px;
}

.font-main {
    font-family: var(--font-main);
}

.font-2 {
    font-family: var(--font-main2);
}

.font-3 {
    font-family: var(--font-main3);
}

.font-4 {
    font-family: var(--font-main4);
}

.main-menu .navigation>li:hover::after {
    color: var(--Secondary);
}

#menu-mobile-menu li.active>a {
    color: var(--Secondary);
}

.card-team.style-1::after {
    background: linear-gradient(180deg, rgba(24, 71, 120, 0) 46.28%, rgba(24, 71, 120, 0.5) 73.14%, #184778 99.74%);
}

.section-faqs .accordion-item {
    background-color: var(--Bg-light);
}


.blog-item.v-list .img-style {
    border-radius: 0;
}

.blog-item.v-list .tag {
    padding: 0;
    background-color: var(--Primary) !important;
    color: var(--Secondary);
}


.tf-sidebar .list-categories a::after {
    background: var(--Secondary);
    height: 1px;
}

.tf-sidebar .tags-list a:hover {
    color: var(--Secondary);
}

.tf-article-navigation .item {
    max-width: unset;
}

.post-detail .tags-list.style-2 a:hover {
    background-color: var(--Primary);
    border-color: var(--Primary);
    color: var(--Secondary);
}

.form-leave-comment fieldset input:focus,
.form-leave-comment textarea:focus {
    border-color: var(--Secondary);
}

.form-leave-comment .tf-check {
    border: 1px solid var(--Text-secondary);
}

.section-faqs-1 .heading-section .sub {
    margin-bottom: 5px;
}


.blog-item.style-4.v-list .content {
    gap: 9px;
}

@media (min-width: 992px) {
    .section-faqs .accordion-wrap {
        padding-left: 15px;
    }
}

/* ── Footer Redesign ── */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-icon {
    font-size: 18px;
    line-height: 1.5;
    flex-shrink: 0;
}

.footer-newsletter-form {
    width: 100%;
}

.footer-newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 10px 14px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s;
    min-width: 0;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter-input:focus {
    border-color: var(--Primary);
}

.footer-newsletter-btn {
    background-color: var(--Primary);
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    color: var(--Secondary);
    font-size: 18px;
    cursor: pointer;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-newsletter-btn:hover {
    opacity: 0.85;
}

/* ── Language Switcher ── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
}

.lang-opt {
    background: transparent;
    border: none;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 4px;
    color: var(--Secondary);
    transition: color 0.2s;
    line-height: 1;
    font-family: inherit;
}

.lang-sep {
    color: rgba(0, 0, 0, 0.2);
    font-size: 11px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.lang-opt.is-active,
.lang-opt:hover {
    color: var(--Primary);
}

/* Switcher in transparent header state */
.ins-header:not(.scrolled) .lang-opt {
    color: rgba(255, 255, 255, 0.75);
}

.ins-header:not(.scrolled) .lang-sep {
    color: rgba(255, 255, 255, 0.3);
}

.ins-header:not(.scrolled) .lang-opt.is-active,
.ins-header:not(.scrolled) .lang-opt:hover {
    color: var(--Primary);
}

/* ── Language Switch Fade ── */
body.lang-switching {
    opacity: 0;
    transition: opacity 0.13s ease;
}

body:not(.lang-switching) {
    opacity: 1;
    transition: opacity 0.13s ease;
}

/* ── Arabic / RTL Layout ── */
html[dir="rtl"] body {
    font-family: 'Plus Jakarta Sans', 'Noto Naskh Arabic', Arial, sans-serif;
}

html[dir="rtl"] .header-inner {
    flex-direction: row-reverse;
}

html[dir="rtl"] .header-right {
    flex-direction: row-reverse;
}

html[dir="rtl"] .navigation {
    flex-direction: row-reverse;
}

html[dir="rtl"] .heading-section,
html[dir="rtl"] .box-left,
html[dir="rtl"] .footer-about,
html[dir="rtl"] .footer-col-block {
    text-align: right;
}

html[dir="rtl"] .home-page-content .heading-section > .sub,
html[dir="rtl"] .home-page-content .heading-section .sub.text-label {
    font-family: 'Plus Jakarta Sans', 'Noto Naskh Arabic', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0;
}

html[dir="rtl"] .footer-contact-item {
    flex-direction: row-reverse;
}


html[dir="rtl"] .wrap-box-icon > div {
    flex-direction: row-reverse;
}

html[dir="rtl"] .wrap-box-icon > div > div:last-child {
    text-align: right;
}

html[dir="rtl"] .support .wrap {
    flex-direction: row-reverse;
}

html[dir="rtl"] .tf-grid-layout {
    direction: rtl;
}

/* Keep the newsletter's physical layout unchanged in Arabic:
   content stays left, image stays right; only text alignment changes. */
html[dir="rtl"] .section-newsletter-2 .tf-grid-layout {
    direction: ltr;
}

html[dir="rtl"] .section-newsletter-2 .content,
html[dir="rtl"] .section-newsletter-2 .heading-section {
    direction: ltr;
    text-align: right;
}

html[dir="rtl"] .section-newsletter-2 input {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .section-newsletter-2 .form-newsletter .wrap {
    direction: rtl;
}

html[dir="rtl"] .section-newsletter-2 .form-newsletter.style-1 .tf-btn {
    right: auto;
    left: 4px;
}

html[dir="rtl"] .section-newsletter-2 .form-newsletter.style-1 input {
    padding-right: 24px;
    padding-left: 150px;
}

html[dir="rtl"] .section-newsletter-2 .trust p {
    text-align: right;
}

html[dir="rtl"] .footer-body .row {
    direction: rtl;
}

html[dir="rtl"] .footer-menu-list {
    direction: rtl;
}

html[dir="rtl"] .accordion-item .heading {
    flex-direction: row-reverse;
}

html[dir="rtl"] .section-faqs-1 .faq-answer-text {
    direction: rtl;
    text-align: left;
}

html[dir="rtl"] .heading-section.style-1 .row {
    flex-direction: row-reverse;
    align-items: center;
}

html[dir="rtl"] .heading-section.style-1 .col-lg-5 {
    text-align: left;
}

html[dir="rtl"] .wrap-footer-bottom {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-bottom .wrap {
    flex-direction: row-reverse;
}

/* ── Testimonials Marquee ── */
.section-tes-marquee {
    background-color: var(--Secondary);
    padding: 100px 0 90px;
    overflow: hidden;
}

.section-tes-marquee .heading-section .sub {
    color: var(--Primary) !important;
}

.section-tes-marquee .heading-section .title,
.section-tes-marquee .heading-section .desc {
    color: #fff;
}

.tes-marquee-row {
    overflow: hidden;
}

.tes-marquee-row + .tes-marquee-row {
    margin-top: 20px;
}

.tes-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: tes-scroll-left 55s linear infinite;
}

.tes-marquee-track.tes-reverse {
    animation: tes-scroll-right 55s linear infinite;
}

.tes-marquee-row:hover .tes-marquee-track {
    animation-play-state: paused;
}

@keyframes tes-scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes tes-scroll-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.tes-card {
    width: 360px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 28px 28px 24px;
    transition: border-color 0.35s, background 0.35s;
    user-select: none;
}

.tes-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 159, 37, 0.6);
}

.tes-card-quote {
    font-size: 28px;
    color: var(--Primary);
    line-height: 1;
    margin-bottom: 12px;
}

.tes-card-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.tes-card-stars i {
    font-size: 13px;
    color: var(--Primary);
}

.tes-card-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 20px;
}

.tes-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.tes-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(212, 159, 37, 0.4);
}

.tes-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tes-card-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 3px;
    line-height: 1.2;
}

.tes-card-meta {
    font-size: 12px;
    color: var(--Primary);
    margin: 0;
}

@media (max-width: 767px) {
    .section-tes-marquee {
        padding: 60px 0;
    }
    .tes-card {
        width: 280px;
        padding: 22px 18px 18px;
    }
}
