@import url(mainstyle.css);

*{
    scroll-behavior: smooth;
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;  
}
body{
    overflow-x: hidden;
}
.btn-close {
    background-image: unset;
}
a{
    color: inherit;
    text-decoration: none;
}

[data-fixqora-theme="dark"] [data-logo="dark"],
[data-fixqora-theme="light"] [data-logo="light"] {
    display: block;
}

[data-fixqora-theme="dark"] [data-logo="light"],
[data-fixqora-theme="light"] [data-logo="dark"] {
    display: none;
}


/* ============================================ header css =================================================== */


@media(max-width: 991px) {
    .nav-link{
        color: var(--head-text) !important;
    }
}

.header-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white-bg);
    color: var(--nav-text);
    margin-bottom: -45px;
    max-height: 60px;
    z-index: 100;
}


.nav-link{
    color: var(--nav-text);
    font-weight: 500;
    font-size: 18px;
    padding: 0px !important;
    text-transform: uppercase;
    position: relative;
}
.nav-link:focus{
    color: var(--nav-text) !important;
}
.nav-item.active .nav-link, .nav-item:hover .nav-link{
    color: var(--prime-text);    
}
::placeholder{
    color: var(--input-text) !important;
    /* opacity: 0.5 !important; */
}


.head-content{
    margin: auto;
    max-width: 100%;
    text-align: center;
    margin-bottom: 50px !important;
}

.head-content2{
    margin: auto;
    max-width: 100%;
    text-align: start;
    margin-bottom: 50px !important;
}

.head-content p{
    margin: auto;
    max-width: 60%;
    text-align: center;
    padding: 0px 10px;
}

.theme-btn{
    min-width: 35px;
    min-height: 35px;
}

.icons-bg{
    min-width: 30px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--icon-text);
    background-color: var(--prime-bg);
}


/* =============================================== Banner Section ===============================================*/

body{
    overflow-x: hidden;
}
.banner-img {
    position: relative;
    min-height: 800px;
    overflow: hidden;
    background:linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),  url('../../assets/images/banner.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;    
    align-items: center;
    min-height: 800px;
    max-width: 800px;
    width: 100%;
    margin: 0px 230px;
}

@media(max-width: 1199px){
    .banner-content {
        min-height: 600px;
        width: 100%;
        margin: unset;
    }
    
    .banner-img {
        min-height: 600px;
    } 
}


@media(max-width: 575px){
    .banner-content {
        min-height: 500px;
    } 
    .banner-img {
        min-height: 500px;
    } 
}

[data-fixqora-theme="dark"] {
    .serve-icon img{
        filter: invert(1);
    }
}

/* service card css */
.service-card {
    position: relative;
    padding-bottom: 170px;
}

.service-img {
    width: 90%;
    margin-left: auto;
    border-radius: 20px;
    overflow: hidden;
}

.service-content {
    width: 90%;
    position: absolute;
    left: 0;
    bottom: -150px;
    background-color: var(--card-bg);
    padding: 22px 30px 28px;
    border-radius: 20px;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 30px;
}

.service-bg{
    font-size: 20px;
    min-width: 50px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white-text);
    background-color: var(--dark-bg);
}


/* about css */
.about-content{
    max-width: 530px;
}

@media(max-width: 1199px){
    .about-content{
        max-width: 100%;
        padding-top: 60px;
    }
}

.about-content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media(max-width: 500px){
    .about-content ul {
        display: grid;
        grid-template-columns: unset;
        gap: 5px;
    }
}

.about-bar{
    width: 100%;
    max-width: 400px;
    position: absolute;
    bottom: -50px;
    right: -20px;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--card-bg);
}

@media (max-width: 575px) {
    .about-bar{
        position: relative;
        max-width: 100%;
        bottom: unset;
        right: unset;
        padding: 20px;
        border-radius: 0px;
    }
}

.extra-img{
    min-height: 400px;
    width: 100%;
    background: linear-gradient(178deg, #1f0f9a2e 0, #271a88cb 100%), url('../../assets/images/extra.jpg') no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 10px;
}

.extra-img a{
    position: absolute;
    bottom: 20px;
    left: 30px;
}



/* fix css */
.fix-list ul li {
    list-style: inside;
    padding-top: 5px;
} 
.fix-img img{
    max-height: 350px;
}

/* team css */
.team-img {
    max-height: 400px;
    width: 100%;
    transition: transform .5s ease;
    overflow: hidden;
}

.team-card:hover .team-img {
    transform: scale(1.15);
}


/* process-card css */

.process-card{
    background-color: var(--card-bg);
    width: 100%;
    margin-left: -100px;
    padding: 50px 60px;
}

.process-img img{
    max-height: 400px;
    height: 100%;
}

@media (max-width: 991px) {
    .process-card{
        margin-left: unset;
        padding: 25px 30px;
    }
    .process-img img{
        max-height: 300px;
        height: 100%;
    }
}

@media (max-width: 767px) {
    .process-card{       
        width: 90%;
        margin-left: 5%;
        margin-top: -50px;
    }
    .process-img img{
        width: 100%;
    }
}

/* Process Tabs */
.nav-tabs {
    border: none;
    gap: 12px;
    position: relative;
}

.nav-tabs:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    border: 1px dashed var(--prime-border);
    margin-top: 21px;
    z-index: -1;
}

.nav-tabs .nav-links {
    padding: 5px 18px;
    border-radius: 32px;
    font-weight: 600;
    color: var(--head-alt-text);
    background: var(--white-bg);
    border: 2px solid var(--prime-border);
    transition: all 0.3s ease;
}

.nav-tabs .nav-links:hover {
    background: var(--prime-bg);
    color: var(--white-text);
}

.nav-tabs .nav-links.active {
    background: var(--prime-bg);
    color: var(--white-text);
}

/* blog css */
.blog-img img{
    object-fit: cover;
    object-position: center center;
    min-height: 300px;
    border-radius: 10px;
}
.blog-content{
    position: absolute;
    bottom: 20px;
    left: 7.5%;
    background-color: var(--card-bg);
    opacity: 0.85;
    width: 85%;
    border-radius: 10px;
}


/* testimonial css */
.testimonial-img{
    max-width: 50px;
    max-height: 50px;
    border-radius: 50%; 
    overflow: hidden;
}
.testimonial-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* rating */
.star-rating {
  display: inline-block;
  font-size: 18px;
  cursor: pointer;
  background-color: var(--body-bg);
}

.star {
  position: relative;
  display: inline-block;
  color: var(--alt-text);
}

.star:before {
  content: '★';
  position: absolute;
  left: 0;
  width: 0;
  overflow: hidden;
  color: var(--star-text);
}

.star.filled:before {
  width: 100%;
}

.star.half:before {
  width: 50%;
}

.border-contact{
    border: unset;
    border-left: 4px solid var(--prime-border);
}

/* ================================================== */
div.error{
    color: rgb(255, 76, 76);
    text-transform: capitalize;
    font-size: 14px;
}
#newsletter{
    position: relative;
}
#newsletter div.error{
    position: absolute;
    bottom: -25px;
    left: -0px;
}

#backtotop {
    position: fixed;
    bottom: 30px;
    right: 30px; 
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    width: 50px !important;
    min-width: unset;
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center; 
}
#backtotop.show {
    opacity: 1;
    visibility: visible;
} 
