@font-face {
    font-family: "Tajawal";
    src: url("../fonts/Tajawal-Regular.ttf");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

/* ==== Color Variabels =====*/
:root {
    --main-color: #927851;
    --secondary-color: #555844;
    --white-colot: #fff;
    --dark-color: #20212b;
    --semi-white: #fdfaf8
}

/* ===== Main Style =====*/
body,
html {
    width: 100%;
    margin: 0;
    font-family: tajawal;
    color: var(--dark-color)
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--semi-white);
    justify-content: center;
    background-size: cover;
    position: relative;
    overflow-x: hidden
}

section {
    padding: 75px 0;

}

.backgrounded {
    background-image: url(../img/ethaaf_bg.webp);
    background-size: 130px;
}

.p0 {
    padding: 0;
}

a,
button {
    cursor: pointer;
    text-decoration: none
}

input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"] {
    display: block;
    padding: 5px;
    width: 100%;
    margin: 5px 0px 7px;
    border: 0;
    border-bottom: 2px solid var(--main-color)
}

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

.main-btns {
    border: 0;
    padding: 10px 30px;
    background-color: var(--main-color);
    color: white;
    border-radius: 5px;
    transition: .4s ease-in-out
}

.main-btns:hover {
    color: white;
    transform: scale(1.04)
}

.secondy-btns {
    background-color: var(--secondary-color)
}

.section-title {
    margin-bottom: 50px;
    font-size: 2rem;
    position: relative
}

.section-title:after {
    content: "";
    position: absolute;
    width: 200px;
    height: 40px;
    background-image: url(../img/devider.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%)
}

a:hover {
    color: var(--main-color);
    text-decoration: none;
}

/* ===== Loader ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    z-index: 99999999;
    background-image: url(../img/Vector%20Smart%20Object.svg);
    background-repeat: no-repeat;
    background-position: center
}

/* ====== Header ====== */


nav {
    width: 100%;
    color: var(--semi-white);
    padding: 0;
    z-index: 23;
    position: absolute;

}

nav.backgrounded {
    background-image: url(../img/ethaaf_bg.webp);
    background-color: rgba(0, 0, 0, .8);
    background-size: 130px;
}

nav > div > div {
    display: flex;
    justify-content: space-between;
    align-items: center
}

nav .logo {
    width: 150px;
    height: 75px;
    background-size: 30%;
    background-position: center center;
    background-repeat: no-repeat;
}

nav ul li {
    cursor: pointer;
    margin: 0px 14px;
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 16.5px
}

nav ul li a {
    color: var(--semi-white)
}

nav ul li:after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    position: absolute;
    background-color: var(--secondary-color);
    left: -20px;
    top: 50%;
    transform: translateY(-50%)
}


nav ul li:last-child:after {
    content: "";
    display: none
}

nav ul li:hover:before {

    bottom: -20px;
    opacity: 1
}

.burger {
    border: 2.5px solid var(--dark-color);
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    position: relative
}

.burger svg {
    font-size: 25px;
    color: var(--dark-color)
}

.side-menu {
    position: fixed;
    top: 110px;
    left: -50vw;
    width: 50vw;
    bottom: 0;
    z-index: 2222;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, .2);
    transition: .4s ease-in-out
}



.side-menu.open {
    position: fixed;
    top: 110px;
    left: 0vw;
    width: 50vw;
    bottom: 0;
    background-color: var(--semi-white);
    z-index: 2222;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, .2)
}

.side-menu li {
    margin: 30px 0px;
    font-weight: 500;
    cursor: pointer
}

.last-links {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: 20px;

}

.last-links div {
    display: flex;
    width: 100%;
    justify-content: space-between
}

.last-links div a {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    border-radius: 50%
}

/* ==== Hero Section ==== */
.hero {
    height: 100vh;
    background: #111;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#stars,
#stars2,
#stars3 {
    position: absolute;
    top: 0;
    left: 0;
}

#stars,
#stars2,
#stars3,
#stars:after,
#stars2:after,
#stars3:after {
    z-index: 99999999999999999
}

video {
    width: 100% !important;
    height: 100vh
}

.inner-hero {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #111;
}

.fronter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-image: url(https://4.bp.blogspot.com/-3LdOUPKnTTA/WXG6UVXCxCI/AAAAAAAAW5E/llOO7FBn24gDQ8L1I-ubwM7UYv42vSR4ACLcBGAs/s1600/alquran%2B10.jpg);*/
    background-image: url(../img/fronter.JPG);
    background-size: cover;
    background-position-y: bottom;
}

.fronter .container {
    position: relative;
    height: 100%;
}

.centered-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translatey(-50%)
}

.main-title {
    color: white;
    text-align: center;
}

.fronter .container p {
    color: white;
    margin-top: 10px;
    text-align: center
}

.btns-holder {
    justify-content: center;
    margin-top: 30px
}

.btns-holder .btn:first-child {
    margin-left: 10px
}

.standard-btn {
    padding: 10px 20px !important;
    border: 0;
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    color: white
}

.whatsapp,
.play-button {
    position: absolute;
    bottom: 50px;
    left: 50px;
}

.whatsapp {
    left: auto;
    right: 50px;
    background: #25D366;
    position: fixed;
    z-index: 999999
}

.whatsapp a {
    color: white
}

.whatsapp svg {
    font-size: 25px;
    margin-left: 10px
}

.fa-play {

    color: white;
    font-size: 30px;
    z-index: 222222222;
    margin: 0;
    padding: 0;
    transform: rotate(180deg);
    margin-left: 10px
}

.video {}

/* ======= ِAbout us ======== */
.about {
    padding-top: calc(100vh + 75px);

}

.about .col-md-3 .img-card {
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: 130px;
}



.about .d-flex {
    flex-direction: column;
    justify-content: center;
}

.about .d-flex h3 {
    margin-bottom: 15px
}

.about .d-flex p {
    line-height: 1.9
}

.about .d-flex h6 {
    font-size: 19px;
    line-height: 1.8;
    text-align: center
}

/* ======= ِ stats ======== */
.stat .col-md-3 {
    position: relative
}

.stat .col-md-3 svg {
    font-size: 27px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(3);
    color: var(--secondary-color);
    opacity: .1;
    transition: .3s ease-in-out
}

.counter-holder {
    margin: 10px;
    padding: 20px;
    background: white;
    border-radius: 5px;
    transition: .4s ease-in-out;
    cursor: pointer
}

.counter-holder:hover {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, .1)
}

.counter-holder:hover svg {
    opacity: .2
}

.stat .col-md-3 h5 {
    font-size: 23px;
}

.stat .col-md-3 p {
    font-size: 40px;

}

/* ======= ِ groups ======== */
.groups {}

.groups .group-img-holder {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin: 10px;
    border: 3px dashed var(--secondary-color);
    border-radius: 10px;
    cursor: pointer
}

.groups img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top
}

.light-open {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.light-open img {
    height: 700px;
    border-radius: 5px;
    border: 2px solid #eee;
    position: relative;
    z-index: 22;
    object-fit: cover;
}

.light-open i {
    color: white;
    font-size: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 21;
}

.sleeping-light-box {
    display: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 20;
}

/* ======= ِ Goals  ======== */
.goal .row:last-child {
    margin-top: 20px
}

.goal-holder {
    padding: 40px 20px;
    background: #FFF;
    height: 100%;
    border-radius: 10px;
    margin: 0px 10px
}

.goal-holder svg {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px
}

/* ====== Footer ======= */
.site-footer {
    background-color: var(--dark-color);
    padding: 45px 0 20px;
    font-size: 15px;
    line-height: 24px;
    color: #737373;
}

.site-footer hr {
    border-top-color: #bbb;
    opacity: 0.5
}

.site-footer hr.small {
    margin: 20px 0
}

.site-footer h6 {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 5px;
}

.site-footer a {
    color: #737373;
}

.site-footer a:hover {
    color: #3366cc;
    text-decoration: none;
}

.footer-links {
    padding-left: 0;
    list-style: none
}

.footer-links li {
    display: block
}

.footer-links a {
    color: #737373
}

.footer-links a:active,
.footer-links a:focus,
.footer-links a:hover {
    color: #3366cc;
    text-decoration: none;
}

.footer-links.inline li {
    display: inline-block
}

.site-footer .social-icons {
    text-align: right
}

.site-footer .social-icons a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-left: 6px;
    margin-right: 0;
    border-radius: 100%;
    background-color: #33353d
}

.copyright-text {
    margin: 0
}

@media (max-width:991px) {
    .site-footer [class^=col-] {
        margin-bottom: 30px
    }
}

@media (max-width:767px) {
    .site-footer {
        padding-bottom: 0
    }

    .site-footer .copyright-text,
    .site-footer .social-icons {
        text-align: center
    }
}

.social-icons {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none
}

.social-icons li {
    display: inline-block;
    margin-bottom: 4px
}

.social-icons li.title {
    margin-right: 15px;
    text-transform: uppercase;
    color: #96a2b2;
    font-weight: 700;
    font-size: 13px
}

.social-icons a {
    background-color: #eceeef;
    color: #818a91;
    font-size: 16px;
    display: inline-block;
    line-height: 44px;
    width: 44px;
    height: 44px;
    text-align: center;
    margin-right: 8px;
    border-radius: 100%;
    -webkit-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear
}

.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
    color: #fff;
    background-color: #29aafe
}

.social-icons.size-sm a {
    line-height: 34px;
    height: 34px;
    width: 34px;
    font-size: 14px
}

.social-icons a.facebook:hover {
    background-color: #3b5998
}

.social-icons a.twitter:hover {
    background-color: #00aced
}

.social-icons a.linkedin:hover {
    background-color: #007bb6
}

.social-icons a.dribbble:hover {
    background-color: #ea4c89
}

@media (max-width:767px) {
    .social-icons li.title {
        display: block;
        margin-right: 0;
        font-weight: 600
    }
}

@media screen and (max-width: 600px) {
    .loader {
        background-size: 150vw
    }

    nav {
        padding: 0;
        z-index: 23
    }

    nav.backgrounded {
        background-image: url(../img/ethaaf_bg.webp);
        background-color: rgba(0, 0, 0, .8);
        background-size: 130px;
    }

    nav .logo {
        width: 150px;
        height: 75px;
        background-position: right
    }

    .burger {
        border: 2.5px solid var(--semi-white);

    }

    .burger svg {
        color: var(--semi-white)
    }

    .side-menu {
        top: 75px;
    }

    .side-menu.open {
        position: fixed;
        top: 75px;
        left: 0vw;
        width: 50vw;
        bottom: 0;
        background-color: rgba(0, 0, 0, .9);
        z-index: 22;
        box-shadow: 10px 10px 10px rgb(0 0 0 / 20%);
    }

    .side-menu a {
        color: var(--semi-white)
    }

    .whatsapp {
        right: var(--bs-gutter-x, .75rem);
        width: 50px;
        padding: 0 !important;
        height: 50px;
        border-radius: 50%;

    }

    .whatsapp svg {
        margin: 0;
    }

    .about .col-md-3 .img-card {
        position: relative;
        top: 0px;
    }

    .about .col-md-3 .img-card {
        margin-bottom: 20px
    }

    .goal-holder {
        width: 100%;
        margin: 0 !important;
        margin-bottom: 20px !important;
        height: auto
    }

    .group-img-holder {
        margin: 10px 0 !important;
    }

    .light-open img {
        height: 500px;
        border-radius: 5px;
        border: 2px solid #eee;
        position: relative;
        z-index: 22;
        object-fit: cover;
    }

}
