/* --------------------------------------
  Media Queries
--------------------------------------- */

/* Navbar on smaller screens */
@media (max-width: 991.98px) {
  .nav-center {
    position: static;
    transform: none;
    margin-top: 10px;
  }
}

/* Mobile Layout Adjustments */
@media (max-width: 855.98px) {
  .custom-main {
    height: 1180px;
  }

  .hero-section {
    text-align: center;
  }
  .features-animation {
    margin-bottom: 150px;
  }
  .benefits-vdgd-section {
    height: auto;
    padding: 0px;
  }
  .mobile-padding {
    padding: 10px 50px;
  }
}

@media (max-width: 430.98px) {
  .store-badges {
    bottom: 343px;
    right: 45px;
  }

  .hero-buttons .btn {
    font-size: 1.3rem;
  }
}

/* Fine-tuning for mid-small screens */
@media screen and (min-width: 430.98px) and (max-width: 464.98px) {
  .store-badges {
    bottom: 343px;
    right: 76px;
  }

  .hero-buttons .btn {
    font-size: 1.3rem;
  }
}

@media screen and (min-width: 464.98px) and (max-width: 750.11px) {
  .store-badges {
    bottom: 468px;
    right: 137px;
  }
  .features-animation {
    margin-bottom: 0px;
  }

}

/* Tablet to Large Desktop */
@media screen and (min-width: 800.11px) and (max-width: 1000.11px) {
  .hero-section {
    text-align: center;
  }
  .hero-grid-img {
    /* Fade from bottom and right */
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 30%,
        rgba(0, 0, 0, 0) 100%
      ),
      linear-gradient(to right, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);

    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 30%,
        rgba(0, 0, 0, 0) 100%
      ),
      linear-gradient(to right, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);

    mask-composite: intersect;
    -webkit-mask-composite: destination-in;
  }
}

@media screen and (min-width: 1000.11px) and (max-width: 1400.11px) {
  .hero-section {
    text-align: justify;
  }
}

/* Custom Main Height in Mid Devices */
@media screen and (min-width: 855.98px) and (max-width: 1400.11px) {
  .custom-main {
    height: 1050px;
  }
}

/* ----------------------------
  Universal Responsive Tweaks
----------------------------- */
.scroll-photo {
  max-width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
}

/* --------------------------------------
  Mobile Devices (up to 575.98px)
--------------------------------------- */
@media (max-width: 575.98px) {
  .features-section {
    padding: 10px;
  }
  .feature-number {
    font-size: 6rem;
  }

  .feature-content h3 {
    font-size: 2.2rem;
  }

  .feature-content p {
    font-size: 1rem;
  }

  .photo-wrap {
    height: auto;
    overflow-x: hidden;
  }

  .scroll-photo {
    width: 90%;
    left: 50%;
    top: 10%;
  }
}

/* --------------------------------------
  Tablets (576px - 767.98px)
--------------------------------------- */
@media (min-width: 576px) and (max-width: 767.98px) {
  .photo-wrap {
    overflow-x: hidden;
  }
  .features-section {
    padding: 10px;
  }
  .feature-number {
    font-size: 8rem;
  }

  .feature-content h3 {
    font-size: 3rem;
  }

  .feature-content p {
    font-size: 1.2rem;
  }

  .scroll-photo {
    width: 80%;
    left: 50%;
  }
}

/* --------------------------------------
  Small Desktops (768px - 991.98px)
--------------------------------------- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .feature-number {
    font-size: 10rem;
  }

  .scroll-photo {
    width: 70%;
  }
  .photo-wrap {
    overflow-x: hidden;
  }
}

@media screen and (max-width: 768px) {
  .project-card-container {
    padding: 30px 20px;
  }

  .project-card {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
  }

  .project-details .row {
    flex-direction: column;
    gap: 15px;
  }

  .about-section {
    width: 100% !important;
    text-align: center;
  }

  .status-icon {
    margin-top: 10px;
  }

  .mockup-container {
    margin-bottom: 20px;
  }

  .manage-btn {
    width: 100%;
  }

    .fotterParts {
        flex-direction: column;
        gap: 50px;
    }
}

/* --------------------------------------
  Large Desktops (992px and above)
--------------------------------------- */
@media (min-width: 992px) {
  .scroll-photo {
    width: 65%;
  }
}

@media screen and (max-width: 992px) {
  .benefits-laptop-img {
    position: relative;
    margin-top: 50px;
    width: 100%;
  }
}
