/* custom.css */

@media (max-width: 768px) {
    .btn-custom {
        font-size: 14px;
        padding: 11px 13px 7px 13px;
    }

    .navbar-nav {
        flex-direction: column;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .carousel-indicators [data-bs-target] {
        font-size: 14px !important;
        line-height: 16px !important;
        margin-right: 10px;
    }

    .carousel-indicators {
        margin-right: 3%;
        margin-left: 3%;
    }

    .hero-section h6 {
        font-size: 16px;
    }

    .hero-section h3 {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 20px;
    }

    .hero-section p {
        font-size: 14px;
        line-height: 26px;
    }

    .footer-section h5 {
        font-size: 20px;
        line-height: 26px;
    }

    .hero-section {
        padding: 120px 0 120px 0;
        height: 500px;
    }

    .service-banner {
        height: 500px !important;
    }

    .about-banner {
        height: 680px;
    }

    .hero-section ul li {
        font-size: 16px;
    }

    .community,
    .top-section,
    .services-section,
    .process-section,
    .our-process {
        padding: 20px 0;
    }

    .contact-section {
        padding: 130px 0;
    }

    .community-icons {
        gap: 10px;
    }

    .icon-title {
        font-size: 16px;
    }

    .community h2 {
        font-size: 26px;
        margin-top: 20px;
    }

    .community .section-text,
    .footer-section p,
    .footer-links li a {
        font-size: 14px;
        line-height: 22px;
    }

    .top-section h2 {
        font-size: 20px;
        margin-bottom: 15px;
        line-height: 30px;
    }

    .top-section p {
        font-size: 14px;
        line-height: 20px;
    }

    .bottom-bar .container {
        flex-direction: column !important;
        text-align: center;
    }

    .navbar-nav .nav-link {
        border-right: inherit;
        padding: 0 !important;
    }

    .nav-item {
        padding: 8px 0;
    }

    .heading-section {
        font-size: 16px;
    }

    .sub-heading {
        font-size: 24px;
        margin-bottom: 15px !important;
    }

    .services-section .ps-0 {
        padding-left: 20px !important;
    }

    .services-section .pe-0 {
        padding-right: 20px !important;
    }

    .services-section .card {
        margin-bottom: 20px;
    }

    .card .card-front h3,
    .card .card-back h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .card .card-front p,
    .card .card-back p,
    .card-back ul li {
        font-size: 16px;
        line-height: 24px;
    }

    .services-section .card {
        height: 530spx;
    }

    .card-pt {
        font-size: 16px;
        padding: 8px 0;
        line-height: 20px;
    }

    .process-section p {
        font-size: 14px;
        max-width: 100%;
        line-height: 20px;
    }

    .learn-more {
        font-size: 18px;
    }

    .process-steps {
        display: flex;
        gap: 16px;
        flex-direction: column;
    }

    .process-steps ul {
        margin-bottom: 0;
    }

    .process-diagram img {
        width: 100%;
        margin: 20px 0;
    }

    .contact-section input,
    .contact-section textarea {
        font-size: 16px;
    }

    .sent-btn,
    .reset-btn {
        font-size: 14px;
        padding: 11px 13px 7px 13px;
    }

    .btn-group {
        margin-bottom: 30px;
    }

    .con-txt h6 {
        font-size: 16px;
    }

    .con-txt p {
        font-size: 14px;
    }

    .card-pt ul {
        font-size: 14px;
    }

    .card-back img,
    .card .card-front img {
        margin-bottom: 10px;
    }

    .order-1 {
        order: 1;
    }

    .order-2 {
        order: 2;
    }

    .process-diagram img {
        width: auto;
    }

    .single-page {
        padding-top: 90px;
    }

    .terms h2,
    .process-section h2 {
        font-size: 18px;
        font-weight: 700;
    }

    .process-section .sub-heading {
        font-size: 28px !important;
        font-weight: 700;
    }

    .terms p,
    .terms ul li,
    .process-section ul li {
        font-size: 14px;
        line-height: 22px;
    }

    .community-icons {
        margin-top: 20px;
    }

    .step-head {
        font-size: 20px !important;
    }

    .process-steps ul {
        width: 100%;
    }

    .wip {
        padding-bottom: 30px;
    }

    .about-banner {
        height: 700px !important;
    }

    .process-diagram {
        display: flex;
        justify-content: start;
    }
}

@media (min-width: 300px) and (max-width:420px) {
    .process-diagram img {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width:1200px) {
    .carousel-inner .col-lg-6 {
        width: 90% !important;
    }

    .hero-section {
        height: 780px;
    }

    .tab-resolution {
        width: 70%;
    }

    .about-banner {
        height: 840px !important;
    }
}


@media (min-width: 769px) {

    /* Adjustments for tablets */
    .order-1 {
        order: 2 !important;
    }

    .order-2 {
        order: 1 !important;
    }

    .top-section p {
        margin-bottom: 32px !important;
        max-width: 90% !important;
        margin: 0 auto;
    }

    .about-sec {
        height: 840px;
    }

    .col-lg-4.col-md-12.col-sm-12.order-1 {
        align-items: center;
        display: flex;
        height: 608px;
    }

    .col-lg-8.col-md-12.col-sm-12.order-2 {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .home-slide h3 {
        height: 120px;
    }

}