.span {
  color: #03a9f4;
  text-transform: none;
}

.top {
  color: #03a9f4;
  text-transform: none;
  font-size: 18px;
  font-family: Cambria;
}

.text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: black;
  text-align: justify;
}

.about {
  box-sizing: border-box;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px; /* Minimal gap between content and image */
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-heading {
  font-size: 2rem;
  color: #111;
  margin-bottom: 15px;
  font-family: cambria;
}

.about-text {
  font-size: 1rem;
  line-height: 1.6;
  color: black;
  margin-bottom: 20px;
  text-align: justify;
  font-family: georgia;
}

.know-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #8167f5, #2e45c9);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(240, 101, 149, 0.3);
  font-size: 10px;
}

.know-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(240, 101, 149, 0.4);
}

.about-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

/* Responsive Behavior */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .about-heading {
    font-size: 1.5rem;
    text-align: center;
  }

  .about-text {
    text-align: justify;
  }

  .about-image {
    justify-content: center;
  }

  .top {
    display: block;
    text-align: center;
  }
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.image-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.image-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  text-align: center;
  flex: 1 1 150px;
  max-width: 70px;
}

.image-item img {
  width: 100%;
  height: 70px;
  transition: all 0.3s ease;
}

.image-item p {
  margin-top: 6px;
  color: #444;
  position: relative;
  transition: all 0.3s ease;
  font-size: 10px;
  width: 200px;
}

.image-item p::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: currentColor;
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

.image-item:hover {
  filter: grayscale(0%);
}

.image-item:nth-child(1):hover p {
  color: #393186;
}

.image-item:nth-child(2):hover p {
  color: #393186;
}

.image-item:nth-child(3):hover p {
  color: #393186;
}

.image-item:nth-child(4):hover p {
  color: #393186;
}

.image-item:nth-child(5):hover p {
  color: #393186;
}

.image-item:nth-child(6):hover p {
  color: #393186;
}

.image-item:hover p::after {
  width: 100%;
}

@media (max-width: 768px) {
  .image-section {
    flex-direction: column;
    align-items: center;
  }

  .image-item {
    width: 200px;
    height: 200px;
    margin: 5px; /* reduced spacing between cards */
  }

  .image-item img {
    width: 150px;
    height: 150px;
  }

  .image-item p {
    width: 100px;
    height: 50px;
  }
}

.why-choose-us {
  height: 400px;
  display: flex;
  flex-direction: row;
  width: 100%;
  background-image: url("../assets/images/bg.jpg");
}

.left-blank {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 20px;
  gap: 5px;
}

:root {
  --r: 1em; /* radius for curves */
}

.custom-rectangle {
  padding-inline: 0.5em;
  border-inline: var(--r) solid #0000;
  border-radius: calc(2 * var(--r)) calc(2 * var(--r)) 0 0 / var(--r);
  mask: radial-gradient(var(--r) at var(--r) 0, #0000 98%, #000 101%)
      calc(-1 * var(--r)) 100% / 100% var(--r) repeat-x,
    conic-gradient(#000 0 0) padding-box;
  background: black;
  color: white;
  font-size: 16px;
  width: 500px;
  height: 50px;
  padding: 0.5em 1em;
  margin: 0.5em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 12px;
  font-family: georgia;
  padding: 20px;
}

@media (max-width: 780px) {
  .left-blank {
    order: 2;
  }

  .right-content {
    order: 1;
  }
}

.right-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  position: relative;
  bottom: 90px;
}

.right-content h2 {
  font-size: 24px;
  margin: 0 0 10px 0;
  font-family: georgia;
}

.right-content p {
  margin: 0 0 15px 0;
  color: white;
}

.right-content button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #8167f5, #2e45c9);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(240, 101, 149, 0.3);
  font-size: 10px;
  width: 100px;
  border: none;
}

.right-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(240, 101, 149, 0.4);
}

@media (max-width: 768px) {
  .why-choose-us {
    flex-direction: column;
    height: auto;
  }

  .left-blank,
  .right-content {
    width: 100%;
    align-items: center;
    height: auto;
  }

  .custom-rectangle {
    width: 80%;
  }

  .right-content{
    position: relative;
   top: -10px;
  }
}

.services-section {
  max-width: 1350px;
  margin: auto;
  padding: 2rem 1rem;
  text-align: center;
}

.services-title {
  font-size: 2.5rem;
  color: #03a9f4;
  font-family: georgia;
  margin-bottom: 0.5rem;
}

.services-description {
  font-size: 0.8rem;
  margin-bottom: 2rem;
  color: #444;
  font-family: georgia;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.carousel-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  padding: 1rem;
  color: #444;
}

.btn-left {
  position: absolute;
  left: 0;
  color: black;
}

.btn-right {
  position: absolute;
  right: 0;
  color: black;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 2rem;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Tear Image Shape */
.tear-image {
  width: 300px;
  aspect-ratio: 1;
  rotate: 45deg;
  overflow: hidden;
  border-radius: 0 50% 50% 50%;
}
.tear-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  rotate: -45deg; /* Reverse rotation to keep image upright */
}

/* Pointer Style */
.service-label {
  width: 200px;
  height: 40px;
  position: relative;
  background: #393186;
  margin-top: 1rem;
  color: white;
  line-height: 40px;
  font-size: 12px;
}
.service-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 20px solid white;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}
.service-label::before {
  content: "";
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 20px solid #393186;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

@media (max-width: 760px) {
  .services-description {
    text-align: justify;
  }

  .services-title {
    font-size: 2rem;
  }
}

/* Responsive Slides */
@media (min-width: 600px) {
  .carousel-slide {
    min-width: 50%;
  }
}
@media (min-width: 900px) {
  .carousel-slide {
    min-width: 33.3333%;
  }
}

.product-section {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  box-sizing: border-box;
  background: linear-gradient(
    to bottom right,
    #a2d4f5,
    #6fb1fc,
    #c2d8f1,
    #99b2dd
  );
}

.delivery-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 1350px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: whitesmoke;
}

.delivery-section h2 {
  margin: 0;
  font-size: 1.5rem;
  color: black;
  font-family: georgia;
}

.delivery-text {
  flex: 1 1 300px;
  max-width: 800px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

.delivery-image {
  flex: 0 0 300px;
  height: 400px;
}

/* Image Shape */
.stain {
  width: 300px;
  height: 300px;
  background: black;
  clip-path: polygon(
    16.6% 16.6%,
    50% 0,
    83.3% 16.6%,
    100% 50%,
    83.3% 83.3%,
    50% 100%,
    16.6% 83.3%,
    0 50%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.stain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .delivery-section {
    flex-direction: column;
    text-align: center;
  }

  .delivery-text,
  .delivery-image {
    max-width: 100%;
  }

  .delivery-text {
    order: 2;
  }

  .delivery-image {
    order: 1;
  }
}

.my-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.my-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.my-carousel-card {
  flex: 0 0 100%;
  padding: 0.5rem;
}

@media (min-width: 576px) {
  .my-carousel-card {
    flex: 0 0 50%;
  }
}

@media (min-width: 768px) {
  .my-carousel-card {
    flex: 0 0 33.33%;
  }
}

.my-carousel-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.my-carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
}

.my-carousel-btn {
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
