/*
 Theme Name:     Instant Theme Child
 Theme URI:      https://instantform.io/
 Description:    Child theme for the custom parent theme "instant-theme".
 Author:         Zubair Arif
 Author URI:     https://zubairarif.com
 Template:       instant-theme
 Version:        1.0.0
 Text Domain:    instant-theme-child
*/

:root{
    --bs-primary-body:#FFFFFF;
    --bs-native-light:#F7F4F0;
    --bs-primary: #800000 !important;
	--bs-navy-dark: #1A2332;
    --bs-primary-rgb:128, 0, 0 !important; 
    --bs-transparent-rgb: 0,0,0 !important;	
	--bs-feature-box-shadow:0 8px 16px -8px rgba(0,0,0,.1),0 13px 27px -12px rgba(50,50,93,.25);
	--bs-feature-box-shadow-hover:0 100px 60px -40px rgba(0,0,0,.06),0 60px 100px 0 rgba(50,50,93,.15);
    --bs-secondary-rgb:247, 244, 240 !important;
    --bs-top-radius: 50% 100%;
    --bs-secondary: #EAE7E2 !important;
    --bs-warning-rgb:255, 236, 3 !important;
}
/*
|--------------------------------------------------------------------------
| GENERAL
|--------------------------------------------------------------------------
*/
body{
  font-family: "Noto Sans Arabic", sans-serif;
  font-weight: normal;
  font-style: normal;
  color: var(--bs-primary-text-color);
  background-color: var(--bs-white);
  font-size: 20px;
}
h2, .h2,
h1, .h1{
    font-size: 42px;
}
h3, .h3{
    font-size:40px;
}
h4, .h4{
    font-size:32px;
}
h5, .h5{
    font-size:24px;
}
h6, .h6{
    font-size:22px;
}
/*
|--------------------------------------------------------------------------
| UTILITIES
|--------------------------------------------------------------------------
*/
.color-light,
.color-light h1,
.color-light h2, 
.color-light h3,
.color-light h4,
.color-light h5,
.color-light h6,
.color-light li,
.color-light p,
.color-light a,
.color-light span{
	color:var(--bs-white);
}
.feature-shadow{
    box-shadow:var(--bs-feature-box-shadow);
}
.feature-shadow-lg{
    box-shadow:var(--bs-feature-box-shadow-hover);
}
.text-shadow-sm{
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
.text-shadow{
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
.aspect-ratio-1-1 {
  aspect-ratio: 1 / 1;
}

.overlay-half {
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 767px) {
    .overlay-half {
      top: -80px;
      transform: translateY(-80px);
    }
}

.btn-secondary {
    --bs-btn-color: var(--bs-text-color);
    --bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-color: var(--bs-text-color);
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: var(--bs-secondary);
    --bs-btn-disabled-color: var(--bs-text-color);
    --bs-btn-disabled-bg: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
}
.btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: var(--bs-primary);
  --bs-btn-disabled-color: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
}
.btn-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: var(--bs-primary);
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
}
/*
|--------------------------------------------------------------------------
| FEATURE CIRCLE BOX
|--------------------------------------------------------------------------
*/
.bg-primary.feature-circle-box-layout-2.feature-circle-box{
    z-index: 2;
}
.feature-circle-box {
    width: calc(100% - 20px);
}
.feature-circle-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: -20px;
    border-style: solid ;
}
.feature-circle-box .elementor-element{
    z-index: 3;
    position: relative;
}
.bg-secondary.feature-circle-box::after{
    border-color: rgb(var(--bs-secondary-rgb));
    border-width: 1px;
}
.bg-primary.feature-circle-box::after{
    border-color: rgb(var(--bs-primary-rgb));
    border-width: 1px;
}
.bg-primary.feature-circle-box-layout-2.feature-circle-box::after {
    border-width: 20px;
    border-color: rgba(var(--bs-primary-rgb),0.3);
}

@media (max-width: 1067px){
    .e-con.e-flex.mobile-break-only .e-con-full.e-flex.e-con.e-child{
        width:360px !important;;
        margin: 0 auto;
        max-width:100%;
    }
}

@media (max-width: 1067px) and (min-width: 768px) {
  .e-con.e-flex.mobile-break-only {
    --width: 100%;
    --flex-wrap: var(--flex-wrap-mobile);
  }
  
  .overlay-half.mobile-break-only  {
      top: -80px;
      transform: translateY(-80px);
   }
}
@media (max-width: 767px) {
    .feature-circle-box  {
        flex-wrap: nowrap !important;
    }
}
@media (max-width: 560px) {
    .rounded-circle p{
        font-size:16px !important;;
        margin-bottom:0 !important;;
    }
    .rounded-circle p.h5 {
        font-size: 18px !important;;
    }
}

@media (min-width: 1020px) and (max-width: 1140px) {
    .larget-controller {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
}


@media (min-width: 768px){
    .feature-margin-left{
        margin-left: -20px;
    }
    .feature-margin-right{
        margin-right: -20px;
    }
}
/*
|--------------------------------------------------------------------------
| COLORS
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| BUTTONS
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| HERO SECTION
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| FEATURE BOX
|--------------------------------------------------------------------------
*/
.layout-1.feature-box.feature-box-hover {
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.layout-1.feature-box.feature-box-hover:hover {
  box-shadow: 0 0 0 1px var(--bs-border-color-translucent);
  background-color: var(--bs-gray-200);
}
.single-post-card-layout,
.layout-3.feature-box.feature-box-hover,
.layout-2.feature-box.feature-box-hover{
	box-shadow:var(--bs-feature-box-shadow);
}
.single-post-card-layout,
.layout-2.feature-box.feature-box-hover{
	transition: transform 500ms cubic-bezier(0.7,0,0,1), opacity 500ms cubic-bezier(0.7,0,0,1);
}
.single-post-card-layout:hover,
.layout-2.feature-box.feature-box-hover:hover{
	box-shadow:var(--bs-feature-box-shadow-hover);
	transform:scale(1.018);
}
.layout-3.feature-box.feature-box-hover .feature-cta,
.layout-3.feature-box.feature-box-hover .feature-image img{
	transition: transform 500ms cubic-bezier(0.33,1,0.68,1);
}
.layout-3.feature-box.feature-box-hover:hover .feature-image img{
	transform: translateY(-42px);
}
.layout-3.feature-box.feature-box-hover .feature-cta{
	  position: absolute;
    bottom:-20px;
    left: 1rem;
    opacity: 0;
	transition-property: transform;
	will-change: transform;
}
.layout-3.feature-box.feature-box-hover:hover .feature-cta{
    opacity: 1;
}
.layout-3.feature-box.feature-box-hover:hover .feature-content{
  transform: translateY(-60px);
}

/*
|--------------------------------------------------------------------------
| CONTENT
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| MAIN
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| Typography
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| WIDGETS
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/
.navbar.primary-header-navbar {
  direction: ltr;
}
.navbar-dark #primary-header-menu .navbar-nav > li.active > a {
  border: 1.5px solid rgba(var(--bs-warning-rgb),0);
  border-radius: 50px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 15px;
}
.navbar-dark #primary-header-menu .navbar-nav > li.active > a  i{
  margin-left:5px;
}
.scrolled.navbar-dark #primary-header-menu .navbar-nav > li.active > a{
    background-color: var(--bs-primary);
    color: var(--bs-white) !important;
}
@media (max-width: 767px) {
    .expanded.primary-header-navbar{
        background-color: var(--bs-white) !important;
    }
    #primary-header-menu {
        direction: rtl;
        padding-top: 20px;
        
    }
    #primary-header-menu .navbar-nav{
        padding-right: 0;
    }
    #primary-header-menu .navbar-nav > li > a {
        padding-right: 0;
    }
    .navbar-dark #primary-header-menu .navbar-nav > li.active > a {
        padding-left: 20px;
        padding-right: 20px;
        background-color:rgb(var(--bs-warning-rgb));
    }
}

/*
|--------------------------------------------------------------------------
| SHAPES
|--------------------------------------------------------------------------
*/
.curved-bottom-image img{
    -webkit-mask-image: radial-gradient(140% 40% at 50% 100%, transparent 50%, black 50.2%);
    mask-image: radial-gradient(140% 40% at 50% 100%, transparent 50%, black 50.2%);
}

/*
|--------------------------------------------------------------------------
| TRUSTED LOGOS
|--------------------------------------------------------------------------
*/
.trusted-logos {
    direction: ltr ;
}
.trusted-logo-wrapper {
    flex: 0 0 20%; 
    max-width: calc(20% - 20px);
    text-align: center;
    height: 100px;
}
@media (max-width: 992px) {
    .trusted-logo-wrapper {
        flex: 0 0 33.333%;
        max-width: calc(33.333% - 20px);
    }
}
@media (max-width: 576px) {
    .trusted-logo-wrapper {
        flex: 0 0 50%;
        max-width:calc(50% - 20px);
    }
}
.trusted-logo-wrapper img {
    max-width: 140px;
    width: 100%;
    height: auto;
    object-fit: contain;
}
/*
|--------------------------------------------------------------------------
| FOOTER
|--------------------------------------------------------------------------
*/
footer{
    direction: rtl;
     padding-top: 180px;
}
.footer-content {
    max-width: 700px;
}
.footer-logo{
    max-width: 180px;
}
.footer-menu{
    padding-right: 0;
}
.footer-menu .menu-item:first-child a {
  padding-left: 0;
}
.footer-menu .menu-item:first-child a,
.footer-menu .menu-item:first-child .nav-link{
  padding-right: 0 !important;
}
.footer-menu .menu-item a{
    text-decoration: none !important;
}
.footer-decor-img{
    top:0;
    left: 50%;
    opacity: 0.12;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
}
@media (min-width: 1060px) {
    footer{
        border-top-left-radius: var(--bs-top-radius);
        border-top-right-radius: var(--bs-top-radius);
    }
    .footer-decor-img{
        top:75%;
        left: 50%;
        transform: translate(-50%,-50%) !important;
        width: 100%;
        height: auto;
    }
}