body {
    font-family: "Mulish", sans-serif;
}



.payment-program-section p, .ime-section p, .laptop-section > div > div:nth-child(1) p, .laptop-section > div > div:nth-child(1) li, .book-call-section p {
    line-height: 30px;
}

/*.header-placeholder {
    background: linear-gradient(to right, #fdc8c1, white, white);
    display: block;
}*/

.home {
    padding: 80px 0 0 0;
}


.feature-section:nth-child(even) {
    background-color: #ffffff;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
}

.feature-text {
    padding: 20px;
}

img[src*="orvosi_home_lawyers.svg"] {
    filter: hue-rotate(140deg) saturate(150%);
}

/* From FindExpert for search function */
/* Ensure the dropdown and options are styled properly */
#cityDropdown {
    color: black; /* Text color for dropdown */
    background-color: white; /* Background color for dropdown */
}

#cityDropdown option {
    color: black; /* Text color for options */
    background-color: white; /* Background color for options */
}

/* Change the background and text color of selected items in the input box */
.select2-selection__choice {
    background: linear-gradient(to bottom, #5E7897 0%, #4D6582 100%) !important;
    color: white !important; /* White text */
    border: 1px solid #526A88 !important; /* Add a border for better visibility */
    margin-bottom: 10px;
}

/* Optional: Add hover effect for selected items */
/*.select2-selection__choice:hover {
    background: linear-gradient(to bottom, #5E7897 100%, #6C86A4 0%) !important;
    color: #FFF !important;*/ /* Keep text white */
/*}*/


.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    border-right: 0.5px rgba(255,255,255, 0.25) solid;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: rgba(255,255,255, 0.25);
    color: white;
}

.select2-container .select2-selection--multiple .select2-selection__clear {
    color: #4D6582;
    margin-top: 3px;
}

.results-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.results-box .section-title {
    margin-bottom: 15px;
    font-weight: bold;
    color: white;
    margin-top: 20px;
    font-size: 28px;
    text-align: center;
}

.unlockResultsBtn {
    margin-top: 10px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.results-box .section-description-1 {
    margin-bottom: 15px;
    font-weight: bold;
}

.results-box .section-description-2 {
    color: #4D6582;
}

.results-box .section-description {
    
    text-align: center;
    margin-bottom: 0;

}


.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 0.5px solid #4D6582;
    min-height: 30px;
    padding-bottom: 8px !important;
    padding-left: 7px;
    width: 350px;
    margin: 4px 0;
}

.select2-container--default .select2-selection--multiple textarea {
    font-family: 'Mulish', sans-serif !important;
    color: rgba(0, 0, 0, 0.7);
    min-height: 35px;
}

.select2-container--default textarea::placeholder {
    color: rgba(77, 101, 130, 0.6);
    font-family: 'Mulish', sans-serif;
    font-size: 18px;
    padding-top: 13px;
}

.select2-container--default .select2-search--inline .select2-search__field {
    margin-top: -5px;
    min-height: 40px;
}


.select2-container--default.select2-container--focus .select2-selection--multiple, .sign-up-bar-section form input:focus {
    border: 3px solid rgba(77, 101, 130, 0.5);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: rgba(77, 101, 130, 0.1);
    color: #212529;
}

.select2-results__option--selectable, .select2-results__option {
    font-weight: 300;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: none;
}

#search-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

    #search-section h2 {
        margin-top: 10px;
    }


.alert-danger {
    width: 350px;
}

#userMsg {
    display: flex;
    justify-content: center;
}

#searchResultsContainer {
    margin: -30px -35px 0 -35px;
    width: 100%;
    display: flex;
    justify-content: center;

}



.home {
    background-image: url('/img/assets/Home/solid-x-bg.png');
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home .section-container {
    max-width: 1200px;
}

  

.home .hero-section {
    display: flex;
    flex-direction: row;
    margin-top: 40px;
    padding-left: 100px;
    padding-right: 40px;
}


.hero-section .section-container > div {
    width: 50%;
}

.hero-titles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-right: 40px;
    margin-top: 10vh;
}

    .hero-titles p {
        margin-bottom: 50px;
    }

.hero-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 120px;
    margin-left: 30px;
}

.section-container h2 {
    font-size: 40px;
    text-align: center;
}

#main-title {
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: left;
}

#search-section h2, #search-section p, #search-section h5 {
    color: white;
}

#contact-section {
    background-color: white;
}

.fields-container {
    flex-direction: column;
}

.searchbox-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#searchButton {
    width: 150px;
    border: 1px white solid;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-left: 25px;
    justify-self: center;
    font-size: 16px;
}

    #searchButton span {
        height: 30px;
        display: inline-block;
        border-left: 1px white solid;
        padding-left: 8px;
        margin-left: 20px;
    }

.select2-hidden {
    visibility: hidden;
}


.search-overlay {
    background-color: rgba(85, 92, 112, 0.88);
    width: 440px;
    padding: 15px 50px 30px 50px;
    border-radius: 10px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    margin-top: 10vh;
    margin-right: 10px;
}

.results-partial {
    background-color: #4D6582;
    margin-top: 40px;
    margin-bottom: -50px;
    border-radius: 10px;
}

#searchResults {
   
    margin-top: -30px;
}

/* HIGHLIGHTS SECTION */

.highlight-card-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1100px;
    margin: auto;
    gap: 20px;
    flex-wrap: wrap;
}

.home .highlights-section {
    background-color: rgba(255, 255, 255, 0.8);
/*    background-color:rgba(97, 11, 0, 0.8);*/
    width: 100vw;
    padding: 50px 100px 80px 100px;
    max-width: 100vw;
}

.home .highlights-section h2 {
    color: #212529;
    font-weight: 900;
    margin-bottom: 20px;
    font-size: 30px;
}

.highlight-card {
    background: linear-gradient(to bottom, #E8412E, #952315);
    color: white;
    border: 1px solid #8B2215;
    border-radius: 5px;
    box-shadow: 0px 4px 2px 0px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px 10px 10px;
    margin-top: 50px;
    flex: 1;
}

.highlight-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    width: 200px;
}

    .highlight-card .icon-container {
        background-color: #FBE0DD;
        width: 65px;
        height: 65px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        border: solid 3px #8B2215;
        margin-top: -34px;
        margin-bottom: 15px;
    }

/* HOW IT WORKS SECTION */

.home .how-it-works-section {
    width: 100%;
    padding-top: 40px;
    text-align: center;
    padding-bottom: 35px;
    max-width: none;
    background: linear-gradient(to right, #FFE0DC, white, #FFFCFB);
    display: flex;
    justify-content: center;
    align-items: center;
}

.how-it-works-timeline {
    max-width: 1700px;
    background: url('/img/assets/Home/timeline4.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 0 -50px;
    padding: 0 20px;
    width: 100%;
}

.step-cards-container {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: auto;
    gap: 30px;
    margin-bottom: 60px;
}

.step-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    background-color: white;
    border: solid 1px #BCBCBC;
    border-top: 7px solid #BCBCBC;
    padding: 35px 25px;
}


.step-card .orange-number-circle {
    background-color: #EE402B;
    border-radius: 50%;
    padding: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    width: 65px;
    height: 65px;
    color: white;
    font-weight: 400;
    font-size: 35px;
}

.step-card:nth-child(2) .orange-number-circle > svg {
    margin-bottom: -10px;
}

.step-card:nth-child(2) h3 {
    margin-top: 10px;
}

.step-card h3 {
    font-weight: 700;
    margin-bottom: 30px;
}

.step-card-divider {
    width: 50px;
    height: 2px;
    background-color: #BCBCBC;
    margin-bottom: 30px;
}

.timeline .step-card h3 {
    background-color: #F6BCB5;
    padding: 10px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    font-size: 18px;
    font-weight: 900;
   
}

.timeline img {
    width: 100px;
    height: auto;

}

.timeline .step-card {
    background-color: transparent;
    border: none;
    padding: 0;
    
}

.timeline {
    margin-top: 70px;
    margin-bottom: 30px;
    padding: 0 80px;
}

.timeline .step-card:nth-child(odd) {
    margin-top: 50px;
}

.timeline p {
    max-width: 150px;
}

/* DOCTOR DEFERRED PAYMENT PROGRAM SECTION */

.home .payment-program-section {
    background-image: url('/img/assets/Home/dr-lawyer-bg.png');
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
    max-width: 100vw;
    width: 100vw;
    display: flex;
    justify-content: center;
}

.payment-program-section > div {
    max-width: 100vw;
    width: 100vw;
    background: linear-gradient(to bottom, transparent 0%, #4D6582 65%, #4D6582 100% );
    display: flex;
    justify-content: center;
    padding-top: 110px;
    padding-bottom: 90px;
    margin-bottom: -1px;
}

.payment-program-section .section-container {
    display: flex;
    flex-direction: row;
    color: white;
    text-align: right;
}

    .payment-program-section .section-container h2 {
        text-align: right;
        max-width: 500px;
    }

.payment-program-section .titles-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-left: 40px;
    padding-right: 65px;
}

    .payment-program-section .titles-container h3 {
        font-weight: 700;
        color: #A3CDFF;
        margin-top: -5px;
        margin-bottom: 45px;
    }

.payment-program-section button {
    margin-top: 30px;
}

.payment-program-section .card-icon-container {
    margin-top: 105px;
    padding-left: 50px;
}



/* IME SECTION */

.ime-section {
    text-align: center;
}

    .ime-section img {
        width: 70px;
        height: auto;
        margin-top: 60px;
        margin-bottom: -15px;
    }

    .ime-section .text-container {
        background-image: url('/img/assets/Home/faded-x-overlay-bg.png');
        background-size: auto 100%;
        background-position: center;
        background-repeat: no-repeat;
        padding: 50px 65px;
    }

        .ime-section .text-container h1 {
            margin-bottom: 40px;
            margin-top: 20px;
        }

        .ime-section .text-container p {
            margin-bottom: 40px;
        }

.home .ime-section {
    background: linear-gradient(to right, #FFE0DC, white, #FFFCFB);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    max-width: none;
    width: 100%;
}

.ime-section > div {
    max-width: 1200px;
}

/* NEWSLETTER SECTION */

#signup-newsletter {
    border: 2px solid rgba(144, 16, 0, 1);
    background: linear-gradient(to right, rgba(144, 16, 0, 0.9), rgba(144, 16, 0, 0.9)), url('/img/assets/Lawyer/dr-expert-bg.png');
    background-repeat: no-repeat;
    background-size: 100%, 100%;
    background-position: center;
    margin-top: 90px;
}

.sign-up-bar-section > div > div:nth-child(1) {
    background-image: none !important;
}

.sign-up-form-divider {
    background-color: #F3796B;
    
}

#signup-newsletter form input {
    border: 0.5px solid rgba(144, 16, 0, 1);
    min-height: 15px !important;
    background-color: #FFD4CF;
    margin-top: 9px !important;
    height: 40px !important;
    font-size: 13px;
}

#signup-newsletter form input::placeholder {
    color: rgba(144, 16, 0, 0.7);
}

#signup-newsletter .form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.1rem;
}

.sign-up-form-container {
    display: flex;

}

#signup-newsletter form button {
    margin-top: 30px;
}

/* EXPERT COLLABORATION SECTION */
.home .laptop-section {
    background: linear-gradient(to right, #4D6582, #FFFCFB);
    width: 100vw;
    max-width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 70px 0;
}

.laptop-section > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    padding: 0 65px;
}

.laptop-section > div > div {
    width: 50%;
}

.laptop-section > div > div:nth-child(2) img {
    width: 100%;
    height: auto;
    padding: 0 20px 0 30px;
  
}

.laptop-section > div > div:nth-child(2) {
    background-image: url('/img/logos/high-res-x.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 55%;
    margin-bottom: -70px;
}


.laptop-section > div > div:nth-child(1) {
    text-align: left;
    color: white;
    padding-right: 60px;
    width: 45%;
}

.laptop-section > div > div:nth-child(1) li span {
    font-weight: 800;
}

.laptop-section > div > div:nth-child(1) h2 {
    text-align: left;
    margin-right: -50px;
}

.laptop-section > div > div:nth-child(1) li {
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.laptop-section > div > div:nth-child(1) ul {
    list-style: none;
    margin-top: 30px;
    padding-left: 0;
}

.laptop-section > div > div:nth-child(1) li img {
    width: 45px;
    height: 45px;
    margin-right: 15px;
}

/* BOOK CALL SECTION */

.book-call-section > div {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-top: 100px;
    padding: 0 65px;
    max-width: 1200px;
    margin: auto;
}

.home .book-call-section {
    width: 100vw;
    max-width: 100vw;
    background: url('/img/assets/Home/faded-chat-bubble-bg.png'), linear-gradient(to right, #FFE0DC, white, #FFFCFB);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    padding-bottom: 100px;
    padding-top: 100px;
}

.book-call-section h3 {
    font-weight: 700;
    color: #EE402B;
    margin-top: -10px;
    margin-bottom: 40px;
    /* text-shadow: -0.5px -0.5px 0 #fff, 0.5px -0.5px 0 #fff, -0.5px 0.5px 0 #fff, 0.5px 0.5px 0 #fff; */
}

.book-call-section p {
    margin-bottom: 40px;
}

/* SCHEDULE EXAM SECTION */
#schedule-exam-section {
    background: linear-gradient(to right, transparent 0%, #ACB9C9 80%), url('/img/assets/Home/dr-banner-bg.png');
    background-position: center;
    background-size: cover;
}

#schedule-exam-section button {
   background-color: #4D6582;
}

#schedule-exam-section button:hover {
    background-color: #5E7897;
}

/* ========== MEDIA QUERIES ========== */

@media (max-width: 1250px) {

    /* HIGHLIGHTS SECTION */
    .highlight-card h3 {
        width: 100%;
    }

    .highlight-card h3 {
        font-size: 20px;
    }

    .highlight-card {
        padding: 0 20px 15px 20px;
    }
}

@media (max-width: 1200px) {
    #searchResultsContainer {
        margin: -30px auto 0 auto;
        padding: 0 20px;
    }

    .home .half-form .container {
        padding-right: 0;
        padding-left: 0;
    }

    #searchResults {
       margin-right: 0 !important;
       margin-left: 0 !important;
    }
}
    @media (max-width: 1150px) {
        /* EXPERT COLLABORATION SECTION */
        .laptop-section > div > div:nth-child(1) {
            padding-right: 0;
        }
    }

    @media (max-width: 1010px) {
        /* HOW IT WORKS SECTION */
        .step-card {
            flex: 1 1 calc(50% - 30px);
            margin: 5px;
            padding: 25px;
        }

            /*    .step-cards-container {
        flex-wrap: wrap;
        gap: 5px;
    }*/

            .step-card svg {
                width: 55px;
                height: 55px;
            }

            .step-card .orange-number-circle,
            .step-card h3,
            .step-card-divider {
                margin-bottom: 20px;
            }
    }

    @media (max-width: 991px) {
        /* HERO SECTION */
        .search-overlay {
            width: 340px;
        }

        .select2-container--default .select2-selection--multiple {
            width: 250px;
        }

        .hero-titles {
            align-items: center;
        }

        /* HIGHLIGHT SECTION */

        .home .highlights-section {
            padding: 50px 30px 70px 30px;
        }
    }

    @media (max-width: 950px) {
        /* EXPERT COLLABORATION SECTION */
        .laptop-section > div {
            flex-direction: column;
            padding: 0 30px;
        }

            .laptop-section > div > div:nth-child(1) h2 {
                margin-right: 0;
            }

        .home .laptop-section {
            background: linear-gradient(to bottom, #4D6582, #fff);
        }

        .laptop-section > div > div {
            width: 100% !important;
            height: auto;
        }

            .laptop-section > div > div:nth-child(1) h2,
            .laptop-section p {
                text-align: center;
            }

        .laptop-section ul {
            max-width: 550px;
            margin: auto;
        }

        .laptop-section > div > div:nth-child(2) {
            padding-bottom: 55px;
            height: auto;
            margin-bottom: -30px;
            margin-top: 50px;
        }

            .laptop-section > div > div:nth-child(2) img {
                max-width: 650px;
                margin-top: 35px;
                padding: 0 40px;
            }

        /* HIGHLIGHTS SECTION */

        /*    .highlight-card-container {
        gap: 20px;
    }

    .highlight-card {
        padding: 0 30px 20px 30px;
    }

    .home .highlights-section {
        padding: 60px 50px 80px 50px;
    }*/
    }

    @media (max-width: 900px) {
        /* HERO SECTION */
        .home .hero-section {
            flex-direction: column;
            padding-left: 65px;
            padding-right: 65px;
        }

        .hero-titles {
            text-align: center;
            padding-right: 0;
        }

        #main-title {
            text-align: center;
        }

        .hero-titles button {
            align-self: center;
        }

        .search-overlay {
            width: 100%;
            margin: auto;
            margin-top: 60px;
        }

        .select2-container--default .select2-selection--multiple {
            width: 100%;
        }

        .search-overlay .col {
            width: 100%;
        }

        #searchResults {
            padding: 0 65px;
            max-width: 755px;
            width: 100%;
        }

        #heroSection {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

      #searchResults {
          padding: 0 45px;
      }
    }



    @media (max-width: 768px) {
        /* GENERAL */
        .home p, .home li {
            font-size: 16px;
        }

        .home {
            background: linear-gradient(to right, #FFE0DC, white, #FFFCFB);
        }

        /* HERO SECTION */
        #main-title {
            font-size: 50px;
        }

        .home .hero-section {
            background-image: url('/img/assets/Home/solid-x-bg-mobile.png');
            background-position: center;
            background-size: contain;
            background-repeat: no-repeat;
        }

        /* DOCTOR DEFERRED PAYMENT PROGRAM SECTION */
        .home .payment-program-section {
            background-image: url('/img/assets/Home/dr-lawyer-mobile-bg.png');
            background-attachment: scroll;
            padding: 0 !important;
        }

        .payment-program-section > div {
            padding: 95px 0;
            background: rgba(77, 101, 130, 0.9);
        }

        .payment-program-section .titles-container h3 {
            font-size: 24px;
        }

        .payment-program-section p {
            padding: 0 30px;
        }

        .card-icon-container {
            display: none;
        }

        .payment-program-section .titles-container {
            align-items: center;
            text-align: center;
            padding: 0;
        }

            .payment-program-section .titles-container h2 {
                text-align: center;
            }
        /* HIGHLIGHT SECTION */


        .highlight-card {
            flex: 1 1 calc(50% - 20px);
        }
    }

    @media (max-width: 700px) {


        /* SCHEDULE EXAM SECTION */
        #schedule-exam-section > div:nth-child(2) {
            background: linear-gradient(to right, rgba(172, 185, 201, 0.7) 0%, rgba(172, 185, 201, 0.7) 90%), url('/img/assets/Home/dr-banner-bg.png');
            background-position: left;
            background-size: cover;
            background-repeat: no-repeat;
        }
    }


    @media (max-width: 550px) {
        /* GENERAL */
        .home .section-container {
            padding-left: 30px;
            padding-right: 30px;
        }

        /* HERO SECTION */
        #main-title {
            font-size: 45px;
        }

        /* HOW IT WORKS SECTION */
        .step-cards-container {
            flex-direction: column;
            margin: auto;
            width: 100%;
            margin-bottom: 25px;
        }

        .step-card {
            width: 100%;
            padding: 15px 25px;
        }

            .step-card .orange-number-circle {
                margin-bottom: 15px;
                padding: 12px;
                width: 45px;
                height: 45px;
                font-size: 25px;
            }

            .step-card h3 {
                margin-bottom: 15px;
            }

        .step-card-divider {
            margin-bottom: 15px;
            height: 0.5px;
            width: 40px;
        }

        /* DOCTOR DEFERRED PAYMENT PROGRAM SECTION */
        .payment-program-section p {
            padding: 0;
        }

        /* IME SECTION */
        .home .ime-section {
            padding: 0;
        }

        .ime-section .text-container {
            padding: 40px 30px 75px 30px;
        }

        .ime-section img {
            margin-top: 90px;
        }

        /* EXPERT COLLABORATION SECTION */
        .laptop-section > div > div:nth-child(2) img {
            padding: 0 0;
        }

        /* BOOK CALL SECTION */
        .book-call-section > div {
            padding: 0 30px 0 30px;
        }

        .home .book-call-section {
            padding-left: 0;
            padding-right: 0;
            padding-bottom: 140px;
        }
        /* HIGHLIGHT SECTION */
        .highlight-card-container {
            flex-direction: column;
            gap: 10px;
        }
    }

    @media (max-width: 400px) {

        /* EXPERT COLLABORATION SECTION */
        .laptop-section > div > div:nth-child(1) ul {
            margin-left: -10px;
        }
    }

    @media (max-width: 380px) {
        /* HERO SECTION */
        .search-overlay {
            padding: 30px;
        }

        .results-partial {
            margin: 40px -30px -50px -30px;
        }
    }

