* {
    box-sizing: border-box;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* global classes */
:root {
    --primary-color: #9b5de5;
    --primary-color-100: #faf6ff;
    --primary-color-900: #51258d;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

.small-title {
    font-size: 22px;
    font-weight: 600;
}

.large-title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;

    @media (min-width: 991px) {
        font-size: 28px;
        line-height: 36px;
        font-weight: 600;
        color: #2d2c2c;
    }
}

/* Gradient Background */
.bg-gradient {
    background: linear-gradient(270deg,
            var(--primary-color) 10.33%,
            var(--primary-color-900) 175.67%);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(270deg,
            var(--primary-color) 10.33%,
            var(--primary-color-900) 175.67%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Color Utilities */
.text-gray {
    color: #606060;
}

.primary-100 {
    color: #faf6ff;
}

.bg-primary-100 {
    background-color: #faf6ff;
}

.primary-900 {
    color: #51258d;
}

.bg-primary-900 {
    background-color: #51258d;
}

/* Footer Gradient Background */
.footer-gradient {
    background: linear-gradient(270deg, #9b5de5 10.33%, #2d1b4e 175.67%);
}

body {
    font-family: "Tajawal", sans-serif;
}

/* start nav  */
.nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav--scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
    position: relative;
    transition: padding 0.3s ease;
}

.nav--scrolled .nav__container {
    padding-top: 0px;
    padding-bottom: 0px;
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav__burger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color-900);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav__burger.active span:nth-child(2) {
    opacity: 0;
}

.nav__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav__desktop-links {
    display: none;
}

.nav__desktop-btn {
    display: none;
}

.nav__overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    z-index: 999;
}

.nav__overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav__sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.nav__sidebar.active {
    right: 0;
}

.nav__sidebar-content {
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 100%;
    box-sizing: border-box;
}

.nav__links {
    display: flex;
    gap: 16px;
}

.nav__sidebar .nav__links {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: stretch;
}

.nav__links li a {
    display: block;
    padding: 4px 12px;
    transition: color 0.2s ease;
}

.nav__sidebar .nav__links li {
    width: 100%;
    text-align: center;
}

.nav__sidebar .nav__links li a {
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.nav__links li:hover a {
    color: var(--primary-color-900);
}

.nav__sidebar .nav__links li:hover a {
    background-color: var(--primary-color-100);
}

.nav__btn {
    width: 161px;
    height: 48px;
    opacity: 1;
    border-radius: 16px;
    padding: 8px 16px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.nav__btn:hover {
    opacity: 0.9;
}

/* Responsive styles */
@media (max-width: 991px) {
    .nav__burger {
        display: flex;
    }

    .nav__desktop-links,
    .nav__desktop-btn {
        display: none;
    }
}

@media (min-width: 991px) {
    .nav__desktop-links {
        display: flex;
    }

    .nav__desktop-btn {
        display: flex;
    }

    .nav__sidebar,
    .nav__overlay,
    .nav__burger {
        display: none;
    }
}

/* end nav  */
.hero__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 32px;
    padding-top: 40px;
    background: url("../images/hero-stars.svg");

    @media (min-width: 991px) {
        flex-direction: row;
    }
}

.hero__content h1 {
    font-weight: 600;
    max-width: 19ch;
    margin-bottom: 32px;
    text-align: center;
    font-size: 44px;
    line-height: 1.4;

    @media (min-width: 991px) {
        text-align: start;
        font-size: 42px;
    }
}

.hero__content p {
    max-width: 32ch;
    margin-bottom: 44px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 20px;

    @media (min-width: 991px) {
        text-align: start;
        font-size: 26px;
    }
}

.hero__content .hero__btn {
    font-size: 20px;
    font-weight: bold;
    margin-top: 24px;
    margin: auto;
    width: 161px;
    height: 48px;
    opacity: 1;
    border-radius: 16px;
    padding: 8px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;

    @media (min-width: 991px) {
        margin: 0;
    }
}

.hero__image {
    display: flex;
    gap: 0;
    align-items: end;
    justify-content: end;
    position: relative;
    max-width: 100%;
    margin-bottom: 20px;
}

.hero__image::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: -20px;
    width: 120%;
    height: 200px;
    /* background: linear-gradient(to top, #FFFFFF, #FFFFFF00); */
    pointer-events: none;
    background: linear-gradient(179.83deg,
            rgba(253, 253, 253, 0) 42.78%,
            rgba(253, 253, 253, 0.5) 56.47%,
            #fdfdfd 78.93%);

    z-index: 5;

    @media (min-width: 991px) {
        height: 500px;
    }
}

.hero__image img {
    height: auto;
    max-height: 300px;
    object-fit: contain;
    box-shadow: 0px -2px 16px 0px #00000029;
    border-radius: 16px;

    @media (min-width: 414px) {
        max-height: 380px;
    }

    @media (min-width: 768px) {
        max-height: 400px;
    }

    @media (min-width: 991px) {
        max-height: 600px;
    }
}

.hero__image img:nth-child(1) {
    margin-inline-end: -50px;
    z-index: 2;
    position: relative;
    max-height: 280px;
    height: auto;

    @media (min-width: 414px) {
        max-height: 360px;
    }

    @media (min-width: 768px) {
        height: auto;
        max-height: 370px;
    }

    @media (min-width: 991px) {
        height: auto;
        max-height: 580px;
    }
}

/* end-hero */
/* start-about-us  */
.about-us__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 56px;
    padding-bottom: 56px;

    @media (min-width: 991px) {
        grid-template-columns: 320px 1fr;
    }
}

.about-us__image {
    background: #f5f5f5;
    padding: 32px;
    border-radius: 16px;
}

.about-us__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-us__content p {
    font-weight: 400;
    color: #606060;
    font-size: 18px;
    line-height: 28px;

    @media (min-width: 991px) {
        font-size: 20px;
        line-height: 36px;
    }
}

/* end-about-us  */
/* start-our-services  */
.our-services {
    padding-top: 56px;
    padding-bottom: 56px;
    background: var(--primary-color-100);
}

.our-services__items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 56px;

    @media (min-width: 414px) {
        grid-template-columns: 1fr 1fr;
    }

    @media (min-width: 768px) {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    @media (min-width: 991px) {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.our-services__item {
    background: #fff;
    padding: 22px 24px;
    border-radius: 24px;
}

.our-services__item img {
    width: 64px;
    height: 64px;

    @media only screen and (min-width: 768px) {
        width: 108px;
        height: 108px;
    }
}

.our-services__item h4 {
    font-size: 16px;
    color: #2d2c2c;
    font-weight: 600;
    margin-bottom: 10px;

    @media (min-width: 991px) {
        font-size: 22px;
    }
}

.our-services__item p {
    font-size: 14px;
    line-height: 20px;
    color: #606060;
    font-weight: 400;
    margin: 0;

    @media (min-width: 991px) {
        font-size: 18px;
        line-height: 30px;
    }
}

/* end-our-services  */
/* start-how-to-start  */
.how-to-start {
    padding-top: 56px;
    padding-bottom: 56px;
}

.how-to-start__container>p {
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-size: 18px;
    line-height: 28px;
    color: #606060;
    font-weight: 400;

    @media (min-width: 991px) {
        font-size: 20px;
        line-height: 36px;
    }
}

.how-to-start__steps {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;

    @media (min-width: 991px) {
        grid-template-columns: repeat(4, 1fr);
    }
}

.how-to-start__step {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    position: relative;

    @media (min-width: 991px) {
        flex-direction: column;
    }
}

.how-to-start__step-number {
    font-size: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-weight: 600;
    background: #f5f5f5;
}

.how-to-start__step:not(:first-child)::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 2px;
    height: calc(50% + 40px);
    top: -20px;
    right: 28px;
    background-image: repeating-linear-gradient(to bottom,
            #f5f5f5 0px,
            #f5f5f5 10px,
            transparent 10px,
            transparent 20px);

    @media (min-width: 991px) {
        background-image: repeating-linear-gradient(to right,
                #f5f5f5 0px,
                #f5f5f5 10px,
                transparent 10px,
                transparent 20px);
        width: calc(50% + 0px);
        height: 2px;
        top: 28px;
        left: calc(50% + 40px);
    }
}

.how-to-start__step:not(:last-child)::after {
    content: "";
    background-image: repeating-linear-gradient(to bottom,
            #f5f5f5 0px,
            #f5f5f5 10px,
            transparent 10px,
            transparent 20px);
    width: 2px;
    height: calc(50% + 40px);
    position: absolute;
    right: 28px;
    top: calc(50% + 28px);
    z-index: -1;

    @media (min-width: 991px) {
        background-image: repeating-linear-gradient(to right,
                #f5f5f5 0px,
                #f5f5f5 10px,
                transparent 10px,
                transparent 20px);
        width: calc(50% + 40px);
        height: 2px;
        top: 28px;
        right: 50%;
    }
}

.how-to-start__step-content {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 16px;
    flex: 1;
}

.how-to-start__step-content h4 {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #2d2c2c;
    margin-bottom: -10px;

    @media (min-width: 991px) {
        font-size: 20px;
        line-height: 36px;
    }
}

.how-to-start__step-content p {
    font-size: 18px;
    line-height: 36px;
    color: #606060;

    @media (min-width: 991px) {
        font-size: 16px;
        line-height: 24px;
    }
}

/* end-how-to-start  */
/* start-clients   */
.clients {
    padding-top: 56px;
    padding-bottom: 56px;
    background: var(--white);
}

.clients__container>p {
    font-size: 18px;
    line-height: 28px;
    color: #606060;
    font-weight: 400;
    margin-bottom: 40px;

    @media (min-width: 991px) {
        font-size: 20px;
        line-height: 36px;
    }
}

/* Marquee Styles */
.marquee {
    overflow: hidden;
    direction: rtl;
    width: 100%;
    user-select: none;
}

.clients__marquee_wrapper {
    position: relative;
}

.clients__marquee_wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 10%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(253, 253, 253, 0) 0%,
            rgba(253, 253, 253, 0.8) 46.4%,
            rgba(253, 253, 253, 0.9) 90%);

    transform: scale(-1);
    z-index: 1;
}

.clients__marquee_wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(253, 253, 253, 0) 0%,
            rgba(253, 253, 253, 0.8) 46.4%,
            rgba(253, 253, 253, 0.9) 90%);

    z-index: 1;
}

.marquee::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.marquee__container {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
    will-change: transform;
}

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

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.marquee__slide {
    flex: 0 0 auto;
    min-width: 0;
}

.marquee__slide img {
    display: block;
    border-radius: 12px;
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;

    @media (min-width: 991px) {
        width: 120px;
        height: 120px;
    }
}

/* end-clients  */
/* start-faqs  */
.faq {
    padding-top: 56px;
    padding-bottom: 56px;
    background: var(--primary-color-100);
}

.faq__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;

    @media (min-width: 991px) {
        grid-template-columns: 450px 1fr;
    }
}

.faq__content>p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: start;
    color: #606060;

    @media (min-width: 991px) {
        font-size: 20px;
        line-height: 36px;
    }
}

.faq__contact-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 24px;
}

.faq__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;

    @media (min-width: 991px) {
        width: 100px;
        height: 100px;
    }
}

.faq__contact:hover {
    transform: scale(1.05);
}

.faq__popover {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;
    transform: translateY(-8px);
    background: white;
    color: #2d2c2c;
    padding: 12px 20px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
    font-size: 14px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

.faq__popover::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid white;
}

.faq__contact-wrapper:hover .faq__popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.faq__items {
    display: flex;
    flex-direction: column;
    gap: 12px;

    @media (min-width: 991px) {
        gap: 24px;
    }
}

.faq__item {
    display: flex;
    flex-direction: column;
    background: #fdfdfd;
    padding: 24px;
    border-radius: 16px;
    overflow: hidden;

    @media (min-width: 991px) {
        padding: 24px;
    }
}

.faq__item-question {
    display: grid;
    grid-template-columns: 56px 1fr 20px;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.faq__chevron {
    width: 20px;
    height: auto;
    transition: transform 0.3s ease;
    transform: rotate(180deg);
}

.faq__item.active .faq__chevron {
    transform: rotate(0deg);
}

.faq__item-question h4 {
    margin: 0;
}

.faq__item-question h4:nth-of-type(1) {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;

    @media (min-width: 991px) {
        font-size: 20px;
    }
}

.faq__item-question h4:nth-of-type(2) {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #2d2c2c;

    @media (min-width: 991px) {
        font-size: 20px;
    }
}

.faq__item-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        padding-top 0.4s ease,
        padding-bottom 0.4s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.faq__item.active .faq__item-answer {
    padding-top: 16px;
    padding-bottom: 0;
}

.faq__item-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: #606060;

    @media (min-width: 991px) {
        font-size: 18px;
        line-height: 28px;
    }
}

/* end-faqs  */
/* start-footer  */
.footer {
    color: #fff;
    padding-top: 56px;
    padding-bottom: 56px;
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;

    @media (min-width: 768px) {
        grid-template-columns: 1fr 1fr;
    }

    @media (min-width: 991px) {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.footer__container div:nth-of-type(1)>p {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    max-width: 25ch;
}

.footer__container div h5 {
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
}

.footer__container div ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-weight: 400;
}

.footer__container div ul a {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* end-footer  */
/* start-copy-rights   */
.copy-rights {
    background-color: var(--primary-color-900);
    color: #fff;
    padding: 12px 0;
    text-align: center;
}

/* end-copy-rights   */