/* main content Design here */
main {
    display: flex;
    justify-content: space-between;
    padding-top: 70px;
    position: relative;
}


/* Navigation Menu Design */
nav {
    display: inline-block;
    align-items: center;
}

nav ul {
    display: inline-flex;
    justify-content: space-between;
    width: 540px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.section {
    display: none;
    overflow: auto;
}
.packageSection {
    overflow: auto;
}

/* Style the selected menu item */
nav .menu-item.selected {
    border-radius: 30px;
    border: 2px solid #2F857E;
    padding: 5px 15px;
    /* Add border for selected items */
}
nav .offerPackagesSingleBtn.selected {
    border-radius: 30px;
    border: 2px solid #2F857E;
    padding: 5px 15px;
    /* Add border for selected items */
}

/* Left side Navigration Menu design */
nav ul li a {
    text-decoration: none;
    color: #2F857E;
    font-size: 16px;
}

/* Right Side Navigation Menu Design */

.right-nav {
    display: flex;
    justify-content: flex-end;
}



/* Box Design for Left Main*/
.main-container,.offerMainContainer,.packageMainContainer{
    margin-top: 40px;
    width: 560px;
    height: 350px;
    display: flex;
    flex-wrap: wrap;
}

.main-container a,.offerMainContainer a,.packageMainContainer a {
    transition: transform 0.3s ease;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.box {
    width: 165px;
    height: 155px;
    background-color: #FFFFFF;
    border-radius: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;

}
.box.right-box {
    margin-right: 20px;
    margin-bottom: 18px;
    .rightBoxInnerClick{
        display: block;
        height: 100%;
    }
}

.box-content {
    width: 155px;
    height: 115px;
    background-color: #478C8D;
    opacity: 50%;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    display: flex;
}
.offerBoxparent{
    padding-right: 5px;

}
/*.offerBoxContent,.packageBoxContent{*/
/*    width: 100%!important;*/
/*    height: 115px!important;*/
/*}*/
.box-content img {
    width: auto;
    height: 75px;
    border-radius: 25px;

}
.offerBoxContent,.packageBoxContent {
    width: 155px;
    height: 115px;
    background-color: #478C8D;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    display: flex;
}
.offerBoxContent img,.packageBoxContent img {
    width: 100%!important;
    height: 100%!important;
    border-radius: 25px;
}

.box-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
}

.box-title p {
    color: #2F857E;
    font-size: 12px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    white-space: nowrap;
}

/* Hover effect On service box */
.main-container a:hover .box-content {
    opacity: 100%;
}

.main-container a:hover .box-title {
    font-weight: 700;
}
.main-container a:hover .offerBoxContent {
    cursor: pointer;
}
.offerMainContainer a:hover .box-content {
    opacity: 100%;
}

.offerMainContainer a:hover .box-title {
    font-weight: 700;
}
.offerMainContainer a:hover .offerBoxContent {
    cursor: pointer;
}
.packageMainContainer a:hover .packageBoxContent {
    cursor: pointer;
}
.packageMainContainer a:hover .box-title {
    font-weight: 700;
}


/* Design For Right Menu Container */

.main-container-right,.packageMainContainer {
    width: 560px;
    height: 350px;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next "row" */
}

.nav2-container {
    width: 7px;
    height: 350px;
}

.box-img img {
    width: 155px;
    height: 90px;
    border-radius: 25px;
}


.box-details {
    display: flex;
    justify-content: space-between;
}

.profile-details {
    margin-left: 8px;
    width: 100%;

    p{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

}

.name {
    font-size: 12px;
    margin-left: 8px;
    color: #2F857E;
    font-weight: 700;
}

.title {
    font-size: 10px;
    color: #2F857E;
}

.doctor-profile {
    padding-top: 0px;
    margin-top: 0px;
    font-size: 10px;
    transition: transform 0.3s ease;
    font-weight: 700;
    color: #2F857E;
}


.doctor-profile a:visited {
    color: #2F857E;
}
.contact-method {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.contact-icon img {
    margin-left: 10px;
    height: 16px;
    width: auto;
}

/* Vertical line design */

.vertical-line-container {
    position: fixed;
    top: 0;
    left: 49.5%;
    transform: translateX(-50%);
}

.vertical-line {
    width: 1px;
    height: 250px;
    background-color: #2F857E;
    margin-top: 320px;
}

/* Vertical line design Ends Here */


/* All Profile Menu PopUp Design */
.menu-svg {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.menu-svg:hover {
    transform: scale(1.05);
}

.all-profile-popup {
    display: none;
    content: '';
    position: absolute;
    top: 20%;
    right: 1%;
    background-color: rgba(47, 133, 126, 0.2);
    backdrop-filter: blur(3px);
    z-index: 99;
    border-radius: 20px;
    filter: brightness(1.1);
    border: 1px solid white;
    width: 282px;
}

.close-menu {
    position: absolute;
    top: -4%;
    right: -6%;
    cursor: pointer;
    z-index: 99999;
}

.all-profile-popup-content {
    position: relative;
    z-index: 9999;
    overflow-y: auto;
    padding: 40px 29px 50px 25px;
}
.all-profile-popup-content::-webkit-scrollbar {
    width: 5px;
    /*max-height: 150px;*/
    /*height: auto;*/
    /*padding-top:22px; !* Set the width of the scrollbar *!*/
    /*padding-bottom:22px;*/

}
.all-profile-popup-content::-webkit-scrollbar-thumb {
    background-color: #2F857E; /* Set the color of the scrollbar thumb */
}
.all-profile-popup-content::-webkit-scrollbar-track-piece:end {
    background: transparent;
    margin-bottom: 40px;
}

.all-profile-popup-content::-webkit-scrollbar-track-piece:start {
    background: transparent;
    margin-top: 40px;
}

.all-profile-popup-content a {
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 10px;
    background-color: #036365;
    color: white;
    padding: 5px 10px;
    border: 1px solid white;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.all-profile-popup-content a:hover {
    transform: scale(1.05);
}


@media screen and (max-width: 1400px) {

    nav ul {
        width: 475px;
    }
    nav ul li a {
        font-size: 13px;
    }

    .main-container-right, .packageMainContainer {
        width: 470px;
        height: 289px;
    }
    .box.right-box {
        margin-right: 10px;
        margin-bottom: 9px;
    }
    .box {
        width: 135px;
        height: 136px;
        border-radius: 25px;
        padding-top: 5px;
        padding-left: 5px;
        padding-right: 5px;
    }
    .box-img img {
        width: 125px;
        height: 83px;
        border-radius: 20px;
    }
    .name {
        font-size: 10px;
    }
    .main-container, .offerMainContainer, .packageMainContainer {
        margin-top: 40px;
        width: 470px;
        height: 292px;
    }
    .main-container a, .offerMainContainer a, .packageMainContainer a {
        margin-right: 10px;
        margin-bottom: 10px;
    }
    .box-content {
        width: 125px;
        height: 94px;
        border-radius: 20px;
    }
    .box-content img {
        height: 75px;
        border-radius: 20px;
    }
    .box-title {
        height: 28px;
    }
    .box-title p {
        font-size: 11px;

    }


}


@media screen and (max-width: 1024px) {
    /*main {*/
    /*    align-items: center;*/
    /*    height: 700px;*/
    /*}*/

    .vertical-line {
        height: 200px;
        margin-top: 317px;
    }
}

@media screen and (max-width: 950px) {

    .vertical-line-container {
        display: none;
    }
    .all-profile-popup {
        top: 6%;
        right: 3%;
    }
    .all-profile-popup-content {
        padding: 27px 20px 30px 20px;
    }

}

@media screen and (max-width: 600px) {

    main {
        padding: 20px;
    }

    .vertical-line-container {
        display: none;
    }

    .box {
        width: 131px;
        height: 122px;
    }
    .box-title {
        padding: 0 15px;
    }
    .box-title p {
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        white-space: nowrap;
    }

    .box-content {
        width: 121px;
        height: 85px;
        background-color: #478C8D;
        opacity: 50%;
        border-radius: 23px;
        align-items: center;
        justify-content: center;
        display: flex;
    }
    .offerBoxContent,.packageBoxContent {
        width: 125px;
        height: 85px;
        background-color: #478C8D;
        border-radius: 30px;
        align-items: center;
        justify-content: center;
        display: flex;
    }

    .box-content img,.offerBoxContent img {
        width: auto;
        height: 60px;
    }

    .left-nav,
    .right-nav {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .main-feature-row {
        display: flex;
        justify-content: space-between;
    }

    .main-container a ,.offerMainContainer a,.packageMainContainer a {
        &:not(:last-child){
            margin-right: 4px;
        }

    }

    .main-container{
        overflow: hidden;
        overflow-x: scroll;
        border: none;
        width: auto;
        height: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        padding-bottom: 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;

    }

    .row{
        display:flex;
        justify-content: space-between;
    }


    .main-container-right,.packageMainContainer {
        overflow: hidden;
        overflow-x: scroll;
        border: none;
        width: auto;
        height: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        padding-bottom: 20px;
        display: flex;
        flex-wrap: nowrap; /* Allow items to wrap to the next "row" */
        gap: 2px;
    }

    .right-box {
        margin-right: 10px;
        margin-left: 0;
        float: left;
        width: 200px;
        height: 190px;
        padding: 5px;

    }

    .box-img img {
        width: 190px;
        height: 120px;

    }

    .menu-svg {
        display: block;
    }

}