/* ================= ROOT (MATCH MAIN THEME) ================= */

:root {
  --primary: #00e0b8;
  --primary-soft: #00c8aa;

  --text-muted: #9aa0a6;

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(12, 183, 153, 0.2);
}

/* ================= LAYOUT SYSTEM ================= */
/* ================= GLOBAL ================= */

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

.custom-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 20px !important;
  backdrop-filter: blur(10px);
}

/* ================= HERO ================= */

.about-hero {
  background: url("../assets/images/about_bg.png") no-repeat center;
  background-size: contain;
  background-color: #ffffff; /* gap fill */

  min-height: 100vh;
  padding: 80px 0 100px;
  color: #fff;
}

/* TITLE */
.hero-title {
  font-family: "Blauer Nue", sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  color: #000000;

  max-width: 1140px;
  margin: 0 auto 10px;
}

/* FONT IMPORT */
@font-face {
  font-family: "Blauer Nue";
  src: url("/fonts/BlauerNue-Bold.woff2") format("woff2");
}

/* SUBTEXT */
.hero-sub {
  color: rgba(111, 116, 120, 0.9);
  max-width: 700px;
  margin: 0 auto 70px;
  font-size: 1.1rem;
  line-height: 1.1;
}

/* ================= STAGE ================= */

.hero-stage {
  position: relative;
  height: 420px;
}

/* ================= FLOAT CARDS ================= */

.float-card {
  position: absolute;
  padding: 7px;
  width: 270px;
  border-radius: 10px;

  background:
    linear-gradient(#effff9, #effff9) padding-box,
    linear-gradient(131.98deg, #43d8b7, #92ffdd, #90d9cc) border-box;

  border: 1px solid transparent;

  font-size: 13px;
  color: #141414;

  box-shadow: 0 0 20px rgba(0, 224, 184, 0.15);
  animation: float 4s ease-in-out infinite;
}

.float-card:hover {
  transform: translateY(-4px);
  transition: 0.3s;
}

/* POSITIONS */
.left-card {
  left: 14%;
  top: 35%;
  text-align: start;
  padding: 10px;
  height: fit-content;
}

.right-card {
  right: 13%;
  top: 80%;
  width: 320px;
  height: fit-content !important;
}

/* DOTS */
.stage-dot {
  position: absolute;
  width: 16px;
  height: 16px;
}

.left-card .stage-dot {
  top: -10px;
  right: -10px;
}

.right-card .stage-dot {
  bottom: -10px;
  left: -10px;
}

.stage-dot img {
  width: 100%;
  height: 100%;
}

/* TAGS */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 10px 0;
}

.tags span {
  background: #0cb799;
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
}

/* FLOAT ANIMATION */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

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

@media (max-width: 992px) {
  .nav-pill {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 15px;
    margin-bottom: 40px;
    padding: 0 10px;
  }

  .hero-stage {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .float-card {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }

  .left-card,
  .right-card {
    width: 100%;
    max-width: 320px;
  }
}

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

@media (max-width: 992px) {
  .hero-stage {
    height: auto;
    padding-top: 20px;
  }

  .left-card {
    left: 8%;
    top: 20%;
  }

  .right-card {
    right: 8%;
    top: 60%;
  }
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .about-hero {
    padding: 60px 0 60px;
    background-size: cover;
  }

  .hero-stage {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    position: relative;
    top: 290px;
  }

  .float-card {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    animation: none; /* smooth feel mobile */
  }

  .left-card,
  .right-card {
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }

  .right-card {
    margin-top: 5px;
  }

  .tags {
    justify-content: flex-start;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-sub {
    font-size: 14px;
    line-height: 1.4;
  }

  .float-card {
    padding: 10px;
    font-size: 12px;
  }

  .tags span {
    font-size: 11px;
    padding: 3px 8px;
  }
}

/* ================= MISSION ================= */

.mission-section {
  padding: 100px 0;
  background: #20511b36;
}

/* CONTAINER FIX */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* GRID FIX */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* CARD */
.info-card {
  background: rgba(13, 51, 45, 1);
  color: #ccc;
  padding: 40px;
  border: 1px solid rgba(0, 224, 184, 0.15);
  border-radius: 20px;
  transition: 0.3s;
  min-height: 260px; /* keeps both boxes same height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* HEADER */
.info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px; /* reduced from 80px */
}

.info-header h5 {
  margin: 0;
  color: #fff;
  font-size: 20px;
}

/* ICON */
.info-header .icon img {
  width: 14px;
  height: 14px;
}

/* TEXT */
.info-card p {
  margin: 0;
  color: #ddd;
  line-height: 1.6;
}

/* HOVER */
.info-card:hover {
  transform: translateY(-6px);
}

/* ✅ MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
/* ================= FOOTER ================= */

/* Footer styles moved to base.css */

.about-hero .container {
  animation: heroReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
