@media (max-width: 75em) {
    html {
      /* 9px / 16px  */
      font-size: 56.25%;
      overflow-x: hidden;
    }
}
@media (max-width: 59em) {
  html {
    /* 8px / 16px = 0.5 = 50% */
    font-size: 50%;
  }
}

@media (max-width: 48em){

.hero-slider .carousel-cell .inner {
    position: static; /* Resets absolute positioning */
    width: 75%; /* Makes it span full width */
    margin: 0; /* Removes any extra margins */
    color: white !important;
    z-index: 99;
}
.work-image{
  display: none;

}
.work-content {
  text-align: left;
  width: 100%;
  justify-content: center;
  margin: 0 0;
}
.containerS{
  display: block;
}
.services{
  padding: 0 3.6rem;
}
.flickity-prev-next-button {
  width: 35px;
  height: 35px;
}
.plan {
  flex: 1 1 calc(50% - 2rem); /* 2 cards per row on medium screens */
  max-width: calc(50% - 2rem);
  
}

.pricing-table{
  gap: 2rem;
  justify-content: center;
}
.steps-container {
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.step {
  max-width: 150px;
}

.icon {
  font-size: 35px;
}

.step h3 {
  font-size: 14px;
}

.step p {
  font-size: 12px;
}

.divider {
  display: none; /* Hide the divider for better spacing on smaller screens */
}

}

@media (max-width: 34em){
  .about-content {
    display: block;
  }
  .team-members{
    display: block;
  }
  .calculator-grid{
    display: block;
  }
  .plan {
    flex: 1 1 100%; /* Stacks cards vertically on small screens */
    max-width: 100%;
}
.services-section{
  padding: 50px 0;
}

}

@media (max-width: 27em){
  .design-section {
    padding: 20px 10px;
  }
  
  .services {
    padding: 0 1.6rem;
}
.carousel-cell{
  background-size: cover;
}
.calc-subtotal {
  
  padding: 1rem 1rem;
  
}
}
@media (max-width: 20em){
  .design-section {
    padding: 20px 0px;
  }
  .design-grid{
    padding: 0;
  }
}