/* Base styles remain unchanged */

@media (max-width: 1200px) {
    .signin {
        width: 80%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 30px;
    }
}
@media (max-width: 767px), (max-width: 991px) and (max-zoom: 0.8) {
    .mobile_width {
        flex-basis: auto; /* Allow elements to flexibly adjust width */
        max-width: 100%; /* Ensure elements take full width on smaller screens */
    }

    .text-end {
        text-align: end; /* Align labels to the end (right) */
    }

    .search_btn,
    .reset_btn {
        font-size: 14px; /* Adjust button font size */
    }
}
@media (max-width: 992px) {
    .signin {
        width: 90% !important;
        padding: 100px 40px !important;
    }

    .header_login {
        padding: 40px 0;
    }
    .header_logo img {
        height: 100px;
    }

    .header_span {
        font-size: 35px;
    }

    .left-side img {
        height: 40px;
    }

    .right-side {
        font-size: 1em;
    }
    section {
        background: #000;
        position: absolute;
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        overflow: hidden;
    }
    section .signin .content {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 50px;
    }
    section .signin .content h2 {
        font-size: 4em;
        color: #2196f3;
        text-transform: uppercase;
    }
    section .signin .content .form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    section .signin .content .form .inputBox input {
        position: relative;
        width: 100%;
        background: #333;
        border: none;
        outline: none;
        padding: 55px 10px 15.5px;
        border-radius: 4px;
        color: #fff;
        font-weight: 500;
        font-size: 1em;
    }
    section .signin .content .form .inputBox i {
        position: absolute;
        left: 0;
        padding: 15px 10px;
        font-style: normal;
        color: #aaa;
        transition: 0.5s;
        pointer-events: none;
        font-size: 25px;
    }
    .signin .content .form .links {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .signin .content .form .links a {
        color: #fff;
        text-decoration: none;
        font-size: 40px;
    }
    .signin .content .form .inputBox input[type="submit"] {
        padding: 25px;
        background: #2196f3;
        color: #000;
        font-weight: 600;
        border-radius: 15px;
        font-size: 50px;
        letter-spacing: 0.05em;
        cursor: pointer;
    }
}

@media (max-width: 768px) {
    .display-1 {
        font-size: 2rem;
    }
    .width_100 
    {
        width:100%;
    }
    .rating_wrapper {
     
        padding: 2rem;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
        border-radius: 0.75rem;
        box-shadow: var(--shadow);
        text-align: center;
    }
    .min_h_tab 
    {
        min-height: 300px!important;
    }
    .project .nav .nav-link
    {
        padding: 5px!important;
    }
    .project .nav .nav-link.active h3 {
        color: #ffffff !important;
        font-size: 18px;
    }
    .project .nav .nav-link h3 {
       
        font-size: 18px;
    }
    .pt-5 {
        padding-top: 1rem !important;
    }
    .nav_tab_res {
        width: 30%;
    }
    .img_tab_res {
        width: 70%;
    }
    .same_tab_res {
        width: 100%!important;
    }
    .animated_card {
        width: 100%;
        max-width: 100%;
    }

    .flip-box .front .content {
        font-size: 17px;
    }
    .flip-box .content {
        display: flex;
        font-size: 12px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        /* -webkit-transform: translateZ(50px); */
        /* transform: translateZ(50px); */
        text-shadow: 0px 0px 2px black;
        padding: 0 20px;
    }

    .vdo_controls {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-top: none;
        border-bottom: none;
        width: 100%;
    }

    .right_vdo {
        margin-top: 10px;
    }
    .margin_res {
        margin-top: 15px !important;
    }
    .contact_para .side {
        position: absolute;
        text-align: center;
        width: 93%;
        height: 100%;
        padding: 0;
        color: #fff;
        transform-style: preserve-3d;
        backface-visibility: hidden;
        border-radius: 20px;
    }
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .pb-5 {
        padding-bottom: 2rem !important;
    }
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    .margin_top {
        margin-top: 10px !important;
    }

    .col_half {
        width: 50% !important;
        margin-top: 10px !important;
    }
    .quote_display {
        display: block;
        width: 30%;
    }
    .contact_para {
        min-width: 100%;
        min-height: 450px;
        border-radius: 20px;
        position: relative;
        -webkit-transition: 1.5s ease-in-out;
        transition: 1.5s ease-in-out;
        transform-style: preserve-3d;
    }
    .master_wrapper {
        width: 100%;
        /* height: 400px; */
        margin: 10px auto 0;
    }
    .containerswrapper {
        width: 100%; /* Adjust width as needed */
        background-color: #fff;
        overflow: hidden; /* Clear floats */
        padding: 40px; /* Add padding as needed */
        box-sizing: border-box; /* Include padding in width calculation */
    }
    .mobile_width {
        width: 50% !important;
    }
    .signin .content .form .inputBox input[type="submit"] {
        padding: 25px;
        background: #2196f3;
        color: #000;
        font-weight: 600;
        border-radius: 15px;
        font-size: 50px;
        letter-spacing: 0.05em;
        cursor: pointer;
    }
    .signin .content .form .links a {
        color: #fff;
        text-decoration: none;
        font-size: 40px;
    }
    .signin .content .form .links {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    section .signin .content .form .inputBox i {
        position: absolute;
        left: 0;
        padding: 15px 10px;
        font-style: normal;
        color: #aaa;
        transition: 0.5s;
        pointer-events: none;
        font-size: 25px;
    }
    section .signin .content .form .inputBox input {
        position: relative;
        width: 100%;
        background: #333;
        border: none;
        outline: none;
        padding: 55px 10px 15.5px;
        border-radius: 4px;
        color: #fff;
        font-weight: 500;
        font-size: 1em;
    }
    section .signin .content .form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    section {
        background: #000;
        position: absolute;
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        overflow: hidden;
    }
    section .signin .content h2 {
        font-size: 4em;
        color: #2196f3;
        text-transform: uppercase;
    }
    section .signin .content {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 50px;
    }
    .signin {
        width: 95% !important;
        padding: 100px 40px !important;
    }

    .header_login {
        padding: 5px 0;
    }

    .left-side img {
        height: 30px;
    }

    .right-side {
        font-size: 0.9em;
    }
}
@media (max-width: 767px) {
    .product_img_slide {
        height: 200px;
        width: 100%;
    }
    .product_text {
        width: 100%;
    }
    .display-1 {
        font-size: 1rem;
    }
    .same_tab_res {
        width: 50%;
    }
    .nav_tab_res {
        width: 100%;
    }
    .img_tab_res {
        width: 100%;
    }
    .gallery {
        --s: 100px;
        --g: 10px;
        --f: 1.5;
        display: grid;
        gap: var(--g);
        width: calc(3* var(--s) + 2* var(--g));
        aspect-ratio: 1;
        grid-template-columns: repeat(3, auto);
    }
    .footer {
        padding-top: 10px !important;
    }
    .footer .container {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .mb-4 {
        margin-bottom: 10px !important;
    }
    .fs-5 {
        font-size: 1rem !important;
    }
    .display-5 {
        font-size: calc(1rem + 2.1vw);
        font-weight: 600;
        line-height: 1.2;
    }
    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .pb-5 {
        padding-bottom: 1rem !important;
    }
    .mb-5 {
        margin-bottom: 1rem !important;
    }
    .margin_top {
        margin-top: 10px !important;
    }
    .footer {
        padding-top: 5px !important;
    }
    .footer .container {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .col_half {
        width: 50% !important;
        margin-top: 10px !important;
    }
    .gap_res {
        --bs-gutter-y: 0 !important;
        --bs-gutter-x: 0 !important;
    }
    .pt-5 {
        padding-top: 1rem !important;
    }
    .animated_card {
        width: 100%;
        max-width: 100%;
    }
    .reports_title {
        text-align: center;
        font-size: 20px;
        font-weight: 900;
        /* background: #00226669; */
        color: #020202;
        border-radius: 10px;
        padding: 10px 0 0 0 !important;
    }
    .reports_list {
        --stop: calc(100% / var(--length) * var(--i));
        --l: 62%;
        --l2: 88%;
        --h: calc((var(--i) - 1) * (180 / var(--length)));
        --c1: hsl(calc((1 - 1) * (180 / 5)), 71%, 62%);
        --c2: hsl(calc((1 - 1) * (180 / 5)), 71%, 88%);
        position: relative;
        counter-increment: list;
        max-width: 45rem;
        margin: 12px auto !important;
        padding: 20px 10px 10px !important;
        box-shadow: 0.1rem 0.1rem 1.5rem rgba(0, 0, 0, 0.3);
        border-radius: 0.25rem;
        overflow: hidden;
        background-color: white;
    }
    .reports_list h3 {
        margin-bottom: 0 !important;
        font-size: 20px;
    }
    .top-header {
        display: none;
    }
    .header_title {
        font-size: 15px;
    }
    .icon_logo img {
        width: 20px !important;
        height: 20px !important;
    }
    .black-lives-matter h4 {
        position: relative;
        display: inline-block;
        font-size: 15px;
        text-transform: uppercase;
        font-weight: 800;
        color: #333;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
        animation: beatAnimation 2s ease-in-out infinite;
    }
    .btn-round {
        background-color: #007bff;
        color: #fff;
        border: none;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }
    .btn-round i {
        font-size: 15px;
    }
    .change_password_section {
        overflow: hidden;
        background-color: white;
        padding: 40px 30px 30px 30px;
        border-radius: 10px;
        /* position: absolute; */
        /* top: 50%; */
        /* left: 50%; */
        background-color: white;
        padding: 40px 30px 30px 30px;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
        margin: 0 auto;
        width: auto !important;
        transform: translate(0, 0);
        transition: transform 300ms, box-shadow 300ms;
        z-index: 1;
    }
    /* .footer 
    {
        margin-top:0 !important;
    } */
    .left_footer {
        margin-bottom: 0 !important;
        font-size: 10px !important;
    }
    .right_footer {
        font-size: 10px !important;
    }
    .footer .copyright {
        padding: 0;
        font-size: 15px;
        border-top: 1px solid rgba(256, 256, 256, 0.1);
    }
    .m_0 {
        margin-bottom: 0 !important;
    }
    .res_display_none {
        display: none;
    }
    .margin_top {
        margin-top: 10px !important;
    }
    .margin_top_profile {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    .row_mar {
        margin-top: 0 !important;
    }
    .mobileview_width_left {
        width: 40%;
    }
    div.dataTables_wrapper div.dataTables_filter input {
        margin-left: 0.5em;
        display: inline-block;
        width: auto;
        height: 35px !important;
        width: 100px !important;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

    div.dataTables_wrapper div.dataTables_filter label {
        font-weight: normal;
        white-space: nowrap;
        text-align: right;
        /* float: right; */
        /* display: none; */
        margin-left: 15px;
    }
    table.dataTable thead th,
    table.dataTable tfoot th {
        font-weight: bold;
        font-size: 12px;
    }
    table.dataTable > tbody > tr > th,
    table.dataTable > tbody > tr > td {
        padding: 8px 10px;
        font-size: 12px;
    }
    .note {
        margin: 10px 0;
        color: red;
        font-size: 11px;
    }
    .containerswrapper {
        width: 100%;
        background-color: #fff;
        overflow: hidden;
        padding: 20px 40px 10px 40px;
        box-sizing: border-box;
    }
    #SimpleTable1_info {
        float: left;
        font-size: 10px;
    }
    #SimpleTable1_paginate {
        float: right;
        font-size: 12px;
    }
    .help-button {
        margin-top: 0 !important;
    }
    #SimpleTable1_length {
        float: left !important;
    }
    .form_row {
        width: 100% !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        margin-left: 0;
        padding-left: 0;
    }
    .help {
        margin-top: 30px !important;
    }
    .help-button2 {
        margin-top: 30px !important;
    }
    .search_input_mobile {
        width: auto !important;
    }
}
@media (max-width: 576px) {
    .signin {
        width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 10px;
    }

    .header_span {
        display: none;
    }

    .left-side img {
        height: 25px;
    }

    .right-side {
        display: none;
    }
}
