@import './AE.css';


:root {
    --darkBg: rgba(14, 7, 19, 1);
    --cardBg: rgba(13, 13, 13, 1);
    --inputBG: rgba(255, 255, 255, 0.05);
    --text-white: rgba(255, 255, 255, 1);
    --Gray: rgba(255, 255, 255, 0.7);
    --mainColor: rgba(128, 0, 0, 1);
    --mainColor20: rgba(128, 0, 0, .2);
    --mainColor08: rgba(128, 0, 0, 0.08);
    --secondColor: rgba(0, 127, 128, 1);
    --secondColor20: rgba(0, 127, 128 0.2);
    --secondColor08: rgba(0, 127, 128, 0.08);
    --borderColor: rgba(255, 255, 255, 0.1);
    --gra: linear-gradient(90deg, rgba(180, 82, 237, 1) 0%, rgba(30, 201, 208, 1) 100%);
    --yellow: rgba(255, 190, 76, 1);
    --radius: 8px;
    --ts: 300ms ease-in-out;
    --tl: 500ms ease-in-out;
}
html[data-theme="light"]{
    --darkBg: rgba(251, 250, 248, 1);
    --text-white: rgba(13, 13, 13, 1);
    --Gray:rgba(13, 13, 13, 0.7);
    --inputBG:rgba(13, 13, 13, 0.02);
    --border-color:rgba(13, 13, 13, 0.05);
    --cardBg:rgb(253, 253, 253);
    --white: rgba(255, 255, 255, 1);
}
@font-face {
    font-family: 'Sen';
    src: url('../webfonts/MiSansArabic-Regular.woff2');
    font-style: swap;
    font-weight: 400;
}

@font-face {
    font-family: 'Sen';
    src: url('../webfonts/MiSansArabic-Bold.woff2');
    font-style: swap;
    font-weight: 700;
}

* {
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
  }

body {
    font-family: 'Sen';
    margin: 0;
    padding: 0;
    background-color: var(--darkBg);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

menu {
    list-style: none;
    padding-inline-start: 0;
}

figure {
    margin-block: 0;
    margin-inline: 0;
}

a {
    color: var(--Gray);
    text-transform: capitalize;
}

.btn-rounded {
    border-radius: 100px;
    background-color: var(--mainColor);
    transition: var(--ts);
    position: relative;
    overflow: hidden;
    z-index: 2;

    &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 100%;
        background-color: var(--secondColor);
        transition: var(--ts);
        z-index: -1;
    }

    span {
        display: inline-block;
    }

    a, i, span {
        transition: var(--ts);
        color: var(--white);

    }

    a, span {
        padding: 12px 20px;
    }

    &.btn-icon {
        i {
            padding: 12px 20px;
            scale: 1.3;
        }
    }

    &:hover, &.active {
        background-color: var(--secondColor);

        a, i, span {
            color: var(--white);
        }
    }

    &.isBorder {
        border: 1px solid var(--mainColor);
        background-color: transparent;
        .colorW{
            color: var(--white);
        }
        a, i, span {
            color: var(--text-white);
        }

        &::before {
            background-color: var(--cardBg);
        }

        &:hover, &.active {

            a, i, span,.colorW {
                color:  var(--text-white);
            }
        }
    }

    &:hover, &.active, &.isBorder:hover {
        &::before {
            left: auto;
            right: 0;
            width: 100%;
        }

    }

    &:hover {
        scale: .95;

        a, i, span {
            color: var(--white);
        }
    }

    &.active {
        scale: 1;
        cursor: text;

    }
}

.mainHeading {
    width: min(700px, 100%);
    margin-inline: auto;


    span {
        color: var(--secondColor);
        &.highlight {
            color: var(--mainColor);
     
        }
    }

    h2 {
        font-size: clamp(2.5rem, 2.143rem + 0.952vw, 3rem);
        text-wrap-style: balance;
        line-height: 1.3;
        margin-bottom: .5rem;
    }

    p {
        color: var(--Gray);
        font-size: 1.1rem;
        line-height: 1.6;
    }

    &.center {
        text-align: center;

    }
}

main {
    position: relative;
    z-index: 1;
}


h1, h2, h3, h4 {
    color: var(--text-white);
}

/* header */
header {
    background-color: var(--darkBg);
    &.scroll {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        animation: fixed 1s ease-in-out forwards;
        z-index: 99999;
        background-color: transparent;
        nav {
            background-color: var(--cardBg);
            margin-top: 8px;
            padding-inline: 18px;
            border-radius: 999px;
            box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
            .logo {
                /* width: 60px; */
            }
        }
    }
    .list {
        background-color: transparent;

        @media(max-width:991px) {
            &#mobileList {
                background-color: var(--cardBg);
                font-size: 1.2rem;
                translate: -280px 0;
                opacity: 0;
                scale: .8;
                transition: translate 500ms ease-out, opacity 500ms ease-in-out, display allow-discrete 500ms ease-out, overlay allow-discrete 500ms ease-out, scale 500ms ease-in-out;

                li {
                    position: relative;

                    a {
                        padding-inline-start: 30px;
                    }

                    &::before {
                        content: '';
                        position: absolute;
                        bottom: -20px;
                        left: 50%;
                        transform: translateX(-50%);
                        opacity: .2;
                        width: 90%;
                        height: 1px;
                        background-color: var(--gray);
                    }
                }

                &::backdrop {
                    background-color: var(--cardBg);
                    opacity: 0;
                    transition: var(--tl);

                }

                &:popover-open {
                    /* display: flex; */
                    translate: 0 0;
                    opacity: 1;
                    scale: 1;

                    &::backdrop {
                        opacity: .3;
                    }
                }
                &:not(:popover-open){
                    display: none;
                }

            }
        }
    }

    .langBtn {
        anchor-name: --langBtn;
    }

    #langList {
        position-anchor: --langBtn;
        top: calc(anchor(bottom) + 5px);
        inset-inline-start: calc(anchor(left) + 10px);
        padding: 16px;
        background-color: var(--cardBg);
        border-radius: 6px;
        font-size: 1.05rem;
        width: min(100%, 100px);
        opacity: 0;
        scale: .5;
        transition: opacity 500ms ease-in-out, display allow-discrete 500ms ease-out, scale 500ms ease-in-out, overlay allow-discrete 500ms ease-out;

        &:popover-open {
            opacity: 1;
            scale: 1;
        }

        a {
            transition: var(--ts);

            &:hover {
                color: var(--mainColor);
            }
        }
    }
}
section:not(.hero){
    scroll-margin-block-start: 200px;
}
@starting-layer {
    header #mobileList:popover-open {
        translate: -240px 0;
        opacity: 0;
        scale: .8;

        &:backdrop {
            opacity: 0;
        }
    }

    header #langList:popover-open {

        opacity: 0;
        scale: .5;


    }
}

/* hero */
.hero {
    scale: 1;

    .d-grid {
        grid-template-columns: 1fr 300px;

        figure {
            aspect-ratio: 1.3/2;

            img {
                /* border-radius: 999px; */


            }
        }


    }

    .HeroContent {
        .lineTop {
            p {
                color: var(--Gray);
                /* text-wrap-style:balance; */
            }
        }

        .lineBottom {
            figure {
                width: min(300px, 120px);
                aspect-ratio: 6/2;
                border-radius: 999px;
                margin-bottom: -30px;
            }

            img {

                object-fit: cover;
            }
        }

    }

    .heroTop {
        h1 {
            font-size: 6.8rem;

            &.spanColor, .spanColor {
                color: var(--mainColor);
            }
        }
    }

    .heroBottom {
        /* margin-top: -60px; */

        &.d-grid {
            grid-template-columns: 480px 1fr;
            /* gap: 16px; */
        }

        .img {
            &.d-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .HeroContent {
            padding-top: 30px;

            .lineBottom {
                img {
                    width: 200px;
                    aspect-ratio: 6/2;
                    /* display: inline-block; */
                    border-radius: 999px;
                    margin-bottom: -30px;
                    object-fit: cover;
                }
            }

            h1 {
                font-size: 3.8rem;

            }

            .cards {
                .card {
                    padding: 16px;

                    i {
                        color: var(--mainColor);
                        font-size: 1.8rem;
                        margin-bottom: 24px;
                    }

                    h2 {
                        font-size: 1.3rem;
                        margin-bottom: 12px;
                        font-weight: 400;
                    }

                    p {
                        font-size: 1rem;
                        color: var(--Gray);
                        line-height: 1.3;
                    }
                }
            }
        }
    }

    @media(max-width:991px) {

        .heroTop {
            &.d-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .ImgContainer {
                display: none;
            }

            .lineBottom {
                display: none;

            }

            .lineTop {
                flex-wrap: wrap;
                gap: 8px;

                p {
                    width: 100%;
                }
            }

            h1 {
                font-size: clamp(3.5rem, 1.357rem + 5.714vw, 6.5rem);
            }

        }

        .heroBottom {
            &.d-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .lineBottom {
                img {
                    display: none;
                }
            }
        }
    }
}

/*  */
.why {
    padding-block: 80px;
    
    h2 {
        font-size: clamp(2.5rem, 2.143rem + 0.952vw, 3rem);
    }
    p{
        color: var(--Gray);
    }
    .imgs {
        


        .subImg {
            /* aspect-ratio: 1.2/2.2; */
            aspect-ratio: 1;

            
        }

        
    }
}

/*  */
.about {
    background-color: var(--cardBg);
    padding-block: 80px;

    .mainHeading {
        margin-bottom: 48px;
    }

    /* .container {
        background: url('../img/shapes/map.svg') no-repeat;
        background-position: top center;
        background-size: cover;
        height: 100%;
        width: 100%;
    } */

    .factCard {

        padding: 16px;
        border-radius: 12px;
        border: .5px solid var(--borderColor);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, .2);
        display: flex;
        flex-direction: column;
        align-items: center;
        p{
            color: var(--Gray);
        }
    }
    

}
/*  */

/*  */
.Destinations {
    padding-block: 80px;

    .imgContainer {
        height: 525px;

        figure {
            height: 242.5px;

            &.fullHeight {
                height: 100%;
            }

            &.halfHeight {
                height: 262.5px;
            }

            &::before {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 60%;
                background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(26, 26, 26, .7) 100%);
                border-radius: 12px;
            }
        }

        .imgDetails {
            bottom: 20px;
            color: var(--text-whitehite);

            h3 {
                color: var(--text-whitehite);
            }
        }

        .imgRate {
            top: 20px;
            color: var(--text-white);
            background-color: var(--text-whitehite);

        }

        .imgRate, .imgDetails {
            inset-inline-start: 30px;
            z-index: 4;
        }
    }
}

/*  */
.about {
    padding-block: 80px;

    .gap-manuel {
        gap: 4rem;
    }

    .imgContainer {
        width: 100%;
        height: 100%;

        svg {
            width: 100%;
            height: 100%;

            #BigCricle {
                animation: 10s ease-in-out infinite moveSpin;
                transform-origin: center center;
            }

        }

        .modelImage {
            bottom: 57px;
            transform: translateX(-49%);

            img {
                scale: 1.2;
            }

            @media(max-width:480px) {
                bottom: 19px;
            }
        }

        .shapes_cards {
            top: 0;

            .largeCard, .smallCard {
                position: absolute;
                background-color: var(--text-whitehite);

                p {
                    color: var(--Gray);

                    i {
                        color: var(--mainColor);
                    }
                }

                figure {
                    box-shadow: 8px 9px 12px rgba(96, 97, 112, .2);
                }
            }

            


        }
    }

    .aboutContent {
        .card {
            border-color: var(--gray);

            h3 {
                color: var(--mainColor);

            }

            p {
                color: var(--Gray);
            }
        }
    }
}
/*  */

/* how  */

.features-content h3 {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--text-white);
}
.paction ,.doctor{
    padding-block: 40px;
    background-color: var(--mainColor08);
    padding-inline: 20px;
    border-radius: var(--radius);
}
.paction{
    margin-block: 30px;
    background-color: var(--secondColor08);
}
.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    color: var(--Gray);
}

.features-list li i {
    color: var(--mainColor);
    margin-left: 12px;
    font-size: 20px;
}

.features-image {
    aspect-ratio: 3/1.5;
    img{
        object-fit: cover;
        border-radius: var(--radius);
    }
}


/*  */
.download {
    padding-block-start: 80px;

    .container {
        height: 500px;
        background: linear-gradient(to right, rgba(128, 0, 0, .7) 21%, rgba(0, 0, 0, .3) 94%), url('../img/places/x.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        .colorW{
            color: var(--white);
        }
        .mainHeading {
            /* width: 100%; */
            padding-block-start: 180px;
            margin-inline: 50px;
            
            span ,h2 ,p{
                color: var(--white);
            }
            @media(max-width:991px) {
                width: auto;
            }
        }

        

        @media(max-width:767px) {
            .mainHeading {
                padding-block-start: 100px;
            }

            .filter {
                margin-top: 0;
                width: 100%;

            }
        }

        /* @media(max-width:480px){
            .mainHeading{
                padding-block-start: 100px;
            }
            .filter{
                margin-top: 40px;
                width: 100%;
                
            }
        } */
    }
}



/*  */
.Clients {
    padding-block: 80px;

    .swiper {
        padding-block: 80px;

        .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
            transition: var(--ts);
        }

        .swiper-pagination-bullet-active {
            background-color: var(--mainColor);
            width: 30px !important;
            height: 10px !important;
            border-radius: 6px;
        }
        .swiper-pagination-bullet {
            background-color: var(--Gray);
        }
    }

    .clientCard {
        background-color: var(--text-whitehite);

        p {
            color: var(--Gray);
        }

        .rate {
            i {
                color: #FFB525;
                font-size: 1.1rem;
            }
            span {
                color: var(--Gray);
            }
        }
    }
}
/*  */
/* تنسيق الأسئلة الشائعة */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    position: relative;
}

.faq-question::after {
    content: '\f107';
    font-family: 'Font Awesome 6 pro';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: .5rem;
    opacity: 1;
}

/* تأثيرات إضافية */
.faq-item:hover {
    /* transform: translateY(-2px); */
    transition: transform 0.3s ease;
}
.faq {
    padding: 80px 0;
    background-color: var(--cardBg);
}

.faq .mainHeading{
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    padding: 12px;
    background-color: var(--darkBg);
    border-radius: var(--radius);
    border: 1px solid var(--borderColor);
}

.faq-item h3 {
    font-size: 18px;
    /* margin-bottom: 16px; */
    color: var(--text-white);
}

.faq-item p {
    color: var(--Gray);
    line-height: 1.6;
}
/* footer */
footer {
    background-color: var(--cardBg);
    padding-block-start: 80px;

    .d-grid {
        justify-items: center;
        @media(max-width:991px){
            justify-items: start;
        }
    }

    .footerMeta {
        width: 100%;

        p {
            font-size: .96rem;
            color: var(--Gray);
        }

        .socialLinks {
            i {
                padding: 0;
                font-size: .9rem;
            }
        }
    }

    .footerLinks {
        margin-inline: 30px;

        h3 {
            font-size: 1.5rem;
        }

        ul {
            margin-top: 24px;
            padding-inline-start: 8px;

            a {
                transition: var(--ts);

                &:hover {
                    color: var(--mainColor);
                    letter-spacing: .1px;
                }
            }

            i {
                color: var(--mainColor);
            }
        }
    }

    .copyRight {
        border-top-color: rgba(255, 255, 255, 0.117);
        text-align: center;
        padding-block: 24px;
        margin-top: 20px;
        color: var(--Gray);
    }
}




/*  */
.preLoader {
    position: fixed;
    width: 100vw;
    height: 100%;
    background-color: #fff3de;
    inset: 0;
    z-index: 99999;
    overflow: hidden;



    figure {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        mask-image: url('../img/fav.svg');
        width: min(200px, 100%);
        aspect-ratio: 1;
        z-index:
            1;
        mask-size: contain;
        mask-position: center;
        mask-repeat: no-repeat;
        background-color: #d0c9bd;

        &::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: min(400px, 100%);
            aspect-ratio: 1;
            background-color: var(--mainColor);

            translate: 0 200px;
            animation: slideUp 1.5s forwards infinite;
        }
    }

    .counter {
        position: fixed;
        bottom: 80px;
        inset-inline-end: 100px;
        font-size: 5em;
        font-weight: 700;
    }
}

.swiper {
    width: 100%;
    height: 100%;
}

/* intro */
.intro {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    perspective: 500px;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 100%;

        background-color: #fff3de;
    }

    &::after {
        content: '';
        position: absolute;
        top: 62%;
        left: 57%;

        /* left: 60%; */

        transform: translate(-50%, -50%);
        width: 200px;
        height: 200px;
        background-image: url(../img/logo.svg);
        background-repeat: no-repeat;
        scale: 1.5;
        transform-origin: 50% 50%;

        background-image: url('../img/logoH.svg');
        background-repeat: no-repeat;

        @media(max-width:767px) {
            top: 63%;
            left: 72%;
        }

        @media(max-width:480px) {
            left: 80%;
        }
    }

    /* backdrop-filter: brightness(10) blur(30px); */
    img {
        object-position: center center;
    }
}

/*  */
.imgDownUp {
    translate: 0 5%;
    -webkit-clip-path: inset(100% 0 0 0);
    clip-path: inset(100% 0 0 0);
    opacity: 0;
    transition: 700ms ease-in-out;
}

.imgUpDown {
    translate: 0 -5%;
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transition: 700ms ease-in-out;
}

.fadeIn {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* lenis */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

@keyframes moveSpin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes moveSpinReviles {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(-180deg);
    }
}

@keyframes slideUp {
    0% {
        translate: 0 200px;
    }

    100% {
        translate: 0 0;
    }
}
@keyframes fixed {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}
/* //// */
 .contact-section .contactInfo .contactCard i{
 color:var(--mainColor);
    
}
.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--mainColor); 
  padding-bottom: 3rem;
}
.contactInfo{
margin-top: -6rem;
}
.contactForm {
  border-radius: 1rem;
  padding: 20px;
  margin: 50px 0;
}


.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.full-width {
  grid-column: span 2;
}

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

  .full-width {
    grid-column: span 1;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}
.form-label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-control {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}