/* =========================================
   BYALL AUTOMATION — ABOUT PAGE
   about.css
   ========================================= */

/* ABOUT HERO */

.about-hero{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  padding:130px 24px 80px;
  background:
    linear-gradient(105deg, rgba(2,11,26,.96), rgba(10,22,40,.90), rgba(13,27,62,.78)),
    url("https://byallautomation.com/wp-content/uploads/2026/04/ba-hero-4.png") center/cover no-repeat;
}

.about-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at 20% 25%, rgba(26,159,224,.25), transparent 42%),
    radial-gradient(ellipse at 82% 70%, rgba(245,197,24,.14), transparent 38%);
  pointer-events:none;
}

.about-hero-content{
  position:relative;
  z-index:2;
  max-width:900px;
  margin:0 auto;
}

.about-eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(26,159,224,.30);
  color:#7dd4f8;
  font-family:var(--font-display);
  font-size:11px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  margin-bottom:26px;
}

.about-hero h1{
  font-family:var(--font-display);
  font-size:clamp(40px,6vw,72px);
  line-height:1.04;
  font-weight:800;
  color:#fff;
  letter-spacing:-1px;
  margin-bottom:20px;
}

.about-hero h1 span{
  color:var(--blue);
}

.about-hero p{
  max-width:760px;
  margin:0 auto;
  font-size:18px;
  line-height:1.72;
  color:rgba(255,255,255,.82);
  font-weight:300;
}

/* STORY */

.about-story{
  background:#ffffff;
  color:var(--text-dark);
  padding:96px 24px;
}

.about-story-grid{
  max-width:1280px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}

.about-story h2{
  font-family:var(--font-display);
  font-size:clamp(32px,4vw,50px);
  line-height:1.08;
  font-weight:800;
  letter-spacing:-1px;
  margin-bottom:22px;
  color:#0f172a;
}

.about-story p{
  font-size:16px;
  line-height:1.78;
  color:#475569;
  margin-bottom:18px;
  font-weight:300;
}

.about-image{
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 24px 56px rgba(15,23,42,.16);
  border:1px solid rgba(26,159,224,.18);
}

.about-image img{
  width:100%;
  height:420px;
  object-fit:cover;
}

/* VALUES */

.about-values{
  background:#f8fafc;
  color:var(--text-dark);
  padding:96px 24px;
}

.about-values-grid{
  max-width:1280px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}

.about-value-card{
  background:#ffffff;
  border:1px solid rgba(26,159,224,.14);
  border-radius:28px;
  padding:34px;
  box-shadow:0 4px 20px rgba(15,23,42,.06);
  transition:transform .3s ease, box-shadow .3s ease;
}

.about-value-card:hover{
  transform:translateY(-7px);
  box-shadow:0 24px 52px rgba(15,23,42,.12);
}

.about-value-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(26,159,224,.10);
  color:var(--blue);
  font-size:24px;
  margin-bottom:22px;
}

.about-value-card h3{
  font-family:var(--font-display);
  font-size:21px;
  font-weight:700;
  margin-bottom:12px;
  color:#0f172a;
}

.about-value-card p{
  font-size:15px;
  line-height:1.7;
  color:#64748b;
}

/* STATS */

.about-stats{
  background:
    radial-gradient(ellipse at 15% 50%, rgba(26,159,224,.20), transparent 45%),
    radial-gradient(ellipse at 85% 20%, rgba(245,197,24,.12), transparent 40%),
    linear-gradient(145deg,#020b1a,#0d1b3e 55%,#0a2a50);
  color:#ffffff;
  padding:88px 24px;
}

.about-stats-grid{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  text-align:center;
}

.about-stat{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  padding:30px 20px;
}

.about-stat strong{
  display:block;
  font-family:var(--font-display);
  font-size:38px;
  font-weight:800;
  color:var(--gold);
  margin-bottom:8px;
}

.about-stat span{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1.4px;
  color:rgba(255,255,255,.70);
}

/* MOBILE */

@media (max-width:900px){

  .about-story-grid,
  .about-values-grid,
  .about-stats-grid{
    grid-template-columns:1fr;
  }

  .about-image{
    order:-1;
  }
}

@media (max-width:768px){

  .about-hero{
    min-height:auto;
    padding:115px 18px 65px;
  }

  .about-eyebrow{
    font-size:9px;
    letter-spacing:1px;
    padding:7px 13px;
    margin-bottom:20px;
  }

  .about-hero h1{
    font-size:30px;
    line-height:1.08;
    letter-spacing:-.5px;
  }

  .about-hero p{
    font-size:15px;
    line-height:1.6;
  }

  .about-story,
  .about-values,
  .about-stats{
    padding:64px 18px;
  }

  .about-story h2{
    font-size:28px;
    line-height:1.12;
  }

  .about-story p{
    font-size:15px;
    line-height:1.65;
  }

  .about-image img{
    height:260px;
  }

  .about-value-card{
    padding:26px 22px;
    border-radius:22px;
  }

  .about-stat strong{
    font-size:32px;
  }
}