/* ========================================
   3cAxis Technologies
   About Page
   ======================================== */

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

html {
  width: 100%;
  min-height: 100%;
}

body {
  width: 100%;
  min-height: 100vh;

  background-color: #ffffff;

  color: #1f2937;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1.6;
}


/* ========================================
   Top Navigation
   ======================================== */

.top-ribbon {
  position: relative;

  width: 100%;
  height: 64px;

  background-color: #1e87fc;

  z-index: 100;
}

.nav-container {
  position: relative;

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

  width: 100%;
  max-width: 1600px;
  height: 100%;

  margin: 0 auto;

  padding-left: clamp(16px, 2vw, 34px);
  padding-right: clamp(16px, 2vw, 34px);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  gap: clamp(12px, 1.7vw, 30px);
}

.nav-link {
  position: relative;

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

  min-height: 40px;

  color: #ffffff;

  font-size:
    clamp(
      11px,
      0.82vw,
      15px
    );

  font-weight: 600;

  letter-spacing: 0.04em;

  text-decoration: none;
  text-transform: uppercase;

  white-space: nowrap;

  transition:
    opacity 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.nav-link:not(.nav-cta)::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 4px;

  width: 0;
  height: 2px;

  background-color: #ffffff;

  transform: translateX(-50%);

  transition: width 0.2s ease;
}

.nav-link:not(.nav-cta):hover::after,
.nav-link.active:not(.nav-cta)::after {
  width: 100%;
}

.nav-link:hover {
  opacity: 0.88;
}

.nav-cta {
  min-height: 40px;

  padding-left:
    clamp(
      12px,
      1.2vw,
      22px
    );

  padding-right:
    clamp(
      12px,
      1.2vw,
      22px
    );

  border: 2px solid #ffffff;

  border-radius: 6px;
}

.nav-cta:hover {
  color: #1e87fc;

  background-color: #ffffff;

  opacity: 1;
}

.mobile-brand,
.menu-toggle,
.menu-button {
  display: none;
}


/* ========================================
   Hero
   ======================================== */

.page-hero {
  width: 100%;

  padding:
    84px
    24px
    90px;

  background:
    linear-gradient(
      135deg,
      #0d7bfd 0%,
      #1e87fc 55%,
      #45a1ff 100%
    );

  color: #ffffff;

  text-align: center;
}

.page-hero-content {
  max-width: 900px;

  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 14px;

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

  letter-spacing: 0.16em;

  opacity: 0.9;
}

.page-hero h1 {
  margin-bottom: 20px;

  font-size:
    clamp(
      40px,
      5.5vw,
      64px
    );

  line-height: 1.06;
}

.hero-text {
  max-width: 700px;

  margin: 0 auto;

  color:
    rgba(
      255,
      255,
      255,
      0.94
    );

  font-size:
    clamp(
      18px,
      2vw,
      21px
    );
}


/* ========================================
   Shared
   ======================================== */

.section-label {
  margin-bottom: 9px;

  color: #0d7bfd;

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

  letter-spacing: 0.14em;
}

.section-label.light {
  color: #74b7ff;
}


/* ========================================
   Mission
   ======================================== */

.mission-section {
  width: 100%;

  padding:
    90px
    24px;
}

.mission-container {
  display: grid;

  grid-template-columns:
    minmax(0, 0.82fr)
    minmax(0, 1.18fr);

  gap:
    clamp(
      50px,
      7vw,
      100px
    );

  width: 100%;
  max-width: 1180px;

  margin: 0 auto;
}

.mission-heading h2 {
  color: #172033;

  font-size:
    clamp(
      32px,
      4vw,
      46px
    );

  line-height: 1.16;
}

.mission-copy {
  color: #5f6b7c;

  font-size: 16px;
}

.mission-copy p {
  margin-bottom: 22px;
}

.mission-lead {
  color: #172033;

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

  line-height: 1.45;
}

.mission-copy blockquote {
  margin-top: 34px;

  padding:
    22px
    0
    22px
    24px;

  border-left:
    4px solid
    #0d7bfd;

  color: #172033;

  font-size:
    clamp(
      20px,
      2.5vw,
      27px
    );

  font-weight: 700;

  line-height: 1.35;
}


/* ========================================
   Principles
   ======================================== */

.principles-section {
  width: 100%;

  padding:
    84px
    24px
    92px;

  background-color: #f4f7fb;
}

.section-intro {
  max-width: 760px;

  margin:
    0
    auto
    48px;

  text-align: center;
}

.section-intro h2 {
  margin-bottom: 15px;

  color: #172033;

  font-size:
    clamp(
      30px,
      4vw,
      42px
    );

  line-height: 1.2;
}

.section-intro > p:not(.section-label) {
  color: #667085;

  font-size: 17px;
}

.principles-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 26px;

  width: 100%;
  max-width: 1180px;

  margin: 0 auto;
}

.principle-card {
  padding:
    38px
    32px;

  border:
    1px solid
    #e1e8f1;

  border-radius: 16px;

  background-color: #ffffff;

  box-shadow:
    0 10px 35px
    rgba(
      15,
      51,
      92,
      0.07
    );

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.principle-card:hover {
  border-color: #bedcff;

  transform: translateY(-4px);

  box-shadow:
    0 16px 40px
    rgba(
      15,
      51,
      92,
      0.11
    );
}

.principle-number {
  margin-bottom: 20px;

  color: #0d7bfd;

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

  letter-spacing: 0.12em;
}

.principle-card h3 {
  margin-bottom: 14px;

  color: #172033;

  font-size: 22px;

  line-height: 1.25;
}

.principle-card p {
  color: #667085;

  font-size: 15px;
}


/* ========================================
   Control Section
   ======================================== */

.control-section {
  width: 100%;

  padding:
    90px
    24px;

  background-color: #172033;

  color: #ffffff;
}

.control-container {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap:
    clamp(
      50px,
      7vw,
      90px
    );

  width: 100%;
  max-width: 1180px;

  margin: 0 auto;

  align-items: center;
}

.control-content h2 {
  margin-bottom: 22px;

  font-size:
    clamp(
      32px,
      4vw,
      46px
    );

  line-height: 1.16;
}

.control-content p:not(.section-label) {
  margin-bottom: 18px;

  color:
    rgba(
      255,
      255,
      255,
      0.76
    );

  font-size: 16px;
}

.control-points {
  display: grid;

  gap: 18px;
}

.control-point {
  display: flex;

  gap: 16px;

  padding: 20px;

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

  border-radius: 12px;

  background-color:
    rgba(
      255,
      255,
      255,
      0.05
    );
}

.checkmark {
  display: flex;
  align-items: center;
  justify-content: center;

  flex:
    0
    0
    34px;

  width: 34px;
  height: 34px;

  border-radius: 50%;

  background-color:
    rgba(
      13,
      123,
      253,
      0.18
    );

  color: #74b7ff;

  font-weight: 700;
}

.control-point h3 {
  margin-bottom: 3px;

  font-size: 16px;
}

.control-point p {
  color:
    rgba(
      255,
      255,
      255,
      0.67
    );

  font-size: 14px;
}


/* ========================================
   Philosophy
   ======================================== */

.philosophy-section {
  width: 100%;

  padding:
    94px
    24px;

  background-color: #ffffff;

  text-align: center;
}

.philosophy-content {
  max-width: 850px;

  margin: 0 auto;
}

.philosophy-content h2 {
  margin-bottom: 22px;

  color: #172033;

  font-size:
    clamp(
      32px,
      4vw,
      46px
    );

  line-height: 1.18;
}

.philosophy-content > p:not(.section-label) {
  margin-bottom: 20px;

  color: #667085;

  font-size: 16px;
}

.philosophy-statement {
  display: flex;
  align-items: center;
  justify-content: center;

  gap:
    clamp(
      16px,
      3vw,
      34px
    );

  margin-top: 44px;

  flex-wrap: wrap;
}

.philosophy-statement span {
  color: #0d7bfd;

  font-size:
    clamp(
      21px,
      3vw,
      30px
    );

  font-weight: 700;
}

.philosophy-statement span:not(:last-child)::after {
  content: "•";

  margin-left:
    clamp(
      16px,
      3vw,
      34px
    );

  color: #c4d7ee;
}


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

.bottom-cta {
  width: 100%;

  padding:
    78px
    24px;

  background:
    linear-gradient(
      135deg,
      #0868d6 0%,
      #0d7bfd 55%,
      #1e87fc 100%
    );

  color: #ffffff;

  text-align: center;
}

.bottom-cta-content {
  max-width: 820px;

  margin: 0 auto;
}

.bottom-cta h2 {
  margin-bottom: 18px;

  font-size:
    clamp(
      31px,
      4vw,
      45px
    );

  line-height: 1.15;
}

.bottom-cta p:not(.section-label) {
  max-width: 700px;

  margin:
    0
    auto
    30px;

  color:
    rgba(
      255,
      255,
      255,
      0.86
    );

  font-size: 16px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 14px;

  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding:
    0
    22px;

  border-radius: 7px;

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

  letter-spacing: 0.04em;

  text-decoration: none;
  text-transform: uppercase;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.primary-button {
  border:
    2px solid
    #ffffff;

  background-color: #ffffff;

  color: #0d7bfd;
}

.secondary-button {
  border:
    2px solid
    rgba(
      255,
      255,
      255,
      0.9
    );

  color: #ffffff;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.secondary-button:hover {
  background-color:
    rgba(
      255,
      255,
      255,
      0.1
    );
}


/* ========================================
   Footer
   ======================================== */

.site-footer {
  width: 100%;

  padding:
    26px
    20px;

  background-color: #101725;

  color:
    rgba(
      255,
      255,
      255,
      0.65
    );

  font-size: 13px;

  text-align: center;
}


/* ========================================
   Tablet
   ======================================== */

@media screen and (max-width: 900px) {

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

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

  .principle-card {
    max-width: 720px;

    width: 100%;

    margin: 0 auto;
  }
}


/* ========================================
   Mobile Navigation
   ======================================== */

@media screen and (max-width: 768px) {

  .top-ribbon {
    height: 56px;

    background-color: #0d7bfd;
  }

  .nav-container {
    justify-content: space-between;

    padding-left: 16px;
    padding-right: 16px;
  }

  .mobile-brand {
    display: block;

    color: #ffffff;

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

    letter-spacing: 0.04em;

    text-decoration: none;

    white-space: nowrap;

    z-index: 102;
  }

  .menu-toggle {
    position: absolute;

    display: block;

    opacity: 0;

    pointer-events: none;
  }

  .menu-button {
    position: relative;

    display: flex;
    flex-direction: column;

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

    width: 42px;
    height: 42px;

    gap: 5px;

    cursor: pointer;

    z-index: 103;
  }

  .menu-button span {
    display: block;

    width: 25px;
    height: 2px;

    background-color: #ffffff;

    border-radius: 2px;

    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .menu-toggle:checked
  + .menu-button
  span:nth-child(1) {
    transform:
      translateY(7px)
      rotate(45deg);
  }

  .menu-toggle:checked
  + .menu-button
  span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked
  + .menu-button
  span:nth-child(3) {
    transform:
      translateY(-7px)
      rotate(-45deg);
  }

  .main-nav {
    position: absolute;

    left: 0;
    top: 56px;

    display: flex;
    flex-direction: column;

    align-items: stretch;

    width: 100%;

    gap: 0;

    padding:
      10px
      16px
      16px;

    background-color:
      rgba(
        13,
        123,
        253,
        0.98
      );

    opacity: 0;

    visibility: hidden;

    transform:
      translateY(-10px);

    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;

    z-index: 101;
  }

  .menu-toggle:checked
  ~ .main-nav {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
  }

  .nav-link {
    justify-content: flex-start;

    width: 100%;

    min-height: 48px;

    padding:
      0
      8px;

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

    font-size: 14px;
  }

  .nav-link:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;

    margin-top: 12px;

    border:
      2px solid
      #ffffff;

    border-radius: 6px;
  }


  /* ======================================
     Mobile Page
     ====================================== */

  .page-hero {
    padding:
      58px
      20px
      64px;
  }

  .mission-section,
  .principles-section,
  .control-section,
  .philosophy-section {
    padding:
      62px
      20px;
  }

  .mission-container,
  .control-container {
    gap: 38px;
  }

  .mission-copy blockquote {
    padding-left: 18px;
  }

  .principle-card {
    padding:
      30px
      24px;
  }

  .control-point {
    padding: 17px;
  }

  .philosophy-statement {
    flex-direction: column;

    gap: 8px;
  }

  .philosophy-statement span:not(:last-child)::after {
    display: none;
  }

  .bottom-cta {
    padding:
      60px
      20px;
  }
}


/* ========================================
   Small Phones
   ======================================== */

@media screen and (max-width: 420px) {

  .mobile-brand {
    font-size: 14px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .mission-section,
  .principles-section,
  .control-section,
  .philosophy-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .principle-card {
    padding:
      27px
      20px;
  }

  .control-point {
    gap: 12px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}
