/*
Theme Name: Child Theme
Author: 
Description: Your description goes here
Version: 1.2
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* Open Sans - Regular 400 */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/child-theme/assets/fonts/OpenSans-Regular.woff2') format('woff2'),
         url('/wp-content/themes/child-theme/assets/fonts/OpenSans-Regular.woff') format('woff');
    font-display: fallback;
}

/* Roboto - Bold 700 */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/themes/child-theme/assets/fonts/Roboto-Bold.woff2') format('woff2'),
         url('/wp-content/themes/child-theme/assets/fonts/Roboto-Bold.woff') format('woff');
    font-display: fallback;
}

/*header*/
.ast-builder-html-element br{
	display:none;
}
.ast-builder-html-element,
.ast-builder-html-element p,
.ast-builder-html-element code{
	display:flex;
	height:fit-content !important;
}
h1.site-title,
p.site-description{
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.header-img img{
	width:6em !important;
	box-shadow:0px 0px .5em rgba(0,0,0,.2);
	border-radius:1.6em;
}
@media(max-width:850px){
	.header-img img{
	width:4.5em !important;
					border-radius:1.2em;
	}
}
@media(max-width:600px){
	.header-img img{
	width:4em !important;
			border-radius:.9em;
	}
}

/*footer*/
.site-footer-primary-section-2 aside section,
.site-footer-primary-section-3 aside section{
	margin-bottom:0px !important;
    color: var(--ast-global-color-5);
}
[data-section="sidebar-widgets-footer-widget-1"] #block-7{
	margin-bottom:1em;
}
.site-primary-footer-wrap h2{
	margin-bottom:0.5em !important;
}
[data-section="sidebar-widgets-footer-widget-1"] #block-7 img{
	width:6em;
	height:6em;
	box-shadow:0px 0px .5em rgba(0,0,0,.2);
	border-radius:1.4em;
	cursor:pointer;
}
.credit-container{

	display:flex;
	justify-content:flex-end;
	gap:.3em;
}
.credit-container a{
	text-decoration:underline;
	cursor:pointer;
	font-weight:bolder;
}
.credit-container a:hover{
	color:var(--ast-global-color-1) !important;
}
@media(max-width:600px){
	.credit-container{
	justify-content:center;

}
}
@media (max-width: 768px) {
  .footer-widget-area[data-section="sidebar-widgets-footer-widget-3"] {
    margin-top: 0px;
  }
}
.uagb-block-97eb29cd p{
	color:var(--ast-global-color-5);
}
@media (min-width:1150px){
[aria-label="Weekday Working Hours"]{
	white-space:nowrap;
}
}
/*small blue cards*
 */
.uagb-block-8e53dd38 h2{
	font-size:1.2em;
}
/*commitment section*/
.uagb-container-inner-blocks-wrap .uagb-infobox__content-wrap .uagb-ifb-image-content img{
		--size:2.9em;
	width:var(--size) !important;
	height:var(--size) !important;
}
.uagb-container-inner-blocks-wrap .uagb-infobox__content-wrap .uagb-ifb-icon-wrap svg{
				--size:1.5em;
	width:var(--size) !important;
	height:var(--size) !important;
}
@media(max-width:500px){
	.uagb-container-inner-blocks-wrap .uagb-infobox__content-wrap .uagb-ifb-icon-wrap svg{
			--size:1.35em;
			width:var(--size) !important;
	height:var(--size) !important;
	}
}

@media(max-width:900px){
	[data-section="sidebar-widgets-footer-widget-1"] #block-7 img{
	width:5em !important;
height:5em !important;
}
}
/*h4 font size being replicated here*/
.uagb-block-fe4df034 h3,
.uagb-block-d3be2094 h3,
.uagb-block-ff534bb2 h3,
.slider-cars-sale-container h2{
	font-size: 1.5em !important;
}
/*makig price as 1.5em for h5*/
.slider-cars-sale-container .price-car{
	font-size:1.4em !important;
}
@media (max-width: 544px) {
    .uagb-block-fe4df034 h3,
	.uagb-block-d3be2094 h3,
.uagb-block-ff534bb2 h3,
	.slider-cars-sale-container h2{
	font-size: 1.4em !important;
}
	.slider-cars-sale-container .price-car{
			font-size: 1.3em !important;
	}
}

/*contact container*/
.contact-container{
	background:url("https://www.ahadimotors.com/wp-content/uploads/2024/10/car-repair-engine-tnfd-1.webp") !important;
	background-repeat:no-repeat !important;
	    background-position: 50% 50% !important;
	    background-size: cover !important;
	    background-attachment: fixed !important;
}
@media (max-width:900px){
	.contact-container{
	    background-position: 30% 50% !important;

}
}
/*review container*/
.ti-reviews-container{
	margin-bottom:0px !important;
}
/*about bg*/
.uagb-block-92205b50{
     background: url("https://www.ahadimotors.com/wp-content/uploads/2024/10/services-page-bg.webp") !important;
		background-repeat: no-repeat !important;
    background-position: 20% 59% !important;
    background-size: auto !important;
    background-attachment: scroll !important; 
}
 @media only screen and (max-width: 767px) {
.uagb-block-92205b50 {
        background-position: 32% 59% !important;
    }
}
 @media only screen and (max-width: 500px) {
.uagb-block-92205b50 {
        background-position: 0% 0% !important;
	    background-size: cover !important;
    }
}

/*slider css*/
 .wp-swiper__wrapper{
	margin:0px !important;
}
.swiper-container .wp-swiper__slide-content{
	margin-bottom:3em !important;
    display: flex;
    align-items: center;
    justify-content: start;
}
 .uagb-block-d3be2094 > div > div >  div > div > div > div >  div:nth-child(2) > div > div:nth-child(2){
    flex:1;
    justify-content:start;
    padding:2em;
} 
.uagb-block-d3be2094 .wp-block-button > a{
	line-height:.85em !important;

}
 /* .uagb-block-d3be2094 > div > div >  div > div > div > div >  div:nth-child(2) > div > div:nth-child(2) > .wp-block-buttons{
    margin-top:auto !important;
 } */
.swiper-pagination{
	overflow:visible !important;
}
.wp-swiper__slide-content > div{
	overflow:hidden !important;
}
.wp-swiper__slide-content > div {

	border-radius:1em;
	box-shadow:0px 0px .4em rgba(0,0,0,1) !important;
	transform:scale(.955);
}
.slider-cars-sale-container h2{
	margin-bottom:0em;
}
.slider-cars-sale-container a{
	margin-top:1.5em !important;
}
	.slider-cars-sale-container p{
		margin:.8em 0em !important;
	}

@media (max-width:500px){
	.slider-cars-sale-container p{
		margin:.5em 0em !important;
	}
}

/*image*/
.image-container{
	--size:12em;
		height:var(--size)  !important;
	max-height:var(--size)  !important;
	overflow:hidden;
		margin-bottom:0em !important; 
	
}
	.image-container .kb-gallery-image-contain,
	.image-container .kb-gallery-image-contain img{
	height:var(--size) !important;
}

.swiper-pagination span{
	overflow:visible !important;
	transform:translateY(-.05em) !important;
}
.wp-swiper__slide-content .wp-block-kadence-advancedgallery{
	flex:auto !important;
}
.wp-swiper__slide-content .kb-gallery-ul.kb-gallery-type-slider .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic.kb-gallery-image-ratio-inherit img{
	object-fit:cover;
}


@media (max-width:900px){
	
	.image-container{
		--size:15em;
}

}
@media (max-width:480px){
	
	.image-container{
		--size:13em;
}

}
.wp-swiper__slide-content h4{
	margin-bottom:.5em !important;
}
.wp-swiper__slide {
	height: auto !important;
  display: flex !important;
}
/* .wp-swiper__slide .wp-swiper__slide-content > .wp-block-uagb-container{
	height:fit-content !important;
    background:red;
} */

/*tik tok*/
.tik-tok{
    position: fixed;
    bottom: 15px;
    right: 10px;
    width: 50px;
    aspect-ratio: 1 / 1;
    z-index: 999 !important;
    display: flex;
	
}
.tik-tok img{
	width:100%;
	height:100%;
	object-fit:cover ;
}

.header-img{
    border-radius: 1.5em;
}

//booking inspection & sell your car page
#primary{
    margin:0em !important;
}
.page-id-3565 #primary #main,
.page-id-3587 #primary #main{
    padding-top:150px ;
}
.custom-banner-container,
.custom-sellcar-banner-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.custom-banner-container h2,
.custom-sellcar-banner-container h2{
    margin-bottom:10px;
    text-align:center;
}
.custom-banner-container p,
.custom-sellcar-banner-container p{
    color: black;
    margin: 0px;
    font-size: 1em;
    text-align:center;
    max-width: 850px;
    letter-spacing: .2px;
}
.custom-booking-container{
    width: 100%;
    margin: 60px auto 0px auto !important;
    max-width: 1000px !important;
    background-color: #f6f6f6;
    padding: 40px;
    border-radius: 20px;
}
.custom-booking-container .booking-heading{
    font-size: 30px;
    color: black;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #cccaca;
}
.field-head{
    color: black;
    font-weight: 500;
    margin-bottom: 10px !important;
    letter-spacing:0px;
}
#price-group,
#emirate-group,
#time-group{
    display:flex;
    gap:10px;
    margin-bottom:20px;
    flex-wrap:wrap;
}
#price-group button {
  display: flex;
  flex-direction: column;
  text-align: start;
  text-transform: capitalize;
  padding: 15px 20px;
  border-radius: 10px;
  min-width: 170px;
  background-color: transparent;
  color: black;
}
#price-group button.active{
    outline: 1px solid var(--ast-global-color-0);
    background-color: rgba(37, 57, 147, .05);
}
#price-group button span:nth-child(1){
    font-size:20px;
}
#price-group button span{
    font-weight:bolder;
    line-height:normal;
    letter-spacing:0px;
}
.user-field {
    margin-bottom:20px;
}
input::placeholder{
    color:#868686;
    opacity:1;
    letter-spacing:0px;
    line-height:1;
}
.user-field input[type="text"],
.user-field input[type="number"],
.user-field input[type="date"]{
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    background-color: #efefef;
    letter-spacing:0px;
    line-height:1;
    color:black;
}


#emirate-group button {
  display: flex;
  flex-direction: column;
  text-align: start;
  text-transform: capitalize;
  padding: 13px 21px;
  border-radius: 10px;
  background-color: transparent;
  color: black;
  font-weight:bolder;
}
#emirate-group button.active{
    outline: 1px solid var(--ast-global-color-0);
    background-color: rgba(37, 57, 147, .05);
}

.user-field input[type="date"]{
    border:1.3px solid #d6d5d5;
}


#time-group button {
  display: flex;
  flex-direction: column;
  text-align: start;
  text-transform: capitalize;
  padding: 13px 11px;
  border-radius: 10px;
  background-color: transparent;
  color: black;
  font-weight:bolder;
}
#time-group button.active{
    outline: 1px solid var(--ast-global-color-0);
    background-color: rgba(37, 57, 147, .05);
}

#submit-booking{
    width: 100%;
    padding: 20px;
    border: none;
    background: var(--ast-global-color-0);
    color: #fff;
    border-radius: 60px;
    font-size: 15px;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    margin-top: 20px;
    letter-spacing: 0px;
    text-transform: capitalize;
}

@media (max-width:770px){
    .page-id-3565 #primary #main,
    .page-id-3587 #primary #main{
        padding-top:120px ;
        margin-top:-4em;
    }

    .custom-booking-container{
        padding: 40px 20px;
    }
}


#block-7 > div{
    justify-content:center;
}


body.sending-form{
    position:relative;
}
body.sending-form::after{
    position:absolute;
    content:' ';
    top:0px;
    bottom:0px;
    left:0px;
    right:0px;
    background-color: rgba(0,0,0,.15);
    pointer-events: all;
}

/* sell your car  */
.custom-vehicle-plan-grid{
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    margin-bottom:50px;
}
.custom-vehicle-plan-grid-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.custom-vehicle-plan-grid-item span{
    color: black;
    text-align: center;
    font-weight: 600;
    font-size: 1em;
}
.custom-vehicle-plan-grid-item .svg-item{
    background-color: var(--ast-global-color-0);
    padding: 15px;
    color: var(--ast-global-color-1);
    display: flex;
}
.custom-vehicle-plan-grid-item .svg-item svg{
    --size:1.85em;
    width:var(--size);
    height:var(--size);
}
@media (max-width:850px){
    .custom-vehicle-plan-grid {
        grid-template-columns: repeat(3,1fr);
    }
}
@media (max-width:650px){
    .custom-vehicle-plan-grid {
        grid-template-columns: repeat(2,1fr);
    }
}
.custom-info-vehicle-banner{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.info-vehicle-head{
    display: flex;
    gap: 10px;
    align-items: center;
}
.info-vehicle-head h6{
    margin: 0px !important;
    font-size: 23px;
    color: black;
}
.info-vehicle-head svg{
    color: var(--ast-global-color-0);
    width: 2em !important;
    height: 2em !important;
}
.custom-info-vehicle-banner p{
    color: black;
    margin: 0px;
    font-size: 1em;
    text-align: start;
    letter-spacing: .2px;
    margin-bottom:30px;
}
.custom-cta-inspection{
    color:black;
}
.custom-cta-inspection a {
    font-weight: 600;
    color: var(--ast-global-color-0);
    text-decoration: underline;
}


/* booking inspection section */
.custom-book-inspection-section{
    margin: 20px 0px;
    margin-bottom:0px;
    display: flex;
    gap:50px;
    background-image: url(/wp-content/uploads/2026/09/book-inspection-img-scaled.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position:relative;
}
.custom-book-inspection-section::after{
    position:absolute;
    content:' ';
    background-color:rgba(0,0,0,.4);
    top:0px;
    bottom:0px;
    left:0px;
    right:0px;
}
.custom-book-inspection-content{
    z-index:2;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 700px;
    padding: 50px 50px 100px 50px;
}
@media (max-width:550px){
    .custom-book-inspection-content{
        padding: 30px 15px 100px 15px;
    }
}
.custom-book-inspection-content h1{
    margin-bottom:10px !important;
    color:white !important;
}
.custom-book-inspection-content p{
    margin-bottom:10px !important;
    color:white !important;
}
.custom-book-inspection-content a{
    background-color: var(--ast-global-color-0);
    padding: 20px;
    font-weight: 700;
    width: fit-content;
    line-height: 1;
    color: var(--ast-global-color-1);
}
/* .custom-book-inspection-img{
    height: 400px;
    width: 550px;
    background-image:url('/wp-content/uploads/2026/09/book-inspection-img-scaled.jpg');
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
}

@media (max-width:850px){
    .custom-book-inspection-section{
        flex-direction:column;
        gap:0px;
    }
    .custom-book-inspection-img {
        order: -1;
        width: 100%;
    }
    .custom-book-inspection-content {
        padding: 15px;
    }
} */

/*extra css*/
.wp-block-uagb-icon-list.uagb-block-04dd0480{
    align-items:center !important;
}

.custom-sell-car-container h1{
    color: var(--ast-global-color-1) !important;
}
.custom-sell-car-container p{
    color: var(--ast-global-color-4) !important;
    max-width: 750px !important;
}
.custom-sell-car-container a{
    font-weight: 700 !important;
    color: white !important;
}

.custom-checkbox{
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}
.custom-checkbox span{
    color:black;
    letter-spacing:0px;
}