.calc_box {
    border: 1px solid #5b6987;
    background-color: #fff;
}

.calc_text:first-letter {
    color: #f74805;
    border-bottom: 2px solid #f74805;
}

.faq_container {
    padding: 0 10px;
    width: 100%;
    padding-bottom: 20px;
    counter-reset: qacount;
}
.faq_container .details {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    margin-top: 5px;
    margin-bottom: 5px;
}

.faq_container .details .question {
    position: relative;
    padding: 10px 0px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
}

.faq_container .active .question h3 {
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.faq_container .details .question h3 {
    font-size: inherit;
    margin: 0;
    padding-left: 25px;
    position: relative;
}

.faq_container .details .question h3::before {
    counter-increment: qacount;
    content: counter(qacount, upper-alpha) ". ";
    position: absolute;
    left: 0;
    color: #007bff;
}

.faq_container .details .question h3:hover {
    text-decoration: underline;
}

.faq_container .details .question:before {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 20px;
    height: 20px;
    font-size: 30px;
    line-height: 20px;
    font-weight: 400;
    color: #000;
    text-align: center;
    transition: all 300ms ease-in-out;
}

.faq_container .details .answer {
    max-height: 0px;
    overflow: hidden;
    font-size: 15px;
    color: #222;
    transition: max-height 300ms linear;
}

.faq_container .details .answer .numbered_list p,
.faq_container .details .answer .content_list p {
    margin-left: 10px;
}

.faq_container .details .answer .numbered_list li,
.faq_container .details .answer .content_list li {
    margin-left: 20px;
}

.faq_container .details.active .question:before {
    transform: translate(-50%, -50%) rotate(135deg);
    color: red;
}

.faq_container .details.active .answer {
    max-height: 500px;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

/* Section:  back to top CSS Start*/
.back_to_top {
    position: fixed;
    right: 32px;
    bottom: 90px;
    width: 40px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #ebf1f8;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 0 0.5rem #ecfdf3;
    transition: all 0.2s ease-in-out;
    transform: translateY(-30rem);
    border: 2px solid #6c757d;
    z-index: 1;
}

.back_to_top i {
    color: #007bff;
    font-size: 30px;
}

.back_to_top.show {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    transform: translateY(0rem);
}

/* Image hover effect */
.featured_img img:hover,
.post_img img:hover {
    transform: scale(1.05); /* Slight zoom effect */
    transition: transform 0.3s ease-in-out; /* Smooth transition */
    cursor: pointer;
}

/* Modal Container */
.imageModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Image */
.modalImage {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    margin-top: 40px;
}

/* Close Button */
.close-btn {
    display: flex;
    justify-content: end;
    flex-direction: row;
    color: white;
    font-size: 35px;
    cursor: pointer;
    margin-right: 50px;
    margin-top: 20px;
}

/* Close when clicking outside the image */
.imageModal:target {
    display: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
}

@keyframes slideDown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slideDown {
    animation: slideDown 0.25s ease-out;
}
