@media (min-width: 769px) {
    .menu-nav-item:hover .submenu {
        display: block;
    }
}

@media (max-width: 1650px) {
    .scrolled-menu .header-logo {
        max-width: 300px;
    }

    .innerpage-banner-text {
        font-size: 40px;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon svg {
        width: 20%;
    }
}

@media(max-width:1700px) {
    .header-logo {
        max-width: 350px;
    }

    .header-search {
        max-width: 580px;
    }

    .header-search-bar {
        padding: 0;
    }
}

@media(max-width:1600px) {
    .feedback-bg {
        height: 400px;
    }

    .scrolled-menu .header-menu {
        background: transparent;
        width: 100%;
        max-width: 800px;
    }

    .scrolled-menu .menu-nav-link {
        display: block;
        padding: 10px 10px;
    }

    .service-card {
        aspect-ratio: initial;
    }
}

@media (max-width: 1500px) {
    .registration-right {
        padding: 25px;

    }

    .registration-right-content {
        padding: 60px 0 0 60px;
        max-width: 400px;

    }

    .registration-form-left {
        padding: 25px;
        padding-right: 0;
        padding-top: 60px;
    }

    .service-card {
        height: initial;
    }

    .medicine_img_1,
    .medicine_img_2 {
        bottom: -185px;
    }

    .footer-pay-image {
        width: 23.21%;
    }

    .newsletter-form-main .form-control {
        padding-top: 9px !important;
        padding-bottom: 9px !important;
    }

    .about-text .theme-btn,
    .health-hub .theme-btn {
        padding: 10.25px 25px;
    }

    .top-header {
        padding: 22.5px 0;
    }

    .menu-nav-link {
        padding: 17.25px 25px;
    }

    .home-testimonials-section {

        padding: 50px 0;
    }

    .innerpage-banner-text {
        font-size: 36px;
    }

    .product-name {
        font-size: 18px;
    }



    .header-search {
        max-width: 480px;
    }

    .footer-column .footer-logo img,
    .regi-pharmacy {
        max-width: 100%;
    }

    .newsletter-section .newsletter-form-main {
        width: 28%;
    }

    section .hero-section {
        min-height: 500px;
    }
}

@media(max-width:1450px) {
    .service-main {
        gap: 25px !important;
    }

    section .hero-section {
        min-height: 0;
    }

    .header-logo {
        max-width: 300px;
    }

    .header-search {
        max-width: 450px;
    }

    .feedback-bg {
        height: 340px;
    }

    .scrolled-menu .header-logo {
        max-width: 200px;
        width: 100%;
    }

    .scrolled-menu .header-menu {

        max-width: 650px;
    }

    .scrolled-menu .menu-nav-list li a {
        font-size: 15px !important;
    }


}

@media(max-width:1300px) {

    .product-name {
        font-size: 16px;
    }

    .service-main {
        flex-wrap: wrap;
    }

    .service-card-parent {
        width: 100% !important;
        max-width: 380px !important;
    }
}

@media(max-width:1200px) {
    .account-popup {
        align-items: start;
        padding: 25px 0;
        overflow-y: auto;
    }

    .registration-form-left {
        padding: 25px;
        padding-bottom: 0;
    }

    .registration-right {
        padding-top: 0;
    }

    .account-form {
        max-width: 600px;
        position: relative;
    }

    .scrolled-menu .menu-nav-link {
        display: block;
        padding: 5px;
    }

    .scrolled-menu .header-menu {
        max-width: 600px;
    }

    .scrolled-menu .header-right-btn svg {
        height: 30px;
    }

    .medicine_img_1,
    .medicine_img_2 {
        max-width: 400px;
    }

    .medicine_img_1,
    .medicine_img_2 {
        bottom: -60px;
    }

    .feedback-bg {
        height: 100%;
    }

    .newsletter-section .newsletter-form-main {
        width: 50%;
    }

    .header-logo {
        max-width: 250px;
    }

    .header-search {
        max-width: 300px;
    }

    section .hero-section {
        background: no-repeat center bottom / cover;
    }

    .innerpage-banner-text {
        font-size: 28px;
    }

    .product-grid>* {
        flex: 0 0 calc(50% - 25px);
        box-sizing: border-box;
    }
}

@media(max-width:1024px) {
    .scrolled-menu .header-logo {
        max-width: 170px;
        width: 100%;
    }

    .product-name {
        font-size: 21px;
    }
}

@media (max-width: 1000px) {
    .product-container {
        padding-top: 10px;
    }

    .product-container {
        flex-wrap: wrap;
    }

    .product-filters {
        flex: 1 1 100%;
        order: 2;
        max-width: 100%;
    }

    .product-maincontent {
        flex: 1 1 100%;
        order: 1;
        margin: 0 0 20px 0;
    }

    .product-grid>* {
        flex: 0 0 calc(50% - 30px);
    }

    .product-container {
        display: flex;
    }

    .product-head-section {
        margin-bottom: 0;
    }
}

@media (max-width: 991px) {
    .vertical-btn {
        display: flex;
    }

    .newsletter-row {
        flex-direction: column;
    }

    .owl-dots .owl-dot span {
        margin-right: 13px !important;
    }

    .hero-slider .owl-dots {
        width: 100%;
    }

    .header-right-btn.user-icon svg {
        height: 21px;
    }

    .main-header-section.scroll-to-hide.sticky-header {
        display: block !important;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    }

    .main-header-section.show-in-desktop.scrolled-menu {
        display: none !important;

    }

    .main-header-section.show-in-desktop.scrolled-menu.sticky-header {
        display: none !important;
    }

    .home-testimonials-section {
        padding: 100px 0;
    }

    .medicine_img_1,
    .medicine_img_2 {
        width: 45%;
    }

    .product-filter-list label {
        font-size: 16px;
    }

    .book-application-right-side {
        border-radius: 0;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        padding: 0px !important;
        height: 500px;
    }

    .book-application-left-side {
        border-radius: 0;
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .feature-col-custom {
        min-width: 250px;
    }

    .hero-content {
        justify-content: end;
        height: 550px;
        padding-bottom: 30px !important;
        margin-bottom: 35px;
    }

    .header-search {
        position: fixed;
        top: 140px;
        width: 100%;
        max-width: 99% !important;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        transition: 0.3s all ease;
        z-index: 9999;
    }

    .header-search.scrolled {
        top: 11%;
    }

    .header-search.showing {
        transform: translateX(-50%) scaleX(1);
    }

    .navbar {
        justify-content: flex-start;
        padding-left: 50px;
        height: 50px;
    }

    .menu-nav-list {
        flex-direction: column;
        width: 100%;
        background: #f8f9fa;
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        margin: 0;
        padding: 0;
        border-top: 1px solid #e5e5e5;
    }

    .menu-nav-list.active {
        display: block;
    }

    .menu-nav-item {
        border-bottom: 1px solid #e5e5e5;
        position: relative;
        width: 100%;
        text-align: left;
    }

    .menu-nav-link {
        padding: 12px 20px;
        color: var(--primary-color);
        display: block;
        font-weight: 600 !important;
    }

    .menu-toggle {
        display: block;
    }

    /* Submenu mobile */
    .submenu {
        position: static;
        display: none;
        background: #f1f1f1;
        padding: 0;
        width: 100%;
        animation: none;
    }

    .submenu-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .submenu-item {
        padding: 0;
    }

    .submenu-link {
        padding: 10px 15px 10px 15px !important;
        display: block;
        border-top: 1px solid #e5e5e5;
        color: #333;
    }

    .submenu-item:not(:last-child)::after {
        display: none;
    }

    /* Dropdown arrow */
    .has-submenu>.menu-nav-link::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        float: right;
        margin-top: 7px;
    }

    .open>.menu-nav-link::after {
        transform: rotate(-180deg);
    }

    /* Show submenu when open */
    .open>.submenu {
        display: block !important;
    }

    .show-in-mobile {
        display: block !important;
    }

    .show-in-desktop {
        display: none !important;
    }

    .header-right-btn {
        width: 35px;
    }

    .header-right-btn svg {
        width: 100%;
    }

    .price-section {
        flex-direction: column;
        gap: 1rem;
    }

    .price-total {
        margin-left: 0;
        text-align: left;
    }

    .product-single-tab {
        gap: 2rem;
    }

    .about-history-right-side img {
        border-radius: 10px 10px 0 0;
    }

    .contact-map-section iframe {
        height: 50vh;
    }

    .contact-form-section,
    .contact-map-section iframe {
        border-radius: 10px;
    }
}

@media(max-width:768px) {
    .footer {
        padding-top: 4rem !important;
        padding-bottom: 0rem !important;

    }

    .badge-section {
        width: 45%;
    }

    .features-section {
        margin-top: 20px;
    }

    .home-testimonials-section {
        padding: 40px 0;
        border-radius: 50px 50px 0 0;
        text-align: left;
    }

    .home-testimonials-section .owl-theme .owl-nav.disabled+.owl-dots {
        text-align: left;
        margin-left: 22px;
    }

    .home-testimonials-section .view-all-link {
        margin-left: 22px;
    }

    .medicine_img_2 {
        bottom: -105px;
        right: 0;
        width: 55%;
    }

    .health-hub .card-text {
        text-align: left;
    }

    .home-testimonials-content {
        width: 90% !important;
    }

    .home-testimonials-section .view-all-link {
        margin-top: 30px;
    }

    .service-title {
        min-height: auto;
    }

    .hero-content {
        gap: 0;
    }

    .phone-item {
        width: 48%;
    }

    .footer-bottom img {
        width: 60%;
    }

    .live-chat-btn.theme-btn {
        padding: 2px 8px !important;
        /* line-height: 2; */
    }

    .footer-column .footer-logo img {
        max-width: 200px;
    }

    .newsletter-form-main {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .hero-slider .owl-dots span {

        margin-bottom: 10px !important;
    }

    .hero-slider .theme-btn.theme-btn-dark {
        margin-bottom: 13.5px;
    }

    .hero-subtitle {

        margin-bottom: 15px;
    }

    .theme-btn.newsletter-btn {
        padding: 5px 35px;
        width: 100%;
    }

    .newsletter-section .newsletter-form-main {
        width: 100%;
    }

    .newsletter-form .form-label {
        color: var(--primary-color);
        margin-right: 10px;
        white-space: nowrap;
        width: 100%;
        text-align: left;
    }

    .newsletter-section {
        background-color: #dee2dc;
        padding: 15px 0;
        text-align: center;
    }

    .newsletter-section h2 {
        color: var(--primary-color);
        margin-bottom: 15px;
    }

    .header-right-btn {
        width: 30px;
    }

    .header-logo {
        max-width: 200px;
        text-align: center;
    }

    .header-search-bar {
        padding: 10px 0;
    }

    .header-search.scrolled {
        top: 10%;
    }

    .innerpage-banner-text {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .about-us-value-item {
        border-bottom: 2px solid var(--primary-color);
        border-left: none;
        align-items: center;
    }

    .location-section {
        margin: 3rem 0;
    }

    .location-section:nth-child(even) .image-col img {
        border-radius: 10px;
    }

    .info-item {
        margin-bottom: 1.5rem;
    }

    .location-section {
        margin-bottom: 2rem;
    }

    .location-section .info-col,
    .location-section .image-col {
        order: unset !important;
        padding: 0 !important;
    }

    .location-section .image-col {
        order: 1 !important;
    }

    .location-section .info-col {
        order: 2 !important;
    }

    .location-section:nth-child(even) .info-col {
        border-radius: 0.375rem;
        background-color: var(--primary-color);
        color: #ffffff;
        padding: 1.5rem 1rem !important;
        margin-bottom: 1rem;
    }

    .location-section:nth-child(even) .info-col .info-item svg {
        background-color: #ffffff;
        fill: var(--primary-color);
    }

    .location-section:nth-child(even) .info-col .info-item {
        color: #ffffff;
    }

    .location-img {
        margin-bottom: 0.8rem;
    }

    .location-title {
        margin-bottom: 1rem;
    }

    .contact-section {
        padding: 0 20px;
    }

    .testimonials-than .testimonial {
        margin-bottom: 0;
    }

    .stars {
        margin: .7rem 0 1.5rem;
    }

}

@media (max-width: 600px) {

    .top-header {
        padding: 10px 0;

    }

    .close-popup {
        top: -15px;
    }

    .contact-card {
        padding: 18px;
    }

    .logo-card {
        height: 130px;
    }

    .registration-right-content {
        padding: 40px 0 0 40px;
        max-width: 350px;
    }

    .registration-right img {
        height: 460px;
        object-fit: cover;
    }

    .registration-form-left {
        padding: 15px;
        padding-bottom: 0;
        padding-top: 40px;
    }

    .registration-right {
        padding: 15px;
        padding-top: 0;
    }

    .condition {
        padding-top: 45px !important;
    }

    .health-hub .owl-dots {
        text-align: left;
        margin-left: 10px;
    }

    .book-application-left-side .custom-select,
    .book-application-left-side .form-control {
        padding: 10px 15px !important;
    }

    .book-application-left-side .mt-2 {
        margin-top: 1rem !important;
    }

    .close-popup {
        font-size: 20px;
    }

    .book-application-left-side .mb-2 {
        margin-bottom: 1rem !important;
    }

    .service-main {
        gap: 20px !important;
    }

    .theme-btn.newsletter-btn {
        max-width: 133px;

        padding-top: 9px !important;
        padding-bottom: 8.5px !important;
        font-size: 14px;
    }

    .section-header {
        padding: 0 10px;
    }

    .product-top-controls {
        justify-content: center;
    }

    .product-card-special {
        min-height: auto;
        padding-bottom: 30px;
    }

    .product-grid>* {
        flex: 0 0 100%;
        /* 1 per row */
    }

    .product-title,
    .old-price,
    .sale-price {
        font-size: 30px;
    }

    .product-single-tab button {
        min-width: 100%;
    }

    .specifications-table th {
        max-width: initial;
    }

    .product-single-tab {
        gap: 1rem;
    }

    .query-section {
        padding: 1.5rem 1.75rem;
        max-width: 100%;
    }

    .query-section p {
        font-size: 1rem;
    }

    .query-btn {
        padding: 0.55rem 1.1rem;
        font-size: 0.9rem;
    }

    .free-dback-sub-title {
        font-size: 18px;
    }

    .login-box {
        padding: 20px;
    }

    .forgot,
    .login-box .login-btn {
        width: auto !important;
    }

    .login-links a {
        color: #2c3e50;
        text-decoration: none;
    }
}

@media(max-width:500px) {
    .registration-right-content {
        padding: 30px 0 0 30px;
        max-width: 330px;
        width: 88%;
    }

    .registration-right-content p {
        max-width: 250px;
    }

    .medicine_img_1,
    .medicine_img_2 {
        width: 50%;
    }

    .medicine_img_2 {
        bottom: -60px;
    }

    .book-application-right-side {
        height: 300px;
    }

    .header-right-btn {
        width: 20px;
    }

    .header-right-btn svg {
        height: 30px;
        scale: 1.1;
    }

    .header-logo {
        max-width: 170px;
        text-align: center;
    }

    .header-search.scrolled {
        top: 75px;
        left: 0;
        padding: 5px;
    }
}

@media(max-width:425px) {

    .contact-btn,
    .contact-captcha {
        width: 100%;
    }
}

@media(max-width:350px) {
    .header-logo {
        max-width: 120px;
    }
}