
  @media screen and (max-width: 1114px) {
    .hero-section .hero-info {
      bottom: -20rem;
    }
    .about-section {
      margin-top: 25rem;
    }
    .about-section-1 {
      flex-wrap: wrap-reverse;
      justify-content: center;
    }
}
/* For iPads and Tablets- Portrait */
@media screen and (min-width: 435px ) and (max-width: 884px) {
  .container {
    padding-left: var(--size-15);
    padding-right: var(--size-15);
  }
  [aria-controls="navDropdown"] {
    display: block;
  }
  [aria-expanded="false"] ~ .menu {
    display: none; 
  } 
  [aria-expanded="true"] ~ .menu {
    display: block;
    position: absolute;
    right: 0;
    top: var(--size-70);
    width: 100%;
    background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7));
    box-shadow: 0px 0px var(--size-20) rgba(59, 56, 80, 0.1);
    text-align: right;
    margin-bottom: var(--size-10);
  }
  [aria-expanded="true"] ~ .menu .menu-list a {
    display: block;
    margin-right: var(--size-50);
    color: var(--font-color-dark);
  }

  .hero-info .hero-contact .call-us,
  .hero-info .hero-contact .mail-us {
    padding: var(--size-10) var(--size-30);
    text-align: center;
  }

  .hero-section,
  .hero-section-1,
  .hero-section-2  {
    display: flex;
    justify-content: center;
  }
  .hero-section .container,
  .hero-section-1 .container,
  .hero-section-2 .container {
    display: flex;
    justify-content: center;
  }
  .hero-section .hero-header,
  .hero-section-1 .hero-header-1,
  .hero-section-2 .hero-header-2 {
    position: absolute;
    top: 200px;
    text-align: center;
  }
  .hero-section .hero-info {
    display: flex;
    justify-content: center;
    max-width: 44.25rem;
    position: relative;
    top: 350px;
  }
  .hero-info .hero-contact {
    flex: 0 1 auto;
  }
  .hero-info .hero-contact .call-us,
  .hero-info .hero-contact .mail-us {
    padding: var(--size-10) var(--size-20);
    text-align: center;
  }
  .call-us .call-us-icon img,
  .mail-us .mail-us-icon img {
    color: var(--white-color);
    width: var(--size-30);
    height: var(--size-30);
  }
  .hero-info .hero-franchise {
    display: none;
  }
  .about-section {
    margin-top: 250px;
  }
  .about-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 1 auto;
  }
  .about-section-1 .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .about-image h2 {
    text-align: center;
    margin-bottom: var(--size-30);
  }
  .image .doctor-image {
    width: 19.75rem;
    height:16.625rem;
    margin-left: var(--size-50);
  }
  .image .medicine-image {
    left: var(--size-10);
    width: var(--size-150);
    height: var(--size-150);
  }
  .about-image-1 .doctor-image-1 {
    width: 18.75rem;
    height:15.625rem;
    margin-right: var(--size-50);
  }
  .about-image-1 .medicine-image-1 {
    width: var(--size-150);
    height: var(--size-150);
    bottom: var(--size-10);
  }
  .about-image-wrapper .image-btn{
    display: none;
  }
  .about-section .about-info,
  .about-section-1 .about-info-1  {
    margin-top: 20px;
    padding: var(--size-15);
  }
  .why-us-section {
    margin-top: var(--size-50);
    margin-bottom: var(--size-150);
  }
  .why-us-section .why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--size-30);
    place-items: center;
  }
  .product-section .product-header {
    max-width: 37.5rem;
    margin: auto;
  }
  .product-header h2 {
    text-align: center;
  }
  .product-table .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: var(--size-10);
  }
  .product-grid .product-card {
    padding-top: var(--size-15);
    padding-bottom: var(--size-15);
  }
  .product-slider {
    display: none;
  }
  .ask-question-content h2 {
    font-size: 25px;
  }
  .footer .footer-top {
    display: flex;
    flex-wrap: wrap;
    flex: 0 1 auto;
    justify-content: center;
    gap: 30px;
  }
  .footer-top .info,
  .footer-top .contact {
    align-self: center;
    padding: 15px;
  }
  #scrollUp {
    right: var(--size-50);
  }
}
/* For ipads less than 569px  */
@media screen and (max-width: 569px) {
  .contact-info, .form-wrapper {
    float: none;
    margin: 0 auto;
  }  
  .form-control, textarea {  
    margin: 0 auto;
  }
  .name, .email, textarea {
    width: 280px;
  } 
  .contact-info {
    margin-top: var(--size-60);
    max-width: 280px;
  }  
  .social-media-list {
    left: 0;
  }
  .social-media-list li {
    height: 55px;
    width: 55px;
    line-height: 55px;
    font-size: 2rem;
  }
  .social-media-list li:after {
    width: 55px;
    height: 55px;
    line-height: 55px;
  }
}
/* For mobile phones- Portrait */
@media screen and (max-width: 430px) {
  .container {
    padding-left: var(--size-15);
    padding-right: var(--size-15);
  }
  [aria-controls="navDropdown"] {
    display: block;
  }
  [aria-expanded="false"] ~ .menu {
    display: none; 
  } 
  [aria-expanded="true"] ~ .menu {
    display: block;
    position: absolute;
    right: 0;
    top: var(--size-70);
    width: 100%;
    background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7));
    box-shadow: 0px 0px var(--size-20) rgba(59, 56, 80, 0.1);
    text-align: right;
    margin-bottom: var(--size-10);
  }
  [aria-expanded="true"] ~ .menu .menu-list a {
    display: block;
    margin-right: var(--size-50);
    color: var(--font-color-dark);
  }
  .top .icon {
    margin-right: auto;
    font-size: var(--size-10);
  }
  .social li a {
    font-size: var(--size-10);
  }
  .navbar .brand img {
    width: var(--size-100);
  }
  .hero-section,
  .hero-section-1,
  .hero-section-2  {
    display: flex;
    justify-content: center;
  }
  .hero-section .container,
  .hero-section-1 .container,
  .hero-section-2 .container {
    display: flex;
    justify-content: center;
  }
  .hero-section .hero-header,
  .hero-section-1 .hero-header-1,
  .hero-section-2 .hero-header-2 {
    position: absolute;
    top: 200px;
    text-align: center;
  }
  .hero-section .hero-info {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 25rem;
    position: relative;
    top: 350px;
  }
  .hero-info .hero-contact {
    flex: 0 1 auto;
  }
  .hero-info .hero-contact .call-us,
  .hero-info .hero-contact .mail-us {
    padding: var(--size-10) var(--size-20);
    text-align: center;
  }
  .call-us .call-us-icon img,
  .mail-us .mail-us-icon img {
    color: var(--white-color);
    width: var(--size-30);
    height: var(--size-30);
}
  .call-us p, 
  .mail-us p {
    font-size: var(--size-12);
    font-style: normal;
  }
  .call-us h2, 
  .mail-us h2 {
    font-size: var(--size-14);
    font-weight: 600;
    margin: 0;
}
  .call-us span, 
  .mail-us span {
    font-size: var(--size-10);
    font-weight: 600;
    font-style: normal;
  }
  .hero-info .hero-franchise {
    display: none;
  }
  .about-section {
    margin-top: 200px;
  }
  .about-section .container,
  .about-section-1 .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .about-image h2 {
    text-align: center;
    margin-bottom: var(--size-30);
  }
  .image .doctor-image {
    width: 18.75rem;
    height:15.625rem;
    margin-left: var(--size-50);
  }
  .image .medicine-image {
    left: var(--size-10);
    width: var(--size-150);
    height: var(--size-150);
  }
  .about-image-1 .doctor-image-1 {
    width: 18.75rem;
    height:15.625rem;
    margin-right: var(--size-50);
  }
  .about-image-1 .medicine-image-1 {
    width: var(--size-150);
    height: var(--size-150);
    bottom: var(--size-10);
  }
  .about-image-wrapper .image-btn{
    display: none;
  }
  .about-section .about-info,
  .about-section-1 .about-info-1  {
    margin-top: 20px;
    padding: var(--size-15);
  }
  .why-us-section {
    margin-top: var(--size-50);
  }
  .why-us-section .why-us-grid {
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
    gap: var(--size-10);
  }
  .product-section .product-header {
    max-width: 37.5rem;
    margin: auto;
  }
  .product-header h2 {
    text-align: center;
  }
  .product-table .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: var(--size-10);
  }
  .product-grid .product-card {
    padding-top: var(--size-15);
    padding-bottom: var(--size-15);
  }
  .product-slider {
    display: none;
  }
  .ask-question-content h2 {
    font-size: 25px;
  }
  .send-button { 
  width: 99%;
  }
  .footer .footer-top {
    display: flex;
    flex-wrap: wrap;
    flex: 0 1 auto;
    justify-content: center;
    gap: 30px;
  }
  .footer-top .info,
  .footer-top .contact {
    align-self: center;
    padding: 15px;
    text-align: center;
  }
  #scrollUp {
    background-color: rgba(226,248,245,255);
    color: var(--white);
    font-size: var(--size-15);
    height: var(--size-40);
    width: var(--size-40);
    line-height: var(--size-40);
    position: fixed;
    bottom: var(--size-30);
    right: var(--size-10);
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    z-index: 100;
  }
}