/* ===============================
   BASE
=============================== */

body.about-page {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #111;
}

* {
  box-sizing: border-box;
}

/* ===============================
   CONTAINERS
=============================== */

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-section {
  padding: 120px 0;
}

.center {
  text-align: center;
}

/* ===============================
   HERO SLIDER (STABLE METHOD)
=============================== */
/* HERO SLIDER */
.about-hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.hero-slider div {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: slide 14s infinite;
  opacity: 0;
}

.hero-slider div:nth-child(1){animation-delay:0s}
.hero-slider div:nth-child(2){animation-delay:2s}
.hero-slider div:nth-child(3){animation-delay:4s}
.hero-slider div:nth-child(4){animation-delay:6s}
.hero-slider div:nth-child(5){animation-delay:8s}
.hero-slider div:nth-child(6){animation-delay:10s}
.hero-slider div:nth-child(7){animation-delay:12s}

@keyframes slide {
  0%{opacity:0}
  10%{opacity:1}
  30%{opacity:1}
  40%{opacity:0}
  100%{opacity:0}
}

.hero-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(25,22,96,.8),rgba(0,0,0,.7));
}

.about-hero {
  position: relative;
  height: 85vh;
  background-size: cover;
  background-position: center;
}

/* TRUE CENTERING */
.hero-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 100%;
  max-width: 900px;
  padding: 0 24px;

  text-align: center;
  color: #fff;
}

/* TYPOGRAPHY */
.hero-center h1 {
  font-size: 64px;
  line-height: 1.15;
  margin: 0 0 20px 0;
}

.hero-center p {
  font-size: 18px;
  margin: 0 auto;
  max-width: 720px;
}

/* READABILITY (NO OVERLAY) */
.hero-center h1,
.hero-center p {
  text-shadow: 0 6px 24px rgba(0,0,0,.45);
}


/* ===============================
   STORY
=============================== */

.about-story p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-story mark {
  background: rgba(126,208,251,.25);
  padding: 2px 6px;
}

.signature {
  font-weight: 600;
}

/* ===============================
   BRANDS
=============================== */

.about-brands {
  background: #f7f9fc;
}

.brands-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 24px;
}

.brands-grid img {
  max-width: 100%;
  opacity: .8;
}

.brands-grid img {
  max-width: 100%;
  opacity: .8;
  transition: all .25s ease;
  transform: translateY(0);
}

.brands-grid img:hover {
  opacity: 1;
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.12));
}


/* ===============================
   SPLIT
=============================== */

.split-image {
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-image img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 16px;
}





/* ===============================
   COMMITMENT
=============================== */

.about-commitment {
  background: #0f0d3d;
  color: #fff;
  padding: 120px 0;
}

.subtitle {
  opacity: .85;
  margin-bottom: 64px;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 32px;
}

.commit-card {
  background: #191660;
  padding: 40px;
  border-radius: 16px;
}
/* commitment icons – zero layout impact */
.commit-card h3::before {
  display: block;
  font-size: 28px;
  margin-bottom: 12px;
}

/* individual icons */
.commit-card:nth-child(1) h3::before {
  content: "🎯";
}

.commit-card:nth-child(2) h3::before {
  content: "🌍";
}

.commit-card:nth-child(3) h3::before {
  content: "⚡";
}

.commit-card:nth-child(4) h3::before {
  content: "📈";
}


/* ===============================
   BUTTONS
=============================== */

a {
  text-decoration: none;
}

.btn-primary {
  background: #7ed0fb;
  color: #000;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all .2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

.btn-outline {
  border: 1px solid #191660;
  padding: 12px 26px;
  border-radius: 50px;
  transition: all .2s ease;
}

.btn-outline:hover {
  background: #191660;
  color: #fff;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 992px) {
  .hero-inner {
    padding-left: 24px;
  }

  .split {
    grid-template-columns: 1fr;
  }
}


/* =====================================
   RESPONSIVE IMPROVEMENTS
   (Safe – no desktop changes)
===================================== */

/* ---------- Tablets (<= 1024px) ---------- */
@media (max-width: 1024px) {

  .about-section {
    padding: 90px 0;
  }

  .hero-center h1 {
    font-size: 52px;
  }

  .hero-center p {
    font-size: 17px;
  }

  .brands-header {
    gap: 20px;
  }
}

/* ---------- Large Phones / Small Tablets (<= 768px) ---------- */
@media (max-width: 768px) {

  /* HERO */
  .about-hero {
    height: 75vh;
  }

  .hero-center h1 {
    font-size: 42px;
  }

  .hero-center p {
    font-size: 16px;
  }

  /* SECTIONS */
  .about-section {
    padding: 70px 0;
  }

  /* BRANDS */
  .brands-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  /* SPLIT SECTION */
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-image {
    min-height: auto;
  }

  .split-image img {
    max-height: 300px;
  }

  /* COMMITMENT */
  .commitment-grid {
    gap: 24px;
  }

  .commit-card {
    padding: 32px;
  }
}

/* ---------- Small Phones (<= 480px) ---------- */
@media (max-width: 480px) {

  /* HERO */
  .about-hero {
    height: 70vh;
  }

  .hero-center h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero-center p {
    font-size: 15px;
  }

  /* CONTAINERS */
  .about-container {
    padding: 0 16px;
  }

  /* BRANDS GRID */
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* COMMITMENT */
  .commit-card {
    padding: 28px;
  }

  .commit-card h3::before {
    font-size: 24px;
  }

  /* BUTTONS */
  .btn-primary,
  .btn-outline {
    padding: 12px 22px;
    font-size: 14px;
  }
}
