/* ================== IPAD PRO & LARGE TABLET (1024px - 1200px) ================== */
@media (min-width: 992px) and (max-width: 1200px) {
  .ai-dis h4 {
    width: 90%;
  }

  .banner-lft-dis h1,
  .find-lft h4,
  .common-hd h4,
  .get-best-inr h2,
  .support-dis h4 {
    font-size: 54px;
  }

  .support-inr.support-second,
  .support-inr.support-third,
  .support-inr.robot-card.support-six,
  .support-inr.support-fourth,
  .support-inr.support-five {
    left: 10%;
  }

  .counter-card h5 {
    font-size: 28px;
  }
}

/* ================== IPAD & TABLET (768px - 991px) ================== */
@media (min-width: 768px) and (max-width: 991px) {

  /* Hero Section iPad Fixes */
  .hero .hero-section {
    padding: 100px 0 120px;
  }

  .hero {
    padding-bottom: 80px;
  }

  .hero-image {
    padding-left: 0;
    padding-bottom: 60px;
    max-width: 80%;
    margin: 0 auto;
  }

  .hero-img img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.9;
    object-fit: contain;
  }

  .section-title h1 {
    font-size: 48px;
    text-align: center;
  }

  .section-title p {
    text-align: center;
  }

  .section-title p br {
    display: none;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 30px;
  }

  .hero-content-body {
    margin-top: 30px;
    gap: 30px;
    justify-content: center;
  }

  .hero-counter-box {
    width: calc(33.33% - 20px);
    text-align: center;
  }

  .hero-counter-box h2 {
    font-size: 28px;
  }

  .hero-counter-box p {
    font-size: 12px;
  }

  .banner-btn {
    justify-content: center;
  }

  /* CTA Box iPad */
  .cta-content-box {
    padding: 25px 20px;
    border-radius: 25px;
  }

  .cta-item {
    border-right: none;
    padding-right: 0;
    margin-bottom: 20px;
    justify-content: center;
  }

  .cta-item .icon-box {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }

  .cta-item-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .cta-item-content p {
    font-size: 14px;
  }

  .cta-btn {
    text-align: center;
    margin-top: 10px;
  }

  .cta-btn .commn-btn {
    padding: 0 20px;
    font-size: 14px;
    height: 45px;
    line-height: 45px;
  }

  /* About Us Section iPad */
  .about-us {
    padding: 60px 0;
  }

  .about-us-content {
    margin-bottom: 30px;
  }

  .about-us-content .section-title h2 {
    font-size: 32px;
    text-align: center;
  }

  .about-us-body {
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 25px;
  }

  .about-body-item {
    width: calc(50% - 10px);
  }

  .about-counter h2 {
    font-size: 32px;
  }

  .about-image {
    margin-right: 0;
    max-width: 90%;
    margin: 0 auto;
  }

  .company-experience {
    width: 200px;
    height: 220px;
    padding: 15px;
  }

  .company-experience-counter h2 {
    font-size: 40px;
  }

  .company-experience-content p {
    font-size: 12px;
  }

  /* Our Families Counter Section iPad */
  .counter-sec .row {
    gap: 20px 0;
  }

  .counter-card {
    border-right: none;
    margin-bottom: 20px;
  }

  .counter-card h4,
  .counter-inr span {
    font-size: 36px;
  }

  .counter-card h5 {
    font-size: 24px;
  }

  /* Services Section iPad */
  .our-service {
    padding: 50px 0 20px;
  }

  .service-item {
    padding: 20px;
    margin-bottom: 25px;
  }

  .work-h3 h3 {
    font-size: 18px;
  }

  .work-p {
    font-size: 14px;
  }

  /* Why Choose Us Section iPad */
  .why-choose-us {
    padding: 50px 0 0;
  }

  .why-choose-content .section-title h2 {
    font-size: 28px;
    text-align: center;
  }

  .why-choose-image {
    text-align: center;
  }

  .why-choose-image img {
    max-width: 60%;
    margin: 0 auto;
  }

  .why-choose-item-content h3 {
    font-size: 18px;
  }

  .why-choose-item-content p {
    font-size: 14px;
  }

  /* Testimonial Section iPad */
  .testimonial-area .single-slide {
    padding: 15px;
  }

  .testimonial-area .single-slide .info p {
    font-size: 14px;
    line-height: 24px;
  }

  /* Company Service Rating iPad */
  .company-service-rating {
    position: absolute;
    left: -10px !important;
    top: 20px;
    max-width: 200px;
    padding: 15px;
    transform: none;
    margin: 0;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.1);
  }

  .company-rating-content h3 {
    font-size: 14px;
  }

  .company-rating-content p {
    font-size: 11px;
  }

  /* Chat Bubbles iPad */
  .landing-chat-bubbles {
    left: 10px;
    bottom: 20px;
  }

  .landing-chat-bubbles .bubble {
    font-size: 14px;
    padding: 8px 10px;
  }
}

@media (max-width: 991px) {

  .support-inr.support-second,
  .support-inr.support-third,
  .support-inr.robot-card.support-six,
  .support-inr.support-fourth,
  .support-inr.support-five {
    left: 0;
  }

  .support-img {
    height: auto;
  }

  .common-hd h4 {
    font-size: 28px;
  }

  .pd-100 {
    padding: 60px 0;
  }

  .get-best-inr h2 {
    font-size: 28px;
  }

  .get-best-inr.text-center {
    padding: 40px;
  }

  .find-lft h4 {
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 12px;
  }

  .support-dis h4 {
    font-size: 34px;
  }

  .banner-lft-dis h1 {
    font-size: 34px;
  }

}

@media (max-width: 767px) {
  .company-service-rating {
    position: absolute;
    left: -80px !important;
    top: 20px;
    max-width: 200px;
    padding: 15px;
    transform: none;
    margin: 0;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.1);
  }

  .page-title-wrap {
    padding: 50px 0 40px;
  }

  .page-title-wrap .page-title h2 {
    margin-top: 0;
    font-size: 24px;
  }

  .search-area .search-form .from-control,
  .search-area .search_specialization .form-select {
    height: 48px;
  }

  .page-title-wrap .page-title li {
    font-size: 14px;
  }

  .footer-area .menu-list ul {
    padding-top: 20px;
  }

  .footer-area .footer-widget.style-one p {
    margin-bottom: 5px;
  }

  .footer-area .footer-widget .newsletter-form {
    top: 10px;
    margin-bottom: 10px;
  }

  .faq-content .accordion-item .accordion-header .accordion-button,
  .faq-content .accordion-item .accordion-header .accordion-button.collapsed {
    font-size: 18px;
  }

  .faq-content .accordion-item .accordion-collapse .accordion-body {
    font-size: 14px;
    line-height: 26px;
  }

  .pd-100 {
    padding: 50px 0;
  }

  .counter-card {
    border-right: 0;
  }

  .counter-card h5 {
    font-size: 24px;
  }

  .counter-card h4,
  .counter-inr span {
    font-size: 32px;
  }

  .support-inr {
    padding: 15px !important;
  }

  .support-inr p {
    font-size: 14px;
  }

  .support-inr h4 {
    font-size: 16px;
  }

  .get-best-inr.text-center {
    padding: 20px;
  }

  .ai-dis h4 {
    width: 80%;
    font-size: 18px;
  }
}

@media (max-width: 620px) {
  .company-service-rating {
    position: static;
    margin-top: 26px;
    max-width: 100%;
  }

  .landing-chat-bubbles {
    position: static;
  }

  .hero-image {
    padding-bottom: 0px;
    max-width: 100%;
    margin: 0 auto;
  }

  .landing-chat-bubbles .bubble {
    font-size: 14px;
  }

  .hero .hero-section {
    padding: 50px 0 168px;
  }

}

@media (max-width: 480px) {
  .footer-area .menu-list ul li {
    margin-right: 10px;
  }
}

section.contact-us {
  background: #f2f2f2;
}

/* ================== FOOTER RESPONSIVE FIXES ================== */
@media (max-width: 1199px) {
  .footer-area .footer-widget .newsletter-form {
    max-width: 640px;
    margin-inline: auto;
  }

  .footer-area .footer-widget .newsletter-form .from-control {
    padding: 5px 170px 5px 18px;
    font-size: 16px;
    height: 52px;
  }

  .footer-area .footer-widget .newsletter-form button {
    height: 48px;
    line-height: 48px;
    padding: 0 20px;
    right: 3px;
    top: 2px;
  }
}

@media (max-width: 991px) {
  .footer-area {
    padding: 40px 0 0 0;
  }

  .footer-area .footer-widget {
    text-align: center;
    margin-bottom: 0px;
  }

  .footer-area .footer-widget h6 {
    font-size: 18px;
    margin-top: 10px;
  }

  .footer-area .footer-widget.style-one p {
    font-size: 16px;
    line-height: 26px;
  }

  .footer-area .footer-widget .social-list {
    justify-content: center;
  }

  .footer-area .menu-list ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
    padding-top: 0px;
  }

  .footer-area .menu-list ul li {
    margin-right: 0;
  }

  .footer-area .footer-widget .newsletter-form .from-control {
    font-size: 13px;
  }

  .footer-area .menu-list ul li a {
    font-size: 14px;
  }

  .copy-right {
    margin-top: 20px;
    padding: 15px 0 10px !important;
  }

  .copy-right p {
    font-size: 12px;
    line-height: 20px;
  }
}

@media (max-width: 991px) {
  .report-wrapper {
    max-width: 80%;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .footer-area .footer-widget .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: stretch;
  }

  .footer-area .footer-widget .newsletter-form .from-control {
    height: 44px;
    font-size: 13px;
    padding: 5px 14px;
    text-align: center;
    border-radius: 24px;
  }

  .footer-area .footer-widget .newsletter-form button {
    height: 44px;
    line-height: 44px;
    font-size: 13px;
    position: relative;
    width: 100%;
    border-radius: 24px;
    padding: 0 16px;
    right: auto;
    top: auto;
    transform: none;
  }
}

@media (max-width: 575px) {
  /* .footer-area .menu-list ul {
    flex-direction: column;
    gap: 6px;
  } */

  .copy-right p {
    padding: 0 12px;
  }
}

/* ================== SIDE MENU FIXES ================== */
.offcanvas-open {
  overflow: hidden;
  height: 100%;
}

.mobile-menu-card .offcanvas-body {
  padding: 0;
}

.sider-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.sider-card .btn-close {
  opacity: 1;
  transition: all 0.3s ease;
}

.sider-card .btn-close:hover {
  background-color: #4D6F94;
  box-shadow: 0 4px 12px rgba(77, 111, 148, 0.3);
}

.sider-card .btn-close:hover::before,
.sider-card .btn-close:hover::after {
  background-color: #fff;
}

.side-bar-links {
  padding: 15px 0;
}

.side-link-list li.nav-item {
  border-bottom: 1px solid #f0f0f0;
}

.side-link-list li.nav-item:last-child {
  border-bottom: none;
}

.side-link-list li a.nav-link {
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  display: block;
  transition: all 0.3s ease;
}

.side-link-list li a.nav-link:hover,
.side-link-list li a.nav-link.nav-item-active {
  background: #f8f9fa;
  color: #4D6F94;
}

/* Side menu buttons container */
.side-bar-links .border-0 {
  padding: 20px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-bar-links .border-0 .commn-btn,
.side-bar-links .border-0 a.commn-btn {
  display: block !important;
  text-align: center;
  margin: 0 !important;
  width: 100%;
}

/* ================== CONTACT US PAGE FOOTER SPACING ================== */
.contact-area+.footer-area,
.contact-us-area+.footer-area {
  margin-top: 0;
}

.contact-area,
.contact-us-area {
  padding-bottom: 60px;
}

@media (max-width: 991px) {

  .contact-area,
  .contact-us-area {
    padding-bottom: 40px;
  }
}