@media (min-width:768px) and (max-width:991px) {

    .top-bar-contact .top-bar-contact-list {
        padding: 0px 10px;
        font-size: 11px;
    }

    .top-bar-contact .top-bar-contact-list i {
        margin-right: 2px;
    }

    .tab-style-01 .nav-tabs>li.nav-item {
        padding: 0 7px;
    }

    .story-box,
    .vision-box {
        padding-top: 30px;
        padding-left: 0;
    }

    .value-box img {
        width: 50px;
    }

    .cta-warea .col {
        padding: 0 5px;
    }

    .value-box {
        padding: 20px 10px;
    }

    .value-box h4 {
        font-size: 18px !important;
    }

    .road-map-circle img {
        width: 30px;
    }

    .road-map-main .road-map-wrapper .road-map-circle .road-map-circle-text {
        width: 50px;
        height: 50px;
    }

    .road-map-circle {
        width: 80px !important;
        height: 80px !important;
        border: 10px solid #ddd !important;
    }

    .road-map-main .road-map-wrapper .road-map-card {
        left: -30px !important;
    }

    .road-map-main .road-map-wrapper &:nth-of-type(2n) .road-map-card {
        left: -30px !important;

    }

    .road-map-main .road-map-wrapper &:nth-of-type(2n) .road-map-card {
        top: inherit;
        bottom: -30%;
    }

    .road-map-main .road-map-wrapper .road-map-card .card-head {
        font-size: 12px !important;
        font-weight: 400;
    }

    .approach-warea {
        padding: 80px 0 130px;
    }

    .road-map-main::before {
        top: 70%;
    }
}

@media (min-width:992px) and (max-width:1199px) {

    .road-map-main .road-map-wrapper .road-map-circle {
        width: 175px;
        height: 175px;
    }

    .road-map-main .road-map-wrapper .road-map-circle .road-map-circle-text {
        width: 80px;
        height: 80px;
    }

    .road-map-main::before {
        top: 73%;
    }
}

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

    .tab-area { padding: 25px 0; }
    .tab-area li { padding: 0; margin: 5px 10px; }
    .vol-warea h4 { font-size: 4rem !important; }
    .value-box h4 { font-size: 16px !important; }
    .value-box img { margin-bottom: 5px; }        

}

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

    .about-three__content {
        padding-bottom: 50px;
    }

    .navbar .navbar-nav .nav-link {
        border-bottom: #ddd solid 1px;
    }

    .nav-item.dropdown.simple-dropdown .dropdown-menu>.dropdown>a {
        margin: 0;
        padding: 0;
    }

    .nav-item.dropdown.simple-dropdown.show .dropdown-menu {
        padding: 18px 0px;
        border: 0;
    }
    .navbar-collapse {
        z-index: 11;
        }

    .simple-dropdown .dropdown-menu .dropdown a {
        border-bottom: 0px solid #ddd;
        padding-bottom: 15px;
    }

    .simple-dropdown .dropdown-menu li {
        padding: 0;
    }

    .nav-item.dropdown.simple-dropdown .dropdown-menu>.dropdown ul.dropdown-menu {
        padding: 15px 20px;
        background: #eee;
        margin: 10px 0 0;
    }

    .nav-item.dropdown.simple-dropdown .dropdown-menu>.dropdown ul.dropdown-menu li {
        margin: 0;
        padding: 6px 0;
    }

    .mission-ul {
        margin: 0px 0 0px 0;
    }

    .story-box h3 {
        font-size: 24px;
    }

    .simple-content h3 {
        font-size: 24px;
    }
    .process-warea .shape-1{
        display:none;
    }

}

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

    .cta-warea h2 {
        font-size: 25px !important;
        line-height: 1.5;
    }

    .cta-warea h3 {
        font-size: 24px;
        line-height: 1.5;
    }

    .cta-warea h3 span {
        color: #ff0000;
        background: #fff;
    }

    .impact-warea h5 {
        font-size: 22px;
    }

    .impact-warea h6 {
        font-size: 14px;
        text-transform: capitalize;
        line-height: 1.2;
    }

    /* .nav-tabs {
        max-width: 35%;
        padding: 28px;
    } */

    .nav-tabs {
        max-width: inherit;
        padding: inherit;
        display: grid;
        gap:15px;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .nav-tabs li {
        width: inherit;
    }

    .tab-style-04 .nav-tabs>li.nav-item>a.nav-link {
        font-size: 15px;
    }

    .cta-two h3 {
        font-size: 2.75rem;
    }

    .cta-two p {
        font-size: 1.50rem;
        line-height: 1.2;
    }

    .blog-box img {
        border-radius: 10px;
        width: 100%;
    }    
    .process-warea {
        padding: 0px 0 50px;
    }
    .get-involved [class*='col-'] {
        margin: 0 0 16px;
    }
    .number { 
        font-size: 100px; 
    }
    .blog-subscrition h3 { 
        font-size: 1.5rem; 
    }
}

@media (max-width:767px) {


    .image-float-left {
        margin-bottom: 30px;
    }

    .inner-banner .page-title-extra-small h1 {
        font-size: 25px;
    }

    #pro__detail img {
        height: unset;
    }

    .cta-warea h3 span {
        font-size: inherit;
    }

    .nav-tabs {
        /* width: 100%;
        max-width: 100%; */
        margin-right: 0px;
    }

    .tab-content {
        width: 100%;
    }

    .tab-style-04 {
        display: block;
    }

    .nav-tabs>li.nav-item>a.nav-link.active::after {
        display: none;
    }

    .number {
        font-size: 8rem;
        line-height: 1.4;
        margin-left: -2rem;
        margin-right: 1.2rem;
    }

    .banner-warea h1 {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    .banner-warea span {
        font-size: 16px;
    }

    .video-icon-extra-large .video-icon {
        width: 50px;
        height: 50px;
    }

    .video-icon-box .video-icon i {
        font-size: 20px;
    }

    .margin-50px-bottom {
        margin-bottom: 30px;
    }

    .margin-35px-bottom {
        margin-bottom: 25px;
    }

    .cta-warea,
    .video-section {
        padding: 50px 0;
    }

    .cta-warea h2 {
        font-size: 25px !important;
        line-height: 35px;
    }

    .footer-top {
        text-align: center;
    }

    .social {
        top: inherit;
        bottom: -5px;
        text-align: center;
        width: 100%;
    }

    .social a {
        display: inline-block;
    }

    .social-btn {
        width: 50px;
        padding-left: 0px;
        padding-right: 0px;
        border: 1px;
        left: 0;
        transition: left 1s;
        font-size: 13px;
    }

    .icons8 {
        border: none;
        width: 50px;
    }

    .social-btn p {
        display: none;
    }

    .inner-banner .page-title-extra-small h1 {
        font-size: 25px;
    }

    .story-box,
    .vision-box {
        padding-left: 0px;
        padding-top: 30px;
    }

    .team-content {
        padding-left: 30px;
        padding-top: 30px;
    }

    .image-back-offset-shadow.position-right.active .overlay,
    .about-section .bg-red {
        -webkit-transform: translate(35px, 5px) !important;
        transform: translate(-5px, 0px) !important;
    }

    .inner-banner {
        height: 250px;
        display: flex;
        align-items: center;
    }

    .inner-banner .page-title-extra-small {
        padding-top: 0px;
    }

    .mission-image-wrapper {
        height: 500px;
    }

    .col {
        flex-basis: inherit;
        margin-bottom: 30px;
    }

    .cta-warea .space-40 {
        padding-top: 0px;
    }

    .mission-ul {
        margin-bottom: 0;
    }

    .road-map-main {
        display: block;
    }

    .road-map-wrapper {
        text-align: center;
        margin: 0 auto;
    }

    .approach-warea h2 {
        padding-bottom: 30px;
    }

    .road-map-main::before {
        content: none;
    }

    .mission-ul li {
        text-align: left;
    }
    .work-process-box .mission-ul li {
        text-align: center;
    }

    #blog__listing {
        padding: 40px 0px;
    }
    .blog_detail {
        margin-bottom: 35px;
    }
    .blog__listing__bloglist{
        display: block;
    }
        
    .blog__listing__bloglist img {
        max-height:inherit;
        margin-bottom: 25px;
    }

    .inner-pg ul.nav-tabs li.nav-item {
        margin: 10px;
    }
}

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

    .cta-two p {
        padding-bottom: 20px;
    }

    .footer-bottom-area p {
        font-size: 15px;
        line-height: 1.3;
    }

    .footer-wrapper .footer-bottom-area .text-md-right.last-paragraph-no-margin {
        margin-bottom: 35px;
    }

    #popContainer {
        display: none;
    }

    .story-box1 img {
        margin-bottom: 20px;
    }
    #pro__detail .get-involved {
        background: #f3f3f3;
        padding:40px 0;
    }
    .ofr-warea { padding: 40px 0; }
    .bloglist_details h3 a {
        font-size: 1.5rem;
        line-height: 1.3;
        display: block;
        margin: 12px 0 0;       
        font-weight: 500;
    }
    .bloglist_details .para p {
        font-size: 1.25rem;
    }
    .readmore a {
        font-size: 1.25rem;
    }
}

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

    .inner-banner .page-title-extra-small h1 {
        font-size: 25px;
        text-align: center;
        line-height: 30px;
    }

    .newsletter-box {
        display: block;
        text-align: center;
    }

    .report-caption {
        padding-left: 0;
        margin: 18px 0 0;
    }

    .inner-banner {
        height: 100%;
        display: flex;
    }

    .slider-navigation-style-07.swiper-button-prev.light {
        left: 20px;
    }

    .slider-navigation-style-07.swiper-button-next.light {
        right: 20px;
    }

    .approach-warea h2 {
        padding-bottom: 0;
    }

    .home-dentist h3 {
        font-size: 2rem;
        line-height: 1.5;
    }
    .about-three__content__text {
        font-size: 16px;
        line-height: 1.5;
    }
    h4 { 
        font-size: 2.3rem !important;
     }

}

/* Counter Section Styles */
.counter-style-01 {
    transition: all 0.3s ease;
    padding: 20px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.counter-style-01::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4A90E2, #50C878, #FF6B35, #9B59B6, #F39C12);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.counter-style-01:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.counter-icon {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.counter-style-01:hover .counter-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}

.counter-number {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #2C3E50 !important;
    margin: 15px 0 10px 0 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.counter-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #34495E !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-one__item__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

/* Responsive adjustments for counter section */
@media (max-width: 991px) {
    .counter-style-01 {
        padding: 15px 8px;
        margin-bottom: 20px;
    }
    
    .counter-icon {
        width: 60px;
        height: 60px;
    }
    
    .counter-number {
        font-size: 2rem !important;
    }
    
    .counter-title {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 767px) {
    .counter-style-01 {
        padding: 12px 6px;
        margin-bottom: 15px;
    }
    
    .counter-icon {
        width: 50px;
        height: 50px;
    }
    
    .counter-number {
        font-size: 1.8rem !important;
    }
    
    .counter-title {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 575px) {
    .counter-style-01 {
        padding: 10px 5px;
        margin-bottom: 10px;
    }
    
    .counter-icon {
        width: 45px;
        height: 45px;
    }
    
    .counter-number {
        font-size: 1.5rem !important;
    }
    
    .counter-title {
        font-size: 0.75rem !important;
    }
}