
:root {
  --black: #14161b;
  --red: #d92732;
  --yellow: #f3c83d;
  --cream: #c9c5b4cd;
  --white: #c3c3b8f3;
  --gray: #686d77;
  --line: #dbd1b4;
  --font: "DM Sans", sans-serif;
  --heading: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font);
  line-height: 1.7;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f7f6f2f2;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  min-height: 80px;
  padding: 15px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font: 800 25px var(--heading);
  letter-spacing: -1px;
}

.logo span {
  color: var(--red);
  font-size: 15px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 12px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--red);
}

.nav .nav-button {
  background: var(--red);
  color: white;
  padding: 12px 17px;
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--black);
  font-size: 26px;
  cursor: pointer;
}

.hero {
  max-width: 1250px;
  width: 88%;
  margin: auto;
  padding: 75px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.eyebrow {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.hero h1,
.section-heading h2,
.how-content h2,
.mission h2,
.contact-intro h2 {
  font: 800 clamp(40px, 5vw, 66px)/1.12 var(--heading);
  letter-spacing: -3px;
  margin-bottom: 22px;
}

.hero h1 span,
.section-heading h2 span,
.how-content h2 span,
.mission h2 span,
.contact-intro h2 span {
  color: var(--red);
}

.hero-description {
  color: var(--gray);
  font-size: 14px;
  max-width: 530px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 20px;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #14161b20;
}

.button-red {
  background: var(--red);
  color: white;
}

.button-outline {
  border: 1px solid #d8d5ce;
  background: transparent;
}

.hero-slogan {
  color: var(--gray);
  margin-top: 35px;
  font-size: 12px;
  font-style: italic;
}

.hero-image {
  height: 480px;
  position: relative;
}

.hero-image > img {
  border-radius: 120px 12px 12px 12px;
  box-shadow: 0 20px 50px #14161b20;
}

.image-card {
  position: absolute;
  left: -25px;
  bottom: 25px;
  background: white;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 35px #14161b20;
}

.image-card strong,
.image-card small {
  display: block;
}

.image-card strong {
  font-size: 12px;
}

.image-card small {
  font-size: 10px;
  color: var(--gray);
}

.check {
  background: var(--yellow);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.ticker {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
  padding: 25px 5%;
  background: #eeece6;
  border-block: 1px solid var(--line);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.section {
  max-width: 1250px;
  width: 88%;
  margin: auto;
  padding: 100px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 40px;
}

.section-heading > p:last-child {
  color: var(--gray);
  font-size: 13px;
  margin-top: 18px;
}

.section-heading h2 {
  font-size: clamp(35px, 4vw, 50px);
  letter-spacing: -2px;
  margin-bottom: 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.service-card {
  background: white;
  border: 1px solid var(--line);
  padding: 25px 20px;
  border-radius: 12px;
  transition: transform .3s, box-shadow .3s;
}

.service-card:hover,
.opportunity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px #14161b12;
}

.dark-card {
  background: var(--black);
  color: white;
}

.service-icon {
  color: var(--red);
  background: #ffebeb;
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 25px;
  margin-bottom: 20px;
}

.dark-card .service-icon {
  background: #ffffff15;
  color: var(--yellow);
}

.service-card h3,
.opportunity-card h3 {
  font: 800 18px/1.35 var(--heading);
  margin-bottom: 12px;
}

.service-card p,
.service-card li,
.opportunity-card p {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 10px;
}

.dark-card p,
.dark-card li {
  color: #c7c8cd;
}

.service-card ul {
  padding-left: 17px;
  margin: 14px 0 20px;
}

.card-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
}

.how-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #eeece6;
}

.how-image {
  min-height: 570px;
}

.how-content {
  padding: 75px 9%;
  align-self: center;
}

.how-content h2 {
  font-size: clamp(38px, 4vw, 52px);
  letter-spacing: -2px;
}

.how-content > p:not(.eyebrow) {
  color: var(--gray);
  font-size: 13px;
  margin-bottom: 22px;
}

.step {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid #d8d5ce;
  padding: 17px 0;
}

.step > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.step h3 {
  font-size: 13px;
}

.step p {
  color: var(--gray);
  font-size: 11px;
}

.opportunity-section {
  padding-bottom: 90px;
}

.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.opportunity-card {
  background: white;
  border: 1px solid var(--line);
  padding: 27px;
  border-radius: 12px;
  transition: transform .3s, box-shadow .3s;
}

.tag {
  display: inline-block;
  background: #e4f3e9;
  color: #247b56;
  border-radius: 4px;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 800;
  margin-bottom: 18px;
}

.tag-yellow {
  background: #fff4ce;
  color: #846500;
}

.tag-red {
  background: #ffebeb;
  color: var(--red);
}

.opportunity-card a {
  display: inline-block;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  margin-top: 10px;
}

.disclaimer {
  color: var(--gray);
  font-size: 10px;
  margin-top: 20px;
}

.industries {
  background: #1a202b;
  color: white;
  padding: 90px 6%;
}

.industries .section-heading {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto 35px;
}

.industries .eyebrow {
  color: var(--yellow);
}

.industries h2 span {
  color: var(--yellow);
}

.industry-grid {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 13px;
}

.industry {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.industry::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, #000c);
}

.industry img {
  transition: transform .5s;
}

.industry:hover img {
  transform: scale(1.06);
}

.industry span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
}

.mission {
  text-align: center;
  max-width: 850px;
}

.mission h2 {
  font-size: clamp(38px, 5vw, 58px);
}

.mission > p:not(.eyebrow) {
  color: var(--gray);
  font-size: 14px;
  max-width: 650px;
  margin: 0 auto 25px;
}

.mission > strong {
  font-size: 13px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding: 90px 8%;
  background: #eeece6;
}

.contact-intro {
  max-width: 500px;
  justify-self: end;
}

.contact-intro h2 {
  font-size: clamp(40px, 4vw, 55px);
}

.contact-intro > p:not(.eyebrow) {
  color: var(--gray);
  font-size: 13px;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px 0;
}

.contact-detail > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: white;
  color: var(--red);
}

.contact-detail small,
.contact-detail strong {
  display: block;
}

.contact-detail small {
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 1px;
}

.contact-detail strong {
  font-size: 13px;
}

.contact-form {
  max-width: 520px;
  width: 100%;
  background: white;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.contact-form h3 {
  font: 800 24px var(--heading);
  margin-bottom: 22px;
}

.contact-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fbfaf7;
  border-radius: 6px;
  font-size: 12px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px #d9273214;
}

.contact-form textarea {
  resize: vertical;
}

.submit-button {
  width: 100%;
  margin-top: 5px;
}

.form-note {
  color: var(--gray);
  font-size: 10px;
  margin-top: 12px;
}

.footer {
  background: var(--black);
  color: white;
  text-align: center;
  padding: 35px 5%;
}

.footer p {
  margin: 12px 0;
  font-size: 12px;
}

.footer small {
  color: #9b9c69;
  font-size: 10px;
}

@media (max-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    gap: 30px;
  }

  .hero-image {
    height: 400px;
  }

  .nav {
    gap: 14px;
  }

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

@media (max-width: 700px) {
  .header {
    min-height: 70px;
    padding: 12px 5%;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    background: var(--gray);
    padding: 20px 6%;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a:not(.nav-button) {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav .nav-button {
    text-align: center;
    margin-top: 14px;
  }

  .hero {
    width: 88%;
    grid-template-columns: 1fr;
    padding: 45px 0 55px;
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(43px, 12vw, 60px);
    letter-spacing: -2px;
  }

  .hero-image {
    height: 350px;
    margin-left: 12px;
  }

  .image-card {
    left: -12px;
    bottom: 15px;
  }

  .ticker {
    justify-content: flex-start;
    font-size: 9px;
    gap: 20px;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading h2 {
    font-size: 38px;
    letter-spacing: -1.5px;
  }

  .service-grid,
  .opportunity-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 25px;
  }

  .how-section {
    grid-template-columns: 1fr;
  }

  .how-image {
    min-height: 300px;
  }

  .how-content {
    padding: 55px 6%;
  }

  .industries {
    padding: 65px 6%;
  }

  .industry-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    padding: 65px 6%;
    gap: 35px;
  }

  .contact-intro {
    justify-self: start;
  }

  .contact-form {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* NIYLAN mobile dropdown menu colors */
@media (max-width: 760px) {
  .nav-links {
    background-color: #101d32;
    border-bottom: 2px solid #d7ae55;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  }

  .nav-links > a {
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 12px;
  }

  .nav-links > a:hover,
  .nav-links > a:focus {
    color: #f0d9a0;
    background-color: #1c2e49;
  }

  .nav-links .nav-cta {
    background-color: #d7ae55;
    color: #101d32;
    border-bottom: none;
    margin-top: 10px;
  }

  .nav-links .nav-cta:hover {
    background-color: #f0d9a0;
    color: #101d32;
  }

  .nav-links .nav-cta span {
    color: #101d32;
  }
}
