.hero-section {
  background: url("../assets/images/heroimg.png") no-repeat center center;
  background-size: cover;
  padding: 50px 70px;
  height: 100vh;
  display: flex;
}

.container {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 80px;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 2vmin;
}

.hero-info > .flex {
  display: flex;
  div {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: #9c3d7d;
    border-radius: 24px;
    gap: 1vmin;
    padding: 10px 20px;
  }
}

.hero-info > .hero-head {
  font-size: 2rem;
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  @media (min-width: 768px) {
    width: 42rem;
  }
  @media (max-width: 768px) {
    font-weight: 600;
  }
}

.hero-span{
  color: #e28225;
  font-weight: 800;
  font-size: 1.8rem;
}

.hero-info > .hero-description {
  font-size: 0.8rem;
  color: white;
  font-weight: 500;
  @media (min-width: 768px) {
    width: 32rem;
  }
  @media (max-width: 768px) {
    font-weight: 400;
  }
}


.explore-btn {
  background-color: #e28225;
  color: white;
  padding: 10px 15px;
  border-radius: 24px;
  font-size: 16px;
  text-align: center;
  margin-left: -10px !important;
  width: 200px !important;
  text-decoration: none;
  transition: background-color 0.3s ease;
  &:hover {
    background-color: #d76f1c;
  }
}

.lifi-section {
  display: flex;
  align-items: center;
  padding: 3rem 2rem;
}

.lifi-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.lifi-images{
  margin-top: -30px;
  height: auto;
}

.lifi-images img {
  position: relative;
  width: 230px;
  object-fit: cover;
  border-radius: 1rem;
}

.image-top {
  position: absolute;
  left: 30px;
  bottom: 15px;
  z-index: 1;
  border: 8px solid white;
  height: 230px;
  box-shadow: 0 4px 20px rgba(234, 76, 255, 0.3);
}

.image-bottom {
  height: 500px;
}

.lifi-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  @media (max-width: 768px) {
    .lifi-content {
      width: 100%;
      text-align: center;
      align-items: center;
    }
  }
}

.lifi-content h2 {
  font-size: 2rem;
  color: #942c85;
  margin-bottom: 1rem;
  @media (max-width: 768px) {
    .lifi-content h2 {
      font-size: 1.5rem;
    }
  }
}

.lifi-content p {
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 1rem;
}

.lifi-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  @media (max-width: 768px) {
    .lifi-content ul {
      text-align: left;
    }
  }
}

.lifi-content li {
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
}

.lifi-content .icon {
  font-size: 2rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* .cta-section {
  display: flex;
  align-items: center;
  gap: 2vmin;
  flex-wrap: wrap;
  .cta-section-text {
    font-size: 0.9rem;
    color: #555;
  }
  @media (max-width: 768px) {
    flex-direction: column;
    align-items: start;
  }
} */

.cta-button {
  background-color: #ff7d3b;
  color: white;
  padding: 1rem 1.3rem;
  width: 150px;
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin-top: 50px !important;
  transition: background-color 0.3s ease;
  &:hover {
    background-color: #e06b2c;
  }
}

.built-for-section {
  margin: 0 4rem;
}

.built-for-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 4rem 2.5rem;
  background-color: #9c3d7d;
  border-radius: 24px;
  margin-bottom: 120px;
}

.built-for-content {
  display: flex;
  gap: 2vmin;
  flex-wrap: wrap;
}

.built-for-content h2 {
  color: white;
  max-width: 24rem;
  width: 100%;
}

.built-for-content p {
  color: white;
  max-width: 24rem;
  width: 100%;
}

.built-for-viewmore > a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 2vmin;
  color: white;
  font-size: 0.8rem;
  background-color: #ff7d3b;
  padding: 0.8rem;
  border-radius: 24px;
}

.cards {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1vmin;
  flex-wrap: wrap;
  margin-top: -80px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: white;
  padding: 1rem;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: left;
  margin-bottom: 1vmin;
  cursor: pointer;
  width: 23%;
}

.card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #1e1e1e;
}

.card p {
  font-size: 12px;
  color: #8c8c8c;
  line-height: 1.5;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}



.testimonial-section {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: white;
  overflow-x: hidden;
}

.testimonial-header > h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #9c3d7d;
}

.carousel-container {
  width: 100vw;
  margin: 0;
  position: relative;
  padding: 0 40px;
  box-sizing: border-box;
}

.carousel {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
}

.cards-wrapper {
  display: flex;
  gap: 15px;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carouselcard {
  min-width: calc(85% - 15px);
  width: calc(85% - 15px);
  height: 100%;
  border-radius: 8px;
  flex-shrink: 0;
  background-color: #fff;
  display: flex;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-image-section {
  flex-shrink: 0;
  width: 40%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-content-section {
  flex-grow: 1;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #333;
}

.card-date {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 5px;
}

.card-name {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
}

.card-text {
  font-size: 0.9em;
  line-height: 1.6;
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.chevron-left,
.chevron-right {
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  background-color: #fff;
}

.chevron-left img,
.chevron-right img {
  width: 100%;
  height: 100%;
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  background: #ccc;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background: #9c3d7d;
}

@media (max-width: 992px) {
  .carousel {
    height: 380px;
  }
  .card-image-section {
    width: 35%;
  }
  .card-name {
    font-size: 1.4em;
  }
  .card-text {
    -webkit-line-clamp: 8;
  }
}

@media (max-width: 768px) {
  
  .built-for-section {
    margin: 0 1rem;
  }
  .built-for-container {
    padding-top: 1.5rem;
  }

  .hero-info {
    margin-top: 200px;
    padding: 10px;
  }

  .explore-btn{
    margin-left: 18px !important;
    font-size: 14px;
    padding: 8px 12px;
    width: 150px !important;
  }

  .image-bottom {
    display: none;
  }

  
.lifi-container {
flex-direction: column;
  width: 90%;
  margin: 0 auto;
}

.lifi-images{
  margin-top: 30px;
  height: auto;
  width: 100% !important;
}

.lifi-images img {
  width: 100%;
  height: 310px;
}


.image-top {
  position: relative;
  left: 0px;
  bottom: 15px;
  width: 100%;
}

.cards{
  width: 80% !important;
  margin-left: auto;
  margin-right: auto;
}
  .card{
    width: 100% !important;
  }

  .carousel-container {
    padding: 0 30px;
  }

  .carousel {
    height: 400px;
  }

  .carouselcard {
    min-width: calc(90% - 15px);
    width: calc(90% - 15px);
    flex-direction: column;
  }
  .card-image-section {
    width: 100%;
    height: 150px;
    border-bottom: 1px solid #eee;
  }
  .card-content-section {
    padding: 15px 20px;
  }
  .card-name {
    font-size: 1.3em;
    margin-bottom: 10px;
  }
  .card-text {
    font-size: 0.85em;
    -webkit-line-clamp: 6;
  }
  .chevron-left,
  .chevron-right {
    width: 35px;
    height: 35px;
  }

  .cta h2 {
    font-size: 1.2rem;
    padding: 0 10px;
  }

  .cta {
    height: auto;
    padding: 20px 10px;
  }

  .built-for-viewmore{
    margin-top: 20px;
  }

  .hero-head{
    line-height: 40px;
  }

  .hero-description{
    margin-bottom: 50px;
  }


}

@media (max-width: 600px) {
  .card {
    flex: 1 1 90%;
    max-width: 90%;
  }
  .built-for-container {
    padding-top: 1rem;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    padding: 0 20px;
  }
  .carousel {
    height: 350px;
  }
  .carouselcard {
    min-width: calc(95% - 15px);
    width: calc(95% - 15px);
  }
  .card-image-section {
    height: 120px;
  }
  .card-content-section {
    padding: 10px 15px;
  }
  .card-name {
    font-size: 1.1em;
    margin-bottom: 8px;
  }
  .card-text {
    font-size: 0.8em;
    -webkit-line-clamp: 5;
  }
  .chevron-left,
  .chevron-right {
    width: 30px;
    height: 30px;
  }
}

