/* about.css - High Fidelity Styles for the About Us Page */

.about-hero-wrapper {
  padding: 80px var(--desktop-padding);
  width: 100%;

}

.about-hero-section {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 24px;
}

.about-hero-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.about-hero-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 642px;
}

.about-title {
  font-family: "Inter_18pt-Bold", sans-serif;
  font-size: 64px;
  color: #252525;
  margin: 0;
  line-height: 1.1;
}

.about-subtitle {
  font-family: "Inter_28pt-Regular", sans-serif;
  font-size: 20px;
  color: #737373;
  line-height: 1.6;
  margin: 0;
}

.about-hero-animation {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-animation lottie-player {
  width: 200px;
  height: 200px;
}

/* The light blue description card from the design */
.about-description-card {
  background: linear-gradient(0deg, rgba(20, 82, 202, 0.05) 2.44%, rgba(20, 82, 202, 0.12) 100%);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.about-description-card p {
  font-family: "Inter_28pt-Regular", sans-serif;
  font-size: 20px;
  color: #252525;
  line-height: 1.6;
  margin: 0;
}


/* Our Mission Section Styles */
.about-mission-wrapper {
  padding: 80px var(--desktop-padding);
  width: 100%;
  background: #ffffff;
}

.about-mission-section {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mission-title {
  font-family: "Inter_18pt-Bold", sans-serif;
  font-size: 28px;
  color: #252525;
  margin: 0;
}

.mission-content p {
  font-family: "Inter_28pt-Regular", sans-serif;
  font-size: 20px;
  color: #737373;
  line-height: 1.6;
  margin: 0;
}

/* Built for Production Section Styles */
.about-built-wrapper {
  padding: 80px var(--desktop-padding);
  width: 100%;
  background: #ffffff;
}

.about-built-section {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 16px;
}

.built-title {
  font-family: "Inter_18pt-Bold", sans-serif;
  font-size: 32px;
  color: #252525;
  margin: 0;
  line-height: 1.2;
}

.built-desc {
  font-family: "Inter_28pt-Regular", sans-serif;
  font-size: 16px;
  color: #737373;
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 831px;
}

.built-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: 100%;
}

.built-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;

}

.built-card-icon-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 253px;
  background: #F7F9FC;
  border: 3px solid #FFFFFF;
  border-radius: 8px;
  box-shadow: 4px 4px 12px 0px #25252514;

}

.built-card-icon-wrapper>img {
  width: 160px;
  height: 160px;
}

.built-card-number {
  position: absolute;
  bottom: -28px;
  left: -4px;
  width: 72px;
  height: 72px;
  background: #F2F2F2;
  color: #1452CA;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Inter_18pt-Bold", sans-serif;
  font-size: 32px;
  z-index: 2;
}

.built-card-title {
  font-family: "Inter_18pt-Bold", sans-serif;
  font-size: 20px;
  color: #252525;
  margin: 32px 0 8px 0;
  letter-spacing: 0.02em;
}

.built-card-text {
  font-family: "Inter_28pt-Regular", sans-serif;
  font-size: 16px;
  color: #737373;
  line-height: 1.5;
  margin: 0;
}

/* What We Believe In Section Styles */
.about-beliefs-wrapper {
  padding: 100px var(--desktop-padding);
  width: 100%;
  background: #F7F7F7;
}

.about-beliefs-section {
  max-width: var(--max-width);
  margin: 0 auto;
}

.beliefs-title {
  font-family: "Inter_18pt-Bold", sans-serif;
  font-size: 32px;
  color: #1E1715;
  text-align: center;
  margin: 0 0 50px 0;
  line-height: 1.2;
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  width: 100%;
}

.belief-card {
  background: #ffffff;
  padding: 20px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.belief-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
}

.belief-card-content {
  flex: 1;
}

.belief-card-title {
  font-family: "Inter_18pt-Bold", sans-serif;
  font-size: 20px;
  color: #252525;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.belief-card-text {
  font-family: "Inter_28pt-Regular", sans-serif;
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  margin: 0;
}

.belief-icon-container {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.belief-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Icon Container Backgrounds */
.bg-green {
  background: #EBFFEB
}

.bg-red {
  background: #FFEBEB;
}

.bg-purple {
  background: #FFEBFF;
}

.bg-blue {
  background: #EBEBFF;
}

.bg-orange {
  background: #FFF4E0;
}

/* What We Focus On Section Styles */
.about-focus-wrapper {
  padding: 100px var(--desktop-padding);
  width: 100%;
  background: linear-gradient(0deg, rgba(20, 82, 202, 0.05) 2.44%, rgba(20, 82, 202, 0.12) 100%);
  color: #ffffff;
}

.about-focus-section {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.focus-title {
  font-family: "Inter_18pt-Bold", sans-serif;
  font-size: 32px;
  color: #252525;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.focus-desc {
  font-family: "Inter_28pt-Regular", sans-serif;
  font-size: 16px;
  color: #737373;
  max-width: 632px;
  margin: 0 auto 64px auto;
  line-height: 1.6;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  width: 100%;
}

.focus-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.focus-icon-wrapper {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.focus-icon {
  width: 100%;
  height: 100%;
}

.focus-item-label {
  font-family: "Inter_18pt-Bold", sans-serif;
  font-size: 20px;
  color: #252525;
  line-height: 1.4;
  text-align: left;
  margin: 0;
}

/* Responsive Overrides */
@media only screen and (max-width: 1024px) {

  .about-hero-container {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: start;
    gap: 0px;
    /* Tighter gap matching the design */
  }

  .about-hero-animation {
    order: -1;
    /* Place animation on top in mobile */
    justify-content: flex-start;
    margin-bottom: 24px;
  }

  .about-hero-animation lottie-player {
    width: 120px;
    height: 120px;
  }

  .built-card-icon-wrapper>img {
    width: 100px;
    height: 100px;
  }

  .about-title {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .about-subtitle {
    font-size: 16px;
    color: #676767;
    /* Industrial standard faded gray */
  }

  .mission-title {
    font-size: 22px;
  }

  .mission-content p {
    font-size: 16px;
  }


  .built-title {
    font-size: 28px;
  }

  .built-desc {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .built-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* What We Believe In Responsive (Tablet) */
  .about-beliefs-wrapper {
    padding: 60px var(--mobile-padding);
  }

  .beliefs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }


  /* What We Focus On Responsive (Tablet) */
  .about-focus-wrapper {
    padding: 80px var(--mobile-padding);
  }


  .focus-desc {
    font-size: 16px;
    margin-bottom: 48px;
  }

  .focus-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media only screen and (max-width: 740px) {

  .about-hero-wrapper,
  .about-built-wrapper,
  .about-mission-wrapper {
    padding: 40px var(--mobile-padding);
  }

  .about-hero-section {
    gap: 12px;
  }

  .about-description-card {
    padding: 12px;
  }

  .about-description-card p {
    font-size: 14px;
  }

  .about-mission-wrapper {
    padding: 40px var(--mobile-padding);
  }

  .mission-title {
    font-size: 20px;
  }

  /* Built for Production Responsive (Small Mobile) */
  .about-built-wrapper {
    padding: 40px var(--mobile-padding);
  }

  .built-title {
    font-size: 24px;
  }


  .built-card-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: -19px;
  }

  .built-card-title {
    font-size: 16px;
    margin-top: 23px;
  }

  .built-card-text {
    font-size: 14px;
  }

  .built-card-icon-wrapper {
    width: 120px;
    height: 120px;

  }

  .built-card-icon-wrapper>img {
    width: 64px;
    height: 64px;
  }


  .built-grid {
    gap: 32px 12px;
  }

  /* What We Believe In Responsive (Mobile) */
  .about-beliefs-wrapper {
    padding: 40px var(--mobile-padding);
  }

  .beliefs-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .beliefs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .belief-card-title {
    font-size: 16px;
    margin: 0 0 4px 0;
  }

  .belief-card {
    padding: 16px 14px;
    gap: 4px;
  }

  .belief-icon-container {
    width: 88px;
    height: 88px;
  }

  .belief-icon {
    width: 56px;
    height: 56px;
  }

  /* What We Focus On Responsive (Mobile) */
  .about-focus-wrapper {
    padding: 60px var(--mobile-padding);
  }

  .focus-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .focus-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .focus-item {
    gap: 12px;
  }

  .focus-icon-wrapper {
    width: 40px;
    height: 40px;
  }

  .focus-item-label {
    font-size: 14px;
  }
}

/* =========================================
   OUT OF THIS WORLD PREMIUM ANIMATIONS
   ========================================= */

/* 1. Galactic 3D Reveal */
@keyframes revealGalactic {
  0% {
    opacity: 0;
    transform: perspective(1200px) rotateX(25deg) translateY(60px) scale(0.9);
    filter: blur(8px) brightness(1.2);
  }
  50% {
    transform: perspective(1200px) rotateX(-5deg) translateY(-10px) scale(1.02);
    filter: blur(2px) brightness(1.1);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: perspective(1200px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
}

.box.reveal-galactic.visible-ani {
  animation: revealGalactic 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity, filter;
  transform-style: preserve-3d;
}

/* 2. Stellar Scale Reveal */
@keyframes revealStellar {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(30px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

.box.reveal-stellar.visible-ani {
  animation: revealStellar 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  will-change: transform, opacity, filter;
}

/* 3. Staggered Horizontal Glide */
@keyframes revealGlide {
  0% {
    opacity: 0;
    transform: translateX(-30px) skewX(-2deg);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) skewX(0);
    filter: blur(0);
  }
}

.box.reveal-glide.visible-ani {
  animation: revealGlide 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Stagger Utilities */
.stagger-1 { animation-delay: 0.1s !important; }
.stagger-2 { animation-delay: 0.2s !important; }
.stagger-3 { animation-delay: 0.3s !important; }
.stagger-4 { animation-delay: 0.4s !important; }
.stagger-5 { animation-delay: 0.5s !important; }
.stagger-6 { animation-delay: 0.6s !important; }