/* =====================================================
   AGILITY UNITED - ABOUT PAGE
   ===================================================== */


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

:root {
  --black: #0d0d0d;
  --dark: #151515;
  --dark-2: #1b1b1b;

  --orange: #ff5a1f;
  --orange-dark: #b8380f;

  --white: #f4efe6;
  --gray: #a8a8a8;

  --border: rgba(255, 90, 31, 0.25);
}


/* ================= RESET ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  background: var(--black);
  color: var(--white);

  font-family: "Work Sans", sans-serif;

  line-height: 1.6;
}


/* ================= NAVBAR ================= */

.navbar {
  position: sticky;
  top: 0;

  width: 100%;
  height: 70px;

  padding: 0 5%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(13, 13, 13, 0.96);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  z-index: 1000;
}


/* Brand */

.nav-brand {
  display: flex;
  align-items: center;

  gap: 12px;

  text-decoration: none;
  color: var(--white);

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}


.nav-brand strong {
  color: var(--orange);
}


.nav-logo {
  width: 42px;
  height: 42px;

  object-fit: contain;
}


/* Navigation */

.nav-menu {
  display: flex;
  align-items: center;

  gap: 30px;
}


.nav-menu a {
  position: relative;

  color: #d6d6d6;

  text-decoration: none;

  font-size: 13px;
  font-weight: 600;

  transition: 0.3s ease;
}


.nav-menu a:hover,
.nav-menu a.active {
  color: var(--orange);
}


.nav-menu a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -8px;

  width: 0;
  height: 2px;

  background: var(--orange);

  transition: 0.3s ease;
}


.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}


/* Mobile Button */

.menu-toggle {
  display: none;

  border: none;
  background: transparent;

  color: #fff;

  font-size: 30px;
  font-weight: 700;

  cursor: pointer;

  line-height: 1;

  padding: 5px;
}


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

.about-hero {
  min-height: 430px;

  display: flex;
  align-items: center;

  padding: 80px 8%;

  position: relative;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 80% 50%,
      rgba(255, 90, 31, 0.15),
      transparent 35%
    ),
    var(--black);
}


/* Decorative line */

.about-hero::before {
  content: "";

  position: absolute;

  width: 450px;
  height: 450px;

  right: -150px;
  top: -100px;

  border: 1px solid rgba(255, 90, 31, 0.12);

  transform: rotate(45deg);
}


.hero-content {
  max-width: 800px;

  position: relative;
  z-index: 2;
}


.hero-small,
.section-label {
  color: var(--orange);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 3px;

  margin-bottom: 15px;
}


.hero-content h1 {
  font-family: "Anton", sans-serif;

  font-size: clamp(60px, 9vw, 110px);

  line-height: 0.95;

  letter-spacing: 2px;
}


.hero-content h1 span {
  color: var(--orange);
}


.hero-description {
  max-width: 600px;

  margin-top: 25px;

  color: var(--gray);

  font-size: 16px;
}


/* =====================================================
   ABOUT US
   ===================================================== */

.about-section {
  padding: 110px 8%;

  background: var(--dark);
}


.about-container {
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 80px;

  align-items: center;
}


/* About Content */

.about-content h2,
.vision-content h2,
.mission-header h2 {
  font-family: "Anton", sans-serif;

  font-size: clamp(42px, 5vw, 65px);

  line-height: 1;

  letter-spacing: 1px;

  margin-bottom: 30px;
}


.about-content h2 span,
.vision-content h2 span,
.mission-header h2 span {
  color: var(--orange);
}


.about-content > p:not(.section-label) {
  color: #bcbcbc;

  font-size: 15px;

  margin-bottom: 18px;

  max-width: 650px;
}


/* =====================================================
   LOGO
   ===================================================== */

.about-logo {
  display: flex;

  justify-content: center;
  align-items: center;
}


.logo-frame {
  position: relative;

  width: 330px;
  height: 330px;

  display: flex;
  justify-content: center;
  align-items: center;

  border: 1px solid var(--border);

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 90, 31, 0.08),
      rgba(255, 255, 255, 0.015)
    );

  overflow: hidden;
}


.logo-frame::before,
.logo-frame::after {
  content: "";

  position: absolute;

  width: 70px;
  height: 70px;

  border-color: var(--orange);

  border-style: solid;
}


.logo-frame::before {
  left: 15px;
  top: 15px;

  border-width: 2px 0 0 2px;
}


.logo-frame::after {
  right: 15px;
  bottom: 15px;

  border-width: 0 2px 2px 0;
}


.logo-frame img {
  width: 220px;
  height: 220px;

  object-fit: contain;

  position: relative;
  z-index: 2;

  transition: 0.5s ease;
}


.logo-frame:hover img {
  transform: scale(1.08);
}


.logo-glow {
  position: absolute;

  width: 180px;
  height: 180px;

  background: rgba(255, 90, 31, 0.15);

  filter: blur(70px);

  border-radius: 50%;
}


/* =====================================================
   VISION
   ===================================================== */

.vision-section {
  padding: 110px 8%;

  background: var(--black);
}


.vision-container {
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns: 150px 1fr;

  gap: 50px;

  align-items: start;
}


.vision-number {
  font-family: "Anton", sans-serif;

  font-size: 80px;

  line-height: 1;

  color: rgba(255, 90, 31, 0.25);
}


.vision-content {
  max-width: 850px;
}


.vision-content > p:last-child {
  color: #c1c1c1;

  font-size: 21px;

  line-height: 1.7;
}


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

.mission-section {
  padding: 110px 8%;

  background: var(--dark);
}


.mission-container {
  max-width: 1200px;

  margin: auto;
}


.mission-header {
  max-width: 700px;

  margin-bottom: 60px;
}


.mission-header > p:last-child {
  color: var(--gray);

  font-size: 15px;
}


.mission-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}


.mission-card {
  position: relative;

  padding: 35px 28px;

  min-height: 280px;

  background: #111;

  border: 1px solid rgba(255, 255, 255, 0.06);

  transition: 0.35s ease;

  overflow: hidden;
}


.mission-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 3px;

  background: var(--orange);

  transform: scaleX(0);

  transform-origin: left;

  transition: 0.35s ease;
}


.mission-card:hover {
  transform: translateY(-8px);

  border-color: var(--border);
}


.mission-card:hover::before {
  transform: scaleX(1);
}


.mission-icon {
  font-family: "Anton", sans-serif;

  color: var(--orange);

  font-size: 30px;

  margin-bottom: 35px;
}


.mission-card h3 {
  font-size: 17px;

  letter-spacing: 0.5px;

  margin-bottom: 15px;
}


.mission-card p {
  color: #999;

  font-size: 14px;

  line-height: 1.7;
}


/* =====================================================
   CTA
   ===================================================== */

.about-cta {
  padding: 110px 8%;

  text-align: center;

  background:
    radial-gradient(
      circle at center,
      rgba(255, 90, 31, 0.12),
      transparent 45%
    ),
    var(--black);
}


.cta-content {
  max-width: 900px;

  margin: auto;
}


.about-cta h2 {
  font-family: "Anton", sans-serif;

  font-size: clamp(40px, 6vw, 75px);

  line-height: 1;

  margin-bottom: 35px;
}


.about-cta h2 span {
  color: var(--orange);
}


/* CTA Button */

.cta-button {
  display: inline-block;

  padding: 14px 28px;

  background: var(--orange);

  color: #fff;

  text-decoration: none;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 1px;

  border-radius: 6px;

  transition: 0.3s ease;
}


.cta-button:hover {
  background: #ff6b38;

  transform: translateY(-3px);

  box-shadow:
    0 10px 30px rgba(255, 90, 31, 0.25);
}


/* =====================================================
   FOOTER
   ===================================================== */

.footer {
  padding: 25px 5%;

  text-align: center;

  background: #090909;

  border-top: 1px solid rgba(255, 255, 255, 0.05);

  color: #666;

  font-size: 12px;
}


.footer strong {
  color: var(--orange);
}


/* =====================================================
   RESPONSIVE - TABLET
   ===================================================== */

@media (max-width: 1000px) {

  .about-container {
    grid-template-columns: 1fr;

    gap: 60px;
  }


  .about-logo {
    order: -1;
  }


  .logo-frame {
    width: 280px;
    height: 280px;
  }


  .logo-frame img {
    width: 190px;
    height: 190px;
  }


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

}


/* =====================================================
   RESPONSIVE - MOBILE
   ===================================================== */

@media (max-width: 768px) {

  /* Navbar */

  .navbar {
    height: 65px;

    padding: 0 5%;
  }


  .nav-menu {
    display: none;

    position: absolute;

    top: 70px;
    right: 5%;

    width: 210px;

    padding: 15px;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    background: #151515;

    border: 1px solid rgba(255, 90, 31, 0.3);

    border-radius: 12px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  }


  .nav-menu.show {
    display: flex;
  }


  .nav-menu a {
    padding: 13px 10px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }


  .nav-menu a:last-child {
    border-bottom: none;
  }


  .nav-menu a::after {
    display: none;
  }


  .menu-toggle {
    display: block;

    position: relative;

    z-index: 2000;

    color: #fff;
  }


  /* Hero */

  .about-hero {
    min-height: 370px;

    padding: 70px 7%;
  }


  .hero-content h1 {
    font-size: 65px;
  }


  .hero-description {
    font-size: 14px;
  }


  /* Sections */

  .about-section,
  .vision-section,
  .mission-section,
  .about-cta {
    padding: 80px 7%;
  }


  /* Vision */

  .vision-container {
    grid-template-columns: 1fr;

    gap: 15px;
  }


  .vision-number {
    font-size: 55px;
  }


  .vision-content > p:last-child {
    font-size: 17px;
  }


  /* Mission */

  .mission-grid {
    grid-template-columns: 1fr;
  }


  .mission-card {
    min-height: auto;
  }

}


/* =====================================================
   SMALL MOBILE
   ===================================================== */

@media (max-width: 420px) {

  .navbar {
    padding: 0 15px;
  }


  .nav-brand {
    gap: 8px;
  }


  .nav-logo {
    width: 36px;
    height: 36px;
  }


  /* Keep AGILITY UNITED visible */

  .nav-brand span {
    display: inline-block;

    font-size: 10px;

    letter-spacing: 0.5px;

    white-space: nowrap;
  }


  .menu-toggle {
    display: block;

    font-size: 28px;

    color: #fff;
  }


  .about-hero {
    padding: 60px 20px;
  }


  .hero-content h1 {
    font-size: 55px;
  }


  .about-section,
  .vision-section,
  .mission-section,
  .about-cta {
    padding-left: 20px;
    padding-right: 20px;
  }


  .about-content h2,
  .vision-content h2,
  .mission-header h2 {
    font-size: 42px;
  }


  .logo-frame {
    width: 240px;
    height: 240px;
  }


  .logo-frame img {
    width: 160px;
    height: 160px;
  }


  .about-cta h2 {
    font-size: 42px;
  }

}
