/* ========================= */
/* ===== ROOT VARIABLES ==== */
/* ========================= */

:root {
  --glass-bg: rgba(15, 20, 30, 0.65);
  --glass-border: rgba(79, 202, 255, 0.15);
  --glass-shadow:
    0 30px 80px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(79, 202, 255, 0.08);
  --accent: #4fcaff;
}

/* ========================= */
/* ===== PAGE STRUCTURE ==== */
/* ========================= */

.about-main {
  padding-top: 0px;
  position: relative;
  z-index: 2;
}

.content-section {
  padding: 120px 20px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
/* ========================= */
/* ===== PREMIUM ABOUT BOX == */
/* ========================= */

.about-box {
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 100px;
  text-align: center;
  position: relative;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);

  border-radius: 28px;
  border: 1px solid rgba(0,179,255,0.25);

  box-shadow:
    0 10px 40px rgba(0,0,0,0.6),
    0 0 30px rgba(0,179,255,0.15);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* subtle hover lift */
.about-box:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.7),
    0 0 50px rgba(0,179,255,0.25);
}

/* Decorative top glow line */
.about-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--neon);
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0,179,255,0.8);
}

/* Heading */
.about-box h2 {
  font-size: 2.6rem;
  margin-bottom: 35px;
  color: var(--neon);
  letter-spacing: 1.5px;
  text-shadow: 0 0 25px rgba(0,179,255,0.35);
}

/* Paragraph */
.about-box p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin: 20px 0;      /* remove auto centering */
  width: 100%;         /* full width */
  max-width: 100%;     /* remove limitation */
  text-align: left;    /* more premium reading feel */
  color: rgba(0, 0, 0, 0.85);
}

/* Optional subtle divider between paragraphs */
.about-box p + p {
  margin-top: 28px;
}

/* ========================= */
/* ===== STATS GRID ======== */
/* ========================= */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 0px;
}

.stat-card {
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  transition: 0.4s ease;

  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.stat-card:hover {
  transform: translateY(-10px);
  border: 1px solid rgba(79,202,255,0.4);
  box-shadow:
    0 35px 90px rgba(0,0,0,0.8),
    0 0 50px rgba(79,202,255,0.25);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ========================= */
/* ===== TIMELINE ========= */
/* ========================= */

.timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
}

.timeline h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 80px;
  color: var(--accent);
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 120px;
  width: 3px;
  height: calc(100% - 120px);
  background: linear-gradient(to bottom, var(--accent), transparent);
  transform: translateX(-50%);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-content {
  padding: 25px 30px;
  border-radius: 18px;
  transition: 0.4s ease;

  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.timeline-content:hover {
  transform: scale(1.03);
  border: 1px solid rgba(79,202,255,0.4);
  box-shadow:
    0 35px 90px rgba(0,0,0,0.8),
    0 0 50px rgba(79,202,255,0.25);
}

.timeline-dot {
  position: absolute;
  top: 35px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(79,202,255,0.6);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -7px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -7px;
}

/* ========================= */
/* ===== OUR STORY ========= */
/* ========================= */

.story-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 60px;
  border-radius: 24px;
  text-align: center;

  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.story-box h2 {
  font-size: 2.4rem;
  margin-bottom: 25px;
  color: var(--accent);
}

.story-box p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

/* ========================= */
/* ===== VALUES SECTION ==== */
/* ========================= */

.values-section {
  text-align: center;
}

.values-section h2 {
  font-size: 2.4rem;
  margin-bottom: 60px;
  color: var(--accent);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.value-card {
  padding: 40px 30px;
  border-radius: 20px;
  transition: 0.4s ease;

  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.value-card:hover {
  transform: translateY(-12px);
  border: 1px solid rgba(79,202,255,0.4);
  box-shadow:
    0 35px 90px rgba(0,0,0,0.8),
    0 0 50px rgba(79,202,255,0.25);
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.value-card p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ========================= */
/* ===== REVEAL EFFECT ===== */
/* ========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= */
/* ===== RESPONSIVE ======== */
/* ========================= */

@media(max-width: 900px) {

  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 60px;
    text-align: left !important;
  }

  .timeline-dot {
    left: 13px !important;
  }

  .about-box,
  .story-box {
    padding: 50px 30px;
  }

}

/* ================================
   ABOUT CARDS SECTION
================================ */

/* ================================
   ABOUT CARDS SECTION
================================ */

.about-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
  margin-top:50px;
}

.about-card{

  padding:35px 30px;

  border-radius:18px;

  background:rgba(15,20,30,0.75);
  backdrop-filter:blur(14px);

  border:1px solid rgba(79,202,255,0.2);

  box-shadow:
    0 15px 40px rgba(0,0,0,0.7),
    0 0 20px rgba(79,202,255,0.08);

  transition:transform .25s ease, box-shadow .25s ease;

  display:flex;
  align-items:flex-start;
}

/* hover subtle lift */

.about-card:hover{
  transform:translateY(-4px);

  box-shadow:
    0 25px 60px rgba(0,0,0,0.8),
    0 0 35px rgba(79,202,255,0.2);
}

/* text */

.about-card p{
  font-size:0.98rem;
  line-height:1.7;
  color:#d6dee8;
}

/* highlighted title inside paragraph */

.about-card strong{
  display:block;
  font-size:1.15rem;
  color:#4fcaff;
  margin-bottom:8px;
  letter-spacing:.5px;
}

.bg-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  /* ADD BLUR HERE */
  filter: blur(8px) saturate(0.9) contrast(0.9);
  
  animation: bg-zoom 40s linear infinite;
}

@media (max-width: 900px) {
  .about-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-card {
    padding: 25px 20px;
  }
}