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

:root {
  --font-Plus: 'Plus Jakarta', sans-serif;
  --clr-primary: #1D476A;
  --clr-secondary: #5A96A5;
  --clr-accent: #F3AB25;
  --clr-success: #28A745;
  --clr-warning: #FFC100;
  --clr-danger: #FF0000;
  --clr-white: #FFF;
  --clr-black: #000;
  --clr-dark: #0B1B28;
  --clr-border: #CED4DA;
  --clr-paragraphs: #68717a;
  --clr-grey: #FAFBFF;
}
@font-face {
  font-family: 'Plus Jakarta';
  src: url('../fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Plus Jakarta';
  src: url('../fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: block;
}

html {
  height: 100%;
  scrollbar-gutter: stable;
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: var(--font-Plus);
  background-color: var(--clr-white);
}

section {
  padding-block: 3rem;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
  margin-bottom: 0;
}

/* TITLES */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 1.5rem + 2vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.5rem);
}

h3 {
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, .9rem + 0.8vw, 1.4rem);
}

h5 {
  font-size: clamp(1.125rem, .9rem + 0.8vw, 1.25rem);
}

h6 {
  font-size: clamp(1.25rem, .85rem + 0.5vw, 1.5rem);
}

p {
  color: var(--clr-dark);
  font-size: 1rem;
}

h2.title {
  position: relative;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--clr-primary);
  margin-bottom: 6rem;
  text-align: center;
}

h2.title:after {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 3ch;
  height: .25rem;
  background: var(--clr-accent);
  border-radius: .125rem;
}

/* COLORS */

.clr-primary {
  color: var(--clr-primary);
}

.clr-secondary {
  color: var(--clr-secondary);
}

.clr-accent {
  color: var(--clr-accent);
}

.clr-success {
  color: var(--clr-success);
}

.clr-danger {
  color: var(--clr-danger);
}

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

.clr-black {
  color: var(--clr-black);
}

.clr-dark {
  color: var(--clr-dark);
}

.clr-paragraphs {
  color: var(--clr-border);
}

.clr-paragraphs {
  color: var(--clr-paragraphs);
}

.clr-grey {
  color: var(--clr-grey);
}

/* FONT WEIGHT */

.fw-black {
  font-weight: 900;
}

.fw-extra-bold {
  font-weight: 800;
}

.fw-medium {
  font-weight: 500;
}

.fw-extra-light {
  font-weight: 200;
}

.container.mw-1200 {
  max-width: 75rem;
  margin: 0 auto;
  padding-top: 0;
}

/* BACKGROUNDS */

.bg-grey {
  background-color: var(--clr-grey);
}

/* BUTTONS */
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open > .dropdown-toggle.btn-primary.focus,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover {
  color: var(--clr-white);
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn {
  font-family: var(--font-Plus);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 100%;
  padding: .75rem 1rem;
  border-radius: 100px;
  text-align: center;
  border: 1px solid transparent;
  background-size: 300% 100%;
  transition: all .25s ease-in-out;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  box-shadow: unset;
  white-space: nowrap;
}

.btn.btn-lg {
  padding: 1.5rem 1.25rem;
}

.btn.btn-md {
  padding: .75rem 1.25rem;
}

.btn.btn-sm {
  font-size: .75rem;
}

.btn.btn-square {
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  display: grid;
  place-items: center;
}

.btn:hover {
  background-position: 100% 0;
  border-color: transparent;
  color: inherit;
  transition: all .25s ease-in-out;
}

.btn:focus {
  outline: none;
}

.btn:active {
  transform: scale(0.99);
}

.btn:focus-visible {
  color: unset;
  background: unset;
  box-shadow: none;
}

.btn:first-child:active,
:not(.btn-check)+.btn:active {
  color: var(--clr-white);
}

.btn:first-child:active:focus-visible {
  box-shadow: unset;
}

.btn.btn-primary {
  --bs-btn-bg: unset;
  color: var(--clr-white);
  --bs-btn-hover-bg: var(--clr-primary);
  background-image: linear-gradient(to right, #214e74, #285a83, #295a83);
}

.btn.btn-primary:hover {
  color: var(--clr-white);
}

.btn.btn-primary:first-child:active {
  color: var(--clr-white);
  border-color: transparent;
  background-image: linear-gradient(to right, #214e74, #285a83, #295a83);
}

.btn.btn-primary-outline {
  color: var(--clr-primary);
  --bs-btn-hover-bg: var(--clr-primary);
  background: transparent;
  border: 1px solid var(--clr-primary);
  box-shadow: none;
}

.btn.btn-primary-outline:hover {
  color: var(--clr-primary);
  background: transparent;
}

.btn.btn-primary-outline:first-child:active {
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn.btn-link,
.btn.btn-link:active {
  text-decoration: none;
  color: var(--clr-primary);
  font-weight: 600;
}

.btn.btn-link:focus,
.btn.btn-link:hover {
  text-decoration: underline;
  border-color: transparent;
}

/* SPINNERS*/

.spinner-border {
  --bs-spinner-width: 3rem;
  --bs-spinner-height: 3rem;
  --bs-spinner-border-width: .3em;
  --bs-spinner-animation-speed: 1s;
}

/* MODALS */

.modal-backdrop {
  --bs-backdrop-bg: rgba(0, 102, 161, .25);
  --bs-backdrop-opacity: 0;
  backdrop-filter: blur(0);
  transition: .1s opacity linear;
}

.modal-backdrop.show {
  opacity: 1;
  backdrop-filter: blur(4px);
  transition: .1s opacity linear;
}

.modal.modal-dialog {
  transform: unset;
  transition: transform .25s linear;
}

.modal.modal-static .modal-dialog {
  transform: scale(0.98);
  transition: transform .25s linear;
}

.modal-content {
  border: 0;
  box-shadow: unset;
  border-radius: .5rem;
}

.modal-content .modal-header {
  border: 1px solid var(--clr-border);
  border-radius: .375rem .375rem 0 0;
}

.modal-content .modal-header h4 {
  font-size: 1.125rem;
  padding-top: .25rem;
}

.modal-content .modal-header .btn-close {
  background: url("../img/close-red.svg") center/1em auto no-repeat;
}

.modal-content .modal-header .btn-close:focus {
  box-shadow: none;
  border: 0;
}

.modal-content .modal-body {
  padding-block: 1.5rem 3rem;
  border-inline: 1px solid var(--clr-border);
}

.modal-content p {
  margin: 0;
  font-weight: 300;
  font-size: 1rem;
  color: var(--clr-dark);
}

.modal-content p span {
  color: var(--clr-primary);
  font-style: italic;
  font-weight: 500;
}

.modal-content .modal-footer {
  border: 1px solid var(--clr-border);
}

.modal .tab-content {
  min-height: 250px;
}

/* GRID */

.grid-container {
  display: grid;
  gap: 1.25rem;
  padding-block: 1.5rem 10rem;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
}

.grid-container .grid-item {
  width: 100%;
  height: auto;
}

/* HAMBURGER */

.hamburger {
  padding: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: .15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  margin: 0;
  overflow: visible;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::after,
.hamburger.is-active .hamburger-inner::before {
  background-color: #ff0000;
}

.hamburger-box {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::after,
.hamburger-inner::before {
  width: 30px;
  height: 4px;
  background-color: var(--clr-primary);
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: .15s;
  transition-timing-function: ease;
}

.hamburger-inner::after,
.hamburger-inner::before {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -10px;
}

.hamburger-inner::after {
  bottom: -10px;
}

.hamburger--slider .hamburger-inner {
  top: 2px;
}

.hamburger--slider .hamburger-inner::before {
  top: 10px;
  transition-property: transform, opacity;
  transition-timing-function: ease;
  transition-duration: .15s;
}

.hamburger--slider .hamburger-inner::after {
  top: 20px;
}

.hamburger--slider.is-active .hamburger-inner {
  transform: translate3d(0, 10px, 0) rotate(45deg);
}

.hamburger--slider.is-active .hamburger-inner::before {
  transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
  opacity: 0;
}

.hamburger--slider.is-active .hamburger-inner::after {
  transform: translate3d(0, -20px, 0) rotate(-90deg);
}

/* SHOW INPUT */
.show-input:not(:has(input:checked)) div:last-child {
  opacity: 0;
  transition: opacity .2s linear;
}

.show-input:has(input:checked) div:last-child {
  opacity: 1;
  transition: opacity .2s linear;
}

/* TOOLTIP */

.fa-circle-info {
  color: var(--clr-primary);
}

.tooltip-inner {
  text-align: left;
  max-width: 20rem;
}

/* SPINNER */

.fa-spinner {
  color: var(--clr-primary);
  user-select: none;
}

/* HEADER */

header .navbar {
  background: var(--clr-white);
}

header .navbar-brand {
  display: block;
  width: 9.5rem;
}

header .navbar-brand img {
  max-width: 100%;
}

header .navbar-toggler {
  border: 1px solid var(--clr-border);
}

header .navbar-toggler:focus {
  box-shadow: unset;
}

header .navbar-nav {
  gap: 2.125rem;
}

header .navbar-expand-lg .nav-link:not(.btn) {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.125rem;
  padding: 0;
  background: transparent;
  color: var(--clr-primary);
  cursor: pointer;
  text-align: center;
  border-block: 2px solid transparent;
  padding-block: .5rem;
  transition: border-color .1s ease;
}

header .navbar-expand-lg .nav-item:hover .nav-link {
  border-bottom: 2px solid var(--clr-accent);
  transition: border-color .375s ease;
}

header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (width > 992px) {
  header .navbar-brand {
    padding-block: .5rem;
  }

  header .nav-link {
    padding-inline: 0;
  }
}
@media (width < 992px) {
  header {
    position: fixed;
    top: 0;
    z-index: 2;
    width: 100%;
  }

  header .navbar-brand {
    margin-left: .5rem;
  }

  header .navbar-toggler {
    margin-right: .5rem;
  }

  header .navbar {
    display: flex;
    align-items: center;
    padding-block: 0;
    background: var(--clr-white);
  }

  header .navbar-collapse {
    overflow-y: auto;
    padding-inline: .5rem;
    max-height: calc(100vh - 71px);
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    border-bottom: 0;
  }

  header .navbar-collapse > .navbar-nav {
    padding-block: 3rem 1.5rem;
  }

  header .navbar-nav li.nav-item:last-child {
    width: 100%;
  }

  header .nav-item .nav-link {
    font-size: 1rem;
    font-weight: 300;
    text-decoration: none;
    padding: .25rem 0;
    display: block;
  }

  header .navbar-expand-lg .nav-link:not(.btn) {
    text-align: left;
    font-size: 1.125rem-;
  }
}

/* FOOTER */

footer .footer-top {
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 5rem .5rem 10rem;
}

footer .footer-bottom {
  padding: 1.75rem .5rem;
}

footer .logo {
  width: 12.5rem;
}

footer ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: .9375rem;
}

footer ul li:first-child {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-primary);
}

footer ul li a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--clr-paragraphs);
  text-decoration: none;
}

footer ul li a:hover {
  color: var(--clr-dark);
}

footer p {
  color: var(--clr-paragraphs);
  font-size: .875rem;
  line-height: 1.5;
  margin-bottom: 0;
}

footer .fa-stack {
  color: var(--clr-primary);
  font-size: 1.125rem;
  width: 2.25rem;
}
@media (width < 992px) {
  footer .footer-top {
    padding: 4rem 0 3rem;
  }

  footer ul {
    text-align: center;
  }

  footer p {
    text-align: center;
  }
}

/* HERO */

section#hero {
  padding-top: 1.5rem;
}

#hero .background {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url("../img/bg-hero.svg");
  border-radius: .75rem;
  padding: 2rem;
}

#hero .content {
  padding: 4rem 0 6rem 3rem;
  max-width: 32rem;
}

#hero .content > :is(small, h1, h6) {
  color: var(--clr-white);
}

#hero small {
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.5;
}

#hero h1 {
  font-weight: 800;
  line-height: 1.1;
  margin-block: .25rem 1.5rem;
}

#hero h6 {
  font-weight: 300;
  line-height: 1.5;
}

#hero b {
  font-weight: 700;
}

#hero picture {
  border-radius: .5rem;
  overflow: hidden;
  width: 100%;
  height: 100%;
  max-width: 22rem;
  max-height: 37rem;
  display: block;
}

#hero picture img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
@media (width < 1200px) {
  #hero picture {
    max-width: unset;
  }

  #hero .content {
    max-width: 40rem;
  }
}
@media (width < 992px) {
  section#hero {
    padding-top: 5rem;
  }
}
@media (width < 768px) {
  #hero .background {
    padding: 1.5rem;
  }

  #hero picture {
    max-width: unset;
    aspect-ratio: 16 / 9;
  }

  #hero picture {
    height: unset;
  }

  #hero .content {
    padding: 3rem 0;
    max-width: unset;
  }
}

/* BENEFITS */

section#benefits {
  padding-block: 7.5rem;
}

section#benefits article {
  border: 1px solid var(--clr-border);
  border-radius: .5rem;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 20rem;
  margin-inline: auto;
  margin-bottom: 3rem;
  position: relative;
}

section#benefits article picture {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
}

section#benefits article picture img {
  max-width: 100%;
  max-height: 100%;
}

section#benefits article .content {
  display: flex;
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  border-radius: .25rem;
  padding: 1rem 1rem 2rem 1.5rem;
  color: var(--clr-white);
  flex-direction: column;
  justify-content: flex-end;
  gap: .5rem;
  background: linear-gradient(45deg, rgba(29, 71, 106, 1) 0%, rgba(90, 150, 165, 1) 75%, rgba(243, 171, 37, 1) 100%);
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s ease;
}

section#benefits article:hover .content {
  opacity: 1;
  transition: opacity .25s ease;
}

section#benefits h6 {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
}

section#benefits h6 > span {
  font-size: 3rem;
  font-weight: 400;
}

section#benefits small {
  font-size: 1.125rem;
  font-weight: 400;
}

@media (width < 992px) {
  section#benefits article picture {
    padding: 2rem;
  }

  section#benefits article .content {
    opacity: 1;
    transform: unset;
    background: var(--clr-white);
    color: var(--clr-primary);
    height: auto;
    position: relative;
    top: 0;
    left: 0;
    border-top: 1px solid var(--clr-border);
    padding-top: 2rem;
  }
}

/* MISION */

section#mision {
  padding-bottom: 10rem;
}

section#mision .title + .row {
  margin-bottom: 6rem;
}
section#mision .content {
  padding: 2rem 0 0 2rem;
}

section#mision h6 {
  color: var(--clr-primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

section#mision p {
  color: var(--clr-paragraphs);
  font-size: 1.125rem;
  line-height: 1.5;
  max-width: 25rem;
}

section#mision .video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: .5rem;
}

section#mision video {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  width: 100%;
  display: block;
  border-radius: .5rem;
  object-fit: cover;
  height: 100%;
}

@media (width < 992px) {
section#mision .content {
  padding-left: .5rem;
}
}

/* ABOUT US */

#about-us {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url("../img/bg-about.svg");
  padding-block: 6rem 8rem;
}


#about-us picture {
  aspect-ratio:  1 / 1;
  display: block;
}

#about-us img {
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#about-us .title {
  color: var(--clr-white);
}

#about-us h6 {
  font-size: 1.3125rem;
  color: var(--clr-white);
  font-weight: 700;
  margin-block: 2rem 1.5rem;
  padding-left: 2rem;
}

#about-us p {
  color: var(--clr-white);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 28rem;
  padding-left: 2rem;
}

@media (width < 992px) {
#about-us h6, #about-us p {
  padding-left: .5rem;
}
}

/* OUR VALUES */

section#our-values {
  display: flex;
  align-items: center;
  text-align: center;
  padding-block: 7.5rem;
}

section#our-values article {
  margin-bottom: 6rem;
}

section#our-values h6 {
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--clr-primary);

}

section#our-values p {
  margin-top: .75rem;
  color: var(--clr-paragraphs);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 17.5rem;
  margin-inline: auto;
}

section#our-values i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--clr-accent);
}

/* BACK TO TOP */

.back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: .25rem;
  background: var(--clr-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

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

.back-to-top a {
  color: var(--clr-white);
}
