@media (width<1400px) {
  .headerBottom .navbar {
    padding: 0;
  }
  .headerBottom a {
    font-size: 13px !important;
    white-space: nowrap;
  }
  .navbar-brand {
    padding: 0;
  }
  .navbar-toggler:focus {
    box-shadow: unset;
  }
}
/* Large tablets and below */
@media (max-width: 1200px) {
  .navbar {
    padding: 0;
  }
  .timeline-section {
    padding: 50px 0;
  }
  .wave {
    width: 120px;
  }
  .user-icons {
    justify-content: center;
  }
  .site-footer {
    padding: 24px;
    align-items: flex-start;
  }
  .footer-certifications,
  .footer-bottom {
    width: 100%;
  }
  .card-grid {
    margin: 40px 0;
  }
  .event-section {
    margin: auto;
  }
  .team-hero {
    width: fit-content;
  }
  .timeline-title {
    padding-top: 30px;
  }
  .card p {
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .card h3 {
    font-size: 20px;
  }
  .banner-num {
    font-size: 50px;
  }
  .section-title {
    font-size: 30px;
    margin-bottom: 20px;
    line-height: 30px;
  }
  .section-text {
    font-size: 18px;
    font-weight: 400;
    padding-bottom: 20px;
    line-height: 24px;
  }
  .about-container {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .about-list-item {
    width: auto;
  }
  .about-list-item i {
    font-size: 8px;
    margin-left: 8px;
  }
  .form-title {
    padding-bottom: 20px;
    font-size: 30px;
    line-height: 30px;
  }
  .form-description {
    padding-bottom: 22px;
    font-size: 18px;
    line-height: 22.5px;
  }
  .form {
    padding: 20px;
  }
  .button-1 {
    margin-bottom: 10px !important ;
  }
  .form-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    padding-bottom: 8px;
  }
  .success-content p {
    width: auto;
    padding: 0;
  }
  .about-wave {
    bottom: -16px;
  }
  .card-grid {
    grid-template-columns: auto auto;
    gap: 32px;
    padding: 16px 0;
  }
  .card-grid .info-card,
  .relatedSwiper .info-card {
    height: auto !important;
  }
  .relatedSwiperBlogs .card-body {
    padding: 15px;
  }
}
/* Tablets */
@media (max-width: 1050px) {
  .navbar {
    height: auto;
  }
  .about-wave {
    bottom: -25px;
    padding: 10px 0;
  }
  .first-wave {
    bottom: -4px;
    width: 100%;
  }
  .timeline-wrapper::after {
    display: none;
  }
  .timeline-item::before {
    display: none;
  }
  .banner h1 {
    font-size: 30px;
    line-height: 56px;
  }
  .banner p {
    font-size: 18px;
    width: auto;
  }
  .banner-text {
    font-size: 20px;
  }
  .consultation-section {
    flex-direction: column;
    padding: 40px 0;
  }
  .consultation-image,
  .consultation-form {
    width: 100%;
  }
  .timeline-item.right .timeline-content,
  .timeline-item.left .timeline-content {
    margin: 0 auto;
  }
  .timeline-wrapper::after {
    right: auto;
    left: 50%;
  }
  .wave {
    width: 1120px;
  }
  .user-icons {
    justify-content: center;
  }
  .site-footer {
    padding: 24px;
    align-items: flex-start;
  }
  .footer-certifications,
  .footer-bottom {
    width: 100%;
  }
  .second-banner .row {
    padding: 70px 0 !important;
  }
  .bannarData h1 {
    font-size: 30px;
    margin-bottom: 0;
  }
  .profile h1 {
    font-size: 30px;
    padding: 0 !important;
  }
  .therapy-img,
  .therapy-imgg {
    border-radius: 20px 20px 0px 0px;
    width: 100%;
    height: auto;
    display: block;
  }
  .consultation-section img {
    width: 100%;
  }
  .consultation-form img {
    width: auto;
  }
  .form {
    margin-bottom: 20px;
  }
  .section-title {
    padding-top: 20px;
  }
  .form-title {
    margin-top: 20px;
  }
  .section-titlee {
    margin-top: 20px;
  }
  .team-hero {
    width: auto;
  }
  .card-title {
    font-size: 16px;
  }
  .card-desc {
    font-size: 14px;
  }
  .read-more {
    font-size: 14px;
  }
  .read-time {
    font-size: 14px;
  }
  .team-inner {
    width: auto;
  }
  .logo-image img {
    width: 180px;
  }
  .form .card {
    margin: 0 !important;
  }
    .testimonial-box {
    padding: 16px;
    height: 440px;
  }
}
/* Mobile */
@media (max-width: 768px) {

  .btn.blue {
    padding: 20px;
  }
  .btn.green {
    padding: 20px;
  }

  section.services h1 {
    font-size: 25px;
  }
  .cta-section h2 {
    font-size: 30px;
  }
  .about-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .department-tabs {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }
  .card {
    width: 100%;
  }
  .banner h1 {
    font-size: 30px;
    line-height: 24px;
  }
  .card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 2fr));
  }
  .banner p {
    font-size: 16px;
  }
  .prev,
  .next {
    display: none !important;
  }
  .timeline-title {
    font-size: 28px;
  }
  .testimonial-box p {
    width: 100%;
  }
  .slider {
    width: 100%;
    overflow-x: scroll;
  }
  .slider-buttons {
    padding: 20px 0;
  }
  .cta-section h2 {
    font-size: 30px;
    line-height: 28px;
    padding-top: 80px;
  }
  .cta-section p {
    font-size: 16px;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 30px;
  }
  .cta-section {
    padding: auto;
  }
  .site-footer {
    padding: 24px;
    align-items: flex-start;
  }
  .footer-certifications,
  .footer-bottom {
    width: 100%;
  }

  .user-icons {
    justify-content: center;
  }
  .form-title {
    margin-top: 20px;
    font-size: 30px;
  }
  .testimonials h1 {
    font-size: 25px;
  }

  .testimonials p {
    font-size: 16px;
  }
  .timeline-subtitle{
    padding-bottom: 30px;
  }
  section.services p.section-desc
  {
    margin-bottom: 32px;
  }
}

/* Small mobile */
@media (max-width: 499px) {
  .modal-content {
    padding: 16px 20px;
    max-width: 95%;
  }
  .top {
    gap: 10px;
  }
  .servicestabs .nav-link {
    font-size: 15px;
  }
  .servicestabs .nav-link:active {
    font-size: 15px;
  }

  .top a {
    font-size: 12px;
    white-space: nowrap;
  }
  .form-title {
    margin-top: 20px;
  }
  .section-text {
    font-size: 14px;
  }
  .form-description {
    font-size: 14px;
  }
  .hero-overlay span {
    font-size: 9px !important;
  }
  .hero-overlay h1 {
    font-size: 15px !important;
  }

  .services {
    margin: auto;
  }
  .banner-wave {
    bottom: -4px;
  }
  .banner {
    height: 100%;
    padding: 40px 0px;
  }

  .banner-buttons {
    flex-direction: column;
    align-items: center;
  }
  .banner .btn-primary,
  .banner-buttons .btn-outline-light {
    padding: 8px 16px;
    font-size: 14px;
  }
  .banner .btn-primary {
    padding: 8px 40px;
  }
  .banner-content {
    width: auto;
    margin-bottom: 314px;
    margin-top: 100px;
  }
  .banner h1 {
    font-size: 25px;
    line-height: 36px;
  }
  .banner p {
    font-size: 16px;
  }
  .imgg {
    padding-bottom: 24px;
  }
  .profile .container-fluid {
    margin: 44px 0 !important;
  }
  .btn,
  .btn-2,
  .button-1 {
    padding: 12px !important;
    line-height: 100%;
    font-size: 13px;
  }
  .section-title {
    font-size: 25px;
    padding-top: 20px;
  }
  
  .section-titlee {
    font-size: 25px;
    margin-top: 20px;
  }
  .success-buttons .btn {
    font-size: 16px;
  }
  .success-content h1 {
    font-size: 25px;
    line-height: 1.5;
  }
  .section-textt {
    font-size: 16px !important;
  }

  .about-section {
    padding: 40px 0;
  }

  .form-title {
    font-size: 30px;
  }
  .timeline-wrapper::after {
    display: none;
  }
  .timeline-item::before {
    display: none;
  }
  .timeline-item .timeline-content {
    margin: 0;
    width: 100%;
  }
  .testimonials {
    padding: 40px 0;
  }
  .slides {
    gap: 10px;
  }
  .wave {
    width: 120px;
  }
  .wavetop {
    width: 120px;
  }
  .user-icons {
    justify-content: center;
  }
  .timeline-section h1 {
    padding-top: 20px;
  }
  .prev {
    width: 30px !important;
    right: 0 !important;
  }
  .next {
    width: 30px !important ;
    left: 0 !important;
  }
  .team-hero {
    width: auto;
  }
  .department-tabs {
    width: auto;
    gap: 0;
  }
  .breadcrumb {
    margin: auto;
  }
  .action-icons {
    position: relative !important;
    left: -15px;
  }
  .name-label {
    font-size: 11px;
  }
  .team-overlay {
    padding: 10px !important;
  }
  .modal-overlay {
    max-width: auto;
  }
}

@media (max-width: 767.98px) {
  /* Phones */
  .banner-num {
    font-size: 2.5em;
  }
  .wave {
    width: 120px;
  }
  .user-icons {
    justify-content: center;
  }
}

/* 📱 Responsive about */
@media (max-width: 768px) {
  .card-body {
    padding: 15px;
  }
  .success-content h2 {
    font-size: 26px;
  }

  .success-content p {
    font-size: 18px;
    line-height: 30px;
  }

  .success-buttons .btn {
    justify-content: center;
  }
  .services {
    margin: auto;
  }
}
@media (max-width: 768px) {
  .therapy-card,
  .therapy-card.reverse {
    flex-direction: column;
  }

  .therapy-img,
  .therapy-text {
    width: 100%;
  }

  .therapy-text {
    padding: 16px;
    text-align: right;
  }

  .therapy-text h3 {
    font-size: 18px;
  }

  .therapy-text p {
    font-size: 15px;
  }
  .about-sectionn {
    margin: 40px 0px;
  }

  .team {
    padding: 0;
  }
  .success-section {
    margin: 40px 0;
  }
  .event-section {
    margin: auto;
  }
}
@media (max-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    margin: 40px 0;
    gap: 16px;
  }
  .navbar-nav .nav-link.active::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 40px 0;
  }
  .card h3 {
    font-size: 18px;
  }
  .info-text h6 {
    font-size: 16px;
  }
  .info-text p {
    font-size: 14px;
  }
  .bannarData h2 {
    font-size: 20px;
  }
  .news-title {
    font-size: 30px;
  }
}

@media (max-width: 992px) {
  .hero-overlay {
    padding: 24px;
  }

  .hero-overlay h1 {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 14px;
  }

  .hero-overlay span {
    font-size: 16px;
    padding-left: 16px;
  }
  .informartion .card {
    padding-bottom: 20px !important;
  }
  .informartion .card ul {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .informartion .card a {
    font-size: 14px;
    line-height: 20px;
  }
  .informartion .card ul li {
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .hero-overlay {
    padding: 16px;
    bottom: 0;
  }

  .hero-overlay h1 {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 10px;
  }

  .hero-overlay span {
    font-size: 14px;
    padding-left: 12px;
  }

  .event-hero img {
    border-radius: 12px 12px 0 0;
  }
}
