/* =============================================
   PACKTECH — ABOUT SECTION STYLES
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700;800&display=swap');

/* ─── Section Wrapper ───────────────────────── */
.about-section {
  position: relative;
  background-image: url('../image/asset/about_section.png');
  background-size: 100% 100%;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Subtle warm overlay */
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 235, 218, 0.12);
  pointer-events: none;
  z-index: 0;
}

.about-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: 100px 32px;
}

/* ─── Main 2-Column Grid ─────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 160px;
  align-items: start;
}

/* ─── LEFT COLUMN ───────────────────────────── */
.about-left {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* Blue logo */
.about-logo {
  height: 55px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 18px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.about-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(0, 80, 180, 0.25));
}

/* ─── Section Heading (Marker style) ────────── */
.about-heading {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(2.5rem, 6vw, 90px);
  font-weight: 400;
  color: #1a0d05;
  line-height: 0.8;
  margin-bottom: 24px;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* ─── Body Text ─────────────────────────────── */
.about-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: #3d2010;
  line-height: 1.78;
  max-width: 480px;
}

/* ─── CTA Button ────────────────────────────── */
.about-cta {
  margin-top: 32px;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a0d05;
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 13, 5, 0.2);
}

.btn-read-more:hover {
  background: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

.btn-read-more i {
  transition: transform 0.3s ease;
}

.btn-read-more:hover i {
  transform: translateX(5px);
}

/* ─── Client Logos Grid ─────────────────────── */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.client-logo {
  background: #ffffff;
  border-radius: 8px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  cursor: pointer;
}

.client-logo:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.client-logo img {
  max-height: 38px;
  max-width: 100%;
  object-fit: contain;
}

/* Text fallback for logos */
.client-logo span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

/* Individual brand colors */
.logo-kelloggs span {
  color: #e31c25;
}

.logo-carrier span {
  color: #004b8d;
}

.logo-isis span {
  color: #0d6efd;
}

.logo-nouval span {
  color: #e85d04;
}

.logo-elaraby span {
  color: #c62828;
}

.logo-ikea span {
  color: #003399;
  background: #ffda1a;
  width: 100%;
  text-align: center;
  padding: 4px;
  border-radius: 3px;
}

.logo-fresh span {
  color: #2e7d32;
}

.logo-generic span {
  color: #5a3520;
}

/* ─── Why Choose Block ──────────────────────── */
.why-block {
  margin-top: 15rem;
}

.why-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: #3d2010;
  line-height: 1.78;
  max-width: 480px;
  margin-bottom: 8px;
}

/* "Power of Now" accent label */
.power-label {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  color: #8B4500;
  margin: 22px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.power-label::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, #8B4500, transparent);
  max-width: 120px;
}

/* Background image info box */
.power-box {
  background-image: url('../image/asset/power_background.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: 14px;
  padding: 60px 50px;
  /* box-shadow: 0 4px 28px rgba(90, 53, 32, 0.1); */
  border: none;
}

.power-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.power-box li {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: #3d2010;
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
}

.power-box li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #8B4500;
  font-size: 0.75rem;
  top: 2px;
}

.power-box strong {
  font-weight: 700;
  color: #1a0d05;
}

/* ─── RIGHT COLUMN ──────────────────────────── */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ─── Photo Wrap (clean look) ──────── */
.about-photo-wrap {
  position: relative;
  overflow: visible;
  border-radius: 6px;
}

.about-photo {
  width: 100%;
  display: block;
  border-radius: 6px;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.6s ease,
    opacity 0.75s ease;
  will-change: transform;
}

/* Specificity boost to override reveal utility */
.about-right .about-photo:hover {
  transform: perspective(1200px) rotateY(15deg) rotateX(3deg) scale(1.05) !important;
  cursor: default;
  z-index: 10;
}

/* Modifier to reduce height of the first image */
.photo-short .about-photo {
  height: 40rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  /* ensures image fits without cropping */
  margin: 0 auto;
  /* centers if narrower than container */
}



/* ─── History / Vision Cards ─────────────────── */
.about-card {
  position: relative;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding: 42px 48px 38px;
  min-height: 140px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    filter 0.4s ease,
    box-shadow 0.4s ease;
  will-change: transform;
}

/* Specificity boost to override reveal utility */
.about-right .about-card:hover {
  transform: perspective(1200px) rotateY(-10deg) rotateX(2deg) scale(1.04) !important;
  cursor: default;
  z-index: 10;
}

.about-card-eyebrow {
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  color: #6b3a1f;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-card-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: #6b3a1f;
  border-radius: 2px;
}

.about-card-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #2d1508;
  line-height: 1.75;
}

.about-card-text strong {
  font-weight: 700;
  color: #1a0d05;
}

/* ─── Stats Row ─────────────────────────────── */
/* ─── Stats Bar (full-bleed) ─────────────────── */
.about-stats {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 100px 80px;
  margin-top: 0;
}

/* ─── Stat Item: icon + text side-by-side ─────── */
.stat-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  border: none;
  background: none;
  cursor: default;
  transition: transform 0.35s ease;
}

.stat-item:hover {
  transform: translateY(-6px);
  background: none;
}

/* Icon — white stroke style */
.stat-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1) opacity(0.85);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.4s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.22) rotate(-8deg);
  filter: brightness(0) invert(1) opacity(1);
}

/* Text group */
.stat-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: #f0e8df;
  display: block;
  line-height: 0.9;
  letter-spacing: -1px;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: rgba(240, 232, 220, 0.85);
  font-weight: 500;
  line-height: 1.3;
}

/* ─── Scroll-Reveal Animations ───────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 {
  transition-delay: 0.10s;
}

.delay-2 {
  transition-delay: 0.20s;
}

.delay-3 {
  transition-delay: 0.30s;
}

.delay-4 {
  transition-delay: 0.40s;
}

.delay-5 {
  transition-delay: 0.50s;
}

.delay-6 {
  transition-delay: 0.60s;
}

/* ─── Responsive — Tablet ────────────────────── */
@media (max-width: 1024px) {
  .about-wrapper {
    padding: 72px 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  /* Images show first on tablet/mobile */
  .about-right {
    order: -1;
  }

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-stats {
    padding: 55px 40px;
    gap: 30px;
  }
}

/* ─── Responsive — Mobile ────────────────────── */
@media (max-width: 768px) {
  .about-wrapper {
    padding: 56px 22px;
  }

  .about-left {
    gap: 48px;
  }

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

  .client-logo {
    height: 48px;
  }

  /* Stats: stack vertically on mobile */
  .about-stats {
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 32px;
    gap: 32px;
  }

  .stat-item {
    gap: 16px;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  .about-card {
    padding: 28px 26px;
  }

  .power-box {
    padding: 50px 45px;
  }

  .why-block {
    margin-top: 0rem;
  }
}

/* ─── Responsive — Small Mobile ──────────────── */
@media (max-width: 480px) {
  .about-wrapper {
    padding: 44px 16px;
  }

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

  .about-heading {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
  }

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