/* col-xs */
@media (min-width: 275px) and (max-width: 575px) {
  .img-fluid-home {
    object-position: left 25%;
    height: 50vh;
  }
  .carousel-item {
    object-fit: cover;
    object-position: center;
    height: 40vh;
    overflow: hidden;
  }
  .about-keyperson-row-div {
    margin-top: 50px;
  }
  .about-keyperson-left {
    text-align: center;
  }
  .card-profile-name2,
  .span-line-height,
  .about-text-content {
    text-align: center;
  }
  .img-fluid-about {
    object-fit: cover;
    object-position: left 45%;
    height: 30vh;
    width: 100vw;
    overflow: hidden;
  }
  .img-fluid-highlight {
    object-fit: cover;
    object-position: center;
    height: 35vh;
    width: 100vw;
    overflow: hidden;
  }
  .hover-zakaria:hover + .zakaria-popup {
    display: none;
  }
  .hover-amounir:hover + .amounir-popup {
    display: none;
  }
  .hover-samir:hover + .samir-popup {
    display: none;
  }
  .hover-ali:hover + .ali-popup {
    display: none;
  }
}

/* col-sm */
@media (max-width: 768px) {
  .home-background-left {
    display: none;
    color: rgb(2, 49, 150);
  }
  .home-background-right {
    text-align: center;
    color: rgb(2, 49, 150);
  }
  .container-content {
    line-height: 30px;
    text-align: justify;
  }
  #carouselExampleCaptions .carousel-item img {
    object-fit: cover;
    object-position: bottom;
    height: 40vh;
    overflow: hidden;
  }
}

@media (min-width: 576px) and (max-width: 768px) {
  .img-fluid-home {
    object-position: left 45%;
    height: 40vh;
  }
  .carousel-item {
    object-fit: cover;
    object-position: center;
    height: 40vh;
    overflow: hidden;
  }

  #socialm {
    display: none;
  }
  .about-textmap-left {
    line-height: 25px;
  }
  .about-textmap-right {
    text-align: center;
    margin-top: 50px;
  }
  .about-keyperson-row-div {
    margin-top: 50px;
  }
  .about-new-gen-right {
    margin-top: 20px;
  }
  .img-fluid-about {
    object-fit: cover;
    object-position: left 45%;
    height: 40vh;
    width: 100vw;
    overflow: hidden;
  }
  .img-fluid-highlight {
    object-fit: cover;
    object-position: left 45%;
    height: 45vh;
    width: 100vw;
    overflow: hidden;
  }
  .hover-zakaria:hover + .zakaria-popup {
    display: none;
  }
  .hover-amounir:hover + .amounir-popup {
    display: none;
  }
  .hover-samir:hover + .samir-popup {
    display: none;
  }
  .hover-ali:hover + .ali-popup {
    display: none;
  }
  .modal-content-newsfeed {
    width: 80%;
  }
}

/* col-md */
@media (min-width: 769px) {
  .about-new-gen-left {
    padding-right: 40px;
  }
  .about-new-gen-right {
    padding-left: 40px;
  }
  .modal-content-newsfeed {
    width: 70%;
  }
}

/* col-lg */
@media (min-width: 769px) and (max-width: 991px) {
  .about-textmap-left {
    line-height: 25px;
  }
  .about-textmap-right {
    text-align: center;
    margin-top: 50px;
  }
  .about-textmap {
    padding-left: 25px;
    padding-right: 25px;
  }
  .img-fluid-highlight {
    object-fit: cover;
    object-position: left 45%;
    height: 55vh;
    width: 100vw;
    overflow: hidden;
  }
  .popup-template {
    top: 0px;
    left: 195px;
    width: 450px;
  }
  .modal-content-newsfeed {
    width: 60%;
  }
}

/* col-xl */
@media (min-width: 992px) and (max-width: 1400px) {
  .img-fluid-highlight {
    object-fit: cover;
    object-position: left 45%;
    height: 75vh;
    width: 100vw;
    overflow: hidden;
  }
  .popup-template {
    top: 0px;
    left: 210px;
    width: 450px;
  }
  .modal-content-newsfeed {
    width: 50%;
  }
}

/* col-xxl */
@media (max-width: 1400px) {
}
@media (min-width: 1401px) {
  .modal-content-newsfeed {
    width: 50%;
  }
}

@media (min-width: 1070px) {
  .home-background-left {
    padding-right: 50px;
  }
}
@media (min-width: 1105px) {
  .home-background-left {
    padding-right: 80px;
  }
}

/* col-xl */
@media (min-width: 1201px) {
  .home-background-left {
    padding-right: 20px;
  }
}
@media (min-width: 1270px) {
  .home-background-left {
    padding-right: 50px;
  }
}
@media (min-width: 1350px) {
  .home-background-left {
    padding-right: 100px;
  }
}

/* col-xxl */
@media (min-width: 1400px) {
  .home-background-left {
    padding-right: 50px;
  }
}
@media (min-width: 1431px) {
  .home-background-left {
    padding-right: 50px;
  }
}
@media (min-width: 1535px) {
  .home-background-left {
    padding-right: 80px;
  }
}
@media (min-width: 1581px) {
  .home-background-left {
    padding-right: 100px;
  }
}
@media (min-width: 1651px) {
  .home-background-left {
    padding-right: 100px;
  }
  .container-content {
    line-height: 30px;
    text-align: justify;
  }
}
@media (min-width: 1801px) {
  .home-background-left {
    padding-right: 100px;
  }
  .home-background-right {
    padding-top: 10px;
    color: rgb(2, 49, 150);
  }
  .container-content {
    line-height: 35px;
    text-align: justify;
  }
}
@media (min-width: 1901px) {
  .home-background-left {
    padding-right: 100px;
  }
  .home-background-right {
    padding-top: 50px;
    color: rgb(2, 49, 150);
  }
  .container-content {
    line-height: 35px;
    text-align: justify;
  }
}

@media only screen and (max-width: 959px) {
  .sticky-top {
    display: none;
  }
  .english-arabic {
    display: none;
  }

  #hamburger-icon {
    display: block;
  }
  .offcanvas-collapse {
    display: block;
    position: fixed;
    top: 68.5px;
    /* Height of navbar */
    bottom: 0;
    right: 100%;
    width: 100%;
    padding-top: 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: white;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 999;
  }

  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(100%);
  }
}
