@media screen and (max-width: 800px) {
  /* Hero Section */
  .hero .contents .text {
    letter-spacing: 2px;
    line-height: 25px;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    -webkit-animation-name: posi2;
    -webkit-animation-duration: 2s;
    animation-name: posi2;
    animation-duration: 2s;
  }

  @-webkit-keyframes posi2 {
    from {
      left: 50%;
    }
    to {
      left: 45%;
    }
  }

  @keyframes posi2 {
    from {
      left: 50%;
    }
    to {
      left: 45%;
    }
  }

  .hero .contents .text h1 {
    font-size: 39px;
  }
  .hero .contents .text p {
    font-size: 15px;
  }

  /* About - Vision Mission - Services Sections */
  .text_center {
    padding-bottom: 0;
  }

  .about .content,
  .vision_mission .content {
    display: flex;
  }

  .about .content .image {
    justify-content: center;
  }

  .about .content p,
  .vision_mission .content p {
    font-size: 1.2rem;
  }

  .vision_mission .content h3 {
    margin-top: 0rem;
    font-size: 2rem;
  }

  .services .row .content .list {
    width: 60%;
    margin-right: 50px;
    position: relative;
    color: var(--dsilcol);
    z-index: 2;
  }

  .services .container .row .content .fill img {
    max-height: 196px;
  }

  .contact .row .map {
    width: 100%;
    height: 25rem;
  }
}

@media screen and (max-width: 520px) {
  /* Hero Section */
  .hero .contents .text h1 {
    font-size: 25px;
  }
  .hero .contents .text p {
    font-size: 10px;
  }

  /* About - Vision Mission - Services Sections */
  .about .content,
  .vision_mission .content {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about .content img {
    border-radius: 50px 50px 0 0;
    align-items: center;
  }

  .vision_mission .content img {
    border-radius: 0 0 50px 50px;
    align-items: center;
  }

  .about .content .text {
    margin-top: 1.2rem;
  }

  .services .table .content {
    display: block;
    align-items: center;
    justify-content: space-between;
  }

  .services .table .content .list {
    display: inline;
    justify-content: 1;
  }

  .services .table .content .list label {
    height: 45px;
    font-size: 12px;
    font-weight: 500;
    line-height: 45px;
    cursor: pointer;
    padding-left: 25px;
    transition: all 0.5s ease;
    z-index: 12;
  }

  .services .table .content .fill {
    width: 100%;
  }

  .services .content .list .slider {
    display: none;
  }

  .services .container .table .content .fill img {
    max-width: 300px;
  }

  #slider1:checked ~ .list label.slide1,
  #slider2:checked ~ .list label.slide2,
  #slider3:checked ~ .list label.slide3,
  #slider4:checked ~ .list label.slide4,
  #slider5:checked ~ .list label.slide5,
  #slider6:checked ~ .list label.slide6,
  #slider7:checked ~ .list label.slide7,
  #slider8:checked ~ .list label.slide8,
  #slider9:checked ~ .list label.slide9 {
    background-color: var(--seccol);
    border-radius: 50px 0 0 50px;
  }
}
