@media (max-width: 576px) {
  .hero-title {
    font-size: 24px !important;
    text-align: center;
    /* border: 1px solid red; */
  }

  .why-cards,
  .stepping-wrapper,
  .shape-cards {
    flex-wrap: wrap;
  }
  .stepping-wrapper {
    justify-content: center;
  }
   .consult-modal-title{
        font-size: 24px;
    }
    .consult-modal{
    width: 90%;
    }
  .stepping-wrapper .stepping-card:nth-child(3),
  .stepping-wrapper .stepping-card:nth-child(5) {
    /* border: 1px solid red; */
    height: 100px;
    rotate: 90deg;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .stepping-card {
    width: 80%;
  }
  .stepping-section .container {
    gap: 30px 24px;
  }
  .hero-numbers {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    justify-self: center;
    /* border: 2px solid red; */
    align-self: center;
  }
  .btn-primary-custom,
  .btn-primary-outline-custom {
    font-size: 14px;
    padding: 12px 8px;
  }
  .hero-number,
  .hero-number:nth-child(2) {
    flex-grow: 1;
    align-self: center !important;
    /* justify-self: center; */
    width: 100%;
  }
  .hero-section .container {
    border-radius: 0px !important;
    padding-block: var(--half-section-padding);
    padding-left: unset;
    padding-inline: inherit;
  }
  
.navbar{

  box-shadow: 1px 1px 30px rgba(17, 34, 51, 0.37);
  margin-bottom: 0px;
}
  /* :not(section:first) */

  section {
    padding-block: var(--half-section-padding) !important;
  }
  .hero-section {
    padding-block: unset !important;
  }
  .hero-section .container {
    /* height: 100vh !important; */
    /* border: 1px solid red; */
    background-attachment: unset;
    /* height: 60vh; */
  }
  nav {
    /* display: none !important; */
  }
  .btns-wrapper {
    justify-content: center;
  }
  .why-card,
  .touch-card,
  .shape-card {
    width: 100%;
  }
  .why-card-content {
    width: 100%;
  }
  .why-card-details {
    /* text-align: start; */
  }
  .contact-left-container {
    width: 100%;
    padding: 20px;
  }
  .why-title,
  .touch-title,
  .stepping-title,
  .shape-title {
    font-size: 20px;
  }
  .why-sub-title,
  .touch-sub-title,
  .shape-sub-title,
  .shape-card-content,
  .ptl-sub-title,
  .footer-text {
    font-size: 16px;
  }
  .juggle-title {
    font-size: 18px;
    text-wrap: wrap;
    width: 100%;
  }
  .line-break {
    display: block;
  }
  .contact-message-section .container {
    flex-wrap: wrap;
  }

  .fs-28 {
    font-size: 20px;
  }
  .fs-20 {
    font-size: 16px;
  }
  .fs-14 {
    font-size: 14px;
  }
  .testimonials-section {
  }

  .testimonials-section .container:nth-child(2) {
    flex-wrap: wrap;
  }
  .testimonials-left,
  .testimonials-right {
    width: 100%;
  }
  .testimonials-right {
    justify-content: center;
  }
  .testimonial {
    justify-content: center;
    align-items: center;
  }
  .testimonial-text {
    text-align: center;
    font-size: 16px;
  }
  /* Hide by default */
  .rotate-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000; /* Dark background to grab attention */
    color: #fff;
    z-index: 9999; /* Ensure it sits on top of everything */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
  }

  /* The magic: Trigger only on mobile-sized screens AND landscape */
  @media (orientation: landscape) and (max-width: 900px) {
    .rotate-warning {
      display: flex;
    }

    /* Prevent background scrolling */
    body {
      overflow: hidden;
    }
  }
  .slider-control {
    /* justify-self: center; */
  }
  .writer-name {
    text-align: center;
    justify-self: center;
    width: 100%;
  }
  .touch-card-title,
  .stepping-card-num,
  .shape-card-title,
  .brands-section-title,
  .primary-section-title,
  .writer-name {
    font-size: 20px;
  }
  .similar-title {
    font-size: 20px;
  }
  .project-hero-section .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .secondary-section-content {
    font-size: 16px;
    width: 100%;
    text-align: center;
  }
  .filters-wrapper {
    flex-wrap: wrap;
    gap: 10px;
  }
  #find-now {
    width: 100% !important;
  }
  .countries-wrapper {
    overflow-x: auto;
  }
  .filter {
    width: 100%;
  }
  .btn-filter {
    font-size: 16px;
  }
  .country {
    font-size: 16px;
    width: fit-content;
    text-wrap: nowrap;
  }
  .secondary-section-title {
    text-align: center;
    font-size: 28px;
  }
  .similar-content {
    width: 100% !important;
    font-size: 18px;
  }
  .ptl-title {
    font-size: 18px;
  }
  .w-50-desktop {
    width: 100% !important;
  }
  .stepping-card-content {
    font-size: 14px;
  }
  .stepping-title {
    width: 80%;
    align-self: center;
  }
  .brand-name{
    font-size: 16px;
  }

  .index-brands-wrapper::-webkit-scrollbar {
    display: none;
  }
  .index-brands-wrapper {
    overflow-x: scroll;
    gap: 30px;
    justify-content: center;
    align-items: center;
  }
  .brand-logo {
    width: 120px;
    height: 120px;
  }
  .project-cards {
    /* One column = 100% width automatically */
    grid-template-columns: 1fr;

    /* Reset rows so they can stack vertically */
    grid-template-rows: auto;

    row-gap: 40px; /* Space between the two rows */
  }

  /* Hide the 3rd, 4th, and any other cards */
  .project-cards > *:nth-child(n + 3) {
    display: none;
  }
  .project-card {
    /* 1. Kill the fixed width so it fills the screen */
    width: 100%;

    /* 2. Crucial: Let the card move to Row 2 */
    grid-row: auto;

    /* 3. Make sure it reaches the edges of the grid cell */
    align-self: stretch;
  }

  .about-hero-primary-section {
    height: 90vh;
  }
  .about-hero-primary-title {
    font-size: 30px;
  }
  .about-hero-primary-title span svg {
    width: 110% !important;
    top: -20px;
  }
  .about-hero-primary-content {
    font-size: 16px;
  }
  .rooted-section .container {
    flex-wrap: wrap;
    gap: 20px;
    padding-block: var(--half-section-padding);
  }
  .spany {
    display: none;
  }
  .spany-2 {
    /* line-break: break !important; */
    display: none;
  }

  .contact-links {
    flex-wrap: wrap;
    width: 100%;
    /* border: 1px solid red; */
    justify-content: start !important;
  }
  .contact-links div {
    display: unset;
    width: 100%;
    justify-content: stretch;
    align-items: stretch;
    /*flex: 1 1 auto;*/
  }
  .rooted-section .container:first-child {
    padding-bottom: calc(var(--half-section-padding) / 2);
  }
  .rooted-section .container:nth-child(2) {
    padding-top: calc(var(--half-section-padding) / 2);
  }

  .left-rooted,
  .right-rooted {
    width: 100%;
  }
  .left-rooted {
    height: 400px !important;
  }

  .rooted-title {
    font-size: 20px;
    text-align: center;
  }
  .rooted-content {
    text-align: center;
    font-size: 14px;
  }

  .about-hero-primary-section .container svg {
    width: 100%;
  }

  .one-roof-wrapper {
    width: 100%;
    padding: 30px;
    gap: 30px;
  }
  .roof-card-icon {
    width: 60px;
    height: 60px;
    padding: 15px;
  }
  .one-roof-title {
    font-size: 20px;
  }
  .one-roof-sub-title {
    font-size: 16px;
    width: 100%;
  }
  .one-roof-card {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .roof-card-title {
    font-size: 18px;
    text-align: center;
  }
  .roof-card-content {
    font-size: 14px;
    text-align: center;
  }

  .stress-section .container,
  .stress-section .container::before {
    border-radius: 0px;
  }
  .stress-title {
    font-size: 30px;
  }

  .stress-content {
    font-size: 16px;
  }

  .core-section-title {
    font-size: 20px;
  }
  .core-values-section .container {
    flex-wrap: wrap;
  }
  .core-card {
    width: 80%;
    margin-top: 10px;
  }

  .accordion-button {
    font-size: 16px !important;
  }

  .accordion-body {
    font-size: 14px;
  }

  .invest-section .container {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .invest-left,
  .invest-right {
    width: 100%;
  }

  .invest-right {
    /* height: 100px; */
    height: 400px;
  }
  .invest-section-title {
    text-align: center;
    font-size: 20px;
  }
  .processes {
    padding: 5px;
  }
  .invest-content {
    font-size: 16px;
    text-align: center;
  }

  /* Consult Page */
  .primary-contact-hero-title {
    text-align: center;
    font-size: 30px;
    line-height: unset;
  }
  .primary-contact-hero-content {
    font-size: 16px;
  }
  .contact-hero-left {
    gap: unset;
    width: 100%;
  }
  .need-card {
    font-size: 16px;
  }
  .get-number {
    align-items: stretch !important;
    justify-content: stretch !important;
    flex: auto;
    width: 100%;
  }
  .get-title {
    font-size: 18px;
  }
  .contact-hero-right {
    margin-right: unset !important;
    width: 100%;
    padding: 20px;
  }
  .work-need-section .container div .section-primary-content {
    width: 100%;
    font-size: 16px;
    margin-top: 30px;
  }
  .what-you-get-section .container {
    gap: 30px;
  }
  .get-cards {
    row-gap: 20px;
  }
  .get-card {
    width: 100%;
  }
  /* Consult Page */

  .pd-title {
    font-size: 18px;
  }
  .project-detail {
    height: fit-content;
  }
  .pd-content {
    font-size: 16px;
  }

  .project-image {
    /* aspect-ratio: 16/9; */
    /* width: 25vw;
            height: 50vh; */
    /* width: 250px; */
    width: 30% !important;
    object-fit: cover;
    height: auto;
    aspect-ratio: 3 / 2;
    aspect-ratio: unset;
  }

  .img-consult-1 {
    display: none;
    padding: 0;
  }
  .images-consult {
    padding: 0 !important;
  }
  .right-ready {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .right-ready,
  .right-ready h2 {
    width: 100% !important;
    text-align: center !important;
  }
  .img-consult-2 {
    margin-top: 0;
  }
  .project-hero-section .container div.d-flex {
    justify-content: space-between !important;
    /* align-items: stretch !important; */
    width: 100%;
  }
  .project-images-wrapper {
    gap: 15px;
  }
  model-viewer {
    /* display: none; */
  }
  .mobile-only-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .title-mobile {
    font-size: 16px;
    font-family: Montserrat;
    color: var(--secondary);
    text-align: center;
  }
  .card .project-category {
    left: 50% !important;
    transform: translate(-50%);
  }

  .samples-wrapper {
    gap: 20px;
    display: flex;
    /* width: 1062px; */
    justify-content: center !important;
    flex-wrap: wrap;
    align-items: center;
    /* align-items: flex-start; */
  }
  .sample {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 10px; */
    width: 20%;
    width: 25%;
    align-self: stretch;
    /* grid-row: 1 / span 1; */
    /* grid-column: 2 / span 1; */
    /* justify-self: stretch; */
  }


     .swiper{
    width: 100% !important;
    padding-bottom: 100px;
}
.testi{
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 300px !important;
}
.writer-info{
  justify-content: center !important;
  align-items: center !important;
}
.writer{
  text-align: center !important;
  align-self: center !important;
  justify-self: center !important;

}
.testi-content{
  width: 100% !important;
}
.slider-control{
    position: absolute !important;
    /* top: 50px !important; */

    left: 50% !important ;
    transform: translate(-50%);
    /* justify-self: start; */

}
.testimonial-image,.testi{
      width: 275px !important;
      width: 100% !important;

}
.hero-img-wrapper {
  
  height: 215px;
  aspect-ratio: 16 / 9;
  
}
.project-details-hero-section{
  padding-top:0px !important ;
}
.secondary-section-title.fs-64{
  text-align: start;
  /* border: 1px solid red; */
}
.project-details-hero-title{
 
 
  align-items: start !important ;
}


.accordion-body{
  width:100%
}

.content-wrapper {
  position: absolute;
   top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none; /* Let clicks pass through if needed */
  padding-top: var(--half-section-padding) !important;
  padding-left: 0 !important;
 
}
section:last-child{
  padding-bottom: 0 !important;
}
}

/* html {
  font-size: 16px !important;
}

p {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem) !important;
  line-height: 1.7;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem) !important;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 2rem) !important;
} */
