@import url(mainstyle.css);

*{
    scroll-behavior: smooth;
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;  
}
.btn-close {
    background-image: unset;
}
a{
    color: inherit;
    text-decoration: none;
}

[data-Digitvora-theme="dark"] [data-item="dark"],
[data-Digitvora-theme="light"] [data-item="light"] {
    display: block;
}

[data-Digitvora-theme="dark"] [data-item="light"],
[data-Digitvora-theme="light"] [data-item="dark"] {
    display: none;
}



/* ============================================ header css =================================================== */
header.fix{
    background-color: var(--head-bg);
}
header.fix .nav-link{
    color: var(--nav-text);
}
[data-Digitvora-theme="light"] header .navbar-brand img[data-logo="dark"]{
    display: block;
}
[data-Digitvora-theme="light"] .navbar-brand img[data-logo="light"]{
    display: none;
}
[data-Digitvora-theme="light"] header.fix .navbar-brand img[data-logo="light"]{
    display: block;
}
[data-Digitvora-theme="light"] header.fix .navbar-brand img[data-logo="dark"]{
    display: none;
}
[data-Digitvora-theme="dark"] [data-logo="light"]{
    display: none;
}

.nav-link{
    color: var(--white-text);
    font-weight: 500;
    font-size: 18px;
    padding: 0px !important;
    margin: 0px !important;
    text-transform: capitalize;
    position: relative;
    border-bottom: 2px solid transparent;
}
.nav-link:focus{
    color: var(--nav-text) !important;
}
.nav-item.active .nav-link, .nav-item:hover .nav-link{
    /* color: var(--prime-alt-text);     */
    border-bottom: 2px solid var(--main-border);
}
::placeholder{
    color: var(--input-text) !important;
}


@media(max-width: 991px){
    .nav-link {
        width: 30%;
        color: var(--nav-text);
    } 
}
@media(max-width: 400px){
    .nav-link {
        width: 40%;
        color: var(--nav-text);
    } 
}

.head-content{
    width: 100%;
    margin: auto;
    max-width: 800px;
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 50px !important;
}


.theme-btn{
    width: 51px;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}


.icons-bg{
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--icon-text);
    background-color: var(--prime-bg);
}

.footer-icons{
    min-width: 60px;
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--icon-text);
    background-color: var(--prime-bg);
}

/* Banner Section */
.banner-section {
    position: relative;
    background-color: var(--banner-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    min-height: 700px;    
    margin-top: -85px;
    padding-top: 150px;
}

.banner-content{
    align-items: center; 
}
.banner-img {
    margin: 0 auto;
    width: 80%;
}

.banner-img img {
    width: 100%;
    max-height: 600px;
    height: 100%;
    object-fit: cover;
}

/* Tablet */
@media (max-width: 991px) {
    .banner-section {
        min-height: 600px;
        padding-top: 100px;
    }
    .banner-img img {
        object-fit: contain;
        max-height: 400px;
    }
}


/* about css */
.about-content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* team css */
@media (max-width: 575px) {
    .team-img img{
        max-height: 250px;
        height: 100%;
    }
}


/* service css */
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    color: var(--prime-text);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid var(--prime-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-main:hover .service-icon{
    color: var(--white-text);
    background: rgba(255, 255, 255, 0.411);
    border: 1px solid var(--light-border);
}
.service-main{
    background-color: var(--card-alt-bg);
}
.service-main:hover {
    background-color: var(--prime-bg);
}
.service-content h3{
    color: var(--head-text);
}
.service-content p{
    color: var(--para-text);
}
.service-content a{
    color: var(--prime-text);
}
.service-main:hover .service-content h3{
    color: var(--white-text) !important;
}
.service-main:hover .service-content p{
    color: var(--white-text);
}
.service-main:hover .service-content a{
    color: var(--white-text);
}



/* choose css */
.choose-content span {
    color: var(--prime-text);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.choose-content span:hover {
    color: var(--white-text);
    background-color: var(--prime-bg);
}

.choose-img, .about-img {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}
.choose-img img, .about-img img{
    max-height: 450px;
    height: 100%;
}
@media (max-width: 991px) {
    .choose-img, .about-img {
        margin-left: unset;
        margin-right: unset;
        width: 100%;
    }
    .choose-img img, .about-img img{
        max-height: 350px;
        height: 100%;
    }
}
@media (max-width: 575px){
    .choose-content span{ 
        font-size: 12px;
    }
}

/* process css */
.process-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    color: var(--prime-text);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid var(--prime-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.process-main:hover .process-icon{
    color: var(--white-text);
    background: rgba(255, 255, 255, 0.411);
    border: 1px solid var(--light-border);
}
.process-main{
    background-color: var(--card-alt-bg);
}
.process-main:hover {
    background-color: var(--prime-bg);
}
.process-content h3{
    color: var(--head-text);
}
.process-content p{
    color: var(--para-text);
}
.process-main:hover .process-content h3{
    color: var(--white-text) !important;
}
.process-main:hover .process-content p{
    color: var(--white-text);
}

/* team css */
.team-img {
    transition: transform .5s ease;
}
.card-img:hover .team-img {
    transform: scale(1.15);
}
.icons-hover{
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 90%;
    border-radius: 20px;
    margin: 0% 5%;
    background: rgba(255, 255, 255, 0.274);
    backdrop-filter: blur(12px);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    color: var(--head-text);
    transition: bottom .5s ease
}
.card-img:hover .icons-hover{
    /* height: 100%; */
    bottom: 5%;        
}

/* testimonial css */
#testimonial-slider .splide__slide .test-card {
    background-color: var(--card-alt-bg);
}
#testimonial-slider .splide__slide .test-card h3{
    color: var(--prime-text);
}
#testimonial-slider .splide__slide .test-card p{
    color: var(--para-text);
}

#testimonial-slider .splide__slide.is-active .test-card {
    background-color: var(--prime-bg);
}

#testimonial-slider .splide__slide.is-active .test-card p, #testimonial-slider .splide__slide.is-active .test-card h3{
    color: var(--white-text);
}

#testimonial-slider .splide__slide:hover .test-card {
    background-color: var(--prime-bg);
}

#testimonial-slider .splide__slide:hover .test-card p, #testimonial-slider .splide__slide:hover .test-card h3{
    color: var(--white-text);
}




/* rating */
.star-rating {
  display: inline-block;
  font-size: 25px;
  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%;
}


/* blog css */
.blog-content{
    position: relative;
    width: 90%;
    margin-top: -50px;
    min-height: 200px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}




#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;
} 



div.error{
    color: red;
    text-transform: capitalize !important;
}

#n_emailform{
    position: relative;
}
#n_emailform div.error{
    position: absolute;
    bottom: -25px;
}
.alertmsg{
    z-index: 9999;
}