/* ABOUT PAGE — XtraCorporate Redesign */

/* Wrapper */
.about-wrapper {
  background: #ffffff;
}

/* ===========================
   Shared Section Components
   =========================== */
.section-label {
  display: block;
  font-size: 0.85rem;
  color: #00c77b;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.heading-accent {
  color: #00c77b;
}

/* ===========================
   Stats Counter Section
   =========================== */
.about-stats {
  padding: 6rem 0;
  background-color: rgba(1, 19, 28, 0.9);
  position: relative;
  overflow: hidden;
}

.stats-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.stats-particles canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* CSS fallback particles when JS fails to load */
.stats-particles::before,
.stats-particles::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
}

.stats-particles::before {
  background-image:
    radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,0.5) 50%, transparent 50%),
    radial-gradient(3px 3px at 25% 60%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(2px 2px at 40% 35%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(4px 4px at 55% 75%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(2px 2px at 70% 15%, rgba(255,255,255,0.45) 50%, transparent 50%),
    radial-gradient(3px 3px at 85% 50%, rgba(255,255,255,0.35) 50%, transparent 50%),
    radial-gradient(2px 2px at 15% 80%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(3px 3px at 60% 10%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(2px 2px at 90% 85%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(4px 4px at 35% 90%, rgba(255,255,255,0.2) 50%, transparent 50%);
  animation: floatParticles 20s linear infinite;
}

.stats-particles::after {
  background-image:
    radial-gradient(3px 3px at 5% 45%, rgba(255,255,255,0.35) 50%, transparent 50%),
    radial-gradient(2px 2px at 20% 10%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(4px 4px at 45% 55%, rgba(255,255,255,0.2) 50%, transparent 50%),
    radial-gradient(2px 2px at 65% 40%, rgba(255,255,255,0.45) 50%, transparent 50%),
    radial-gradient(3px 3px at 80% 70%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(2px 2px at 95% 25%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(3px 3px at 50% 90%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(2px 2px at 30% 55%, rgba(255,255,255,0.35) 50%, transparent 50%);
  animation: floatParticles 28s linear infinite reverse;
}

/* Hide CSS fallback when JS particles canvas is active */
.stats-particles:has(canvas)::before,
.stats-particles:has(canvas)::after {
  display: none;
}

@keyframes floatParticles {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

.about-stats .container {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-counter {
  text-align: left;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  font-family: 'Roboto', sans-serif;
  font-size: 80px;
  font-weight: 100;
  color: #FFFFFF;
  line-height: 1;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s;
}

.stat-counter:hover .stat-number-wrap {
  border-color: #FFFFFF;
}

.stat-number {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
}

.stat-suffix {
  font-size: 40px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 100;
}

.stat-label {
  display: block;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0.02em;
}



/* ===========================
   Section 1: Company Overview
   =========================== */
.about-overview {
  padding: 5rem 0;
  background: #ffffff;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.overview-paragraph {
  font-size: 1.05rem;
  color: #636363;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.overview-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.overview-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 1rem;
  color: #1a1a2e;
  font-weight: 500;
}

.overview-highlights li i {
  color: #00c77b;
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.overview-image {
  position: relative;
}

.overview-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Section 2: About Business
   =========================== */
/* ===========================
   Section 2: About Business (Xtra Corporate Style)
   =========================== */
.about-business {
  background: #f5f7fa;
}

.about-business-inner {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 600px;
}

/* --- Left Image Panel --- */
.about-business-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-business-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 25, 80, 0.78);
}

/* "ABOUT BUSINESS" label — centered bottom */
.about-business-label {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 3;
}

/* --- Right Cards Panel --- */
.about-business-cards {
  display: flex;
  flex-direction: column;
}

.business-card {
  flex: 1;
  display: flex;
  gap: 2rem;
  padding: 3rem 3rem 3rem 3.5rem;
  background: #FFFFFF;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.3s ease;
  align-items: flex-start;
  position: relative;
}

.business-card:last-child {
  border-bottom: none;
}

.business-card:hover {
  background: #fafbfd;
}

/* Icon box — overlaps the image/card boundary */
.business-card-icon {
  width: 100px;
  height: 100px;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid #dde1e8;
  border-radius: 0;
  flex-shrink: 0;
  transition: all 0.4s ease;
  position: relative;
  margin-left: -80px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.business-card:hover .business-card-icon {
  background: #002699;
  border-color: #002699;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 38, 153, 0.3);
}

.business-card-icon i {
  font-size: 2.8rem;
  color: #1A1A2E;
  transition: color 0.4s ease;
}

.business-card:hover .business-card-icon i {
  color: #FFFFFF;
}

/* Card title with underline */
.business-card-content h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  color: #1A1A2E;
  margin-bottom: 1rem;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.business-card-content h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background: #ccc;
  transition: width 0.4s ease, background 0.4s ease;
}

.business-card:hover .business-card-content h3::after {
  width: 100%;
  background: #002699;
}

/* Card description */
.business-card-content p {
  color: #777777;
  line-height: 1.8;
  font-size: 18px;
}

/* ===========================
   Section 3: Core Values — White Background
   =========================== */
/* ===========================
   Section 3: Core Values — Staggered Grid
   =========================== */
.about-values {
  padding: 5rem 0 4rem;
  background: #f8f9fb;
}

.about-values .values-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* Grid — top row 3, bottom row 2 centered */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.values-grid-bottom {
  grid-template-columns: repeat(2, 1fr);
  max-width: 66.66%;
  margin: 28px auto 0;
}

/* Card — borderless, shadow on hover */
.value-card {
  background: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 2.5rem 2rem 2.25rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* Large watermark number */
.value-watermark {
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: color 0.4s ease;
}

.value-card:hover .value-watermark {
  color: rgba(0, 38, 153, 0.07);
}

/* Icon container */
.value-icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 38, 153, 0.06);
  border: none;
  border-radius: 12px;
  color: #002699;
  font-size: 1.4rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.value-card:hover .value-icon-box {
  background: #002699;
  color: #fff;
  border-radius: 14px;
  transform: scale(1.05);
}

.value-card h3 {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #1A1A2E;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}

.value-card p {
  font-size: 0.92rem;
  color: #777;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}


/* ===========================
   Section 4: Newsletter CTA
   =========================== */
.about-newsletter {
  padding: 4rem 0;
  background: #01131c;
  position: relative;
  overflow: hidden;
}

.about-newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 38, 153, 0.3) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.newsletter-inner h2 {
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.newsletter-inner h2 strong {
  font-weight: 900;
}

.newsletter-form {
  display: flex;
  flex: 1;
  max-width: 500px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px 0 0 3px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input[type="email"]:focus {
  border-color: #00c77b;
}

.newsletter-form button {
  padding: 0.9rem 1.5rem;
  background: #00c77b;
  color: #ffffff;
  border: none;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #00a866;
}

/* ===========================
   Section 4: Our Partners
   =========================== */
.about-partners {
  padding: 5rem 0;
  background: #f5f7fa;
}

.partners-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  cursor: default;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #1A1A2E;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.partner-tagline {
  font-family: 'Roboto', sans-serif;
  font-size: 0.65rem;
  color: #888;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 0.15rem;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-business-inner {
    grid-template-columns: 1fr;
  }

  .about-business-image {
    height: 350px;
  }

  .business-card {
    padding: 2rem;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid-bottom {
    max-width: 66.66%;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stat-number-wrap {
    font-size: 2.5rem;
  }

  .stat-suffix {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 16px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .overview-image {
    order: -1;
  }

  .overview-image img {
    height: 280px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid-bottom {
    max-width: 100%;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    max-width: 100%;
    width: 100%;
  }

  .newsletter-inner h2 {
    white-space: normal;
  }

  .business-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 1.5rem;
  }

  .business-card-icon {
    margin-left: 0;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .stat-number-wrap {
    font-size: 2rem;
  }

  .stat-suffix {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 14px;
  }

  .about-stats {
    padding: 4rem 0;
  }

  .overview-image img {
    height: 200px;
  }

  .business-card {
    padding: 1.25rem;
  }

  .business-card-content h3 {
    font-size: 1.25rem;
  }

  .business-card-content p {
    font-size: 15px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .values-grid-bottom {
    max-width: 100%;
    grid-template-columns: 1fr;
  }
}
