/* ==================== RESPONSIVE STYLES - CLEANED ==================== */
/* Only classes actually used in HTML files */

/* ==================== MEDIA QUERY: 1200px ==================== */
@media only screen and (max-width: 1200px) {
  .container {
    max-width: 95%;
  }
  body{
  overflow-x: hidden;
}
}

/* ==================== MEDIA QUERY: 991px - TABLET ==================== */
@media only screen and (max-width: 991px) {
  /* Typography */
  h3 {
    font-size: 24px !important;
    line-height: 31px !important;
  }
  .carousel-item {
    height: 500px;
}

  h4 {
    font-size: 20px !important;
    line-height: 27px;
  }

  h5 {
    font-size: 27px !important;
    line-height: 34px;
    font-weight: 600;
  }

  h6 {
    font-weight: bold;
  }

  /* Buttons */
  .btn {
    font-size: 13px !important;
    font-weight: 400 !important;
  }

  /* Images */
  .img-container {
    height: 340px;
  }

  /* Layout */
  .w-75 {
    width: 100% !important;
  }

  .w-25 {
    width: 100% !important;
  }

  /* Footer */
  footer img {
    width: 150px;
  }

  footer h4 {
    font-size: 16px;
  }

    .navContainer .nav-item{
    display: flex;
border-bottom: 1px solid rgb(218, 218, 218);
}
   .nav-link:hover span::after {
  width: 0% !important;
}
.lan {
    color: rgb(0, 0, 0);
}
}

/* ==================== MEDIA QUERY: 770px - MOBILE ==================== */
@media only screen and (max-width: 770px) {
  /* RTL Support */
  html[lang="ar"] .text-md-start.text-center,
  html[lang="ar"] .text-md-end.text-center {
    text-align: center !important;
  }
  .img-container {
    height: 330px;
  }

  .header-div {
    height: 220px;
  }

  /* Grid Layout */
  .container-divs div:nth-child(3n+2) {
    padding-inline-start: 4px;
  }

  .container-divs div:nth-child(3n+1) {
    padding-inline-end: 4px;
  }

  .container-divs div:nth-child(3n) {
    margin-block: 16px;
  }
}

/* ==================== MEDIA QUERY: 550px - SMALL MOBILE ==================== */
@media only screen and (max-width: 550px) {
  h1, h2, h3, h4, h5 {
    font-size: 18px !important;
  }

  label:not(.form-check-label) {
    font-size: 15px;
  }

  footer a {
    font-size: 14px;
  }
}

/* ==================== MEDIA QUERY: 450px - EXTRA SMALL MOBILE ==================== */
@media only screen and (max-width: 450px) {
  .img-card {
    max-height: 250px !important;
    height: auto !important;
  }

  p {
    font-size: 14px !important;
    line-height: 18px;
  }
}
