.heading_calculator{
    display: flex;
    justify-content: center;
    margin: 80px auto 40px;
    text-align: center;
    font-size: 28px !important;
    font-weight: 700 !important;
}
.nav.nav-tabs{
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0 auto;
    border: none;
    outline: none;
    width: 80%;
}
.nav.nav-tabs .nav-item{
    width: calc((100% / 3));
}
.nav.nav-tabs .nav-item .nav-link{
border-radius: 0;
border: none;
outline: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
height: 55px;
font-size: 18px;
width: 100%;
padding: 15px 30px;
box-sizing: border-box;
color: black;
transition: all 0.2s ease-out;
background: transparent;
text-align: center;
/* color: #60697b; */
}
.nav.nav-tabs .nav-item .nav-link.active,
.nav.nav-tabs .nav-item:hover .nav-link{
    background: #3F78E0;
    color: #ffffff;
}
.nav.nav-tabs .nav-item:nth-child(1) .nav-link{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #eee;
}
.nav.nav-tabs .nav-item:nth-child(2) .nav-link{
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.nav.nav-tabs .nav-item:nth-child(3) .nav-link{
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 1px solid #eee;
}


@media only screen and (max-width: 767.98px){
    .nav.nav-tabs{
        width: 90%;
    }
    .nav.nav-tabs .nav-item{
        width: 100%;
    }
    .nav.nav-tabs .nav-item:nth-child(1) .nav-link{
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0;
        border: 1px solid #eee;
    }
    .nav.nav-tabs .nav-item:nth-child(2) .nav-link{
        border-top: none;
        border-bottom: none;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
    }
    .nav.nav-tabs .nav-item:nth-child(3) .nav-link{
        border-top-right-radius: 0;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        border: 1px solid #eee;
    }
}

.home-blog-img-container {
    max-height: 256px;
    position: relative;
    overflow: hidden;
}

.home-blog-img-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.blog-img-container {
    max-height: 287px;
    position: relative;
    overflow: hidden;
}

.blog-img-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
.dropdown-menu {
    /* background-color: #ffffff !important; */
}

.dropdown-menu .dropdown-item {
    /* color: #000000 !important; */
}

.dropdown-menu .dropdown-item:hover {
    /* background-color: #f0f0f0 !important; 
    color: #000000 !important; */
}

.btn-white.my-button {
    /* background-color: #ffffff;
    color: #000000 !important; */
    border: 1px solid #cccccc;
}

/* Hover zamanı istəyə uyğun rəng */
.btn-white.my-button:hover {
    background-color: #f0f0f0;
    color: #000000 !important;
}
/* .dropdown-toggle::after {
    color: #2e1b1b !important;
} */
.custom-spacing{
    margin-bottom: 80px;
}

.dropdown-menu {
    display: none;
}

.dropdown.show > .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
    display: block;
    opacity: 1;
}

.description-media img {
    max-width: 400px !important;
    width: 100% !important;
}

@media(max-width: 767px){
    .info_text p {
       height: 100px;
       padding: 0 0 0 0;
    }
    .main_wrap{
        display: contents;
    }
}

.item figure, .swiper-slide figure {
    position: relative !important;
    max-height: 250px !important;
}

@media(max-width: 767px){
    .swiper-wrapper{
        display: flex;
        justify-content: center;
    }

    .btn-close {
        color: white !important;
    }
}

.clickable-service-image {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.clickable-service-image:hover {
    opacity: 0.8;
}
