



/********** Template CSS **********/

/********** Fonts **********/
@font-face {
    font-family: 'Almarai';
    src: url(../fonts/Almarai-Bold.ttf);
    font-weight: bold;
  }



:root {
    --primary: #12416d;
    --secondary: #FB9F38;
    --light: #F5F8F2;
    --dark: #252C30;
}

body {
    margin: 0;
    font-family: "Rubik", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #252c30;
    background-color: #fff !important; 
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
    color: #fa0005;
    text-decoration: none;
}

a:hover{
    color: #dd4e50;
    text-decoration: none;
}

.text-primary{
    color: #fa0005 !important;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    font-family: "Almarai", sans-serif;
}

.arartl{
    direction: rtl;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.fw-black {
    font-weight: 900;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.spinner-border{
    width: 3rem !important; 
    height: 3rem !important;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}




/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: absolute;
    padding: 0;

    top: 0;
    left: 0;
    margin-top: 10px;


}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        width: 225px;
        height: auto;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 75px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(136, 180, 78, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(136, 180, 78, .7), rgba(136, 180, 78, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.section-title::before {

}

.section-title::after {

}

.section-title.text-center::before {
    left: 25%;
}

.section-title.text-center::after {
    left: calc(50% - 13px);
}


/*** Products ***/
.product {
    background: linear-gradient(rgba(136, 180, 78, .1), rgba(136, 180, 78, .1)), url(../img/product-bg.png) left bottom no-repeat;
    background-size: auto;
}

.product-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    margin: 0 10px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: #FFFFFF;
    color: var(--primary);
}


/*** About ***/
.video {
    background: linear-gradient(rgba(136, 180, 78, .85), rgba(136, 180, 78, .85)), url(../img/video-bg.jpg) center center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 65px;
    height: 75px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 28px 30px 30px 38px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 13px;
    border-left: 40px solid var(--primary);
    border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Store ***/
.store-item .store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(138, 180, 78, .3);
    opacity: 0;
    transition: .5s;
}

.store-item:hover .store-overlay {
    opacity: 1;
}


/*** Contact ***/
.contact .btn-square {
    width: 100px;
    height: 100px;
    border: 20px solid var(--light);
    background: var(--primary);
    border-radius: 50px;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(136, 180, 78, .85), rgba(136, 180, 78, .85)), url(../img/testimonial-bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-item {
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    background: #FFFFFF;
    border: 30px solid var(--primary);
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--dark);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}

.copyright {
    background: #252525;
}

.copyright a:hover {
    color: #FFFFFF !important;
}


 .main-title{
    font-family: "Almarai", sans-serif;
    font-size: 25px;
    font-weight: 400;
}


@media (max-width: 768px) {
    
.main-title{
    font-family: "Almarai", sans-serif;
    font-weight: 400;
    font-size: 18px;
}
}

.main-font{
    font-family: "Almarai", sans-serif;
    font-weight: 400;
}


.btn-main{
    background-color: #e32726;
    border-radius: 20px;
    color: #fff !important;
    border-bottom-right-radius: 0;
    font-family: "Rubik", sans-serif;
    font-size: 16px !important;
    font-weight: 400;
    /*font-style: italic !important;*/
    letter-spacing: -0.2px !important;
    line-height: 22px !important;
    display: inline-block;
    padding: 8px 24px 10px !important;
    position: relative;
    max-width: 80%;
}


.text-main{
    color: #fff;
}

.text-right{
    text-align: right !important;
}

.bg-main{
    background-color: #12416d;
}

.bg-almarai{
    background-color: #c45628;
}

input, 
input:focus {
	box-shadow: 0 0 0 2px #000, 0 0 #000 !important;
}

.btn-almarai p{
    text-align: center;
    cursor: default !important;
}

.btn-almarai p:active::before,
.btn-almarai button:active::before,
.btn-almarai a:active::before {
	box-shadow: 0 0 0 2px #000, 0 0 #000;
	transform: translate3d(0, 0, -1em);
}

.btn-almarai p:before,
.btn-almarai button:before,
.btn-almarai a:before {
	box-shadow: 0 0 0 2px #000, 0 0 #000;
	transform: translate3d(0, 0, -1em);
}

.btn-almarai p,
.btn-almarai button,
.btn-almarai a{
    position: relative;
    margin: auto;
    width: 250px;
    min-width: fit-content;
    cursor: pointer;
    outline: none;
    border: 0;
    text-transform: inherit;
    font-size: inherit;
    font-family: inherit;
    font-weight: 600;
    color: #000 !important;
    padding: 8px !important;
    background: #eee;
    border: 2px solid #000;
    border-radius: 0.8em;
    transform-style: preserve-3d;
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}

.btn-almarai p::after,
.btn-almarai button::after,
.btn-almarai a::after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 3px;
    left: 1px;
    right: 0;
    bottom: 0;
    background: #000000;
    border-radius: inherit;
    box-shadow: 6px 0 0 0px #000000;
    transform: translate3d(0, 0.2em, -1em);
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}

.btn-almarai button:hover,
.btn-almarai a:hover {
    background: #f7916c;
    transform: translate(0, 0.25em);
}

.btn-almarai button:hover::before,
.btn-almarai a:hover::before {
    box-shadow: 0 0 0 2px #fff, 0 0.5em 0 0 #d8f5fe;
    transform: translate3d(0, 0.5em, -1em);
}

.btn-almarai button:disabled{
    background: #bbbbbb !important;
    transform: translate(0, 0.25em);
    cursor: none;
    opacity: 1 !important;   
}


.almarai-footer a{
    font-family: "Almarai" !important;
    font-size: 1.25em;
}

.mt--30{
    margin-top: -30px;
}

.terms-text a{
    color: #fff !important;
    font-size: 18px;
    text-decoration: underline !important;
}

.terms-text a:hover{
    color: #000 !important;
}

.form-box {
    position: relative;
    background-color: #E78248;
    border-radius: .8em;
    transform-style: preserve-3d;
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}

.form-box::after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 3px;
    left: 1px;
    right: 0;
    bottom: 0;
    background: #873A1A;
    box-shadow: 6px 0 0 0px #873A1A;
    border-radius: inherit;
    transform: translate3d(0, 0.2em, -1em);
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}

#js--sc--container {
    position: relative;
    margin: 0 auto;
    width: 300px;
    height: 300px;
  
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

  @media (max-width: 991.98px) {
    #js--sc--container {
        position: relative;
        margin: 0 auto;
        width: 300px;
        height: 300px;
      
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }
}
  
  #js--sc--container:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;


    background-repeat: no-repeat;
    background-position: center center;
  }
  
  #js--sc--container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

  }
  
  #js--sc--container img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  #js-debug-cursor {
    position: absolute;
    top: 0;
    left: 0;
    background-color: yellow;
    width: 50px;
    height: 50px;
    z-index: 99;
    will-change: transform;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
  }
  
  .sc__wrapper {
    display: block;
    width: 100%;
    height: 300px;
    max-width: 300px;
    margin: 0 auto;
    border: 5px solid rgba(#ffffff, 0.5);
  }
  
  /* Where the scratchcard will be generate. */
  .sc__container {
    position: relative;
    overflow: hidden;
    max-height: 300px;
    max-width: 300px;
  }
  
  .sc__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  /* Background image, the result... */
  .sc__container > img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
  }
  
  /* The scratchcard generate with scratchcard-js */
  .sc__container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
  }
  
  /* Scratchcard informations */
  .sc__infos {
    text-align: center;
    height: 40px;
    line-height: 40px;
    margin-top: 5px;
    font-weight: bold;
    font-size: 16px;
  }
  
  .test {
    color: #99dc09;
    font-size: 15px;
    text-align: center;
    position: absolute;
    top:20%;
    left: auto;
    width: 100%;
    
  }
  
  .fw_bg{
    background-image: url("../images/fireworks.gif");
  
  }




/* Success Zoom CSS  */

.success-container{
    display: none;
}

.success-container-ar{
    display: none;
}

.w1-animate-zoom {
    animation:animatezoom 0.9s;
}
@keyframes animatezoom{
    from{transform:scale(0)} to{transform:scale(1)}
}

.w2-animate-zoom {
    animation:animatezoom 1s;
}
@keyframes animatezoom{
    from{transform:scale(0)} to{transform:scale(1)}
}

.w3-animate-zoom {
    animation:animatezoom 1.2s;
}
@keyframes animatezoom{
    from{transform:scale(0)} to{transform:scale(1)}
}


@media (max-width: 992px) {
    .anim-success-1, .anim-success-2{
        width: 60%;
    }
}


.almarai-button a, button{
    display: inline-flex ;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 2px solid #000 !important;
    border-radius: 0.5rem !important;
    background-color: #f8f9fa !important;
    position: relative;
    box-shadow: 5px 5px 0px  rgba(0, 0, 0, 1) !important;
  }

  .almarai-button img {
    width: 50px;
    height: 30px;
    border-radius: 6px;
  }

  .almarai-button span {
    font-size: 18px;
    font-weight: bold;
    color: #000;
  }
  .almarai-button a:hover{
    background-color: #f7916c;
    transform: translate(0, 0.25em);
  }

  .footer-text{
    font-size: 13px;
  }

.almarai-logo a img{
    height:75px !important;
}