/* ==================== RESPONSIVE STYLES - CLEANED ==================== */
/* Only classes actually used in HTML files */

/* ==================== MEDIA QUERY: 1200px ==================== */
@media only screen and (max-width: 1200px) {
  .container {
    max-width: 95%;
  }
}

/* ==================== MEDIA QUERY: 991px - TABLET ==================== */
@media only screen and (max-width: 991px) {
  /* Typography */
.nav-link:not([data-bs-toggle=pill]):hover::after {
    width: 0% !important;
  }
  .navContainer .nav-link.active::after {
    width: 0%;
}
  .second-img {
    width: 44%;
    height: 50%;
}

  .story-hanging {
    padding-top: 35px !important;
  }

  .story-thread {
    height: 36px !important;
  }
.slider-blogs button.prev-button, .slider-blogs button.next-button{
      bottom: 1%;
          width: 35px !important;
    height: 35px !important;

}
  h3 {
    font-size: 20px !important;
  }

  h4 {
    font-size: 18px !important;
    line-height: 27px;
  }

  h5 {
    font-size: 16px !important;
    font-weight: 600;
  }

  h6 {
    font-weight: bold;
  }
.lan{
  color: rgb(0, 0, 0) ;
}

.carousel-caption h4 {
    font-size: 25px !important;
  }

  .carousel-caption h6 {
    font-size: 16px;

  }

  .carousel-item {
    height: 650px;
  }

  .carousel-caption {
    right: 3%;
    top: 10%;
    left: 3%;
  }
  .navContainer .nav-item{
    display: flex;
border-bottom: 1px solid rgb(218, 218, 218);
}
   .nav-link:hover span::after {
  width: 0% !important;
}
.order-tracking p{
  font-size: 12px !important;
}
  .carousel-control-next,
  .carousel-control-prev {
    top: 198px;
  }

  .carousel-caption h5 {
    font-size: 25px;
    line-height: 30px;
  }

  .carousel-caption p {
    font-size: 14px !important;
    line-height: 25px;
  }

  /* 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;
  }
      .offcanvas {
        overflow-y: auto;
        max-width: 85%;
    }
}

/* ==================== MEDIA QUERY: 770px - MOBILE ==================== */
@media only screen and (max-width: 770px) {
  /* RTL Support */
  .slider-home-nav {
    height: 450px;
}
  p {
    font-size: 16px !important;
    line-height: 140%;
  }
  html[lang="ar"] .text-md-start.text-center,
  html[lang="ar"] .text-md-end.text-center {
    text-align: center !important;
  }
.slick-dots {
      bottom: 1px;
}

.slick-dots button {
    width: 10px;
    height: 10px;}
td .flex-shrink-0{
height: 150px;
}

.slider-Trending .img-card ,.property-card .img-card {
  width: 100% !important;
}

footer::after {
    width: 300px;
    height: 156px;
}
  .img-container {
    height: 330px;
  }

  .header-div {
    height: 250px;
  }
  .header-div.img-card {
    height: 270px !important;
  }

  /* 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;
  }

  .card .bg-descibition h2::after {
  
    height: 3px;}
.social li a {
  width: 30px;
  height: 30px;}
  .social {
    margin: 0px;
}
  label:not(.form-check-label) {
    font-size: 15px;
  }

  footer a {
    font-size: 14px;
  }
    .carousel-item {
    height: 500px;
  }
}

/* ==================== MEDIA QUERY: 450px - EXTRA SMALL MOBILE ==================== */
@media only screen and (max-width: 450px) {
.slick-slider .slick-track{
    padding-block: 1rem;

}
.icon.step::after{
height: 95px;
}
footer{
  font-size: 14px;
}
.icon.step{
  width: 30px !important;
  height: 30px !important;
  font-size: 14px;
}
  .img-card:not(.h-auto ,.img-card-service) {
  height: 250px !important;
  }

  p {
    font-size: 14px !important;
  }

.step h6 {
    text-align: center;
    font-size: 12px !important;
}
  .header-profile.img-card {
    height: 300px !important;
  }
}

/* ==================== MEDIA QUERY: 991px+ DESKTOP ==================== */
@media only screen and (min-width: 991px) {

      .card .bg-descibition {
        position: absolute;
        top: 71%;
        left: 0;
        right: 0;
        transition: top 0.5s ease, background-color 1s ease 0s, /* delay 0.5s */ background-image 0s ease 0.2s;
    }
        .card:hover .bg-descibition {
        top: 0%;
        justify-content: center;
        background: var(--linear-gradient);
    }
   .card:hover .bg-descibition h2::after {
    content: unset;
   }


        .card .bg-descibition p ,.card .bg-descibition .title {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease 0s, visibility 0.5s ease 0s;
    }
        .card:hover .bg-descibition p ,.card:hover .bg-descibition .title 
 {
        opacity: 1;
        visibility: visible;
    }
   .gallary   div .img-card {
    transition: all 0.8s ease;
    transform:scaleY(0.9) ;
  }

  .gallary   div:nth-child(2) .img-card {
    transform:scaleY(1) ;
  }
.gallary-container{
  position: absolute;
  left: 0px;
  right: 0px;
  transform: translateY(-50%);
}
.gallary-container   + div {
margin-top: 150px;
}
  .slider-home-nav{
    height:800px
  }

  /* Home Slider Navigation */
  body:has(.slider-home-nav ) .nav-link[data-bs-toggle="pill"] {
    color: var(--mainColor4);
    font-weight: 400;
  }
    body:has(.slider-home-nav ) .navContainer {
        position: absolute;
        top: 0px;
        right: 0px;
        left: 0px;
    }

    body:has(.slider-home-nav ) .navContainer .lan{
  color: white;
}
    .list-footer li{
width: 30%;
    }
     body:has(.slider-home-nav)   .navContainer .nav-link span {
        color: var(--mainColor4) ;

     }
 body:has(.slider-home-nav)   .navContainer .LanguageMenu svg {
    transition: transform 0.2s ease-in-out;


  }
  body:has(.slider-home-nav )  .navContainer .LanguageMenu svg path{

    stroke: white;

  }
     body:has(.slider-home-nav )  .navContainer .icon svg circle{

    stroke: white !important;

  }
   body:has(.slider-home-nav )  .navContainer .icon svg path{

    stroke: white !important;

  }
 
   body:has(.slider-home-nav )  .navContainer .LanguageMenu svg path:hover {
    transform: rotateY(180deg);

  }
 body:has(.slider-home-nav ) .navContainer .nav-link[data-bs-toggle="pill"] {
    color: var(--mainColor4) !important;
    font-weight: 400;
}
  .squre-after {
    position: relative;
  }
    .squre-after::after {
      position: absolute;
      content: "";
      width: 120px;
      bottom: 0px;
      right: -50px;
      top: 0px;
      transform: scaleX(-1);
      background-image: url(../imgs/home/aftersqure.svg);
      background-position: left;
      background-repeat: no-repeat;
      background-size: contain;
      z-index: -1;
    }
  

        .squre-after:nth-child(1)::after {
        left: -50px;
        transform: scaleX(1);
        right: auto;
      }

        body:has(.slider-home-nav ) .navContainer {
    position: absolute;
    background-color: transparent;
    top: 0px;
    right: 0px;
    left: 0px;
  }

  body:has(.slider-home-nav) .navContainer .LanguageMenu {
    color: white;



  }
    body:has(.slider-home-nav) .navContainer .nav-link.active span {

    color: white;



  }
.form-icons div:nth-last-child(2) .border-start{
  border: 0px !important;

}

  .overflow-slider-hidden {
    overflow-x: hidden;
  }

  body:has(.slider-home-nav) .navContainer .LanguageMenu svg {
    transition: transform 0.2s ease-in-out;


  }

  body:has(.slider-home-nav) .navContainer .LanguageMenu svg path:hover {
    transform: rotateY(180deg);

  }

  body:has(.slider-home-nav) .navContainer .nav-link[data-bs-toggle="pill"] {
    color: var(--mainColor4);
    font-weight: 400;
  }

  body:has(.slider-home-nav) .navContainer .navbar-brand2 {
    display: block;
  }

  body:has(.slider-home-nav) .navContainer .navbar-brand1 {
    display: none;
  }

  body:has(.slider-home-nav) .navContainer .icon-svg svg path {
    stroke: white !important;
  }

}