:root {
    --primary-default: #02025b;
    --primary-300: #8991CF;
    --secondary-default: #44AEA5;
    --secondary-200: #D2E3E2;
    --natural-white: #FFF;
    --natural-black: #000;
    --natural-400: #727780;
    --gray-primary: #727780;
    --text-placeholder: #727780;
    --star-active: #FFAE17;
    --star-inactive: #E7E9F5;
    --type-font-family-primary: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --type-font-family-secondary: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --type-font-family-Landing-Page---Title-Font: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --fontsize-body-xs: 10px;
    --fontsize-body-sm: 12px;
    --fontsize-body-base: 14px;
    --fontsize-body-md: 16px;
    --fontsize-body-lg: 18px;
    --fontsize-body-xl: 18px;
    --fontsize-heading-sm: 20px;
    --fontsize-heading-md: 24px;
    --fontsize-heading-lg: 32px;
    --fontsize-heading-xl: 40px;
    --fontsize-heading-h2: 48px;
    --fontsize-heading-h3: 40px;
    --fontsize-heading-h4: 32px;
    --fontsize-heading-journey: 20px;
    --lineheight-tight: 1em;
    --lineheight-normal: 1.2em;
    --lineheight-relaxed: 1.5625em;
    --line-height-body-lg: 25px;
    --line-height-body-md: 23px;
    --line-hieght-body-md: 17px
}

/* Direction handling for Arabic and English */
html[lang="ar"],
html[lang="arabic"] {
    direction: rtl;
    text-align: right;
    font-family: var(--type-font-family-secondary);
}

html[lang="en"],
html[lang="english"] {
    direction: ltr;
    text-align: left;
}

/* Force English font for specific classes on English pages */
html[lang="en"] .body-text-lg,
html[lang="en"] .body-text-lg-bold,
html[lang="english"] .body-text-lg,
html[lang="english"] .body-text-lg-bold {
    font-family: var(--type-font-family-primary, 'Lato') !important;
}

/* RTL specific adjustments for Arabic */
html[lang="ar"] body,
html[lang="arabic"] body {
    direction: rtl;
    text-align: right;
}

html[lang="ar"] .text-left,
html[lang="arabic"] .text-left {
    text-align: right;
}

html[lang="ar"] .text-right,
html[lang="arabic"] .text-right {
    text-align: right;
}

/* RTL-aware padding classes */
.rtl-padding {
    padding-left: 1rem;
    padding-right: 1rem;
}

html[lang="ar"] .rtl-padding,
html[lang="arabic"] .rtl-padding {
    padding-left: 1rem;
    padding-right: 1rem;
}

.rtl-content-padding {
    padding-left: 41px;
    padding-right: 0;
}

html[lang="ar"] .rtl-content-padding,
html[lang="arabic"] .rtl-content-padding {
    padding-left: 0;
    padding-right: 41px;
}

/* RTL positioning rules */
html[lang="ar"] .rtl\:left-auto,
html[lang="arabic"] .rtl\:left-auto {
    left: auto !important;
}

html[lang="ar"] .rtl\:right-0,
html[lang="arabic"] .rtl\:right-0 {
    right: 0 !important;
}

/* RTL positioning for elements with both classes */
html[lang="ar"] .rtl\:left-auto.rtl\:right-0,
html[lang="arabic"] .rtl\:left-auto.rtl\:right-0 {
    left: auto !important;
    right: 0 !important;
}

/* RTL margin rules */
html[lang="ar"] .mr-auto,
html[lang="arabic"] .mr-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

/* RTL mobile menu positioning */
html[lang="ar"] .mobile-menu,
html[lang="arabic"] .mobile-menu {
    left: -100%;
    right: auto;
    border-left: none;
    border-right: 1px solid #e5e7eb;
}

html[lang="ar"] .mobile-menu.left-0,
html[lang="arabic"] .mobile-menu.left-0 {
    left: 0;
}

html[lang="ar"] .mobile-menu.-left-full,
html[lang="arabic"] .mobile-menu.-left-full {
    left: -100%;
}

/* Background rotation animation */
@keyframes rotate-bg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rotate-background {
    position: relative;
}

.rotate-background-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -100;
    animation: rotate-bg 30s linear infinite;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rotate-background-layer.desktop {
    width: 100%;
    background-image: url('../images/layer-png.png');
    max-height: 100%;
    object-fit: contain;
    background-position: 50% 50%;
}

.rotate-background-layer.mobile {
    background-image: url('../images/layer2.svg');
    background-size: contain;
    background-position: 50% 50%;
    width: 100%;
    max-height: 60%;
    transform-origin: center center;
}

.bg-primary-default {
    background-color: var(--primary-default)
}

.bg-secondary-default {
    background-color: var(--secondary-default)
}

.bg-secondary-200 {
    background-color: var(--secondary-200)
}

.bg-primary-300 {
    background-color: var(--primary-300)
}

.text-primary-default {
    color: var(--primary-default)
}

.text-secondary-default {
    color: var(--secondary-default)
}

.text-secondary-200 {
    color: var(--secondary-200)
}

.text-primary-300 {
    color: var(--primary-300)
}

.text-natural-black {
    color: var(--natural-black, #000)
}

.text-natural-white {
    color: var(--natural-white, #fff)
}

.text-gray-primary {
    color: var(--gray-primary, #727780)
}

.text-natural-400 {
    color: var(--natural-400, #727780)
}

.text-placeholder {
    color: var(--text-placeholder, #727780)
}

.text-star-active {
    color: var(--star-active, #ffae17)
}

.text-star-inactive {
    color: var(--star-inactive, #e7e9f5)
}

.font-primary {
    font-family: var(--type-font-family-primary, Lato)
}

.font-secondary {
    font-family: var(--type-font-family-secondary, 'Cairo')
}

.font-landing-title {
    font-family: var(--type-font-family-Landing-Page---Title-Font, 'Palatino Linotype')
}

.text-body-xs {
    font-size: var(--fontsize-body-xs, 10px)
}

.text-body-sm {
    font-size: var(--fontsize-body-sm, 12px)
}

.text-body-base {
    font-size: var(--fontsize-body-base, 14px)
}

.text-body-md {
    font-size: var(--fontsize-body-md, 16px)
}

.text-body-lg {
    font-size: var(--fontsize-body-lg, 18px)
}

.text-body-xl {
    font-size: var(--fontsize-body-xl, 18px)
}

.text-heading-sm {
    font-size: var(--fontsize-heading-sm, 20px)
}

.text-heading-md {
    font-size: var(--fontsize-heading-md, 24px)
}

.text-heading-lg {
    font-size: var(--fontsize-heading-lg, 32px)
}

.text-heading-xl {
    font-size: var(--fontsize-heading-xl, 40px)
}

.text-heading-h2 {
    font-size: var(--fontsize-heading-h2, 48px)
}

.text-heading-h3 {
    font-size: var(--fontsize-heading-h3, 40px)
}

.text-heading-h4 {
    font-size: var(--fontsize-heading-h4, 32px)
}

.text-heading-journey {
    font-size: var(--fontsize-heading-journey, 20px)
}

.tracking-custom {
    letter-spacing: .48px
}

.tracking-wide-1 {
    letter-spacing: 1%
}

.tracking-h4 {
    letter-spacing: .32px
}

.tracking-h3 {
    letter-spacing: .4px
}

.leading-tight-1 {
    line-height: var(--lineheight-tight, 1em)
}

.leading-normal-1 {
    line-height: var(--lineheight-normal, 1.2em)
}

.leading-relaxed-1 {
    line-height: var(--lineheight-relaxed, 1.5625em)
}

.leading-body-lg {
    line-height: var(--line-height-body-lg, 25px)
}

.leading-body-md {
    line-height: var(--line-height-body-md, 23px)
}

.leading-h3 {
    line-height: 40px
}

.leading-journey-label {
    line-height: 2.083em
}

.leading-journey-heading {
    line-height: 1.25em
}

.leading-journey-body {
    line-height: 1.643em
}

.leading-testimonial {
    line-height: 1.6875em
}

.leading-testimonial-name {
    line-height: 1.171875em
}

.font-light {
    font-weight: 300
}

.font-normal {
    font-weight: 400
}

.font-medium {
    font-weight: 500
}

.font-semibold {
    font-weight: 600
}

.font-bold {
    font-weight: 700
}

.font-extrabold {
    font-weight: 800
}

.font-black {
    font-weight: 900
}

.text-left {
    text-align: left
}

.text-center {
    text-align: center
}

.text-right {
    text-align: right
}

.leading-none {
    line-height: 1
}

.leading-tight {
    line-height: 1.25
}

.leading-snug {
    line-height: 1.375
}

.leading-normal {
    line-height: 1.5
}

.leading-relaxed {
    line-height: 1.625
}

.leading-loose {
    line-height: 2
}

.body-text-lg,
.body-text-lg-bold {
    color: var(--natural-black, #000);
    font-family: var(--type-font-family-secondary, 'Cairo');
    font-size: var(--fontsize-body-md, 16px);
    font-style: normal;
    line-height: var(--line-height-body-lg, 25px)
}

.mb-1 {
    margin-bottom: 3px
}

.mb-2 {
    margin-bottom: 6px
}

.mb-12,
.mb-3 {
    margin-bottom: 12px
}

.mb-4 {
    margin-bottom: 16px
}

.mb-6 {
    margin-bottom: 24px
}

.mb-20 {
    margin-bottom: 20px
}

.uppercase {
    text-transform: uppercase
}

.lowercase {
    text-transform: lowercase
}

.capitalize {
    text-transform: capitalize
}

.tracking-tight {
    letter-spacing: -.025em
}

.tracking-normal {
    letter-spacing: 0
}

.tracking-wide {
    letter-spacing: .025em
}

.tracking-wider {
    letter-spacing: .05em
}

.tracking-widest {
    letter-spacing: .1em
}

.body-text-lg {
    font-weight: 300
}

.body-text-lg-bold {
    font-weight: 700
}

/* Local fonts are now loaded via fonts.css */
body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    margin: 0;
    font-family: var(--type-font-family-primary);
    /* padding-top: 80px */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.dropdown-arrow,
.faq-icon {
    transition: transform .2s
}

.dropdown-arrow.active {
    transform: rotate(180deg)
}

.hamburger-line {
    transition: .3s;
    transform-origin: center
}

.hamburger-active .hamburger-line:first-child {
    transform: rotate(45deg) translate(5px, 5px)
}

.hamburger-active .hamburger-line:nth-child(2) {
    opacity: 0
}

.hamburger-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px)
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s
}

.mobile-dropdown.active {
    max-height: 500px
}

.faq-icon.rotate-45 {
    transform: rotate(45deg)
}

.faq-answer {
    transition: opacity .2s, max-height .2s;
    overflow: hidden
}

.faq-answer.hidden {
    opacity: 0;
    max-height: 0
}

.faq-answer:not(.hidden) {
    opacity: 1;
    max-height: 200px
}

.testimonials-swiper {
    width: 100%;
    padding: 0 20px 20px !important
}

.testimonials-swiper .swiper-slide {
    display: flex;
    height: auto;
    justify-content: center;
    align-items: stretch
}

.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    color: var(--primary-default, #02025b);
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    transition: .3s
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15)
}

.testimonials-swiper .swiper-pagination {
    position: relative;
    margin-top: 74px
}

.testimonials-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #E7E9F5;
    opacity: 1;
    transition: .3s
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: #5D5DC6;
    transform: scale(1.2)
}

@media (max-width:768px) {
    .testimonials-swiper {
        padding: 0 20px 30px !important
    }

    .testimonials-swiper .swiper-button-next,
    .testimonials-swiper .swiper-button-prev {
        width: 40px;
        height: 40px
    }

    .testimonials-swiper .swiper-button-next::after,
    .testimonials-swiper .swiper-button-prev::after {
        font-size: 14px
    }
}

.grecaptcha-badge {
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    width: max-content !important
}

.grecaptcha-badge iframe {
    width: max-content !important
}

.swiper-pagination .swiper-pagination-bullet:nth-child(1):not(.swiper-pagination-bullet-active) {
    transform: scale(0.95);

}

.swiper-pagination .swiper-pagination-bullet:nth-child(2):not(.swiper-pagination-bullet-active) {
    transform: scale(0.9);
}

.swiper-pagination .swiper-pagination-bullet:nth-child(3):not(.swiper-pagination-bullet-active) {
    transform: scale(0.7);
}

.swiper-pagination .swiper-pagination-bullet:nth-child(4):not(.swiper-pagination-bullet-active) {
    transform: scale(0.6);
}

.swiper-pagination .swiper-pagination-bullet:nth-child(5):not(.swiper-pagination-bullet-active) {
    transform: scale(0.5);
}

.customeScroll::-webkit-scrollbar-thumb {
    background-color: #02025b;
    border-radius: 0px;
    width: 0px;
    height: 0px;
    cursor: pointer;
    transition: all 0.3s ease;

    &:hover {
        background-color: #8991CF;
    }
}

.customeScroll::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 0px;
    width: 0px;
    height: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.customeScroll::-webkit-scrollbar-track-piece {
    background-color: #fff;
    border-radius: 0px;
    width: 0px;
    height: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.customeScroll::-webkit-scrollbar-corner {
    background-color: #fff;
    border-radius: 0px;
    width: 0px;
    height: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.customeScroll::-webkit-resizer {
    background-color: #fff;
    border-radius: 0px;
    width: 0px;
    height: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
}