/* ================= ABOUT HERO ================= */


.hero-bg {
  position: absolute;
  inset: 0;

  background-image: url("https://placehold.co/1600x900?text=Milagro+Team+At+Work");
  background-size: cover;
  background-position: center;

  animation: zoomBg 20s infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1000000000;

  background: linear-gradient(120deg, rgba(11,19,65,.85), rgba(5,87,188,.75));
}


@keyframes zoomBg {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

.hero-content {
  position: relative;
  color: white;
  text-align: center;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(36px, 6vw, 70px);
}

#typed-text {
  color: #fbce60;
  border-right: 3px solid #fbce60;
  padding-right: 5px;
}

/*  */

/* ================= STORY ================= */
.who-we-are {
  padding:120px 8%;
  background:#0b1341;
  color:white;
}

.who-container {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}

.who-image img {
  width:100%;
  border-radius:20px;
  box-shadow:0 40px 80px rgba(0,0,0,.4);
}

.who-tag {
  letter-spacing:4px;
  font-size:12px;
  opacity:.7;
}

.who-content h2 {
  font-size:clamp(32px,4vw,46px);
  margin:15px 0 25px;
}

.who-content p {
  opacity:.85;
  line-height:1.7;
  margin-bottom:20px;
}

.who-highlights {
  display:flex;
  gap:40px;
  margin-top:40px;
}

.who-highlights div h4 {
  color:#fbce60;
}

.who-highlights span {
  font-size:14px;
  opacity:.7;
}

/* MOBILE */

@media(max-width:900px){

.who-container {
  grid-template-columns:1fr;
  text-align:center;
}

.who-highlights {
  justify-content:center;
  flex-wrap:wrap;
}

}


/* Slide animations */
.animate-slide-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: 1s ease;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(100px);
  transition: 1s ease;
}

.animate-slide-left.show,
.animate-slide-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* ================= VALUES ================= */
.about-values {
  padding: 100px 8%;
  background: #f5f5f5;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.value-card {
  padding: 40px;
  background: white;
  border-radius: 8px;
  position: relative;
}

/* Glitch effect */
.glitch::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #fbce60;
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0% { clip-path: inset(0 0 90% 0); }
  50% { clip-path: inset(40% 0 40% 0); }
  100% { clip-path: inset(90% 0 0 0); }
}

/* ================= TIMELINE ================= */
.about-timeline {
  padding: 120px 8%;
  text-align: center;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.timeline-item {
  opacity: 0;
  transform: scale(0.8);
  transition: 0.8s ease;
}

.timeline-item.show {
  opacity: 1;
  transform: scale(1);
}

/* ================= CTA ================= */
.about-cta {
  padding: 120px 8%;
  background: #0b1341;
  color: white;
  text-align: center;
}

.cta-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 40px;
  background: #fbce60;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .about-story {
    flex-direction: column;
  }
}
.hero-overlay {
  position:absolute;
  inset:0;
  /* background:rgba(0,0,0,.55); */
}

.hero-tag {
  letter-spacing:4px;
  font-size:12px;
  opacity:.8;
}

.hero-stats {
  display:flex;
  justify-content:center;
  gap:50px;
  margin-top:40px;
}

.hero-stats h3 {
  font-size:32px;
  color:#fbce60;
}

.story-points {
  margin-top:20px;
}

.story-points li {
  margin-bottom:10px;
}

.value-card img {
  width:100%;
  border-radius:6px;
  margin-bottom:15px;
}

.value-card p {
  opacity:.8;
}

.about-timeline {
  padding:120px 8%;
  background:#f7f7f7;
  position:relative;
}

.journey-wrapper {
  position:relative;
  max-width:900px;
  margin:auto;
}

.journey-line {
  position:absolute;
  left:50%;
  top:0;
  width:4px;
  height:100%;
  background:#fbce60;
  transform:translateX(-50%);
}

.journey-item {
  display:flex;
  position:relative;
  margin-bottom:80px;
  opacity:0;
  transform:translateY(50px);
  transition:1s ease;
}

.journey-item.show {
  opacity:1;
  transform:translateY(0);
}

.journey-item.left {
  justify-content:flex-start;
}

.journey-item.right {
  justify-content:flex-end;
}

.journey-card {
  width:45%;
  background:white;
  padding:30px;
  border-radius:12px;
  box-shadow:0 20px 40px rgba(0,0,0,.1);
}

.journey-card i {
  color:#fbce60;
  font-size:28px;
  margin-bottom:10px;
}

.year {
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  background:#0b1341;
  color:white;
  padding:6px 14px;
  border-radius:20px;
  font-size:14px;
}

/* Hover depth */

.journey-card:hover {
  transform:translateY(-10px);
}

/* MOBILE */

@media(max-width:800px){

.journey-line {
  left:20px;
}

.journey-item {
  justify-content:flex-start!important;
}

.journey-card {
  width:100%;
  margin-left:50px;
}

.year {
  left:20px;
  transform:none;
}

}



.about-hero {
  min-height:100vh;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  padding:0 8%;
  align-items:center;
  gap:60px;
  background:linear-gradient(120deg,#0b1341,#0557bc);
  color:white;
}

.hero-left h2 {
  font-size:clamp(36px,5vw,50px);
  margin:15px 0;
}

.hero-tag {
  letter-spacing:4px;
  font-size:12px;
  opacity:.7;
}

.hero-left p {
  max-width:500px;
  opacity:.85;
  line-height:1.6;
}

.hero-actions {
  display:flex;
  gap:20px;
  margin:30px 0;
}

.hero-btn {
  padding:14px 32px;
  text-decoration:none;
  font-weight:600;
  border-radius:30px;
}

.hero-btn.primary {
  background:#fbce60;
  color:black;
}

.hero-btn.outline {
  border:2px solid white;
  color:white;
}

.hero-stats {
  display:flex;
  gap:40px;
  margin-top:30px;
}

.hero-stats h3 {
  color:#fbce60;
  font-size:28px;
}

.hero-right img {
  width:100%;
  border-radius:20px;
  box-shadow:0 40px 80px rgba(0,0,0,.4);
}

/* Responsive */

@media(max-width:900px){

.about-hero {
  grid-template-columns:1fr;
  padding-top:120px;
  text-align:center;
}

.hero-left p {
  margin:auto;
}

.hero-actions {
  justify-content:center;
}

.hero-stats {
  justify-content:center;
}

.hero-right {
  margin-top:50px;
}

}
