/*==============================================================================
    ABOUT HERO
    File: public/assets/css/frontend/about/hero.css
    Section: About Hero
==============================================================================*/

.fe-about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.08),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(249, 115, 22, 0.08),
      transparent 35%
    ),
    var(--fe-bg, #f8fafc);
}

.fe-about-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.fe-about-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: radial-gradient(circle at center, #000, transparent 80%);
}

.fe-about-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: feBlobFloat 10s ease-in-out infinite;
}

.fe-about-blob--one {
  width: 320px;
  height: 320px;
  background: rgba(37, 99, 235, 0.18);
  top: -120px;
  right: -100px;
}

.fe-about-blob--two {
  width: 260px;
  height: 260px;
  background: rgba(249, 115, 22, 0.18);
  left: -90px;
  bottom: -90px;
  animation-delay: 2s;
}

.fe-about-hero__wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(50px, 7vw, 90px);
}

/*==============================================================================
    CONTENT
==============================================================================*/

.fe-about-hero__top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.fe-about-hero__title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.08;
  font-weight: 800;
  color: var(--fe-dark, #0f172a);
  margin-bottom: 24px;
  max-width: 720px;
}

.fe-about-hero__title span {
  color: var(--fe-primary, #2563eb);
}

.fe-about-hero__description {
  max-width: 650px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #475569;
  margin-bottom: 42px;
}

/*==============================================================================
    FEATURES
==============================================================================*/

.fe-about-hero__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.fe-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: 0.35s;
}

.fe-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.fe-feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.fe-feature h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #0f172a;
}

.fe-feature p {
  color: #64748b;
  font-size: 0.92rem;
}

/*==============================================================================
    BUTTONS
==============================================================================*/

.fe-about-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.fe-btn-block {
  width: 100%;
  justify-content: center;
}

/*==============================================================================
    RIGHT CARD
==============================================================================*/

.fe-about-hero__visual {
  position: relative;
}

.fe-about-card {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
  z-index: 2;
}

.fe-about-card__header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.fe-about-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  font-size: 28px;
}

.fe-about-card__header h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: #0f172a;
}

.fe-about-card__header p {
  color: #64748b;
}

.fe-about-card__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.fe-about-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #334155;
  font-weight: 500;
}

.fe-about-item i {
  color: #22c55e;
  font-size: 18px;
}

/*==============================================================================
    FLOATING CARDS
==============================================================================*/

.fe-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(18px);
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  animation: feFloating 5s ease-in-out infinite;
  z-index: 5;
}

.fe-floating-card i {
  color: var(--fe-primary, #2563eb);
}

.fe-floating-card strong {
  font-size: 0.92rem;
  color: #0f172a;
}

.fe-floating-card--one {
  top: 10%;
  left: -45px;
}

.fe-floating-card--two {
  bottom: 24%;
  right: -35px;
  animation-delay: 1.5s;
}

.fe-floating-card--three {
  bottom: -20px;
  left: 15%;
  animation-delay: 3s;
}

/*==============================================================================
    BADGES
==============================================================================*/

.fe-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.fe-badge--primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.fe-badge--light {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
}

/*==============================================================================
    ANIMATION
==============================================================================*/

@keyframes feFloating {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes feBlobFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(25px, -20px) scale(1.08);
  }
}

/*==============================================================================
    RESPONSIVE
==============================================================================*/

@media (max-width: 1200px) {
  .fe-about-hero__wrapper {
    gap: 60px;
  }

  .fe-about-hero__features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .fe-about-hero__wrapper {
    grid-template-columns: 1fr;
  }

  .fe-about-hero__content {
    text-align: center;
  }

  .fe-about-hero__description {
    margin-inline: auto;
  }

  .fe-about-hero__top,
  .fe-about-hero__buttons {
    justify-content: center;
  }

  .fe-about-hero__features {
    grid-template-columns: 1fr;
  }

  .fe-floating-card {
    display: none;
  }
}

@media (max-width: 768px) {
  .fe-about-card {
    padding: 24px;
  }

  .fe-about-hero {
    padding: 70px 0;
  }
}

@media (max-width: 576px) {
  .fe-about-hero__title {
    font-size: 2.2rem;
  }

  .fe-about-hero__buttons {
    flex-direction: column;
  }

  .fe-about-hero__buttons .fe-btn {
    width: 100%;
    justify-content: center;
  }

  .fe-feature {
    padding: 16px;
  }
}
