/* responsive  */

@media screen and (max-width: 768px) {
    #navSearchModal .modal-search-input {
        padding: 5px 2px 5px 37px;
        font-size: 17px;
    }

    #navSearchModal .modal-search-icon {
        font-size: 17px;
    }

    #navSearchModal .modal-body {
        height: 280px;
    }

    .keypad-btn {
        font-size: 16px !important;
    }

    /* .homeHeroSection .heroSectionImage {
        width: 200px;
    } */

    #modalSearchBar::-webkit-search-cancel-button {
        font-size: 20px;
    }

    .blog-card-container {
        padding: 10px 0rem;
    }

    #FAQ .faqContent .question {
        font-size: 1.1rem;
        padding: 15px 20px 15px 20px;
    }
}

@media screen and (max-width: 425px) {
    .homeHeroSection .heroSectionImage {
        width: 180px;
    }
}


@media screen and (max-width: 500px) {
    .radio-input label {
        /* display: flex !important;
        flex-direction: column !important; */
        padding: 10px 10px !important;
    }

    .radio-input {
        font-size: 14px;
    }
}

@media screen and (max-width: 400px) {
    .radio-input label {
        /* display: flex !important;
        flex-direction: column !important; */
        padding: 9 9px !important;
    }

    .radio-input {
        font-size: 12px;
    }
}


@media (max-width: 1050px) {
    .tool-box-container {
        flex: 1 1 48%;
        /* Display 2 boxes per row */
        margin: 1%;
    }
}

/* Media Query for screens up to 480px */
@media (max-width: 430px) {
    .tool-box-container {
        flex: 1 1 100%;
        /* Display 1 box per row */
        margin: 5px 0;
        /* Reduce margin to fit better on small screens */
    }

    .tool-box {
        font-size: 14px;
        /* Reduce font size to fit better */
        padding: 8px;
        /* Adjust padding */
    }
}

@media (max-width: 480px) {

    .tool-box {
        font-size: 13px;
    }
}

/* Media Query for screens up to 320px */
@media (max-width: 320px) {
    .tool-box {
        font-size: 12px;
        /* Further reduce font size */
        padding: 6px;
        /* Adjust padding for smaller screens */
    }
}

@media (max-width: 600px) {
    .tableofcontent {
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .author-container {
        flex-direction: column;
        padding: 20px 0;
    }

    .author-details {
        border-right: none;
        border-bottom: 1px solid #e1e1e1;
    }

    .about-author {
        padding: 0 23px !important;
        margin-top: 32px;
        text-align: center;
    }
}

@media (max-width: 400px) {

    .about-author {
        padding: 0 14px !important;
    }

    .about-author p {
        font-size: 14px;
    }
}

@media (max-width: 772px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        padding: 0;
    }

    .social-icons {
        justify-content: center;
    }

    .blog-card-container {
        justify-items: center !important;

    }

    .ad-section {
        margin-top: 15px;
    }

}

@media (max-width: 640px) {
    .footer-container {
        padding: 3rem 1rem;
        padding-bottom: 1rem;
    }

    .footer-bottom {
        padding: 0 0.8rem;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 13px;
    }

    .footer-links {
        gap: 20px;
    }

    .blog-left-container {
        padding: 0 !important;
    }

    .blog-right-container {
        padding: 0 !important;
    }
}

@media (max-width: 520px) {
    .footer-bottom {
        padding: 10px 0;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 360px) {
    .footer-links {
        flex-direction: column;
        text-align: center;
        font-size: 12.5px;
        justify-content: center;
        gap: 4px;
    }
}

@media (max-width: 1100px) {

    .logo-column {
        flex-basis: 40%;
    }
}


@media only screen and (max-width: 576px) {
    .blog-icons-container {
        margin-top: 1.5rem !important;
    }

    .l-blog-title {
        font-size: 1.5rem;
    }

    .related-blogs {
        padding: 1.5rem 10px;
        padding-right: 5px;
        padding-bottom: 0.2rem;
    }

    .blog-item img {
        width: 60px;
        height: 60px;
    }

}

@media only screen and (max-width: 500px) {

    .l-blog-title,
    .table-of-content h5,
    .blog-main-content h5 {
        font-size: 1.2rem;
    }

    .blog-left {
        padding: 1.3rem 12px !important;
    }

    .l-blog-des,
    .blog-main-content p,
    .blog-main-content li,
    .table-of-content p {
        font-size: 13.5px;
        margin-top: 18px;
    }

    .l-auth-name {
        font-size: 12px;
    }

    .blog-main-content {
        padding: 1.5rem 0.8rem;
    }

    .table-of-content {
        padding: 1.5rem;
    }
}
