/* Hero Section Styles */

.hero-section {
  position: relative;
  text-align: center;
  padding-top: clamp(60px, 5vw, 120px);
  /* min-height: 100vh; */
  background: linear-gradient(
    81deg,
    var(--Colors-Primary-100, #d1b5b7) -21.99%,
    var(--Colors-Secondary-50, #fbf6ee) 47.85%,
    var(--Colors-Secondary-100, #f3e2cc) 111.29%
  );
}

/* when navbar is fixed and transparent, add top padding so hero content isn't hidden */
.fixed-top + .hero-section {
  padding-top: clamp(90px, 9vw, 150px);
}

.logo-title {
  font-size: var(--font-size-2xl);
  font-family: "Gratefull" !important;
  color: var(--primary-500);
}

.hero-title {
  font-size: var(--font-size-4xl);
  color: var(--natural-Txt);
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.hero-subtitle {
  font-size: var(--font-size-md);
  color: var(--natural-300);
  margin-bottom: 2.5rem;
}

.app-title {
  font-size: var(--font-size-lg);
  color: var(--natural-Txt);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-image {
  position: relative;
}

/* Features Section Styles */
.features-section {
  background-color: var(--bg-white);
}

.feature-card {
  text-align: center;
  gap: 2rem;
  transition: transform var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-container {
  max-width: 250px;
}

.feature-title {
  font-size: var(--font-size-xl);
  color: var(--natural-Txt);
  margin-bottom: 1rem;
  font-weight: 500;
}

.feature-desc {
  color: var(--natural-400);
  font-size: var(--font-size-md);
}

.gap-features {
  gap: 3.5rem;
}

/* App Preview Section Styles */
.app-preview-section {
  padding: var(--section-padding) 0;
  background-color: var(--bg-light);
}

.phone-mockup {
  max-width: 300px;
  margin: 0 auto;
}

.phone-mockup img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.preview-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.preview-item .icon-container {
  border-radius: 13.333px;
  background: #fbf3ee;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 2.5;
}

.preview-item h4 {
  margin-bottom: 0.25rem;
  font-size: var(--font-size-xl);
  font-weight: 400;
}

#stepList {
  list-style: none;
}

.step-item {
  cursor: pointer;
}

/* active title color */
.step-item.active-step .step-title {
  color: var(--primary-500);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.step-item.active-step .preview-item {
  align-items: flex-start;
}

.step-item.active-step .step-desc {
  display: block;
}

/* hide descriptions initially */
.step-desc {
  display: none;
  color: var(--natural-400);
  font-size: var(--font-size-md);
}

/* Apply SVG color filter */
.step-item.active-step svg path {
  stroke: var(--primary-500);
}

.carousel-layer-wrapper {
  position: relative;
  width: 100%;
}

.carousel-item {
  display: none;
  transition: none;
  min-height: inherit;
}

.carousel-item.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item.active img {
  transform: scale(1);
  z-index: 3;
  position: relative;
}

.carousel-indicators {
  position: absolute !important;
  inset-inline: 0;
  bottom: -20px !important;
  margin: 0 !important;
  gap: 6px;
}

.carousel-indicators .preview-indicator {
  width: 45px !important;
  height: 4px;
  border-radius: 4px !important;
  border: 0;
  opacity: 0.2 !important;
  background-color: var(--primary-500) !important;
  padding: 0;
}

.carousel-indicators .preview-indicator.active {
  opacity: 1 !important;
}

.carousel-container {
  position: relative;
  margin: auto;
  min-height: 430px;
  padding-bottom: 2.5rem;
}

#customCarousel,
.carousel-inner {
  position: relative;
  min-height: inherit;
}

.side-img {
  position: absolute;
  top: 55%;
  width: 150px;
  object-fit: cover;
  filter: blur(1px);
  opacity: 0.9;
  transform: translateY(-50%);
  transition: opacity 0.35s ease;
}

html[dir="ltr"] .side-img {
  transform: translateY(-50%) scaleX(-1);
}

html[dir="rtl"] .side-img {
  transform: translateY(-50%) scaleX(1);
}

.side-img.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.main-img {
  position: relative;
  z-index: 3;
  width: 200px;
  height: auto;
  transition: opacity 0.35s ease;
}

.main-img:not(.is-visible) {
  opacity: 0;
}

/* service Section Styles */
.service-section {
  padding: var(--section-padding) 0;
  background-color: var(--bg-white);
}

.service-item {
  position: relative;
  border-radius: var(--radius-md);
  max-height: 300px;
  cursor: pointer;
  border-radius: 16px;
  transition: 0.3s ease;
  overflow: hidden;
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  max-height: 180px;
}

.service-item:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.18);
}

.service-overlay {
  bottom: 0;
  left: 0;
  right: 0;
  background: #fdf7f4;
  padding: 1rem;
  color: var(--text-white);
}

.service-overlay h5 {
  margin-bottom: 1rem;
  font-size: var(--font-size-xl);
  color: var(--natural-700);
  font-weight: 500;
}

.service-overlay p {
  font-size: var(--font-size-lg);
  color: var(--natural-700);
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  align-self: stretch;
}

/* .carousel */

.swiper {
  padding: 0 30px!important;
}

.servicesSwiper {
  position: relative;
}

.swiper-button-next,
.swiper-button-prev {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #8b6a2b;
  color: #fff;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
}
