 
/* ABOUTX */
.aboutX {
  padding: clamp(56px, 6vw, 92px) 0;
  position: relative;
  overflow: hidden;
}

.aboutX::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(
      800px 420px at 15% 10%,
      rgba(254, 88, 98, 0.14),
      transparent 60%
    ),
    radial-gradient(
      700px 420px at 90% 25%,
      rgba(23, 35, 66, 0.08),
      transparent 62%
    );
  pointer-events: none;
}

.aboutX-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.aboutX-title {
  margin: 8px 0 8px;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.03em;
  color: var(--navy);
}

.aboutX-grad {
  background: linear-gradient(90deg, var(--navy), var(--coral), var(--navy));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: aboutXShine 4.4s ease-in-out infinite;
}

@keyframes aboutXShine {
  0% {
    background-position: 0%;
  }

  50% {
    background-position: 100%;
  }

  100% {
    background-position: 0%;
  }
}

/* Grid */
.aboutX-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Left panel */
.aboutX-panel {
  border-radius: 24px;
  /* background: rgba(255, 255, 255, 0.92); */
  border: 1px solid rgba(23, 35, 66, 0.1);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.aboutX-panel::after {
  content: "";
  position: absolute;
  inset: -70px -90px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(254, 88, 98, 0.16),
    transparent 62%
  );
  transform: rotate(12deg);
  pointer-events: none;
}

.aboutX-top {
  /* display: flex; */
  gap: 12px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.aboutX-ic {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 35, 66, 0.08);
  border: 1px solid rgba(23, 35, 66, 0.1);
  color: var(--navy);
  flex: 0 0 auto;
}

.aboutX-top h3 {
  margin: 2px 0 6px;
  color: var(--navy);
  font-size: 18px;
  letter-spacing: -0.01em;
}

.aboutX-top p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 64ch;
}

.aboutX-stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}

.aboutX-stat {
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(23, 35, 66, 0.96),
    rgba(23, 35, 66, 0.8)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  color: var(--white);
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 48px rgba(23, 35, 66, 0.14);
}

.aboutX-num {
  font-weight: 1000;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.02em;
}

.aboutX-lbl {
  margin-top: 6px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.aboutX-line {
  margin-top: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.aboutX-line span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(254, 88, 98, 0.95),
    rgba(255, 255, 255, 0.18)
  );
  transform: translateX(-100%);
  animation: aboutXFill 1.2s ease-out forwards;
}

@keyframes aboutXFill {
  to {
    transform: translateX(0);
  }
}

.aboutX-pills {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.aboutX-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(23, 35, 66, 0.06);
  border: 1px solid rgba(23, 35, 66, 0.1);
  /* color: rgba(23, 35, 66, 0.86); */
  font-weight: 900;
  font-size: 13px;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.aboutX-pill i {
  color: var(--coral);
}

.aboutX-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(254, 88, 98, 0.26);
}

.aboutX-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Right media stack */
.aboutX-media {
  border-radius: 24px;
  border: 1px solid rgba(23, 35, 66, 0.1);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.aboutX-stack {
  position: relative;
  height: 100%;
  min-height: 420px;
  border-radius: 18px;
  transform: perspective(900px) rotateX(0) rotateY(0);
  transition: transform 0.18s var(--ease);
}

.aboutX-photo {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(23, 35, 66, 0.22);
}

.aboutX-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.aboutX-badge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 18px;
  background: rgba(23, 35, 66, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  backdrop-filter: blur(10px);
}

.aboutX-badge i {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(254, 88, 98, 0.22);
}

.aboutX-badge strong {
  display: block;
}

.aboutX-badge span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.aboutX-card {
  position: absolute;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 35, 66, 0.1);
  box-shadow: 0 18px 54px rgba(23, 35, 66, 0.16);
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: aboutXFloat 5s ease-in-out infinite;
}

@keyframes aboutXFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.a1 {
  top: 14px;
  left: 14px;
  width: 220px;
  padding: 12px;
  animation-delay: 0.1s;
}

.a2 {
  top: 96px;
  right: 14px;
  width: 150px;
  padding: 14px;
  animation-delay: 0.4s;
}

.aboutX-cardHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.aboutX-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(254, 88, 98, 0.1);
  border: 1px solid rgba(254, 88, 98, 0.18);
  color: var(--coral);
  font-weight: 1000;
  font-size: 12px;
}

.aboutX-mini {
  font-weight: 900;
  font-size: 12px;
  color: rgba(23, 35, 66, 0.6);
}

.aboutX-kpi strong {
  display: block;
  font-size: 26px;
  font-weight: 1000;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.aboutX-kpi span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: rgba(23, 35, 66, 0.62);
  margin-top: 4px;
}

.aboutX-orb {
  position: absolute;
  inset: auto -110px -110px auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(254, 88, 98, 0.22),
    transparent 62%
  );
  border-radius: 999px;
  animation: aboutXOrb 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aboutXOrb {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
} 



/* ================= ABOUT SECTION RESPONSIVE FIX ================= */

@media (max-width: 1024px) {

  .aboutX-grid {
    grid-template-columns: 1fr;
  }

  .aboutX-stats {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {

  .aboutX {
    overflow: hidden;
  }

  .aboutX-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .aboutX-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .aboutX-panel {
    padding: 16px;
  }

  .aboutX-stats {
    grid-template-columns: 1fr;
  }

  .aboutX-actions {
    flex-direction: column;
  }

  .aboutX-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .aboutX-stack {
    min-height: 320px;
  }

  .a1,
  .a2 {
    display: none; /* floating cards hide on mobile */
  }

}


.cta-buttons_about{
  display:flex;
  gap:15px;
  align-items:center;
}

.cta-buttons_about .btn{
  padding:10px 22px;
  border-radius:14px;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
  font-size:15px;
   font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji"
  
}

.btn-outline_about{
  border:1px solid #d1d5db;
  background:#fff;
}

.btn-outline_about:hover{
  background:#f3f4f6;
  
}

/* .btn-primary_about{
  background:linear-gradient(135deg,#fe5862,#ff7b86);
  box-shadow:0 10px 25px rgba(255,90,90,0.25);
} */

/* .btn-primary_about:hover{
  transform:translateY(-3px);
} */

.toggle_about{
  cursor:pointer;
  font-size:18px;
}

.aboutX {
  padding-top: 120px; /* prevents content hiding */
}

.btn-primary_about{
  padding: 14px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 15px;
  background: linear-gradient(135deg, #fe5862, #ff7b86);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(254, 88, 98, 0.25);

}