@media (min-width: 1441px) {
    .company-info .regeister-container {
        gap: 100px;
    }
    .register-form .back-link {
        font-size: 20px;
    }
    .company-info h1 {
        font-size: 50px;
    }
    .company-info p {
        line-height: 1.8;
    }
    .settings .personal-settings form input[type="submit"] {
        width: 250px;
    }
}

@media (max-width: 1400px) {
    .main-menu .logo {
        height: 70px;
    }

    .main-menu {
        width: 220px;
    }

    nav .header-links {
        margin-right: 220px;
    }

    nav {
        padding: 20px 0px;
    }

    .main-menu .logo {
        margin-top: 10px;
    }

    .main-menu h4 {
        margin-top: 50px;
        margin-bottom: 20px;
    }

    .files-start-card {
        margin-top: 40px;
    }

    .main-menu .logo {
        margin-bottom: 25px;
    }

    .main-menu ul li a p {
        font-size: 14px;
    }

    .main-menu svg {
        width: 19px;
        height: 19px;
    }

    .register-form form input {
        height: 50px;
    }

    .register-form form label {
        color: var(--gray);
        font-size: 15px;
    }

    .register-form form {
        gap: 10px;
    }

    .logo-ai {
        margin-top: 10px;
    }

    .search-options {
        gap: 5px;
    }

    .sug-ques {
        margin-top: 10px;
    }

    .issue-details label {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .issue-details input {
        height: 50px;
    }

    .issue-details select {
        height: 50px;
    }

    .col-12.col-md-6.col-lg-4 .icon {
        position: absolute;
        left: 20px;
        bottom: 10px;
    }

    .settings .personal-settings form .form-inputs input {
        height: 50px;
    }

    .register-form form .date-input-ctm {
        height: 50px;
    }

    .settings .personal-settings form .form-inputs label {
        font-size: 15px;
    }

    .sub-card-ctn h4 {
        font-size: 20px;
    }

    .sub-card-ctn li {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .lawyer-chat {
        width: 380px;
        bottom: 10px;
        right: 10px;
    }

    .lawyer-chat .lawyer-chat-head {
        padding: 14px;
        font-size: 15px;
    }

    .lawyer-chat form input {
        height: 45px;
    }

    .lawyer-chat form label {
        font-size: 15px;
        margin: 10px 0;
    }

    .lawyer-chat form button {
        height: 45px;
        font-size: 15px;
    }
}

@media (max-width: 1200px) {
    .row-reverse-sech {
        flex-direction: column-reverse;
    }

    .main-menu {
        display: none;
    }

    nav .header-links {
        margin-right: 0;
    }

    nav .header-links .icon {
        display: flex;
    }

    .main-menu.responsive-menu {
        display: block;
        right: -100%;
        z-index: 999;
        transition: 0.4s;
    }

    .main-menu.responsive-menu.show {
        right: 0;
    }

    .overlay {
        position: fixed;
        height: 100vh;
        width: 100%;
        top: 0;
        left: -100%;
        transition: 0.3s;
        background-color: #1a383494;
        z-index: 998;
    }

    .overlay.show {
        left: 0;
    }
}

@media (max-width: 1100px) {
    .register-form {
        width: 70%;
    }
    .register-form .back-link {
        font-size: 18px;
    }
    .company-info h1 {
        font-size: 40px;
    }
    .company-info p {
        line-height: 1.8;
    }

    .register-form.first-step {
        gap: 20px;
    }
    .register-form.first-step form {
        gap: 15px;
    }
    .register-form .back-link {
        bottom: 25px;
        left: 25px;
    }
    .settings .personal-settings form input[type="submit"] {
        width: 50%;
    }
}

@media (max-width: 1024px) {
    .regeister-company .register-form .back-link {
        bottom: 7px;
        left: 25px;
    }

    .ctm-up-file {
        height: 50px;
    }

    .members .member .mem-name p {
        color: #fff;
        font-size: 10px;
    }

    .logo-ai {
        height: 60px;
    }

    .txt-sarch-ai {
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 35px;
    }

    .suggets-qiesstion {
        padding: 6px 13px;
        font-size: 12px;
    }

    .suggets-answers .content label {
        height: 35px;
        background-color: #f2f2f2;
        font-size: 13px;
    }

    .suggets-answers .content {
        padding: 10px;
        font-size: 13px;
    }

    .suggets-answers .content p {
        font-size: 13px;
    }

    .col-12.col-md-6.col-lg-4 .icon {
        bottom: 13px;
    }


}

@media (max-width: 992px) {
    .main-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .isu-txt-ex {
        padding-right: 0;
    }

    .logo-ai {
        margin-top: 20px;
    }

    .txt-sarch-ai {
        font-size: 18px;
        margin-top: 20px;
    }

    .search-options {
        gap: 10px;
    }

    .option-item {
        padding: 10px 15px;
        font-size: 12px;
    }

    .sug-ques p {
        font-size: 13px;
    }

    .sug-ques {
        margin-top: 10px;
    }

    .bg-ctm-white {
        padding: 10px;
    }

    .ai-frm {
        height: 50px;
    }

    .frm-btns {
        left: 10px;
    }

    .upload-file,
    .add-msg {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .user-send-msg {
        width: fit-content;
        max-width: 60%;
        padding: 5px 10px;
        border-radius: 5px;
        background-color: var(--primary2);
        margin-right: auto;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .regeister-steps {
        height: 100%;
        width: 100%;
        background: linear-gradient(
            85.09deg,
            #17322e -4.75%,
            #1e4f49 47.62%,
            #25796e 108.08%
        );
        z-index: 1;
        position: relative;
    }
    .company-info::after {
        display: none !important;
    }
    .regeister-steps::after {
        content: "";
        background: url(../images/Group.png) no-repeat center center;
        background-size: contain;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        z-index: -1;
        background-size: cover;
        opacity: 0.3;
        animation: slideOpacity 3s ease infinite;
    }
    .regeister-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .company-info .info-content {
        display: flex;
        flex-direction: column;
        gap: 0px;
        text-align: right;
    }
    .company-info h1 {
        font-size: 25px;
        text-align: center;
    }
    .company-info p {
        font-size: 13px;
        text-align: center;
    }
    .register-form {
        width: 95%;
        background: #fff;
        padding: 25px;
        padding-bottom: 57px;
        border-radius: 15px;
        height: auto;
        box-shadow: 0 0 7px #00000063;
        margin-bottom: 50px;
        margin-top: 39px;
    }
    geister-steps .col-lg-6 {
        height: auto !important;
        min-height: auto;
    }
    .regeister-steps .col-lg-6 {
        min-height: auto !important;
    }
    .company-info .angle {
        position: absolute;
        bottom: auto;
        left: auto;
        top: 20px;
        right: 20px;
        transform: scale(-1);
    }
    section.company-info {
        padding: 0 !important;
        height: auto !important;
        padding-top: 50px;
        padding-bottom: 80px;
        min-height: auto !important;
    }
    .company-info .regeister-container {
        display: flex;
        flex-direction: initial;
        align-items: flex-start;
        justify-content: center;
        gap: 5px;
        flex-wrap: wrap;
        align-content: baseline;
    }
    .regeister-logo {
        width: 140px;
        width: 100%;
        height: 70px;
        object-fit: contain;
    }
    .regeister-container {
        width: 95%;
        padding-top: 25px;
        margin: 0 auto;
    }
    .card-content {
        flex-direction: column;
        gap: 20px;
        align-items: start;
    }

    .files-start-card {
        width: 100%;
    }

    .modal-content {
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    .add-new-issue {
        width: 200px;
        height: 50px;
        font-size: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    .issue-details-card p {
        font-size: 15px;
        text-align: justify;
    }

    .register-form form input[type="submit"] {
        margin-bottom: 30px;
    }

    .about-lawyer-card p.desc {
        font-size: 15px;
    }

    .ai-msg-container {
        gap: 5px;
    }

    .ai-responce .icons svg {
        width: 20px;
        height: 15px;
    }

    .ai-responce .icons {
        display: flex;
        align-items: center;
        gap: 2px;
        margin-right: 50px;
        margin-top: 5px;
    }

    .ai-msg-container .logo img {
        width: 15px;
    }

    .ai-msg-container .logo {
        width: 31px;
        height: 31px;
    }

    .inp-tm-ctm-date2 .icon {
        position: absolute;
        left: 20px;
        top: 49px;
        font-size: 15px;
    }
    .modal-dialog{
        width: 90%;
        margin: auto;
    }

    .text-center {
        text-align: center!important;
        font-size: 11px;
    }

    .isu-txt p, .execlusive p {
        font-size: 11px;
    }

    .register-form .back-link {
        bottom: 72px;
        left: 35px;
        z-index: 99999;
    }
}

@media (max-width: 520px) {
    .main-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    nav .header-user-links .icon,
    nav .header-links .icon {
        width: 30px;
        height: 30px;
    }

    nav .header-user-links .icon img {
        width: 17px;
        height: 17px;
    }

    nav .header-user-links {
        display: flex;
        gap: 7px;
        align-items: center;
    }

    nav .date-text {
        font-size: 13px;
    }

    nav .header-links a {
        font-size: 15px;
    }

    h1 {
        font-size: 18px;
    }

    p {
        font-size: 13px;
    }

    .main-btn {
        height: 45px;
        font-size: 13px;
    }

    .ctm-card h3 {
        margin-top: 0;
    }

    .ctm-card .value-text {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .main-card h3 {
        margin-bottom: 10px;
    }

    .ctm-card {
        padding: 10px;
    }

    .row.cmt {
        margin-top: 20px;
    }

    .txt-head {
        /* text-align: center; */
    }

    .src-option {
        font-size: 15px;
    }

    .search-frm button {
        width: 35px;
        height: 35px;
    }

    .search-frm {
        height: 55px;
    }

    .files-start-card h2 {
        width: 95%;
    }

    .files-start-card p {
        width: 95%;
    }

    .files-start-card a {
        width: 95%;
    }

    .files-start-card {
        margin-top: 20px;
    }

    .issue-heade-txt {
        font-size: 14px;
    }

    .issue-details.add-users {
        flex-direction: column;
        align-items: start;
    }

    .issue-details.add-users button img,
    label.upload-files-issue img {
        width: 17px;
        height: 17px;
    }

    .all-issues-container .row {
        width: 600px;
    }

    .all-issues-container {
        overflow-x: scroll;
    }

    .execlusive {
        font-size: 16px;
        width: 100px;
        height: 38px;
    }

    .members .member .mem-name {
        font-size: 14px;
        color: #121212;
    }

    .div-item h4 {
        font-size: 15px;
    }

    .save-new-member {
        margin-left: auto;
        margin-right: auto;
    }

    .ai-frm {
        height: 50px;
        margin-top: 50px;
    }

    .upload-file,
    .add-msg {
        width: 26px;
        height: 26px;
    }

    .frm-btns {
        gap: 3px;
        left: 8px;
    }

    .logs-btn {
        flex-direction: column;
    }

    .files-start-card .img img {
        width: 79px;
        height: 79px;
        object-fit: cover;
    }

    .files-start-card .img {
        width: 135px;
        height: 110px;
    }

    .notificate {
        flex-direction: column;
        align-items: start;
    }

    .remove-note {
        top: 30px;
        transform: translateY(0%);
    }

    .notificate .text p.text-content {
        font-size: 15px;
    }

    .settings .personal-settings form .form-inputs input {
        height: 50px;
    }
    .settings .personal-settings form .form-inputs label {
        font-size: 14px;
    }

    .issue-details.add-users .show-modal-button {
        width: 165px;
        height: 45px;
    }

    .issue-details.add-users .show-modal-button img {
        width: 20px;
    }

    .regeister-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .company-info h1 {
        font-size: 25px;
        text-align: center;
    }

    .company-info p {
        font-size: 13px;
        text-align: center;
    }

    .company-info .info-content {
        display: flex;
        flex-direction: column;
        gap: 0px;
        text-align: right;
    }

    .regeister-steps.regeister-presonal-info,
    .regeister-steps .company-info,
    .regeister-steps .col-lg-6 {
        height: auto;
        padding-top: 50px;
        padding-bottom: 80px;
    }

    .register-form .form-header h2 {
        color: var(--primary1);
        font-size: 17px;
        text-align: center;
    }

    .srch-pagination {
        gap: 10px;
    }

    .srch-pagination .next p,
    .srch-pagination .last p {
        color: var(--primary1);
        font-size: 10px;
    }

    .srch-pagination .next i,
    .srch-pagination .last i {
        font-size: 10px;
    }

    .srch-pagination .nums a {
        font-size: 12px;
    }

    .srch-pagination .nums a {
        width: 24px;
        height: 24px;
    }

    .subscribe-details-header p {
        font-size: 10px;
    }

    .copons-details .copons-details-body .copons-details-body-item p,
    .subscribe-details .subscribe-details-body .subscribe-details-body-item p {
        font-size: 10px;
    }

    .activate-subscribe {
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }

    .coupon-text {
        font-size: 13px;
    }

    .selected-option {
        top: 8px;
    }

    .register-form form .google-login {
        font-size: 14px;
    }

    .register-form .back-link {
        font-size: 12px;
    }

    .register-form .form-header p {
        font-size: 13px;
        text-align: center;
    }

    nav .header-user-links .icon:first-of-type::before {
        content: "";
        position: absolute;
        top: 5px;
        right: 4px;
        height: 3px;
        width: 3px;
        border-radius: 50%;
        background-color: red;
    }

    .next-date .txt .txt-text h3 {
        font-size: 17px;
    }

    .next-date .txt .txt-text p {
        font-size: 13px;
    }

    .calender-head {
        width: 100px;
    }

    .calender-bottom {
        width: 100px;
    }

    .calender-bottom {
        gap: 0;
    }

    .layer-info-card {
        flex-direction: column;
        align-items: start;
        gap: 20px;
        padding: 20px 10px;
    }

    .layer-info-card .img {
        width: 90px;
        height: 90px;
    }

    .layer-info-card .layer-info h3 {
        font-size: 17px;
    }

    .lawyer-rat p {
        font-size: 14px;
    }

    .taken-rate p {
        font-size: 16px;
    }

    .layer-info-card a {
        font-size: 16px;
        width: 120px;
        height: 40px;
    }

    .layer-info-card .layer-info {
        gap: 10px;
    }

    .dates-lawyer {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }

    .dates-lawyer .nums {
        width: 100%;
    }

    .dates-lawyer .nums h3 {
        font-size: 16px;
    }

    .lawyer-rate-amount h4 {
        font-size: 16px;
    }

    .lawyer-rate-amount a {
        width: 123px;
    }

    .frm-add-comment .add-your-rate {
        flex-direction: column;
        gap: 20px;
        justify-content: start;
        align-items: start;
    }

    .sub-card-ctn {
        flex-direction: column;
        align-items: start;
    }

    .lawyer-chat {
        width: 80%;
    }

    .suggets-answers .content p {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .suggets-answers .content label {
        height: 36px;
        font-size: 11px;
        min-width: 75px;
        width: 100%;
    }

    .col-12.col-md-6.col-lg-4 .icon {
        position: absolute;
        left: 20px;
        bottom: 11px;
    }

    .suggets-answers .logo {
        width: 33px;
        height: 33px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: var(--primary2);
    }

    .suggets-qiesstion {
        font-size: 13px;
    }

    .files-start-card h2 {
        font-size: 15px;
    }

    .files-start-card p {
        font-size: 11px;
    }

    .ctmt-m-0 {
        max-width: 200px;
    }

    .ai-frm input {
        padding-left: 40px;
    }

    .user-send-msg {
        max-width: 90%;
    }

    .ai-frm {
        margin-top: 20px;
    }

    .ai-frm input {
        font-size: 14px;
    }

    .search-frm input {
        height: 55px;
      }

      .input-check-code {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 20px;
        gap: 10px;
        justify-content: center;
    }

    .input-check-code input {
        width:  50px
    }

}

@media (max-width: 425px) {
    .next-date {
        flex-direction: column;
        align-items: start;
        gap: 30px;
    }

    .session-date {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }



    .layer-info-card .layer-info {
        gap: 10px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .layer-info-card a {
        margin-left: auto;
        margin-right: auto;
    }

    .act-location {
        justify-content: center;
    }

    .rating-txt-card {
        flex-direction: column;
    }

    .rate-inputs .rate-item {
        width: 36px;
        height: 36px;
    }

    .rate-inputs .rate-item i {
        font-size: 17px;
    }

    .frm-add-comment button {
        width: 210px;
        height: 42px;
    }

    .lawyer-chat form {
        padding-left: 10px;
        padding-right: 10px;
    }

    .suggets-qiesstion {
        max-width: 90%;
    }

    .isu-txt {
        font-size: 12px;
    }
}
