/* ========================================
   3cAxis Technologies
   Solutions Page
   ======================================== */

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


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


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

  background-color: #f4f7fb;

  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:
    78px
    24px
    84px;

  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: 12px;

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

  letter-spacing: 0.16em;

  opacity: 0.9;
}


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

  font-size:
    clamp(
      38px,
      5vw,
      60px
    );

  line-height: 1.08;
}


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

  margin:
    0
    auto
    30px;

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

  font-size:
    clamp(
      17px,
      2vw,
      20px
    );
}


.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding:
    0
    26px;

  border:
    2px solid
    #ffffff;

  border-radius: 8px;

  background-color: #ffffff;

  color: #0d7bfd;

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

  letter-spacing: 0.04em;

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

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


.hero-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 9px 24px
    rgba(
      0,
      0,
      0,
      0.16
    );
}


/* ========================================
   Introduction
   ======================================== */

.intro-section {
  padding:
    60px
    24px
    20px;

  text-align: center;
}


.intro-content {
  max-width: 820px;

  margin: 0 auto;
}


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

  color: #0d7bfd;

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

  letter-spacing: 0.14em;
}


.intro-content h2 {
  margin-bottom: 16px;

  color: #172033;

  font-size:
    clamp(
      28px,
      4vw,
      40px
    );

  line-height: 1.2;
}


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

  font-size: 17px;
}


/* ========================================
   Solutions
   ======================================== */

.solutions-main {
  width: 100%;

  padding:
    38px
    24px
    82px;
}


.solutions-grid {
  display: grid;

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

  gap: 28px;

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

  margin: 0 auto;
}


/* ========================================
   Solution Cards
   ======================================== */

.solution-card {
  position: relative;

  padding:
    38px
    36px;

  overflow: hidden;

  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;
}


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

  transform: translateY(-4px);

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


.solution-number {
  margin-bottom: 18px;

  color: #0d7bfd;

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

  letter-spacing: 0.12em;
}


.solution-card h2 {
  margin-bottom: 13px;

  color: #172033;

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

  line-height: 1.2;
}


.solution-summary {
  margin-bottom: 22px;

  color: #667085;

  font-size: 15px;
}


.solution-card ul {
  display: grid;

  gap: 10px;

  margin:
    0
    0
    24px;

  padding: 0;

  list-style: none;
}


.solution-card li {
  position: relative;

  padding-left: 24px;

  color: #344054;

  font-size: 14px;
}


.solution-card li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color: #0d7bfd;

  font-weight: 700;
}


.solution-best {
  padding-top: 18px;

  border-top:
    1px solid
    #e8edf3;

  color: #667085;

  font-size: 13px;
}


.solution-best strong {
  color: #273248;
}


/* ========================================
   Featured Cards
   ======================================== */

.solution-card.featured {
  border-color: #bcdcff;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f4f9ff 100%
    );
}


.featured-label {
  position: absolute;

  right: 22px;
  top: 20px;

  padding:
    5px
    9px;

  border-radius: 5px;

  background-color: #e6f2ff;

  color: #0d7bfd;

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

  letter-spacing: 0.08em;
}


/* ========================================
   Rescue Card
   ======================================== */

.rescue-card {
  grid-column:
    1
    / -1;

  max-width: 760px;

  width: 100%;

  margin: 0 auto;
}


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

.bottom-cta {
  width: 100%;

  padding:
    72px
    24px;

  background-color: #172033;

  color: #ffffff;

  text-align: center;
}


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

  margin: 0 auto;
}


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


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

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

  line-height: 1.15;
}


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

  margin:
    0
    auto
    28px;

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

  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;
}


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

  background-color: #0d7bfd;

  color: #ffffff;
}


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

  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) {

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


  .rescue-card {
    grid-column: auto;

    max-width: none;
  }

}


/* ========================================
   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:
      56px
      20px
      62px;
  }


  .intro-section {
    padding:
      46px
      20px
      12px;
  }


  .solutions-main {
    padding:
      30px
      16px
      58px;
  }


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


  .featured-label {
    right: 18px;
    top: 18px;
  }


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

}


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

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

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


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


  .solution-card {
    padding:
      26px
      20px;
  }


  .featured-label {
    position: static;

    display: inline-flex;

    margin-bottom: 14px;
  }


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


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

}
