.section-space {
  padding: 110px 0;
}

.about-section {
  position: relative;
  background:
    radial-gradient(circle at left top, rgba(34, 197, 94, 0.08), transparent 22%),
    radial-gradient(circle at right bottom, rgba(59, 130, 246, 0.08), transparent 20%),
    #f8fafc;
  overflow: hidden;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}

.section-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.section-title {
  font-size: clamp(1.5rem, 5vw, 3.5rem);
  line-height: 1.05;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.section-title span {
  color: var(--primary-color);
}

.section-text {
  font-size: 1.04rem;
  line-height: 1.95;
  color: #334155;
  margin-bottom: 22px;
  max-width: 680px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 34px 0 34px;
}

.about-feature {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: var(--transition);
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.feature-number {
  min-width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), #4ade80);
  color: #052e16;
  font-size: 14px;
  font-weight: 800;
}

.about-feature h4 {
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.about-feature p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: #475569;
}

.about-actions {
  margin-top: 8px;
}

.about-visual {
  position: relative;
  min-height: 620px;
}

.about-image-card {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
}

.about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px !important;
}

/* Main image */
.about-image-main {
  top: 0;
  right: 0;
  width: 100%;
  max-width: 560px;
  height: 380px;
  padding: 10px;
}

/* Small image */
.about-image-small {
  bottom: 28px;
  left: 40px;
  width: 100%;
  max-width: 340px;
  height: 240px;
  padding: 10px;
  z-index: 2;
}

.about-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.2);
  z-index: 3;
}

.about-badge strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: #4ade80;
}

.about-badge span {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.about-badge-top {
  top: 26px;
  left: -22px;
}

.about-badge-bottom {
  bottom: 0;
  right: 18px;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0); 
}

/* Floating image motion */
.about-image-main {
  animation: floatMain 5s ease-in-out infinite;
}

.about-image-small {
  animation: floatSmall 6s ease-in-out infinite;
}
.nav-link.active {
  color: var(--primary-color);
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

@keyframes floatMain {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatSmall {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Large screen */
@media (max-width: 1200px) {
  .about-wrapper {
    gap: 50px;
  }

  .about-visual {
    min-height: 560px;
  }

  .about-image-main {
    max-width: 500px;
    height: 350px;
  }

  .about-image-small {
    max-width: 300px;
    height: 220px;
    left: 20px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .section-space {
    padding: 90px 0;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-content {
    order: 2;
  }

  .about-visual {
    order: 1;
    min-height: 560px;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
  }

  .section-text {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section-space {
    padding: 75px 0;
  }

  .section-title {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: 18px;
  }

  .section-text {
    font-size: 0.97rem;
    line-height: 1.85;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .about-image-card,
  .about-image-main,
  .about-image-small {
    position: relative;
    top: unset;
    right: unset;
    left: unset;
    bottom: unset;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .about-image-main {
    height: 300px;
  }

  .about-image-small {
    height: 240px;
  }

  .about-badge {
    position: relative;
    left: unset;
    right: unset;
    top: unset;
    bottom: unset;
    width: fit-content;
  }

  .about-badge-top,
  .about-badge-bottom {
    margin-top: 4px;
  }
}

/* Small mobile */
@media (max-width: 576px) {
  .about-feature {
    padding: 18px;
    border-radius: 18px;
  }

  .about-image-main {
    height: 240px;
  }

  .about-image-small {
    height: 200px;
  }

  .about-badge {
    padding: 16px 18px;
  }

  .about-badge strong {
    font-size: 1.25rem;
  }
}

/* Extra small */
@media (max-width: 400px) {
  .section-tag {
    font-size: 12px;
  }

  .section-text {
    font-size: 0.92rem;
  }

  .feature-number {
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}