
/*
Theme Name: SkillsReady
*/
/* ========================================
   Root variables
   ======================================== */
:root {
  /* Colors */
  --color-blue: #17457a;
  --color-red: #cd163f;
  --color-white: #ffffff;
  --color-gray-100: #ebeff4;
  --color-steel: #94a9c3;
  --color-slate: #56779e;
  --color-navy: #0b1d36;
  --color-deep: #0a1c36;
  --color-muted-blue: #3a618e;
  --color-mid-blue: #56779e;
  --color-azure: #04adef;
  --color-charcoal: #333333;
  --color-border: #cccccc;
}

/* ========================================
   BASE / RESET
   ======================================== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  padding: 0;
  font-family: "urw-din", sans-serif;
  max-width: 2000px;
}

p,
ul,
li {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-top: 0;
}

p {
  margin-top: 0;
}

a {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 {
  color: var(--color-red);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 3rem;
}

h2,
h3,
h4,
h5 {
  color: var(--color-blue);
  margin-top: 0;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

h4 {
  font-size: 1.6rem;
}

h5 {
  font-size: 1.4rem;
}

img {
  max-width: none;
  width: 100%;
  height: auto;
}

header {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.page-wrapper {
  min-height: 100vh;
}

/* ========================================
   BACK TO TOP ICON
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 35px;
  height: 35px;
  background-color: #94a9c3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, background-color 0.4s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top::after {
  content: "⮝";
  font-weight: 900;
  font-size: 14px;
  color: #ebeff4;
}

.back-to-top:hover {
  text-decoration: none;
  background-color: var(--color-muted-blue);
}

/* ========================================
   GLOBAL ELEMENTS
   ======================================== */
#apiLogo {
  width: 320px;
  height: auto;
}

#apiMobileLogo {
  width: 70px;
  height: auto;
  margin-left: 1rem;
}

header {
  background-color: var(--color-blue);
  display: flex;
  flex-direction: row;
  padding: 1rem 2rem;
}

.main-nav ul {
  list-style-type: none;
  display: inline-flex;
  flex-direction: row;
  padding-inline-start: 0;
  margin-bottom: 0;
  gap: 2rem;
}

.main-nav {
  margin-left: auto;
  align-content: center;
}

.btn {
  padding: 0.5rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
}

.btn-default {
  color: var(--color-white);
  background-color: var(--color-blue);
  border: 2px solid var(--color-blue);
}

.btn-default:hover {
  color: var(--color-blue);
  background-color: var(--color-white);
  text-decoration: none;
}

.btn-success {
  color: var(--color-red);
  background-color: var(--color-white);
  border: 2px solid var(--color-red);
}

.btn-success:hover {
  color: var(--color-white);
  background-color: var(--color-red);
}

.btn-social {
  display: inline-block;
  margin: 0 5px;
  text-align: center;
}

blockquote {
  background-color: var(--color-blue);
  background-image: url('../img/icons/quote-left-duotone-solid-full.svg');
  background-repeat: no-repeat;
  background-size: 6%;
  background-position: 4% 15%;
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  font-style: italic;
  align-content: center;
  min-height: 150px;
  padding: 3rem 3rem 3rem 5rem;
  margin: 0;
}

#photos .carousel-container {
  height: 500px;
  overflow: hidden;
}

#photos .carousel-container img {
  width: 500px;
  height: auto;
}

#testimonials .slider {
  width: 100%;
  height: fit-content;
}

.slider button:hover,
.carousel button:hover {
  opacity: 100% !important;
}

/* ========================================
   BANNER
   ======================================== */
.image-thumbnail {
  background-image: url('../img/skillsready_v01.jpg');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  position: relative;
  height: 75vh;
}

.image-thumbnail h1,
.image-thumbnail h2 {
  color: var(--color-white);
}

.image-thumbnail h1 {
  text-transform: uppercase;
  font-size: 6rem;
  margin-bottom: 1rem;
}

.top-title {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 80vw;
  padding: 0 6rem;
}

.top-title h1,
.top-title h2 {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.top-title h2 {
  font-size: 1.8rem;
  line-height: 1.25;
  transition-delay: 0.15s;
}

.top-title.is-visible h1,
.top-title.is-visible h2 {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   SECTION ELEMENTS
   ======================================== */
.fa-arrow-up-right-from-square {
  font-size: 0.8rem;
  margin-left: 0.5rem;
  margin-top: 0.45rem;
}

.page-wrapper h3 {
  width: fit-content;
  text-transform: uppercase;
  padding-left: 1rem;
  border-left: 4px solid var(--color-azure);
}

.white-bg {
  padding: 4rem 6rem;
}

.blue-bg {
  padding: 4rem 6rem;
  background-color: var(--color-gray-100);
}

#learn-more a {
  color: var(--color-blue);
}

#learn-more .fa-file-pdf {
  color: var(--color-red);
  margin-right: 5px;
}

#advantage p {
  padding-left: 2rem;
}

#advantage .disclaimer .fa-solid {
  font-size: 0.9rem;
  margin-right: 0.5rem;
  color: var(--color-red);
}

#advantage .disclaimer {
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 2rem;
}

#advantage .fa-circle-exclamation {
  color: var(--color-red);
}

#industry {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 2rem 2rem 0 2rem;
  gap: 6rem;
  position: relative;
  top: -60px;
}

#industry img {
  width: 50px;
  height: 50px;
  padding: 1.5rem;
  border-radius: 50px;
  background-color: var(--color-gray-100);
  margin-bottom: 1rem;
}

#industry p {
  color: var(--color-azure);
  font-weight: 600;
}

#industry div {
  justify-items: center;
}

/* ========================================
   FOOTER GLOBAL
   ======================================== */
footer {
  position: relative;
  background-color: var(--color-navy);
  padding: 0 6rem;
}

.disclaimer p,
.disclaimer a {
  font-size: 0.8rem;
}

.footer-wrap {
  justify-items: center;
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-wrap p,
.footer-wrap a,
.footer-wrap h5 {
  color: var(--color-white);
}

.footer-wrap img {
  width: 150px;
  height: auto;
}

.social-nav {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.social-nav>div {
  gap: 1rem;
  margin: 0 2rem;
  display: flex;
  flex-direction: column;
  justify-items: center;
}

.social-nav li {
  margin-left: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.fab {
  font-size: 14px;
  color: var(--color-white);
  border: 2px var(--color-white) solid;
  border-radius: 50px;
  padding: 10px;
  height: 20px;
  width: 20px;
  align-content: center;
}

.fab:hover {
  color: var(--color-navy);
  background-color: var(--color-white);
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media screen and (max-width: 991px) {
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-white);
  }

  #apiLogo {
    display: none;
  }

  #apiMobileLogo {
    display: block;
  }

  .mobile-nav {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    padding-right: 1rem;
  }

  .mobile-nav img {
    width: 25px;
    height: 25px;
    background-color: var(--color-white);
    padding: 0.5rem;
    border-radius: 8px;
  }

  .main-item,
  .main-item a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-blue);
    cursor: pointer;
  }

  .main-item {
    display: flex;
    margin-bottom: 0.5rem;
    cursor: pointer;
  }

  .main-nav {
    list-style-type: none;
    margin: 0 0 0 auto;
  }

  .main-nav a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-blue);
  }

  .main-nav li {
    line-height: 1.5;
  }

  .content-section {
    margin: 0 auto;
    border-radius: 0;
  }
}

@media screen and (min-width: 992px) {
  #apiLogo {
    display: block;
  }

  #apiMobileLogo {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .parent-nav {
    background-color: var(--color-white);
    display: flex;
    flex-direction: row;
    justify-self: center;
  }

  .main-item,
  .main-item a {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-blue);
    cursor: pointer;
  }

  .main-item a {
    text-decoration: none;
  }

  .main-item {
    border-right: 1px solid var(--color-blue);
  }

  .main-item:nth-child(4),
  .main-item:last-child {
    border: none;
  }

  nav {
    margin: 0 0 0 auto;
  }

  .main-nav a {
    color: var(--color-white);
    font-weight: 600;
    display: flex;
    font-size: 1rem;
  }

  .main-nav li {
    align-self: center;
  }
}

/* ==================================================== 
FOOTER @ DESKTOP ====================================== */
.footer-wrap {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

@media screen and (max-width:991px) {
  .top-title h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .top-title h2 {
    font-size: 1.5rem;
  }

  .top-title {
    padding: 2rem;
  }

  #industry {
    gap: 1rem;
  }
}

@media screen and (max-width:600px) {
  header {
    flex-direction: column !important;
    gap: 1rem;
  }

  .main-nav {
    margin: 0 !important;
    text-align: center;
  }

  #apiMobileLogo {
    justify-self: center;
  }

  #highlights,
  #whats-next,
  #advantage,
  #industry,
  #learn-more {
    padding: 2rem;
  }

  footer {
    padding: 0 3rem;
  }

  .social-nav {
    justify-content: center;
  }
}

@media screen and (max-width:300px) {
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .top-title h1 {
    font-size: 2rem;
  }
}