.section-py {
  padding: 6.25rem 0;
}
@media (max-width: 1199.98px) {
  .section-py {
    padding: 5rem 0;
  }
}
@media (max-width: 767.98px) {
  .section-py {
    padding: 3rem 0;
  }
}

/* everBetter Hero Section Styles */
.landing-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  margin-top: 0 !important;
  border-bottom-left-radius: 4rem;
  border-bottom-right-radius: 4rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Add green overlay to hero background */
.landing-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 131, 116, 0.6);
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  display: none;
}

.hero-text-box {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.text-content {
  margin-bottom: 2rem;
}

/* Hero title styling to match HTML structure */
.landing-hero .hero-text-box h1 {
  color: #ffffff;
  font-weight: bold;
  line-height: 1.2;
}

.landing-hero .hero-text-box h2 {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  line-height: 1.4;
}

/* About Section Styles */
.landing-about {
  background-color: #f8f9fa;
}

.about-image-container {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.mission-heading {
  font-weight: 600;
  line-height: 1.4;
}

.about-text {
  line-height: 1.8;
  color: #6c757d;
}

/* Clients Section Styles */
.clients-swiper {
  max-width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.client-logo {
  max-height: 120px;
  max-width: 250px;
  object-fit: contain;
  padding: 1rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
}

.client-logo--maed {
  border-radius: 100px;
}

/* Clients section container improvements */
#landingClients {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

#landingClients h3 {
  font-weight: 600;
  color: #32475c;
  margin-bottom: 3rem;
  position: relative;
}

#landingClients h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #028374, #5a4aff);
  border-radius: 2px;
}

/* CTA Section Styles */
#landingCTA {
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: blur(8px);
}

/* Add gradient overlay to CTA background */
#landingCTA::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 131, 116, 0.6);
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem;
}

.cta-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-weight: bold;
  line-height: 1.2;
}

/* Services Section Styles */
.services-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

/* Product Section Styles */
.landing-product {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Explore More Section Styles */
.explore-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.explore-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

/* Blog Section Styles */
.latest-post-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-text-box h1 {
    font-size: 2rem;
  }

  .hero-text-box h2 {
    font-size: 1.1rem;
  }

  .cta-title {
    font-size: 2.5rem;
  }

  .cta-container {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-text-box h1 {
    font-size: 1.75rem;
  }

  .hero-text-box h2 {
    font-size: 1rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-container {
    padding: 1.5rem 1rem;
  }
}

@keyframes shine {
  0% {
    background-position: 0% 50%;
  }
  80% {
    background-position: 50% 90%;
  }
  100% {
    background-position: 91% 100%;
  }
}

/* Legacy styles - keeping for compatibility but not actively used */
.landing-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

@media (min-width: 992px) {
  .landing-hero .hero-text-box {
    max-width: 34.375rem;
    margin: 0 auto;
  }
}

/* Legacy hero title styles - keeping for compatibility */
.landing-hero .hero-title {
  background: linear-gradient(to right, #28c76f 0%, #5a4aff 47.92%, #ff3739 100%);
  background-size: 200% auto;
  color: #384551;
  font-size: calc(1.3875rem + 1.65vw);
  background-clip: text;
  line-height: 1.2;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 2s ease-in-out infinite alternate;
}

@media (min-width: 1200px) {
  .landing-hero .hero-title {
    font-size: 2.625rem;
  }
}

.landing-hero .landing-hero-btn .hero-btn-item {
  inset-inline-start: -94%;
  top: 65%;
}

.landing-hero .hero-animation-img {
  margin-bottom: -32rem;
}

@media (max-width: 1199.98px) {
  .landing-hero .hero-animation-img {
    margin-bottom: -20rem;
  }
}

@media (max-width: 575.98px) {
  .landing-hero .hero-animation-img {
    margin-bottom: -10rem;
  }
}

.landing-hero .hero-animation-img .hero-dashboard-img {
  width: 80%;
  margin: 0 auto;
  will-change: transform;
  transform-style: preserve-3d;
  transition: all 0.1s;
}

.landing-hero .hero-animation-img .hero-dashboard-img img {
  width: 100%;
}

.landing-hero-blank {
  padding-top: 26rem;
}

@media (max-width: 1199.98px) {
  .landing-hero-blank {
    padding-top: 15rem;
  }
}

@media (max-width: 575.98px) {
  .landing-hero-blank {
    padding-top: 7rem;
  }
}

.landing-features .features-icon-wrapper .features-icon-box .features-icon-description {
  max-width: 19.25rem;
  margin: 0 auto;
}

.landing-reviews {
  border-top-left-radius: 3.75rem;
  border-top-right-radius: 3.75rem;
}

.landing-reviews .swiper-reviews-carousel .swiper-button-prev,
.landing-reviews .swiper-reviews-carousel .swiper-button-next {
  display: none;
}

.landing-reviews .swiper-reviews-carousel .swiper-slide {
  height: auto;
  padding: 0.8125rem;
}

.landing-reviews .swiper-reviews-carousel .client-logo {
  height: 1.375rem;
  object-fit: contain;
}

.landing-reviews .swiper-logo-carousel {
  padding-bottom: 6.25rem;
}

.landing-reviews .swiper-logo-carousel .swiper {
  max-width: 45rem;
}

.landing-reviews .swiper-logo-carousel .swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.landing-reviews .swiper-logo-carousel .swiper .client-logo {
  max-height: 2.5rem;
  max-width: 95%;
  object-fit: contain;
}

.landing-team .card,
.landing-team .card .team-image-box {
  border-top-left-radius: 5.625rem;
  border-top-right-radius: 1.25rem;
}

.landing-team .card .card-body {
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

.landing-team .team-image-box {
  height: 11.5625rem;
}

.landing-team .team-image-box .card-img-position {
  height: 15rem;
  transform: translateX(-50%);
  max-width: 100%;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .landing-team .team-image-box .card-img-position {
    height: 13rem;
  }
}

@media (max-width: 575.98px) {
  .landing-team .team-image-box {
    height: 11rem;
  }
}

.landing-team .card .team-media-icons i {
  transition: all 0.2s ease-in-out;
}

.landing-pricing {
  border-radius: 3.75rem;
}

.landing-pricing .pricing-plans-item {
  inset-inline-end: -56%;
  bottom: -0.5rem;
}

@media (max-width: 767.98px) {
  .landing-pricing .pricing-plans-item {
    inset-inline-end: 0;
    bottom: 1rem;
  }
}

.landing-pricing .pricing-list .badge.badge-center {
  width: 1rem;
  height: 1rem;
}

.landing-pricing .pricing-list .badge.badge-center i {
  margin-top: -5px;
}

.landing-pricing .price-yearly-toggle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.landing-pricing .card .card-header,
.landing-pricing .card .card-body {
  padding: 2rem;
  padding-top: 3rem;
}

.landing-faq {
  border-top-left-radius: 3.75rem;
  border-top-right-radius: 3.75rem;
}

.landing-faq .faq-image {
  max-width: 20rem;
  width: 80%;
}

.landing-contact .text-heading {
  overflow-wrap: anywhere;
}

.landing-contact .contact-img-box,
.landing-contact .contact-img-box .contact-img {
  border-radius: 3.75rem 0.375rem 0.375rem 0.375rem;
}

.landing-contact .contact-img-box .contact-border-img {
  inset-block-start: -2.5rem;
  inset-inline-start: -2.8125rem;
}

.light-style .landing-hero {
  background: linear-gradient(138.18deg, #eae8fd 0%, #fce5e6 94.44%);
}

.light-style .landing-hero::after {
  background-color: #fff;
}

.dark-style .landing-hero {
  background: #1e2130;
}

.dark-style .landing-hero::after {
  background-color: #2b2c40;
}

[dir=rtl] .landing-reviews-btns {
  display: flex;
  justify-content: flex-end;
  flex-direction: row-reverse;
  gap: 1rem;
}

[dir=rtl] .landing-team .team-image-box .card-img-position {
  transform: translateX(50%) !important;
}

[dir=rtl] .landing-pricing .switch .switch-label {
  padding-right: 0;
}

[dir=rtl] .landing-pricing .switch .switch-label:first-child {
  padding-left: 0.5rem;
}

[dir=rtl] .landing-pricing .switch .switch-input ~ .switch-label {
  padding-right: 3rem;
}

[dir=rtl] .landing-contact .contact-img-box {
  border-radius: 0.375rem 3.75rem 0.375rem 0.375rem;
}

[dir=rtl] .landing-contact .contact-img-box::before {
  inset-block-start: -1.875rem;
  inset-inline-start: -3.125rem;
  transform: rotate(90deg);
}
