/* *========> Root Variables <======== */
:root{
    --background-btn: #C3D600;
    --hover-btn: #01A1AD;
    --hover-dark-btn: #326580;
    --line-space: 1.875rem;
}
 /* *========> General <======== */
html{
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}  
body {
    direction: rtl;
    text-align: right;
    font-family: "Cairo", serif;
    overflow-x: hidden;
}
.first-section-paragraph{
    font-family: Cairo;
    font-size: 50px;
    font-weight: 700;
    line-height: 100px;
    text-align: right;
    color: rgba(249, 249, 249, 1);
}
.first-section-text{
    font-family: Cairo;
    font-size: 28px;
    font-weight: 400;
    line-height: 52.47px;
    text-align: right;
}
.anef-goal{
    text-align: right;
}
h1,h2,p{
    margin: 0;
}
.img-logo{
    width: 13%;
}
.image-width{
    width: 15%;
}
.icon-logo{
    width: 5%;
}
.background-img{
    width: 50%;
    position: absolute;
    left: 0;
    top: 80%;
}
.title-section{
    font-size: 38px;
    font-weight: 700;
    line-height: 71.21px;
    text-align: right;
    color: rgba(50, 101, 128, 1);
}
.paragraph-lines{
    font-family: Cairo;
    font-size: 24px;
    font-weight: 700;
    line-height: 37.9px;
    text-align: justify;
    color: rgba(27, 30, 29, 1);
    Opacity: 80%
}
.gap{
    gap: 3.125rem;
}
.icon-logo-title{
    width: 7%;
    margin-right: -1%;
}
.align{
    text-align: justify;
}
.change-en{
    cursor: pointer;
}
/* .word-space {
    word-spacing: -0.1rem;
    letter-spacing: -0.01em;
} */
/** Styling for Home Section  */
.container-fluid{
    padding-inline: 5rem;
}
.whats-up-img{
    position: fixed;
    width: 2.5%;
    left: 1.5%;
    top: 85%;
    z-index: 999999999;
}
.nav-header-wrapper {
    background-image: url('../assets/imgs/Hero-min.png');
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}
.navbar-toggler{
    color: white !important;
}
.menu-bar{
    color: white !important;
}
.navbar{
    --bs-navbar-padding-y: .9375rem;
}
.nav-link {
    display: block;
    padding: 30px !important;
    color: white;
}
.nav-link:hover, .nav-link:focus {
    color: white;
}
.flag{
    width: 4%;
    cursor: pointer;
}
/** Button Styling */
.animated-button {
    position: relative;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: var(--background-btn);
    border: none;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease-in-out;
}
/** Animation Effect */
.animated-button::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10%;
    height: 100%;
    background-color: var(--hover-btn);
    z-index: 0;
    transition: width 1.8s ease-in-out;
    border-radius: 20px;
}

.animated-button:hover::before {
    width: 100%;
}

.animated-button:hover {
    color: #fff;
}

/** Button Styling */
.animated-button-2 {
    position: relative;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    border: 2px solid white;
    background-color: transparent;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
/** Animation Effect */
.animated-button-2::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10%;
    height: 100%;
    background-color: var(--hover-btn);
    z-index: 0;
    transition: width 1.8s ease-in-out;
    border-radius: 20px;
}

.animated-button-2:hover::before {
    width: 100%;
}
.animated-button-2:hover i {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.animated-button-2:hover {
    color: #fff;
}
.animated-button-2 i {
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.icon-2 {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}
.icon-1 {
    opacity: 1;
    transform: scale(1);
}

.space{
    text-align: center;
}
span{
    position: relative;
    z-index: 99;
}
.hover{
    cursor: pointer;
    padding: 30px;
    transition: background-color 3s 1s linear;
    position: relative;
}
.hover:hover{
    background-color: var(--hover-dark-btn);
}
li{
    position: relative;
    cursor: pointer;
}
.active::after{
    content: '';
    position: absolute;
    top: 75%;
    left: 27%;
    width: 45%;
    height: 2%;
    background-color: var(--background-btn);
}
.active{
    color: var(--background-btn) !important;
    font-weight: bold;
}
.hos-image-wrapper{
    width: 40%;
}
.top-space{
    margin-top: 4.375rem;
}
.social{
    cursor: pointer;
    padding: 30px;
    transition: background-color 3s 1s linear;
    position: relative;
}
.anef-goal{
    font-size: 40px;
    font-weight: 400;
    color: white;
}
.hidden-section-left {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 1s ease-in-out;
}  
.hidden-section-left.show {
    opacity: 1;
    transform: translateX(0);
    transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out;
}  
.hidden-section-right{
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 1s ease-in-out;
}  
.hidden-section-right.show {
    opacity: 1;
    transform: translateX(0);
    transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out;
}
/** Styling for Aneif Section  */
.aneef-section{
    margin-block: 5%;
}
.aneef-img-wrapper{
    border-radius: 30px;
    overflow: hidden;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.aneef-img{
    width: 100%;
    border-radius: 30px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.anief-name{
    font-family: "Cairo", serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 89.95px;
    text-align: right;
    color: rgba(50, 101, 128, 1);
}
.anief-paragraph{
    font-family: Cairo;
    font-size: 20px;
    font-weight: 800;
    line-height: 37.9px;
    text-align: justify;
    color: rgba(27, 30, 29, 1);
    Opacity: 80%;
}
.anief-word{
    font-family: Cairo;
    font-size: 24px;
    font-weight: 700;
    line-height: 37.9px;
    text-align: justify;
    color: rgba(1, 161, 173, 1);
}
.text-anief{
    text-align: justify;
    font-family: Cairo;
    font-size: 20px;
    font-weight: 400;
    color: rgba(27, 30, 29, 1);
}
.wrapper{
    border-radius: 30px;
    position: relative;
}
.artboard-img{
    position: absolute;
    top: -10%;
    right: -10%;
    width: 25%;
}
.image-over{
    width: 28%;
}
.aneef-section .col-12{
    border-radius: 30px;
}
.values{
    border-radius: 30px;
    border-top-right-radius: 0;
    background: linear-gradient(rgba(1, 161, 173, 0.1), rgba(50, 101, 128, 0.2));
    padding: 25px;
}
.small-icons{
    width: 18%;
}
.line-height{
    line-height: 2.8112rem;
}
.capa-img {
    width: 40%;
    position: absolute;
    right: 50%;
    top: 96%;
}
.vision-values-layout{
    padding: 40px;
    width: 250px;
    height: 350px;
    border-radius: 100px;
    border-top-right-radius: 0;
    background-color: var(--hover-dark-btn);
    position: absolute;
    left: 10%;
    top: 74%;
}
.img-icon{
    width: 30%;
}
.aneef-section .col-design{
    width: 200px;
    height: 180px;
    border-radius: 30px;
    border-top-left-radius: 0;
    background-color: var(--hover-dark-btn);
}
.move{
   position: relative;
   right: 20%;
   margin-top: -5%;
}
.card {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: 5px solid transparent;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 2s ease, border-color 2s ease;
}
  
.card.activee {
    border-color: var(--background-btn);;
    transform: scale(1.1);
}
.col-wrapper{       
    width: 190px;
    height: 190px;
    border-radius: 30px;
    border-top-right-radius: 0;
    padding: 5px;
}
.moon-img{
    width: 23%;
    position: absolute;
    left: 0;
    top: 85%;
}
.our-visions{
    margin-top: -20%;
}
.image{
    max-height: 500px;
}
.eye-img-animation{
    width: 75%;
    position: absolute;
    top: 46%;
    left: 15%;
}
/** Styling for Services Section  */
.services{
    padding-top: 1%;
    padding-bottom: 8%;
    margin-top: 5%;
    border-radius: 30px;
    background-color:rgba(250, 250, 250, 1);
}
.our-services{
    margin-right: 5.5%;
    font-family: Cairo;
    font-size: 48px;
    font-weight: 700;
    line-height: 89.95px;
    text-align: right;
    color: rgba(50, 101, 128, 1);
}
/** Animation for layer on Helping-img  */
/** styles.css */
@keyframes upDown {
    0% {
        transform: translateY(0); /* Start position */
    }
    50% {
        transform: translateY(-100px); /* Midpoint position */
    }
    60% {
        transform: translateY(-100px); /* Hold for 10 seconds */
    }
    100% {
        transform: translateY(0); /* Return to start */
    }
}

@keyframes downUp {
    0% {
        transform: translateY(-100px); /* Start position */
    }
    50% {
        transform: translateY(0); /* Midpoint position */
    }
    60% {
        transform: translateY(0); /* Hold for 10 seconds */
    }
    100% {
        transform: translateY(-100px); /* Return to start */
    }
}
.animated-image:nth-child(1) {
    animation: upDown 30s infinite ease-in-out;
}
.animated-image:nth-child(2) {
    animation: downUp 30s infinite ease-in-out;
}
.helping-img{
    width: 100%;
}
.helping-img::before{
    content: '';
    position: absolute;
    top: -3%;
    right: 2%;
    width: 100%;
    height: 100%;
    border: .0625rem solid var(--hover-dark-btn);
    border-radius: 100px;
    border-top-right-radius: 0;
    border-bottom: none;
    background-color: var(--hover-dark-btn);
    z-index: 0 !important;
}
.helping-img img{
    position: relative;
}
.layer{
    position: absolute;
    z-index: 9999999;
    top: 80%;
    left : 0;
    right: 0;
}
.room-img{
    width: 40%;
    position: relative;
    z-index: 9999999;
}
.room-img img{
    position: relative;
    z-index: 9999999;
}
.room-img::before{
    content: '';
    position: absolute;
    bottom: -5%;
    left: -5%;
    width: 100%;
    height: 100%;
    border: .0625rem solid var(--background-btn);
    border-radius: 100px;
    border-top-right-radius: 0;
    border-bottom: none;
    background-color: var(--background-btn);
    z-index: 1;
}
.service-2{
    margin-top: 15%;
}
.service-3{
    margin-top: 10%;
}
.medical-img{
    position: relative;
    z-index: 999 !important;
}
.medical-img::after{
    content: '';
    position: absolute;
    top: -3%;
    right: -2%;
    width: 100%;
    height: 100%;
    border: .0625rem solid var(--hover-dark-btn);
    border-radius: 100px;
    border-top-left-radius: 0;
    border-bottom: none;
    background-color: var(--hover-dark-btn);
    z-index: 0 !important;
}
.medical-img::before{
    content: '';
    position: absolute;
    bottom: -5%;
    left: -2%;
    width: 50%;
    height: 70%;
    border: .0625rem solid var(--background-btn);
    border-radius: 100px;
    border-top-left-radius: 0;
    border-bottom: none;
    background-color: var(--background-btn);
    z-index: 0 !important;
}
.medical-img img{
    position: relative;
    z-index: 10000000 !important;
}
.emergancy-img{
    position: relative;
    z-index: 999 !important;
}
.emergancy-img::after{
    content: '';
    position: absolute;
    top: -3%;
    left: -2%;
    width: 100%;
    height: 100%;
    border: .0625rem solid var(--hover-dark-btn);
    border-radius: 100px;
    border-top-right-radius: 0;
    border-bottom: none;
    background-color: var(--hover-dark-btn);
    z-index: 0 !important;
}
.emergancy-img::before{
    content: '';
    position: absolute;
    bottom: -5%;
    right: -2%;
    width: 50%;
    height: 70%;
    border: .0625rem solid var(--background-btn);
    border-radius: 100px;
    border-top-right-radius: 0;
    border-bottom: none;
    background-color: var(--background-btn);
    z-index: 0 !important;
}
.emergancy-img img{
    position: relative;
    z-index: 10000000 !important;
}
/** Styling for Objectives Section  */
.objectives{
    margin-top: 1.875rem;
    margin-bottom: 6.25rem;
    padding-bottom: 5rem;
}
.objectives .layout-move{
    width: 220px;
    height: 220px;
    border-radius: 30px;
    border-top-right-radius: 0;
    background-color: white;
    transition: all 3s ease-in-out;
}
.layout-move span{
    color: rgba(50, 101, 128, 1);
}
.active-class{
    width: 220px;
    height: 220px;
    border-radius: 30px;
    border-top-right-radius: 0;
    background-color: rgba(24, 48, 61, 1) !important;
    position: relative;
    transition: all 5s ease-in-out;
}
.active-class::before{
    content: '';
    position: absolute;
    left: -5%;
    top: -5%;
    background-color: var(--hover-dark-btn);
    width: 100%;
    height: 100%;
    border-radius: 30px;
    border-top-right-radius: 0;
    z-index: -1;
    transition: all 5s ease-in-out;
}
.active-class::after{
    content: '';
    position: absolute;
    right: -5%;
    bottom: -5%;
    background-color: var(--background-btn);
    width: 80%;
    height: 80%;
    border-radius: 30px;
    border-top-right-radius: 0;
    z-index: -1;
    transition: all 5s ease-in-out;
}
.active-class span{
    color: rgba(1, 185, 199, 1);
}
.change-text-color{
    font-family: Cairo;
    font-size: 38px;
    font-weight: 700;
    line-height: 71.21px;
    text-align: center;
    color: rgba(1, 185, 199, 1);
}
.curve-background{
    width: 10%;
    height: 80%;
    object-fit: contain;
    z-index: 0;
}
.cell-2{
    margin-top: 15%;
}
.cell-3{
    margin-top: 30%;
}
.cell-4{
    margin-top: -18%;
    margin-left: 25%;
}
.cell-5{
    margin-top: -5%;
    position: relative;
    left: 25%;
}
.obj-col {
    margin-top: -5%;
}
.para-color{
    font-family: Cairo;
    font-size: 24px;
    font-weight: 700;
    line-height: 44.98px;
    text-align: justify;
    color: var(--hover-dark-btn);
}
.our-objectives{
    font-family: Cairo;
    font-size: 48px;
    font-weight: 700;
    line-height: 89.95px;
    text-align: right;
    color: rgba(50, 101, 128, 1);
}
.section-goal{
    margin-right: 5.5%;
}
.progress-container {
    width: 95%;
    height: 9px;
    background-color:rgba(217, 217, 217, 1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.progress-bar {
    width: 5%; 
    height: 100%;
    background-color: rgba(195, 214, 0, 1);
    border-radius: 10px;
    animation: progressSteps 4500ms infinite;
}

/* Keyframes for step-like animation */
@keyframes progressSteps {
  0% {
    width: 5%;
  }
  100% {
    width: 100%;
  }
}
.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.slider-button {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: rgba(50, 101, 128, 1);
    border: 1px solid rgba(50, 101, 128, 1);
    border-radius: 8px;
    background-color: rgba(217, 217, 217, 1);
    cursor: pointer;
    transition: background-color 0.5s, color 0.5s;
}
.slider-button.active-change {
    border: 1px solid rgba(50, 101, 128, 0.2);
    background-color: rgba(1, 161, 173, 1);
    color: rgba(255, 255, 255, 1);
}
.background-img-goal{
    width: 50%;
    position: absolute;
    left: 20%;
    top: 100%;
}
.right-section h3, .right-section h4 {
    opacity: 1;
    transition: opacity 0.8s ease;
  }
  
  .right-section.hidden h3, .right-section.hidden h4 {
    opacity: 0;
  }
/** Styling for Contact Section  */
.contact {
    background-color: rgba(250, 250, 250, 1);
}
.social-imgs{
    width: 12%;
}
.title-social{
    font-family: "Poppins", serif;
    font-size: 22.72px;
    font-weight: 700;
    line-height: 34.08px;
    text-align: right;
    color: rgba(50, 101, 128, 1);
}
.map-img{
    position: relative;
    z-index: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.wrapper-contact{
    position: absolute;
    z-index: 1;
    left: 65%;
}
.wrapper-contact::before{
    content: '';
    position: absolute;
    top: 6%; 
    left: 7%;
    width: 70%;
    height: 50%;
    border-radius: 50px;
    border-top-right-radius: 0;
    background-color: var(--hover-btn);
    z-index: -1; 
}
.wrapper-contact::after{
    content: '';
    position: absolute;
    bottom: 6%; 
    right: 7%;
    width: 60%;
    height: 50%;
    border-radius: 50px;
    border-top-right-radius: 0;
    background-color: var(--hover-dark-btn);
    z-index: -1; 
}
.contact-us {
    padding: 15px;
    width: 360px;
    height: 450px;
    border-radius: 50px;
    border-top-right-radius: 0;
    background-color:rgba(24, 48, 61, 1);
    position: relative;
    right: 0;
    z-index: 10;
}
input{
    width: 100%;
    border-radius: 30px;
    outline: none;
    border: none;
    padding: 6px;
}
.wrapper-ksa{
    background-color: white;
    border-radius: 30px;
    padding: .375rem .625rem;
}
.flag-ksa {
    cursor: pointer;
    width: 30px;
}
textarea{
    width: 100%;
    height: 150px;
    background-color: white;
    border-radius: 15px;
    resize:none;
    display: block;
    outline: none;
    color: rgb(172, 172, 172);
    font-size: .75rem;
    padding-right: .3125rem;
    padding-top: .3125rem;
}
input::placeholder{
    color: rgb(172, 172, 172);
    font-size: .75rem;
    padding-right: .3125rem;
}
.shared-class{
    color:rgba(50, 101, 128, 1);
    font-size: 1.42rem;
    font-weight: 700;
    line-height: 42.57px;
}
/** Styling for Footer Section  */
a{
    color:rgba(50, 101, 128, 1);
    text-decoration: none;
}
.follow{
    font-family: "Poppins", serif;
}
.icons{
    width: 40%;
}  
h4{
    margin: 0;
}
footer{
    border-top: 2px solid rgba(195, 214, 0, 1);
    color: white;
    background: rgba(24, 48, 61, 1);
}
.img-footer{
    width: 20%;
    display: block;
}
.animation-hand{
    width: 4%;
    position: absolute;
    top: -25%;
    left: 4.5%;
}
.animation-hand::after{
    content: '';
    position: absolute;
    top: -5%;
    right: -5%;
    background-color: rgba(195, 214, 0, 0.1);
    width: 100%;
    height: 100%; 
    border-radius: 15px;
}
.img-hand{
    position: relative;
    border-radius: 15px;
    z-index: 9999;
}
/** Styling for CopyRight Section  */
.final{
    background: rgba(50, 101, 128, 1);
    padding: .3125rem;
    color: white;
}