@media (max-width: 768px) {
    .get_in_touch_form .content-wrapper {
        flex-direction: column; 
    }

    .form-wrapper, .image-wrapper {
        flex: 1 1 100%; 
    }

    .col-md-6 {
        width: 100%;
        margin-bottom: 15px;
    }
    .col-md-12 {
        width: 100%;
    }
    .text-center {
        text-align: center;
    }

    .get_in_touch_form .form-group {
        margin-bottom: 15px;
    }

    .get_in_touch_form .btn-contact-bg {
        font-size: 16px;
        padding: 10px 20px;
    }

    .get_in_touch_form .title h1 {
        font-size: 28px;
    }

    .baner_details {
        flex-direction: column; 
        text-align: center; 
    }

    .ban_img {
        order: 1 !important;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .ban_text {
        order: 2; 
        max-width: 100%; 
    }

    .ban_text h1 {
        font-size: 28px;
    }

    .ban_text p {
        font-size: 16px;
    }

    .industries_section .tagline-title {
        font-size: 18px;
        text-align: center;
        font-weight: 600;
        color: #E76A34;
        text-transform: uppercase;
        margin-bottom: 10px;
        display: block;
    }

    .industries_section .section-title {
        font-size: 26px;
        font-weight: 700;
        color: #333;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .industries_section .details-text {
        font-size: 16px;
        color: #666;
        line-height: 1.8;
        margin-bottom: 48px;
        text-align: center;
    }

} 

@media (max-width: 1024px) {
    ul.dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        min-width: 200px; 
    }

    ul.dropdown-menu li.menu-item a.dropdown-item {
        font-size: 14px; 
    }
}

@media (max-width: 767px) {
 
    ul.dropdown-menu {
        width: 30%;
        border-radius: 0;
        box-shadow: none;
        position: static; 
        opacity: 1;
    }


    ul.dropdown-menu li.menu-item a.dropdown-item {
        padding: 12px; 
        font-size: 16px;
        text-align: left; 
    }

    
    .nav-item:focus-within .dropdown-menu,
    .nav-item:active .dropdown-menu {
        display: block;
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}


@media (max-width: 768px) {
    .project_sections #portfolio-filters li {
        font-size: 14px;
        padding: 8px 15px;
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .fixed-height {
        height: 200px;
    }

    .heading_title {
        font-size: 1.5rem;
    }

    .description {
        font-size: 0.95rem;
    }
}

/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

@media (max-width: 992px) {
    .col-lg-8, .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .blog_details h1 {
        font-size: 24px;
    }

    .related-post-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-post-thumbnail img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .blog_details h1 {
        font-size: 20px;
    }

    .related-posts h2 {
        font-size: 18px;
    }

    .comments-area h3 {
        font-size: 18px;
    }
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

@media (max-width: 768px) {
    .team-slider .slick-arrow {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    .team-slider .slick-prev {
        left: -30px;
    }
    .team-slider .slick-next {
        right: -30px;
    }
    .team-slider .team-item {
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .team-item {
        margin: 5px;
    }
    .team-social {
        gap: 5px;
    }
    .team-social .btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Responsive styling for tablets and small screens */
@media (max-width: 768px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        right: 34px;
        bottom: 100px;
        padding: 6px 10px;
        font-size: 20px;
    }
}


@media (max-width: 992px) {

    body.navbar-collapse::after {
        background-color: rgba(0, 0, 0, 0.7); /* Stronger overlay when the menu is open */
    }

    .navbar-collapse.show {
        opacity: 1;
    }

    .header {
        padding: 15px 0;
    }

    .header .navbar-toggler {
        background: #E76A34;
        color: #fff;
        border-radius: 8px;
        margin-left: auto;
        padding: 6px 8px;
        font-size: 16px;
        box-shadow: none !important;
        margin-right: 10px;
    }

    .header .navbar-nav .nav-link {
        padding: 10px;
        border-bottom: 0;
        border-left: 2px solid transparent !important;
    }

    .header .navbar-nav li.nav-item.dropdown .nav-link {
        pointer-events: auto;
    }

    .header .navbar-nav li.nav-item.dropdown .dropdown-toggle svg {
        margin: 0 0 0 auto;
        min-width: 30px;
        height: 30px;
        color: #000;
        cursor: no-drop;
        padding: 5px;
        transform: rotate(-90deg);
    }

    .header .navbar-collapse {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 100%;
        overflow: auto;
        display: block;
        transition: all 0.3s;
        padding: 10px 0;
        /* border-top: 1px solid #000; */
        margin: 0 !important;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.09);
        background: #fff;
        max-width: 300px;
        height: calc(100% - 70px);
        overflow: hidden auto;
        z-index: 22;
    }

    .header .navbar-collapse.show {
        right: 0;
    }

    .header .navbar-collapse .dropdown-menu.mega-menu {
        position: absolute;
        height: 100%;
        right: -100%;
        left: auto;
        top: 0;
        transition: all 0.3s;
        padding: 15px 6px;
        display: block !important;
        overflow: auto;
        margin: 0;
    }

    .header .navbar-collapse .dropdown-menu.mega-menu.show {
        right: 0;
        padding-bottom: 0;
    }
        
    .submenu_block li:last-child a {
        margin-bottom: 25px !important;
    }

    .header .navbar-collapse .dropdown-menu.mega-menu .title-control {
        padding: 8px;
        display: flex;
        align-items: center;
        background: #ededed;
    }

    .header .navbar-collapse .dropdown-menu.mega-menu .back-control {
        transform: rotate(180deg);
        min-width: 30px;
        height: 40px;
        color: #000;
        cursor: no-drop;
        padding: 5px;
        margin: -1px 12px 0 0;
        background: #fff;
    }

    .header .navbar-collapse .nav-link {
        margin: 0;
    }

    .header .navbar-brand img {
        height: 40px;
    }

    .header .menu-backdrop {
        display: none;
    }

    .navbar .dropdown-toggle::after {
        border: none;
        content: "\f107";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        /* vertical-align: middle; */
        margin-left: 8px;
        margin: 0 0 0 auto;
        /* min-width: 30px; */
        height: 30px;
        float: right;
        color: #000;
        cursor: no-drop;
        padding: 5px;
        transform: rotate(-90deg);
    } 

    .mobile_menu_panel ul {
        margin-left: 0px !important;
    }
    .submenu_block a.nav-link {
        padding: 0 !important;
    }

    h3.menu-title span.dropdown-toggle {
        font-size: 20px;
    }
    .header .navbar-collapse.show + .menu-backdrop {
        display: block;
        position: fixed;
        left: 0;
        top: 71px;
        height: 100%;
        width: 100%;
        background: #000;
        opacity: 0.6;
        bottom: 0;
    }

}

@media (max-width: 767px) {

    .header .navbar-nav a.nav-link {
        font-family: 'Bastliga none';
        font-size: 16px;
        line-height: 24px;
        font-weight: 700;
    }

    .header .navbar-nav .mega-menu .nav-link{
                margin: 0px;
    }

    .header .navbar-collapse {
        top: 80px;
        height: calc(100% - 60px);
    }
    
    .header .navbar-collapse.show + .menu-backdrop {
        top: 77px;
    }

    
}

@media (min-width: 993px) {

    .header .navbar-nav li.nav-item.dropdown:hover .dropdown-menu {
        display: block;
        top: 70px;
        left: 0;
        width: 100%;
        border-radius: 0;
        border: 0;
        border-top: 1px solid #f2f2f2;
        box-shadow: 0px 17px 18.2px 0px rgba(0, 0, 0, 0.04) !important;
        padding: 30px 0;
        cursor: pointer;
    }
}


/* Responsive styles */
@media (max-width: 768px) {
    .services.in-ban.blue-ban {
        flex-direction: column;
        padding: 10px;
    }

    .services.in-ban.blue-ban .text h1 {
        font-size: 2rem;
    }

    .services.in-ban.blue-ban .text p {
        font-size: 1rem;
    }

    .services.in-ban.blue-ban .service_banner_image {
        position: relative;
        width: 100%;
        height: auto;
    }

    .services.in-ban.blue-ban::before {
        display: none; /* Hide overlay for smaller screens */
    }

    .services-section .row {
        grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
    }
}

@media (max-width: 480px) {
    
    .services.in-ban.blue-ban .text h1 {
        font-size: 1.5rem;
    }
    .services.in-ban.blue-ban .text p {
        font-size: 0.9rem;
    }

    .services-section .row {
        grid-template-columns: 1fr; /* Single column for mobile devices */
    }
}


@media (max-width: 991px) {
    .our_services_page .row {
        display: flex;
        flex-wrap: wrap;
    }

    .our_services_page .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .our_services_page .section-title .primary-color {
        color: #E76A34;
    }
}

@media (max-width: 768px) {
    .our_services_page .section-title {
        font-size: 2rem;
    }

    .our_services_page .section-title .primary-color {
        color: #E76A34;
    }

    .our_services_page .details-text {
        font-size: 1rem;
    }

    .our_services_page .btn-default {
        font-size: 0.9rem;
        padding: 10px 15px;
        background: #E76A34;
        color: #fff;
    }

    .our_services_page .btn-default:hover {
        font-size: 0.9rem;
        padding: 10px 15px;
        background-color: #1D2856;
        color: #fff;
    }

    .technologies-section .technologies-title {
        font-size: 35px;
        font-weight: bold;
        line-height: 40px;
        color: #343a40;
        margin-bottom: 20px;
    }

    .technologies-details-text {
        font-size: 0.9rem;
    }

}

@media (max-width: 576px) {
    .our_services_page {
        padding: 30px 0;
    }

    .our_services_page .section-title {
        font-size: 1.75rem;
    }

    .our_services_page .section-title .primary-color {
        color: #E76A34;
    }

    .our_services_page .details-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .cta-section-title {
        font-size: 1.5rem;
    }

    .cta-details-text {
        font-size: 0.9rem;
    }

    .cta-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .footer .col-lg-6 {
        flex: 0 0 auto;
        margin: 0px;
        width: 100%;
        text-align: left;
    }

}

@media (max-width: 768px) {
    .technology-cta-section .cta-section-title {
        font-size: 1.5rem;
    }

    .technology-cta-section .cta-details-text {
        font-size: 0.9rem;
    }

    .technology-cta-section .cta-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .technology-cta-section .cta-section-title {
        font-size: 1.25rem;
    }

    .technology-cta-section .cta-details-text {
        font-size: 0.85rem;
    }

    .technology-cta-section .cta-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .technology-cta-section {
        padding: 30px 10px;
    }

    .cta-section-title {
        font-size: 1.25rem;
    }

    .cta-details-text {
        font-size: 0.85rem;
    }

    .cta-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

@media (max-width: 992px) {
    .services-hire-cta-section {
        padding: 30px 0;
    }

    .services-hire-cta-section .section-title {
        font-size: 2rem;
    }

    .services-hire-cta-section .details-text {
        font-size: 0.95rem;
    }

    .services-hire-cta-section .talk_expert {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .services-hire-cta-section .row {
        flex-direction: column;
        text-align: center;
    }

    .services-hire-cta-section .col-7,
    .services-hire-cta-section .col-5 {
        width: 100%;
        padding: 0 15px;
    }

    .services-hire-cta-section .section-title {
        font-size: 1.8rem;
    }

    .services-hire-cta-section .talk_expert {
        font-size: 1.2rem;
    }

    .services-hire-cta-section form {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .services-hire-cta-section .section-title {
        font-size: 1.5rem;
    }

    .services-hire-cta-section .details-text {
        font-size: 0.9rem;
    }

    .services-hire-cta-section .talk_expert {
        font-size: 1rem;
    }

    .services-hire-cta-section form label {
        font-size: 0.85rem;
    }

    .services-hire-cta-section form input,
    .services-hire-cta-section form textarea {
        font-size: 0.9rem;
    }

    .services-hire-cta-section form .wpcf7-submit {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .development_process .row {
        display: flex;
        width: 100%;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center
    }

    .development_process .col-md-4 {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .development_process .col-md-4 {
        width: 100%;
        margin-bottom: 20px;
    }

    .development_process .section-title {
        font-size: 28px;
    }

    .development_process .sm-section-title {
        font-size: 18px;
        color: #000;
    }

    .development_process .details-text {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .development_process {
        padding: 30px 15px;
    }

    .development_process .tagline-title {
        font-size: 16px;
    }

    .development_process .section-title {
        font-size: 24px;
    }

    .development_process .sm-section-title {
        font-size: 16px;
        color: #000;
    }
}

@media (max-width: 991px) {
    
    .startup_section .row {
        gap: 5px;
    }
    .startup_section .section-title {
        font-size: 28px;
    }

    .startup_section .details-text {
        font-size: 14px;
    }

    .startup_section .blog-card {
        margin: 10px 0;
        width: 100%;
    }

    .startup_section .col-lg-5, .startup_section .col-xl-5 {
        width: 100%;
    }

    .startup_section .col-lg-7, .startup_section .col-xl-7 {
        width: 100%;
    }
}



@media (max-width: 767px) {
    .startup_section .section-title {
        font-size: 24px;
        text-align: center;
    }

    .startup_section .details-text {
        text-align: center;
    }

    .startup_section .blog-card {
        text-align: center;
        padding: 15px;
    }

    .startup_section .icon-box img {
        margin: 0 auto 10px;
    }

    .startup_section .col-lg-5, .startup_section .col-xl-5 {
        width: 100%;
    }

    .startup_section .col-lg-7, .startup_section .col-xl-7 {
        width: 100%;
    }

    .workflow-section .requirements-details ul {
        list-style-type: none;
        padding: 0;
        text-align: left;
    }
}

@media (max-width: 768px) {

    .how_it_works_section span.tagline-title {
        padding: 30px 0px 0 0;
        color: black;
        font-size: 14px;
    }

    .how_it_works_section .title-divider {
        color: #E76A34;
    }
    
    .how_it_works_section .col-lg-6 {
        flex: 1 1 100%;
    }

    .how_it_works_section .section-title {
        font-size: 28px;
        line-height: 40px;
        color: #000;
    }

    .how_it_works_section .numbers {
        font-size: 24px;
        color: #E76A34;
        font-weight: bold;
        margin-right: 15px;
    }

    .how_it_works_section .sm-section-title {
        font-size: 18px;
    }

    .workflow-section .requirements-details ul {
        list-style-type: none;
        padding: 0;
        text-align: left;
    }

    .team_assembly .col-sm-6 {
        flex: 1 1 100%;
    }

    .team_assembly .section-title {
        font-size: 1.5rem;
    }

    .team_assembly .sm-section-title {
        font-size: 1rem;
    }
}


@media (max-width: 992px) {
    .section-space .visition-content {
        flex-direction: column; /* Stack sections */
        text-align: center;
    }
    
    .section-space .flex-lg-row-reverse {
        flex-direction: column; /* Reverse stacking order */
    }
    
    .section-space .health-img-box-sm,
    .section-space .light-contentbox {
        width: 100%;
        border-radius: 10px;
    }
    
    .section-space .visition-img {
        height: auto; /* Adjusts images properly */
        max-width: 100%;  /* Prevents oversized images */
    }
}

@media (max-width: 991px) {
    .visition-content {
        flex-direction: column !important;
        text-align: center;
    }
    
    .light-contentbox {
        padding: 15px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 20px;
    }
    
    .details-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .section-space {
        padding: 30px 0;
    }
}
