﻿/* =============================================================================
   EXPERIENCE PAGE (experience/index.html)
   Sections: .page-hero, .yellow-strip, .industries, .next-project, .closing
   ============================================================================= */

/* ---------- Hero ----------------------------------------------------------- */
.page-hero { height: 34.86cqw; padding: 12.55cqw 0 0 6.93cqw; }
.page-hero__title { font-size: 4.181cqw; }
.page-hero__text { width: 26.77cqw; }


/* ---------- Market industries --------------------------------------------- */
.industries {
  padding: 5.35cqw 0 5.72cqw;
  text-align: center;
}
.background--clear { background-color: transparent; }

.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 15.33cqw);
  column-gap: 7.14cqw;
  row-gap: 4.05cqw;
  margin: 2.42cqw 0 0 8.5cqw;
  list-style: none;
}

.industry img {
  width: 6.4cqw;
  height: 6.4cqw;
  margin: 0 auto;
  object-fit: cover;
}

.industry h3 {
  margin-top: 2.1cqw;
  font-size: 1.738cqw;
  line-height: 1.4;
  text-transform: uppercase;
}

/* hover effects (see css/animations.css): the whole industry grows 2%,
   and the icon grows 25% when the mouse is over the icon itself */


/* ---------- Ready to move your next project --------------------------------- */
.next-project {
  display: flex;
  height: 17.22cqw;
  padding: 3.73cqw 0 0 12.44cqw;
  color: var(--white);
}

.next-project__title {
  align-self: center;
  width: 38.79cqw;
  margin-top: -3.73cqw;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 4.181cqw;
  line-height: 1.2;
  text-transform: capitalize;
}

.next-project__text { width: 21.42cqw; margin: 0.31cqw 0 0 7.72cqw; }
.next-project p {
  font-size: 1.287cqw;
  line-height: 1.6;
  color: var(--off-white);
}
.next-project .button {
  width: 15.96cqw;
  height: 3.46cqw;
  margin-top: 1.84cqw;
}


/* ---------- Closing ----------------------------------------------------------- */
.closing { height: 22.2cqw; padding-top: 6.25cqw; }
.closing__buttons { gap: 2.1cqw; margin-top: 1.63cqw; }
.closing .button { width: 16.48cqw; height: 3.46cqw; }


/* =============================================================================
   TABLET
   ============================================================================= */
@media (max-width: 1000px) {
  .page-hero { height: 54.01cqw; padding: 18.31cqw 0 0 3.95cqw; }
  .page-hero__title { width: 40cqw; font-size: 5.312cqw; }
  .page-hero__text { width: 43.73cqw; }

  .industries { padding: 7.23cqw 0 7.22cqw; }
  .industries h2 { font-size: 3.484cqw; }
  .industries__grid { grid-template-columns: repeat(4, 16.5cqw); column-gap: 7.34cqw; row-gap: 3.95cqw; margin: 2.38cqw 0 0 5.65cqw; }
  .industry img { width: 6.89cqw; height: 6.89cqw; }
  .industry h3 { margin-top: 2.14cqw; font-size: 1.753cqw; }

  .next-project { height: 23.62cqw; padding: 3.73cqw 0 0 12.43cqw; }
  .next-project__title { width: 38.76cqw; font-size: 4.648cqw; }
  .next-project__text { width: 21.47cqw; margin: 0 0 0 7.68cqw; }
  .next-project p { font-size: 1.864cqw; }
  .next-project .button { gap: 19.9px; width: 20.9cqw; height: 5.65cqw; margin-top: 1.81cqw; font-size: 1.812cqw; white-space: normal; text-align: center; }
  .next-project .button::after { width: 27px; height: 27px; }

  .closing { height: 19.55cqw; padding: 3.95cqw 7.01cqw 0; }
  .closing h2 { font-size: 3.984cqw; }
  .closing__buttons { align-items: flex-start; gap: 2.04cqw; margin-top: 1.69cqw; }
  .closing .button { width: 16.38cqw; height: 5.2cqw; font-size: 1.812cqw; white-space: normal; text-align: center; }
  .closing .button:last-child { width: 17.18cqw; height: 4.86cqw; }
  .closing .button::after { width: 3.4cqw; height: 3.4cqw; }
}


/* =============================================================================
   PHONE
   ============================================================================= */
@media (max-width: 750px) {
  .page-hero { height: 96.27cqw; padding: 30.93cqw 0 0 5.33cqw; }
  .page-hero__title { width: 61.33cqw; font-size: 8.588cqw; }
  .page-hero__text { width: 61.33cqw; margin-top: 1.07cqw; color: var(--white); }

  .industries { padding: 7.2cqw 8cqw 15.2cqw; }
  .industries h2 { font-size: 6.71cqw; }
  .industries__grid { grid-template-columns: repeat(2, 33.07cqw); column-gap: 10.93cqw; row-gap: 12cqw; margin: 2.4cqw 0 0 3.2cqw; }
  .industry img { width: 13.87cqw; height: 13.87cqw; }
  .industry h3 { margin-top: 2.13cqw; font-size: 3.47cqw; }

  .next-project { flex-direction: column; height: 64.53cqw; padding: 8cqw 8cqw 0; text-align: center; }
  .next-project__title { align-self: auto; width: 84cqw; margin: 0; font-size: 6.71cqw; }
  .next-project__text { width: 82.67cqw; margin: 5.33cqw 0 0 0.8cqw; }
  .next-project p { font-size: 3.737cqw; }
  .next-project .button { gap: 1.87cqw; width: 44.53cqw; height: 13.33cqw; margin-top: 1.87cqw; font-size: 3.697cqw; white-space: nowrap; }
  .next-project .button::after { width: 4.6cqw; height: 4.6cqw; }

  .closing { height: 58.13cqw; padding: 8cqw 5.33cqw 0; }
  .closing h2 { font-size: 6.71cqw; }
  .closing__buttons { align-items: center; gap: 2.13cqw; margin-top: 5.33cqw; }
  .closing .button { width: 48.8cqw !important; height: 13.33cqw !important; font-size: 3.697cqw; }
  .closing .button::after { width: 6cqw; height: 6cqw; }
}
