.features-section {
  padding: 90px 80px 100px;
  overflow: hidden;
  background: #ffffff;
  text-align: center;
  position: relative;
  z-index: 1;
}

.features-title {
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 80px;
  letter-spacing: 1px;
  color: #550216;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 60px 0px;
  justify-items: center;
}

.feature-card {
  width: 180px;
  height: 160px;
  border: 1.6px solid #f08c64;
  color: #550216;
  border-radius: 14px;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #fff;
}

.feature-card:hover {
  background-color: #69051c;
  cursor: pointer;
  color: #ffff;
  transform: translateY(-8px);
  border: 1.6px solid #a8a3a3;
  transition: all 0.3s ease-in-out;
}

.feature-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  color: #550216;
}

.feature-card:hover img {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.feature-card p {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
}

.get-touch-section {
  padding: 90px 60px 10px;
  background: #ffffff;
  text-align: center;
  position: relative;
}

.get-touch-box {
  max-width: 1000px;
  margin: 0 auto 60px;
  height: 13vh;
  border-radius: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 0 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.get-touch-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/whyus/whyus.jpeg") center / cover no-repeat;
  opacity: 0.20;
  z-index: 0;
}

.get-touch-box h2 {
  font-size: 45px;
  font-weight: 500;
  color: #550216;
}

.get-touch-box h2,
.contact-pill {
  position: relative;
  z-index: 2;
}

.contact-pill {
  background: #550216;
  color: #ffffff;
  height: 50px;
  padding: 0 25px;
  border-radius: 0 25px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-icon {
  height: 30px;
}

.phone-text {
  font-size: 25px;
  letter-spacing: 1px;
}

.motto h4 {
  font-size: 20px;
  font-weight: 700;
  color: #550216;
  margin-bottom: 12px;
}

.motto p {
  font-size: 18px;
  line-height: 1.8;
  color: #550216;
}

.comparison-section {
  padding: 70px 100px 10px 100px;
  background: #ffffff;
}

.comparison-row {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-bottom: 120px;
}

.comparison-text {
  max-width: 600px;
}

.comparison-text h2 {
  font-size: 32px;
  font-weight: 500;
  color: #550216;
  margin-bottom: 26px;
  display: flex;
  justify-content: center;
}

.problem-list,
.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.problem-list p {
  color: #550216;
  font-size: 14px;
  letter-spacing: 1.2px;
}

.problem-list li,
.solution-list li {
  font-size: 16px;
  line-height: 1.8;
  color: #550216;
  margin-bottom: 14px;
  padding-left: 26px;
  position: relative;
}

.problem-list li::before {
  content: "✖";
  position: absolute;
  left: 0;
  color: #e53935;
  font-size: 15px;
  top: 2px;
}

.solution-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #1db954;
  font-size: 15px;
  top: 2px;
}

.comparison-graphic img {
  width: 350px;
  max-width: 100%;
}

.problem-row {
  flex-direction: row;
}

.solution-row {
  flex-direction: row;
}

.solution-list p {
  color: #550216;
  font-size: 14px;
  letter-spacing: 1.2px;
}

.features-section {
  position: relative;
  overflow: visible;
}

.between-sections-flower {
  position: absolute;
  top: -140px;
  left: 10px;
  width: 150px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  animation: flowerFloatLeft 5s ease-in-out infinite;
}

@keyframes flowerFloatLeft {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-10px) rotate(1.5deg);
  }

  50% {
    transform: translateY(-18px) rotate(0deg);
  }

  75% {
    transform: translateY(-10px) rotate(-1.5deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Feature Cards Animation */
.feature-card {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease;
  /* For smooth reset */
}

.features-grid.animate .feature-card {
  animation: zoomInOut 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes zoomInOut {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  60% {
    opacity: 1;
    transform: scale(1.1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Staggered Delays */
.features-grid.animate .feature-card:nth-child(1) {
  animation-delay: 0.15s;
}

.features-grid.animate .feature-card:nth-child(2) {
  animation-delay: 0.3s;
}

.features-grid.animate .feature-card:nth-child(3) {
  animation-delay: 0.45s;
}

.features-grid.animate .feature-card:nth-child(4) {
  animation-delay: 0.6s;
}

.features-grid.animate .feature-card:nth-child(5) {
  animation-delay: 0.75s;
}

.features-grid.animate .feature-card:nth-child(6) {
  animation-delay: 0.9s;
}

.features-grid.animate .feature-card:nth-child(7) {
  animation-delay: 1.05s;
}

.features-grid.animate .feature-card:nth-child(8) {
  animation-delay: 1.2s;
}

.features-grid.animate .feature-card:nth-child(9) {
  animation-delay: 1.35s;
}

.features-grid.animate .feature-card:nth-child(10) {
  animation-delay: 1.5s;
}

.comparison-section {
  position: relative;
  overflow: visible;
}

.between-sections-flower4 {
  position: absolute;
  top: -150px;
  right: 5px;
  width: 200px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  animation: flowerFloatRight 5s ease-in-out infinite;
}

@keyframes flowerFloatRight {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-8px) rotate(1.2deg);
  }

  50% {
    transform: translateY(-14px) rotate(0deg);
  }

  75% {
    transform: translateY(-8px) rotate(-1.2deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@media (max-width: 1024px) {

  .feature-card {
    width: 150px;
    height: 150px;
  }

  .features-section {
    gap: 45px 25px;
    padding: 90px 2px 100px;
  }

  .features-grid {
    gap: 60px 30px;
  }

  .comparison-section {
    padding: 70px 70px 10px 70px;
  }

  .get-touch-box {
    height: 10vh;
  }
}

@media (max-width: 992px) {
  .features-grid {
    gap: 40px;
    overflow: hidden;
  }

  .comparison-row {
    flex-direction: column;
    text-align: center;
  }

  .comparison-text {
    max-width: 100%;
  }

  .problem-list li,
  .solution-list li {
    padding-left: 0;
  }

  .problem-list li::before,
  .solution-list li::before {
    position: static;
    margin-right: 8px;
  }
}

@media (max-width: 768px) {
  .features-section {
    padding: 70px 15px;
  }

  .features-title {
    margin-bottom: 50px;
  }

  .features-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 10px;
  }

  .feature-card {
    width: 110px;
    height: 100px;
  }

  .get-touch-box {
    flex-direction: column;
    gap: 0px;
    height: auto;
    padding: 5px;
  }

  .get-touch-section {
    padding: 5px 18px 30px;
  }

  .get-touch-box h2 {
    font-size: 30px;
  }

  .contact-pill {
    height: 31px;
    padding: 0 15px;
    gap: 0px;
  }

  .phone-text {
    font-size: 20px;
  }

  .phone-icon {
    height: 20px;
  }

  .motto p {
    font-size: 15px;
  }

  .motto h4 {
    font-size: 20px;
  }

  .comparison-section {
    padding: 40px 20px;
  }

  .comparison-row {
    display: -webkit-inline-box;
    margin-bottom: 50px;
    text-align: center;
  }

  .comparison-text {
    max-width: 70%;
  }

  .comparison-text h2 {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .problem-list p,
  .solution-list p {
    font-size: 13px;
    letter-spacing: 0.8px;
    text-align: left;
  }

  .problem-list li,
  .solution-list li {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    padding-left: 24px;
  }

  .comparison-graphic {
    margin-top: 70px;
  }

  .comparison-graphic img {
    width: 200px;
  }

  .problem-row .comparison-graphic,
  .solution-row .comparison-graphic {
    order: 2;
  }

  .problem-row .comparison-text,
  .solution-row .comparison-text {
    order: 1;
  }

  .intro-text {
    color: #550216;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }

  .between-sections-flower {
    top: 15px;
    left: -5px;
    width: 70px;
    opacity: 0.7;
  }

  .between-sections-flower4 {
    top: -153px;
    right: 1px;
    width: 75px;
    opacity: 0.7;
  }

  .feature-card img {
    width: 25px;
    height: 25px;
  }

  .feature-card p {
    font-size: 12px;
  }
}

@media (max-width: 468px) {

  .comparison-graphic img {
    width: 100px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .feature-card {
    width: 120px;
    height: 110px;
  }
}