/* General Styling */
.subheader {
  font-size: 2.7rem;
  font-weight: 400;
}

.btn-light.p-0 {
  padding: 0 !important;
  margin: 0 !important;
}

.d-flex.gap-3 {
  gap: 0.5rem !important;
}

.bg-warning {
  position: relative;
  z-index: 1;
  background-color: #f5aeaf !important;
}

/* Update Platform Section */
.app-store-button,
.play-store-button {
  border: none;
  outline: none;
  border-radius: 4px;
  overflow: hidden;
}
.app-store-badge,
.play-store-badge {
  width: 120px;
  height: auto;
}
.coming-soon-modal .modal-dialog {
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.coming-soon-modal .modal-title {
  font-size: 20px;
  font-weight: 700;
}
.coming-soon-image {
  width: 100%;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}
.modal-exit-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 100%;
}
/* Pet Care Made Easy Section */
.steps-image img {
  max-width: 120px;
}

.services-card .remove-padding {
  padding: 0;
}

/* Blog Section */
.blog-wrapper {
  margin-top: -0.5rem;
}

.blog-card {
  position: relative;
  padding-bottom: 0.5rem;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.blog-card .btn-danger {
  margin-bottom: 0.3rem !important;
}

.blog-card .card-image img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
  filter: blur(0px) brightness(90%);
  transition: filter 0.3s ease-in-out;
}

.blog-card:hover .card-image img {
  transform: scale(1.05);
  filter: blur(0) brightness(100%);
}
.blog-read-more {
  max-width: 12rem !important;
  white-space: nowrap;
  padding: 8px 16px !important;
}

/* Newsletter Form */
.newsletter-form-image {
  max-width: 150px;
}
.newsletter-form .form-control::placeholder {
  color: #999999d5;
  opacity: 1;
}
.newsletter-form button {
  height: 50px;
}

.newsletter-form input {
  border-radius: 0.8rem;
  height: 50px;
  font-weight: 600;
  margin-bottom: 1.6rem;
  color: #666;
}
.newsletter-form input[type="text"] {
  border-right: 1px solid #ccc !important;
}

.error-message,
#successMessage {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  border-radius: 4px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.close-btn {
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  margin-left: 5px;
  color: #000;
}
.close-btn:hover {
  color: red;
}

.fade-message {
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translate(-50%, 10px);
  visibility: hidden;
}
.show-message {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

/* Testimonials Section */
.testimonials-items {
  min-height: 200px;
}
.testimonials-carousel .comment p {
  font-size: 2.5rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: center;
}

.testimonials-carousel .author {
  margin-top: 1.8rem;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.testimonial-name {
  font-size: 1.95rem;
  font-weight: 600;
  color: #333;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.carousel-control-prev {
  left: -30px;
}

.carousel-control-next {
  right: -30px;
}

.carousel-control-prev svg,
.carousel-control-next svg {
  width: 100%;
  height: 100%;
}

/* WhatsApp button hover effect */
.btn-danger {
  transition: all 0.3s ease;
  padding: 10px 20px;
}

.btn-danger:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer Section */
.social-logo {
  width: auto;
  height: auto;
  max-width: 24px;
  max-height: 24px;
}
.top-hero-img {
  height: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}
.view-all-post-btn {
  transition: all 0.3s ease-in-out;
}
.view-all-post-btn:hover {
  background-color: #dc3545 !important;
  color: #fff !important;
  scale: 1.05;
}
/* Responsive Adjustments */
@media (max-width: 576px) {
  .newsletter-form button {
    width: 100%;
  }
  .newsletter-form input[type="text"] {
    border-right: 0px !important;
    border-bottom: 1px solid #ccc !important;
  }
  .section-header {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .bg-warning {
    margin-top: 2rem;
  }

  .top-header-navigation {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .section-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .section-header.bg-light {
    margin-top: -1px;
  }

  .section-testimonials .section-title {
    /* margin-bottom: 0.5rem !important; */
  }

  .testimonials-carousel .carousel-item .comment p {
    font-size: 1.6rem;
    line-height: 1.4;
    margin: 0 15px;
  }

  .testimonials-items {
    min-height: 140px;
  }

  .testimonial-name {
    font-size: 1.6rem;
  }

  .testimonial-img {
    width: 50px;
    height: 50px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 35px;
    height: 35px;
    top: 50%;
    transform: translateY(-50%);
  }

  .carousel-control-prev {
    left: -20px;
  }

  .carousel-control-next {
    right: -20px;
  }
}

@media (max-width: 767px) {
  .social-logo {
    max-width: 20px;
    max-height: 20px;
  }
  .top-hero-img {
    max-width: 80%;
    padding-top: 20px;
  }
}
@media (min-width: 768px) {
  .steps-image img {
    max-width: 138px;
  }

  .testimonial-img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 991px) {
  .section {
    margin: 0;
    padding: 0.5rem 0 !important;
  }

  .section + .section {
    margin-top: 1rem !important;
  }
}

@media (min-width: 992px) {
  .section {
    margin: 0;
    padding: 1rem 0 !important;
  }

  .section + .section {
    margin-top: 2rem !important;
  }

  .section-blog {
    padding-bottom: 3rem !important;
  }
}
