/* Hero Section */
.hero {
  padding: 250px 0 130px;
  overflow: hidden;
  padding-bottom: 0px;
}

.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 2;
}

.hero-title {
  margin-bottom: 25px;
  line-height: 1.1;
  color: var(--secondary-color);
  position: relative;
  font-family: "Luciole-Bold";
  max-width: 690px;
  flex: 1;
  position: relative;
  text-align: center;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--Charcoal);
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  position: relative;
  max-width: 500px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-apps {
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
}

.hero-apps::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.2;
}

.app-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.app-button {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 12px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-button:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.app-icon {
  height: 28px;
  width: auto;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1);
}

.app-icon.gray {
  opacity: 1;
}

.app-icon.primary {
  opacity: 0;
  position: absolute;
  top: 12px;
  left: 12px;
  filter: brightness(0) invert(1);
}

.app-button:hover .app-icon.gray {
  opacity: 0;
}

.app-button:hover .app-icon.primary {
  opacity: 1;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #f27721, #ffca2b);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.hero-img {
  max-width: 500px;
  height: auto;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
  transition: all 0.5s ease;
  position: relative;
  z-index: 2;
}

.hero-image:hover .hero-img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-bg-wrapper {
  text-align: center;
  max-width: 100%;
  position: relative;
  padding-top: 50px;
}
.hero-bg-wrapper:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset -50px -95px 60px 10px var(--white);
}
.hero-bg-wrapper img {
  padding: 0px 12px;
  width: 100%;
}

/* Features Section */
.features-section {
  background: var(--gray);
}
html.dark-mode .features-section {
  background: var(--secondary-color);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
html.dark-mode .feature-card {
  background: var(--secondary-color);
  border: var(--border);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-weight: 600;
  color: var(--white);
  font-size: 20px;
}

.feature-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--light-text);
}

/* responsive-start */
@media (max-width: 1199px) {
  .hero-bg-wrapper img {
    width: 100%;
    padding: 0px 12px;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 150px 0 60px;
  }
  .feature-card:hover {
    transform: unset;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.feature-card{
    padding: 20px;
}
}

/* why-us-section-start */
.why-us-section {
  position: relative;
  overflow: visible;
}

.why-us-card.featured-card a {
  margin-top: 20px;
}

.why-us-section-container {
  display: flex;
  gap: 50px;
}

.why-us-section-container .why-us-title {
  position: sticky;
  top: 40%;
  max-height: fit-content;
  z-index: 10;
}

/* Grid */
.why-us-section .why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .why-us-section .why-us-grid {
    margin-top: 0px;
  }
}

/* Grid */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .why-us-section .why-us-grid {
    margin-top: 0px;
  }
}

@media (max-width: 767px) {
  .why-us-section-container {
    flex-direction: column;
  }

  .why-us-section-container .why-us-title {
    position: relative;
  }

  .why-us-section {
    padding-top: 0px !important;
  }

  .why-us-grid {
    margin-top: 0px;
  }
  .action-wrapper .hero-buttons {
    margin-top: 40px;
  }
}

/* Card */
.why-us-card {
  background: var(--gray);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 64px;
  gap: 50px;
  justify-content: space-between;
  padding-left: 24px;
  padding-right: 24px;
}
html.dark-mode .why-us-card {
  background: var(--secondary-color);
  border: var(--border);
}
.why-us-card:nth-child(1) {
  grid-column: span 2;
}

.why-us-card:nth-child(4) {
  grid-column: span 2;
}
.why-us-card .title-box {
  margin: 0;
}
.card-content {
  max-width: 350px;
  margin-bottom: 1rem;
}

.card-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.card-text {
  font-size: 1rem;
  color: var(--light-text);
}

/* Card image */
.card-image {
  max-width: 100%;
  height: auto;
  max-height: 350px;
}

.card-floating-img {
  position: absolute;
  top: 0;
  left: 20px;
  transform: translateY(-100%);
  height: 48px;
  width: auto;
}

/* responsive-start */
@media (max-width: 1199px) {
  .why-us-card:nth-child(1) {
    grid-column: unset !important;
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 991px) {
  .why-us-section .why-us-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 575px) {
  .features-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
