/* //////////////REUSEABLE STYLES ////////////////*/

:root {
  /* PRIMARY COLOR */
  --primary-color: #0b2c3f;
  /* shades */
  --primary-color-shade-1: #0a2839;
  --primary-color-shade-2: #092332;
  --primary-color-shade-3: #081f2c;
  /* tints */
  --primary-color-tints-1: #234152;
  --primary-color-tints-2: #3c5665;
  --primary-color-tints-3: #546b79;
  --primary-color-tints-4: #6d808c;
  --primary-color-tints-5: #85969f;
  --primary-color-tints-6: #9dabb2;
  --primary-color-tints-7: #ced5d9;
  --primary-color-tints-8: #e6e9eb;

  /* AUXILAIRY COLOR */
  --auxiliary-color: #e7f5ff;

  /* WHITE */
  --white: #fff;

  /* ACCENT COLOR */
  --accent-color: #c1b48b;
  --accent-color-shade-1: #aea27d;

  /* SECONDARY COLOR */
  --secondary-color: #eaeaea;

  /* TEXT */
  --text-color: #111111;
}

/*/////////////// SECTIONS STYLES ///////////////// */

.section__title--width {
  max-width: 60rem;
}

.section__title {
  margin: 0 0 8rem 0;
}

.section__text {
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 400;
  padding-top: 2rem;
  color: var(--white);
}

.section__description {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.description__link:link,
.description__link:visited {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 500;
}
.description__link:hover,
.description__link:active {
  color: var(--primary-color-tints-2);
}

.section__header {
  font-size: 5.2rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--text-color);
}

.section--sub-header {
  font-size: 3.6rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--text-color);
}

.grid--section {
  grid-template-columns: 450px 1fr;
  gap: 4rem;
}

.sub__section {
  margin-top: 12rem;
  gap: 4rem;
}

/* SECTION REVEAL */
.section {
  padding: 15rem 3rem;
  /* border-top: 1px solid #ddd; */
  transition: transform 1s, opacity 1s;
}

.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}

.container {
  padding: 120px 5% 60px !important;
  margin: 0 auto;
  max-width: unset !important;
}

/* ////////////////// GRID STYLES ////////////// */
.grid {
  display: grid;
}

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

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5-cols {
  grid-template-columns: repeat(5, 1fr);
}

.grid--6-cols {
  grid-template-columns: repeat(6, 1fr);
}

/* ///////////////////// NAV STYLES ///////////////////// */

/**************************/
/* NAVIGATION */
/**************************/

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--auxiliary-color);
  background-color: var(--primary-color);
  /* Because we want header to be sticky later */
  padding: 15px 5%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99999999;
  transition: all 3s ease;
  transition: box-shadow 0.3s ease;
}

/* Shadow style when scrolling */
.nav.scrolled {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); /* Darker shadow for contrast */
}

.nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

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

.offcanvas {
  background-color: var(--primary-color);
  color: var(--white);
}

/*///////////// PAGE LINKS //////////// */

.page__link:link,
.page__link:visited {
  display: inline-block;
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 1.6rem;
  transition: all 0.3s;
}

.page__link:hover,
.page__link:active {
  color: var(--accent-color-shade-1);
}

.page__link.nav--cta:link,
.page__link.nav--cta:visited {
  padding: 0.5rem 1rem;
  border-radius: 9px;
  color: var(--white);
  background-color: var(--accent-color);
}

.page__link.nav--cta:hover,
.page__link.nav--cta:active {
  background-color: var(--accent-color-shade-1);
}

/* //////////////////LOGO STYLES///////////////// */

.logo {
  width: 80px;
}

.logo__img {
  width: 50px;
  height: 40px;
}

.logo__link:link,
.logo__link:visited {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;

  color: var(--white);
}

.logo__box {
  display: flex;
  gap: 1rem;
}

.logo__box img {
  width: 35px;
  height: 35px;
}

.gap-4 {
  gap: 4rem;
}

.margin--top-4 {
  margin-top: 4.8rem;
}

/* IMAGES SETTINGS STYLES */

.img--box {
  border-radius: 500px;
}

.img__wrapper {
  width: 100%;
  margin: 0 auto; /* Center the image horizontally */
  box-sizing: border-box;
}

.img__wrapper img {
  width: 100%;
  max-width: 500px; /* Optional: limit how large it can get */
  height: auto;
  display: block;
  border-radius: 8px; /* Optional: rounded corners */
  object-fit: cover; /* Keeps image looking clean if cropped */
}

/* ///////////////////BUTTONs///////////// */

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  outline: none;
  z-index: 0;
  overflow: hidden;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 1.6rem 3rem;
  border-radius: 9px;

  /* Only necessary for .btn */
  border: none;
  cursor: pointer;
  font-family: inherit;

  /* Put transition on original "state" */
  /* transition: background-color 0.3s; */
  transition: all 0.3s;
  position: relative;
}

.btn--full:link,
.btn--full:visited {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.btn--full:hover,
.btn--full:active {
  background-color: var(--accent-color-shade-1);
}

.btn--outline:link,
.btn--outline:visited {
  outline: none;
  background-color: var(--white);
  color: var(--primary-color);
  box-shadow: inset 0 0 0 3px var(--accent-color);
}

.btn--outline:hover,
.btn--outline:active {
  background-color: var(--accent-color);
  color: var(--white);
  /* Trick to add border inside */
  box-shadow: inset 0 0 0 3px var(--white);
}

.btn:link::after,
.btn:visited::after,
.btn--outline:link::after,
.btn--outline:visited::after,
.btn--full:link::after,
.btn--full:visited::after {
  content: "";
  position: absolute;
  z-index: -1;
  transition: all 0.3s ease;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
}

.btn--outline:link::after,
.btn--outline:visited::after {
  background-color: var(--accent-color);
}

.btn:hover::after {
  width: 100%;
}

.btn--white:hover,
.btn--white:active {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn--white:hover,
.btn--white:active {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn--dark:link,
.btn--dark:visited {
  background-color: var(--primary-color-shade-3);
  color: var(--white);
}

.btn--dark:hover,
.btn--dark:active {
  background-color: var(--primary-color-shade-1);
  color: var(--white);
}

.btn:hover::after {
  width: 100%;
}

.btn-small:link {
  margin-top: 0;
  padding: 1rem;
  font-size: 1.6rem;
}

/* /////////////////////HELPERS////////////////// */

.justify--space--btw {
  justify-content: space-between;
}
.txt--black {
  color: var(--text-color);
}

.txt--white {
  color: var(--white);
}

.txt--center {
  text-align: center;
}

.heading--primary {
  font-size: 5.2rem;
  line-height: 1.1;
  font-weight: 700;
}

/* Margins */
.mg-right-sm {
  margin-right: 1.6rem;
}

.mg-bottom-bg {
  margin-bottom: 3rem;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.messenger--bird {
  font-size: 2rem;
  font-weight: 600;
  align-self: flex-start;
  padding-left: 3.5rem;
  margin-bottom: 4.5rem;
}

.recaptcha-wrapper {
  border-radius: 6px;
  background-color: none;
  display: flex;
  justify-content: center;
}

.img-container {
  margin-top: 4.8rem;
}

/* GOOGLE SIGN UP */

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: #131314;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #e3e3e3;
  cursor: pointer;
  font-family: "Roboto", arial, sans-serif;
  font-size: 16px;
  height: 60px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color 0.218s, border-color 0.218s,
    box-shadow 0.218s;
  transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
  vertical-align: middle;
  white-space: nowrap;
  width: 100%;
  max-width: 100%;
  min-width: min-content;
  border-color: #8e918f;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 0;
  flex-grow: 0;
  font-family: "Roboto", arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity 0.218s;
  transition: opacity 0.218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #13131461;
  border-color: #8e918f1f;
}

.gsi-material-button:disabled .gsi-material-button-state {
  background-color: #e3e3e31f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: white;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: var(--primary-color);
  opacity: 8%;
}

/* FOOTER */
.footer {
  padding: 15rem 5% 0 !important;
  background-color: var(--primary-color);
  background-image: url("../assets/logo/grey_logo.png");
  background-position: right 400px top 40%;
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  transition: transform 1s, opacity 1s;
}

.footer__containers {
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 8rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 3rem;
  min-height: 200px;
}

.footer__links h1 {
  font-weight: 600;
  margin-bottom: 2rem;
}

.footer__links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 0.5rem;
  font-size: 1.6rem;
  color: var(--white);
  text-decoration: none;
}

.footer__logo {
  height: 50px;
  display: block;
  margin-bottom: 1rem;
  justify-self: start;
}

.newsletter {
  padding-right: 8rem;
}

.newsletter p {
  font-size: 1.6rem;
}

.newsletter__form .newsletter__policy {
  font-size: 1rem;
}

.newsletter__input {
  border: 2px solid var(--accent-color); /* or use #0b2c3f */
  background-color: var(--primary-color);
  color: var(--accent-color);
}

.newsletter__input:focus {
  background-color: var(--primary-color);
}

.newsletter__input::placeholder {
  color: var(
    --accent-color
  ); /* or a light color that contrasts with --primary-color */
}

.footer__copyright {
  display: flex;
  justify-content: space-between;
  padding: 4rem 0;
}

.footer__copyright p {
  font-size: 1.4rem;
  color: #aaa;
  text-align: center;
}

.footer__copyright a:link,
.footer__copyright a:visited {
  display: inline-block;
  text-decoration: none;
  color: #aaa;
  transition: all 0.3s;
}

.footer__copyright a:hover,
.footer__copyright a:active {
  color: var(--accent-color);
}

.messengerbird__agreements {
  display: flex;
  gap: 2rem;
}

/* EXTRAS */
.text-center {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

/* SUB PAGE DESCRIPTIONS */
.page-title__container {
  margin-bottom: 6.4rem;
  text-align: center;
  font-weight: 600;
}

.page-title__container h1 {
  font-size: 4.4rem;
}

.page-context div {
  margin-bottom: 2.4rem;
}

.page-context h1 {
  font-size: 3.6rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  font-weight: 500;
}

.page-context p {
  font-size: 1.8rem;
}
