/* // X-Small devices (portrait phones, less than 576px)
// No media query for `xs` since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up) */
@media (max-width: 768px) {
}

/* // Medium devices (tablets, 768px and up) */
@media (max-width: 992px) {
  .navbar-nav .nav-link::after,
  .active::after {
    content: "";
    display: none;
    width: 0;
    margin: 0;
    border: 0;
  }
  nav {
    border-bottom: 1px solid #e2e8f0;
  }

  .active {
    color: oklch(0.372 0.044 257.287) !important;
    font-weight: 400;
    line-height: 1.5;
    font-size: 16px;
  }
  nav .navbar-nav {
    display: none;
    width: 0;
    visibility: hidden;
  }
  .collapse.navbar-collapse,
  .navbar-nav {
    width: 100% !important;
    background: #fff !important;
    z-index: 3;
    top: 75px;
  }
  .collapsing {
    transition: none !important;
    height: auto !important;
  }
  .navbar-nav {
    /* margin-left: -50px !important; */
    padding-top: 20px !important;

    gap: 15px;
  }
  .navbar-nav .nav-item .nav-link {
    padding: 15px 10px;
    border-radius: 8px;
    padding-left: 20px;
    color: oklch(0.372 0.044 257.287) !important;
  }
  .nav-link.dropdown-toggle {
    display: flex;
    justify-content: space-between;
  }
  .navbar-nav .nav-item:hover .nav-link {
    /* padding-left: 20px; */
    background-color: oklch(0.969 0.016 293.756) !important;
  }
  .inner-hero {
    padding-top: 40px !important;
    h1 {
      font-size: 3rem !important;
    }
    p {
      margin-right: 0 !important;
      margin-left: 0 !important;
    }
  }
  .inner-heading p {
    max-width: 80%;
    margin: auto;
    font-size: 1.3rem !important;
  }
  .inner-heading h2 {
    font-size: 2.5rem !important;
  }
  .Services {
    .inner-heading p {
      max-width: 100% !important;
      margin: auto;
      padding: 0;
      margin: 0;
    }
    .inner-tab-right {
      .img {
        margin-top: 0px;
      }
    }
  }

  /* 
  .navbar-nav::before {
    content: "";
    position: relative;
    display: block;
    width: 120%;
    left: -10%;
    height: 1px;
    background-color: #e2e8f0;
  } */
  .inner-tab-right {
    .img-content {
      background-color: var(--white-color);
      bottom: -24px;
      left: -50px;
      border-radius: 8px;
    }
  }

  #pills-Selling {
    .inner-tab-right {
      .img-content {
        /* bottom: -24px; */
        left: calc(100% - 50px) !important;
        transform: translateX(-50%);
        text-wrap: nowrap;

        /* right: 0px; */

        p {
          color: oklch(0.627 0.194 149.214);
        }
      }
    }
  }
  /* #pills-Renting {
    
    .inner-tab-right {
      .img-content {
        p {
          color: oklch(0.558 0.288 302.321);
        }
      }
    }
  } */
  #pills-Investing {
    .inner-tab-right {
      .img-content {
        left: calc(100% - 50px) !important;
        transform: translateX(-50%);
        text-wrap: nowrap;
        p {
          color: oklch(0.681 0.162 75.834);
        }
      }
    }
  }
  /* #pills-Commercial {
   
    .inner-tab-right {
      .img-content {
        p {
          color: oklch(0.511 0.262 276.966);
        }
      }
    }
  } */
  .con {
    .left {
      padding: 0 !important;
    }
    .right {
      padding: 0 !important;
      margin-top: 40px;
    }
  }
}

/* @media (max-width: 992px) and (min-width: 769px) {} */

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .What-We-Do .inner-WhatWeDo .row .inner-card {
    /* height: max-content !important; */
  }
}

/* // X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* // XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}

@media (max-width: 1022px) {
  .contact-box {
    grid-template-areas:
      "c1"
      "c2"
      "c3"
      "c4"
      "form" !important;

    grid-template-columns: 1fr !important; /* عمود واحد بس */
  }
}
