/* 
Theme Name: Autostar
Theme URI:
Author: Ray-Matrix
Author URI: https://autostar.au/
Description: The parent theme of Autostar
Version: 1.0
*/

body{
    font-size:16px;
}
body ul{
    list-style:none;
    padding: 0;
    margin: 0;
}
body a{
    text-decoration:none;
    color:inherit;
}
.fill {
    height: 100%;
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    right: 0;
    top: 0;
}
.banner{
    position:relative;
}
.bg-fill {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: 50% 50%;
}
.banner-layers {
    max-height: 100%;
    height: 100%;
    position: relative;
}
.banner-layers>* {
    position: absolute !important;
}
.text-red{
    color:#ED1C24;
}

a.btn{
    border-radius:5px;
    text-transform:uppercase;
    height:54px;
    width: fit-content;
}

a.red-btn{
    background-color:#ED1C24;
    color:#ffffff;
    padding:19px 14px;
    border:1px solid #ED1C24;
}
a.red-btn:hover{
    background-color:transparent;
    border:1px solid #ffffff;
    color:#ffffff;
}

a.white-btn{
    font-size: 1.125rem;
    color: #ED1C24;
    background-color: #fff;
    line-height: 1.5rem;
    padding: 15px 20px;
    border:1px solid #fff;
}
a.white-btn:hover{
    border:1px solid #ffffff;
    background-color:transparent;
    color:#ffffff;
}
a.outline-white-btn{
    border: 1px solid;
    color:#fff;
}
a.outline-white-btn:hover{
    background-color:#ED1C24;
}
a.img-btn{
    display:flex;
    align-items:center;
    gap:8px;
}

a.img-btn img{
    height:auto;
    width:auto;
    max-width:21px;
    max-height:25px;
}

h1,h2,h3,h4{
    text-transform:uppercase;
    font-weight:700;
}
h2{
    font-size:2.5rem;
    line-height:3rem;
    margin-bottom:30px;
}

h3{
    font-size:1.875rem;
    line-height:2rem;
}

h4{
    font-size:1.875rem;
    line-height:2rem;
}
section.dark{
    background-color: #000000;
    color: #fff;
}
section.gray{
    background-color: #F2F2F2;
}
section.red{
    background-color: #ED1C24;
    color:#ffffff;
}
.row .text-center a{
    margin:0 auto;
}
@media (min-width: 1400px) {
    .container {
        max-width: 1440px;
        padding:0 20px;
        min-width:1200px;
        margin:0 auto;
    }
}
@media (max-width: 1399px) {
    .container {
        max-width: 1200px;
        padding:0 20px;
        margin:0 auto;
    }
}
@media (max-width: 768px) {

    h2,h3{
        font-size:1.5rem;
        line-height:1.75rem;
    }
    h2{
        margin-bottom:20px;
    }
    
}
/* header start */
header{
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}
header.sticky {
    position: fixed;
    background-color: #fff; /* Adjust as needed */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional for a shadow effect */
}
.top-header-1{
    background-color:#040404;
    color:#fff;
    padding:16px 0;
}
.header-logo{
    width: 20%;
    max-width: 250px;
}
.header-text{
    display: flex;
    justify-content: space-between;
    flex: 1;
    padding-left:30px;
}
ul.header-contacts{
    list-style: none;
    gap: 30px;
}
ul.header-contacts,
ul.header-contacts li{
    display: flex;
    align-items:center;
}
ul.header-contacts li{
    gap:10px;
}
.contact-img{
    background-color: #ED1C24;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

ul.header-contacts h6{
    line-height:1rem;
    color:#999999;
    text-transform:uppercase;
    margin-bottom:8px;
}
ul.header-contacts p{
    margin:0;
}
ul.header-contacts p a{
    color:#fff;
    text-decoration:none;
}
.header-btns{
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-header-2{
    background-color: #ED1C24;
}

ul#menu-main-menu{
    display:flex;
    align-items:center;
    gap:40px;
    padding:20px 0;
}

ul#menu-main-menu>li a{
   color:#ffffff;
}

ul#menu-main-menu>li>a{
    padding:9px 18px;
    line-height:18px;
    display: block;
    text-transform:uppercase;
}

ul#menu-main-menu>li.current-menu-item>a,
ul#menu-main-menu>li>a:hover{
    background-color:#fff;
    color:#040404;
}
ul#menu-main-menu>li.menu-item-has-children{
    position:relative;
}
ul#menu-main-menu>li.menu-item-has-children:before{
    content:'';
    background-image:url(/wp-content/uploads/2024/07/arrow.png);
    background-size:cover;
    background-repeat:no-repeat;
    position:absolute;
    right: 0;
    top: 16px;
    height:4px;
    width:8px;
}

#menu-main-menu>li{
    position:relative;
}
#menu-main-menu li ul.sub-menu{
    display: flex;
    position: absolute;
    flex-wrap: wrap;
    width: 290px;
    /* max-height: 0; */
    z-index: 9;
    opacity: 0;
    margin: 0;
    -webkit-transition: opacity .25s;
    -o-transition: opacity .25s;
    transition: opacity .25s;
    color: #777;
    text-align: left;
    border: none;
    overflow: hidden;
    left: -99999px;
    background-color: #000;
    padding: 18px 20px;
    font-size: 0.875rem;
    line-height: 1.875rem;
    text-transform: uppercase;
}
#menu-main-menu li.active ul.sub-menu {
    left: -25px;
    top: 55px;
    margin: 0 !important;
    z-index: 20;
    opacity: 1;
}
#menu-main-menu li ul.sub-menu>li{
    width:100%;
}
#menu-main-menu li ul.sub-menu>li:hover a{
    color:#ED1C24;
}

.mobile-header-btn button{
    padding: 0;
    border: none;
    background-color: transparent;
    width:15px;
}

  /* Page Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

 .sidebar-overlay.active {
    display: block;
}
.mobile-header-btn button {
    cursor: pointer;
}
.mobile-header-btn img{
    width:auto;
    height:15px;
}
.mobile-sidebar{
    position: fixed;
    top: 0;
    left: -110%;
    width: 100%;
    height: 100%;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
    transition: left 0.3s ease;
    z-index: 110000;
    padding: 80px 30px 30px;
    background-color:rgba(0,0,0,0.9);

}
.mobile-sidebar .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}
 .mobile-sidebar.active {
    left: 0;
}

#menu-sidebar{
    background:#ED1C24;
}

.mobile-sidebar .header-text,
.mobile-sidebar .header-text>*{
    flex-direction: column;
}
.mobile-sidebar .header-text{
    gap:40px;
}
.mobile-sidebar .header-text>*{
    align-items: flex-start;
}
.mobile-sidebar .header-btns a.img-btn{
    width: 230px;
}
.mobile-sidebar .header-btns a.img-btn:hover{
    color:#fff;
}
#close-sidebar img{
    width:18px;
    height:18px;
}

.mobile-sidebar .header-nav ul{
    font-size: 1.25rem;
    color: #fff;
    line-height: 2.5rem;
    text-transform: uppercase;
}

.mobile-sidebar ul.sub-menu{
    position: absolute;
    right:110%;
    background-color: red;
    width: 100%;
    left: auto;
    top: 0;
    padding: 30px;
    height: 100%;
}
.mobile-sidebar ul.sub-menu>li:not(.back-btn-item){
    padding-right:10px;
}
.mobile-sidebar ul.sub-menu.active{
    right:0;
}

#menu-sidebar .container{
    padding: 0;
}
.mobile-sidebar li.menu-item-has-children{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
button.submenu-btn,
.back-btn-item button{
    padding: 0;
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
}
button.submenu-btn img,
.back-btn-item button img{
    width:12px;
    height:auto;
}

.back-btn-item{
    position: absolute;
    right: 25px;
    top: 40px;
}
.back-btn-item button{
    transform:rotate(180deg);
}
@media screen and (min-width:769px){
   .mobile-header-btn{
        display:none;
    }
}
@media screen and (max-width:768px){
    .top-header-1{
        padding:10px 0;
    }
    .top-header-1>.container{
        justify-content: space-between;
    }
    .header-logo{
        width:auto;
    }
    .header-logo img{
        height:52px;
        width:auto;
    }
    .top-header-1 .header-text{
        display:none;
    }
    .top-header-2{
        display:none;
    }
   
}
/* header end */
/* footer start */
.footer-content{
    background-color:#040404;
    color:#fff;
    padding:80px 0;
}

.copyright-content{
    background-color:#ED1C24;
    color:#fff;
    padding:12px 20px;
}
.copyright-content p{
    font-size:14px;
    margin:0;
}
.footer-logo>div{
    margin-bottom:30px;
}
.footer-logo>p{
    font-size:14px;
    line-height:20px;
}
#nav_menu-2{
    display: flex;
    justify-content: center;
    padding-top:20px;
}
ul#menu-footer-menu>li{
    text-transform:uppercase;
}
ul#menu-footer-menu>li+li{
    margin-top:30px;
}
#custom_html-3{
    flex:1;
}

h2.widget-title{
    font-size: 1.5rem;
    line-height:1.75rem;
    margin-bottom:20px;
    text-transform:capitalize;
}

#custom_html-3 h4{
    font-size:0.875rem;
    margin-bottom:6px;
}
#custom_html-3 h3{
    font-size: 1.5rem;
    line-height:1.75rem;
    margin-bottom:10px;
    text-transform:capitalize;
}
#custom_html-3 h3+p{
    text-transform:uppercase;
}

@media screen and (min-width:769px){
    .footer-content>.container{
        gap:10%;
    }
    #custom_html-2{
        width:30%;
    }
    #nav_menu-2{
        width: 20%;
    }
}
@media screen and (max-width:768px){
    .footer-content>.container{
        flex-direction: column;
        padding: 0 20px;
    }
    #nav_menu-2{
        justify-content: left;
        margin-bottom: 40px;
    }
    ul#menu-footer-menu>li+li {
        margin-top: 20px;
    }
}
/* footer end */
/* animation start */
.fade-in.fade-active{
	animation: fadeIn 1s ease-in-out 0s forwards;
}
.fadeinright.fade-active{animation: fadeInRight 1s ease-in-out 0s forwards;
}
.fadeinleft.fade-active{animation: fadeInleft 1s ease-in-out 0s forwards;
}
@keyframes fadeInleft {
  0% {
		opacity: 0;
		transform: translateX(-300px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}
@keyframes fadeInRight {
  0% {
		opacity: 0;
		transform: translateX(300px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeIn{
  0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}
/* animation end */

/* banner start */
.banner{
    height:375px;
}
.banner.home-banner{
    height:630px;
}

.banner .text-box{
    width:50%;
    color:#ffffff;
    padding:0 20px;
}
.banner:not(.home-banner) .text-box{
    padding-top:40px;
}
.banner .text-box.breadcrumb .text-inner div{
    font-size:0.875rem;
    line-height:1rem;
    text-transform:uppercase;
    font-weight:500;
    display:flex;
    align-items:center;
}
.banner .text-box.breadcrumb div .divider{
    height: 16px;
    width: 2px;
    margin: 0 10px;
    display: block;
    background-color: #fff;
}
.banner h1{
    font-size:4rem;
    line-height:4.125rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom:30px;
}

.banner a.btn{
    font-size: 1.25rem;
    line-height: 1.375rem;
    padding: 15px 25px;
    font-weight:500;
}
@media screen and (max-width:768px){
    .banner .text-box{
        width:100%;
    }
    .banner .text-box.breadcrumb{
        padding-top:20px;
    }

    .banner h1{
        font-size: 2rem;
        line-height: 2.5rem;
        margin-bottom:20px;
    }
    .home-banner .bg-fill{
        background-image:url(/wp-content/uploads/2024/07/mbg.png)!important;
    }
    
    .page-id-27 .bg-fill{
        background-image:url(/wp-content/uploads/2024/07/mbx.jpg)!important;
    }
}

/* banner end */

/* gallery start */
#acf-gallery{
    margin:120px 0;
    text-align: center;
}
.acf-gallery-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 30px;
    padding-bottom: 30px;
}

.acf-gallery-item img {
    max-width: 100%;
    height: auto;
    display: block;
}
#acf-gallery a.loadMoreBtn{
    border:1px solid #979797;
    color:#979797;
    font-size:1.25rem;
    line-height: 1.5rem;
    padding:15px 29px;
}
@media screen and (max-width:768px){
    #acf-gallery{
        margin:40px 0 60px;
    }
    .acf-gallery-list{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 11px;
        padding-bottom:20px;
    }
    .acf-gallery-item.fade-active{
        animation:none;
    }
}

/* gallery end */
/* homepage start */
.banner-bottom-list{
    display: flex;
    align-items: stretch;
    gap: 40px;
    margin-top: -120px;
    position: relative;
    z-index: 1;
    margin-bottom:100px;
}
.banner-bottom-item{
    display: flex;
    align-items:center;
    gap: 16px;
    width: 50%;
    padding: 50px 20px;
    background-color: #ED1C24;
    color: #fff;
}
.banner-bottom-item>div:first-of-type{
    width:15%;
}
.banner-bottom-item .icon-content{
    flex:1;
}
.banner-bottom-item img{
    width:100%;
    height:auto;
}

.banner-bottom-item h3{
    margin-bottom:20px;
    text-transform: uppercase;
}
.banner-bottom-item h3+div{
    display:flex;
    align-items:center;
    column-gap: 15px;
}

.banner-bottom-item p{
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-transform: uppercase;
    margin: 0;
}

.home .section-1{
    padding:70px 0 120px;
}
.section-1 img{
    width:100%;
    height:auto;
}
.section-1 a.img-btn,
.section-2 a.img-btn{
    padding:19px 15px;
    width: unset;
    max-width: 250px;
    justify-content: center;
}
.section-1 a.img-btn:hover{
    border: 1px solid #ED1C24;
    background-color:#ED1C24;
    color:#fff;
}
.section-1 .row{
    align-items:center;
    gap:50px;
}
.section-1 .row .col-lg-6,
.section-1 .row .col-lg-8{
    flex:1;
}

.section-1 .row p+p:last-child{
    margin-top:30px;
}

.section-1 .position-absolute{
    width: 50%;
    height: 100%;
    background-size: cover;
}
.section-2{
    padding:100px 0;
}
.section-2 .position-absolute{
    width:40%;
    height: 100%;
    background-size: cover;
}

.home .section-2 .row p{
    max-width:80%;
    margin:0 auto;
}
.section-2 .row p+p{
    margin-top:20px;
}

.section-2 .row p+p:last-child{
    margin-bottom:30px;
}
.section-3,
.reviews-sec,
.section-4,
.section-5,
.section-6{
    padding:120px 0;
}
.section-3 h2{
    margin-bottom:40px;
}
.section-3 h2+p{
    margin-bottom:40px;
}
.home .section-3.gray{
    background-color:#fff;
}
.service-list{
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}
.service-list-item{
    background-color: #fff;
    padding: 20px;
}

.home .service-list-item{
    background-color: #F2F2F2;

}

.service-list-item img{
    max-width: 100%;
    height: auto;
}
.service-list-item h4{
    margin:30px 0 20px;
}
a.link{
    font-weight:700;
    position:relative;
}
a.link:after{
    content:'';
    background-image:url(/wp-content/uploads/2024/07/Vector.png);
    background-size:cover;
    background-repeat:no-repeat;
    position:absolute;
    right: -15px;
    top: 4px;
    height:12px;
    width:8px;
}

button.slick-arrow{
    height: 40px;
    width: 40px;
}

button.slick-arrow:before{
    display:none;
}

button.slick-arrow img{
    width:100%;
    height:auto;
}
button.slick-prev{
    left: -50px;
}
button.slick-next{
    right: -50px;
}
button.slick-next img{
    transform: rotate(180deg);
}
.slick-dotted.slick-slider{
    margin-bottom:10px;
}
ul.slick-dots{
    display:none;
}

.tick-list{
    display:flex;
    margin:10px 0 30px;
    flex-wrap:wrap;
}
.tick-list>li{
    width:50%;
    position:relative;
    padding-left: 25px;
}
.tick-list>li:before{
    content:'';
    background-image:url(/wp-content/uploads/2024/07/tick.png);
    background-size:cover;
    background-repeat:no-repeat;
    position:absolute;
    left: 0;
    top: 7px;
    height: 11px;
    width: 15px;
}

.section-5 h2{
    margin:0;
}
.title{
    align-items: center;
    margin-bottom:60px;
}
.section-5 img{
    width:100%;
    height:auto;
}
ul.claim-list{
    list-style: disc;
    padding-left: 15px;
    margin-bottom: 30px;
}
.vehicle-list{
    display:flex;
    justify-content:space-between;
    gap:5%;
    margin:60px 0 0;
}
.vehicle-list>li{
    text-align:center;
}
.vehicle-list>li img{
    max-height:200px;
    height:auto;
    width:100%;
    margin:0 auto;
}

.section-6 h2+div>p{
    max-width: 50%;
    margin: 0 auto;
    /*text-transform:capitalize;*/
}
@media screen and (max-width:768px){
    body:not(.home) .banner a.btn {
        font-size: 0.875rem;
        padding: 14px 20px;
    }
    .banner-bottom-list{
        flex-direction:column;
        gap:20px;
        margin:0 0 20px;
    }
    .banner-bottom-item{
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .banner-bottom-item a.white-btn{
        padding:14px 37px;
    }
    .banner-bottom-item>div:first-of-type{
        width:120px;
    }
    .banner-bottom-item h3+div{
        flex-direction: column;
        row-gap: 15px;
    }

    .section-1 .row{
        gap:30px;
    }
    .section-1 .row .col-lg-6,
    .section-1 .row .col-lg-4,
    .section-1 .row .col-lg-8{
        flex:none;
    }
    .section-1 .position-absolute{
        width: 100%;
        height: 360px;
    }
    .home .section-1,
    .section-2{
        padding: 400px 0 40px;
    }

    .section-2 .row p{
        max-width: 100%;
    }
    .section-2 .position-absolute{
        width: 100%;
        height: 360px;
    }
    .service-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 18px;
        margin-top: 20px;
    }
    .service-list-item h4{
        font-size:1.255rem;
        line-height:1.375rem;
        margin: 27px 0 18px;
    }
    .section-3 {
        padding: 40px 0;
    }
    .section-5, .section-4,.reviews-sec,.section-6 {
        padding: 60px 0;
    }
    .section-3 h2{
        margin-bottom:20px;
    }
    .slick-slide .acf-gallery-list{
        grid-template-columns: repeat(3, 1fr);
        gap:7px;
    }
  
    button.slick-arrow{
        display:none!important;
    }
    .slick-dotted.slick-slider {
        margin-bottom: 0;
    }
    .tick-list{
        margin-bottom:20px;
    }
    .tick-list>li {
        width: 100%;
    }
    .section-5 .title{
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom:20px;
    }
    .section-6 h2+div>p{
        max-width: 100%;
    }
    .vehicle-list{
        flex-direction:column;
        gap: 20px;
        margin-top:30px;
    }
    .vehicle-list>li img{
        max-width:330px;
    }
}
/* section end */



/**/