@media screen and (min-width: 769px) and (max-width: 1024px) {
  /* services */

  .slider-item {
    flex: 0 0 calc(30% - 2px);
    height: 200px;
    width: auto;
  }

  .slider-text {
    font-size: 16px;
    font-weight: 500;
  }

  .slider-link {
    color: white;
    text-decoration: none;
  }

  .arrow {
    margin-left: 10px; /* Adjust the margin as needed */
  }

  /* video-section */
  .video-section {
    max-height: 60vh;
  }
  .back-video {
    max-height: 100%;
    object-fit: contain;
    height: 78%;
    padding-top: 30px;
  }

  /* footer */

  .certification {
    display: flex;
  }
  .footer-majan {
    height: 50px;
    width: 150px;
  }
  .logos-main {
    margin: 20px;
  }
  .footer-container {
    display: flex;
    justify-content: top;
    align-items: start;
    gap: 5;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  /* services */

  .slider-item {
    flex: 0 0 calc(40% - 2px); /* Divide equally with a 1px margin */
    height: 150px;
    width: 300px;
  }

  .slider-text {
    font-size: 13px;
    font-weight: 600;
    padding: 3px 20px 20px;
  }

  /* messages */
  .message .row {
    margin: 20px auto 20px 10px;
  }

  .message-text {
    margin: 10px;
  }
  .message p {
    padding: 10px 20px;
  }
  .message-img {
    padding: 0;
  }

  /* video-section */
  .video-section {
    max-height: 40vh;
    padding-top: 200px;
  }
  .back-video {
    max-height: 100%;
    object-fit: contain;
    height: 80%;
    padding-top: 170px;
  }

  /* logo-scrolling */
  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    content: '';
    z-index: 2;
  }

  /* footer */
  .footer-majan {
    height: 100px;
    width: 200px;
  }
  .logos-main {
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5;
    text-align: center;
  }
  .certification {
    width: 100%;
    display: flex;
  }
  footer .certification .row {
    width: 200px;
    display: flex;
    margin: 30px;
  }
  footer .certification .row img {
    height: 100px;
    width: 130px;
    margin: 20px;
  }
}
@media screen and (min-width: 550px) and (max-width: 768px) {
  /* video-section */
  .video-section {
    max-height: 40vh !important;
    padding-top: 50px !important ;
  }
  .back-video {
    max-height: 100% !important;
    object-fit: contain !important;
  }
}

@media screen and (max-width: 480px) {
  .slider-item {
    flex: 0 0 calc(50% - 2px); /* Divide equally with a 1px margin */
    height: 180px;
    width: 300px;
  }

  .slider-text {
    font-size: 13px;
    font-weight: 600;
    padding: 3px 20px 20px;
  }
  .footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5;
    text-align: center;
  }
  .certification {
    width: 100%;
    display: flex;
  }
  .message p {
    font-size: 12px;
    line-height: 20px;
    padding: 10px;
  }
  footer .certification .row {
    width: 150px;
    display: flex;
    margin: 20px;
  }
  footer .certification .row img {
    height: 100px;
    width: 130px;
    margin: 10px;
  }
  /* video section */

  .video-section {
    max-height: 30vh;
    padding-top: 120px;
  }
  .back-video {
    max-height: 100%;
    object-fit: contain;
  }
}
@media screen and (min-width: 400px) and (max-width: 550px) {
  .video-section {
    max-height: 30vh Im !important;
    padding-top: 130px !important;
  }
  .back-video {
    max-height: 100%;
    object-fit: contain;
  }
}

@media screen and (min-width: 980px) and (max-width: 1300px) {
  /* message */

  .message p {
    color: white;
    line-height: 22px;
    text-align: justify;
    font-size: 17px;
    font-weight: 400;
  }
}
