/* ------------------------------------------------- FONTS -------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* ------------------------------------------------- METRICS ------------------------------------------------------ */
:root {
  --h1: 2.5rem;
  --h2: 1.56rem;
  --h3: 1.25rem;
  --h4: 1rem;
  --p: 0.9rem;

  --nav-height: 10vh;
  --radius: 25px;
  --shadow: 0px 0px 25px rgba(0, 0, 0, 0.25);
}

/* ---------------------------------------------- BASIC STYLES ---------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  --primary: #033631;
  --secondary: #d4af37;
  --grey: #d9d9d9;
  --light-grey: #f1f1f1;
  --text: #2e2e2e;
  --white: #ffffff;
  --background: #ffffff;
  --danger: #a40000;
  --whatsapp-green: #489f28;

  position: relative;
  min-height: 100vh;
  width: 100vw !important;
  overflow-x: hidden !important;
  background-color: var(--background);

  font-family: "Open Sans", sans-serif;
}

/* ---------------------------------------------- CUSTOM STYLES -------------------------------------------------- */
li {
  list-style: none;
}
a {
  text-decoration: none;
  display: block;
  color: var(--text);
  font-weight: 700;
  width: 100%;
  transition: color 300ms ease;
  font-size: 0.85rem;
  cursor: pointer;
}
button {
  border: none;
  outline: none;
  font-family: inherit;
  cursor: pointer;
}
button span {
  font-weight: 700;
}
.submit-btn-loader {
  width: 20%;
}
.flex,
.flex-res {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card {
  background-color: var(--white);
  padding: 5%;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.image-container,
.logo {
  width: 30%;
  position: relative;
  overflow: hidden;
}
.image-container img,
.logo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.btn-green {
  background-color: var(--primary);
  border: 3px solid var(--primary);
  color: var(--white);
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 7px;
  transition: all 300ms ease;
}
.btn-gold {
  background-color: var(--secondary);
  border: 3px solid var(--secondary);
  color: var(--white);
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 7px;
  transition: all 300ms ease;
}
.btn-grey {
  background-color: var(--grey);
  border: 3px solid var(--grey);
  color: var(--text);
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 7px;
  transition: all 300ms ease;
}
.btn-white {
  background-color: var(--white);
  border: 3px solid var(--white);
  color: var(--primary);
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 7px;
  transition: all 300ms ease;
}
.btn-open {
  background-color: transparent;
  border: 3px solid var(--white);
  color: var(--white);
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 7px;
  transition: all 300ms ease;
}
.btn-red {
  background-color: transparent;
  border: 3px solid transparent;
  color: var(--danger);
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 7px;
  transition: all 300ms ease;
}
.btn-red:hover {
  background-color: var(--danger);
  border: 3px solid var(--danger);
  color: var(--white);
  transition: all 300ms ease;
}
.btn-grey:hover,
.btn-green:hover,
.btn-white:hover {
  background-color: var(--secondary);
  border: 3px solid var(--secondary);
  color: var(--white);
}
.btn-open:hover {
  background-color: var(--white);
  color: var(--text);
}
.btn-gold:hover {
  background-color: #9e7d0f;
  border: 3px solid #9e7d0f;
}
.submit-btn-loader{
  display: none;
}
button.clicked, button.clicked:hover {
  width: 20%;
  background-color: grey;
  border-color: grey;
  cursor: not-allowed;
  pointer-events: none;
}
button.clicked span {
  display: none;
}
button.clicked .submit-btn-loader {
  display: inline;
  padding: 0;
  width: 16px;
  max-height: 1rem;
  transform: scale(2);
  overflow: hidden;
}
h1,
.title-xl {
  font-family: inherit;
  color: var(--white);
  font-size: var(--h1);
}
h2,
.title-l {
  font-family: inherit;
  color: var(--text);
  font-size: var(--h2);
  width: 100%;
  text-align: center;
  margin-bottom: 3rem;
}
h3,
.title-m {
  font-family: inherit;
  font-size: var(--h3);
  color: var(--text);
}
h4,
.title-s {
  font-family: inherit;
  font-size: var(--h4);
  color: var(--text);
}
.small {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--text);
}
section {
  scroll-margin-top: 15vh;
}
ul,
li,
p {
  font-size: var(--p);
}
p {
  line-height: 1.8;
}
hr {
  border: none;
  outline: none;
  width: 30%;
  margin: 5rem auto;
  height: 3px;
  background-color: var(--light-grey);
  /* opacity: 0.3; */
}
form .input .error {
  color: var(--danger);
  font-size: 0.75rem;
  text-align: right;
  margin-top: -1rem;
  font-weight: 500;
  height: 4vh;
}

/* --------------------------------------------- OTHER STYLES ------------------------------------------------- */
.page-hero {
  position: relative;
  width: 100%;
  height: calc(50vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5%;
  margin-bottom: 5rem;
}
.page-hero h1 {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
}

.tooltip {
  background-color: #d9d9d9;
  position: absolute;
  top: -35%;
  left: 10%;
  border-radius: var(--radius);
  display: none;
  z-index: 995;
  overflow: hidden;
  width: 40%;
}
.tooltip h4 {
  background-color: var(--primary);
  color: var(--white);
  padding: 5%;
  text-align: center;
  font-weight: 500;
  width: 100%;
}
.tooltip p {
  text-align: center;
  padding: 5%;
}
.tooltip.show {
  display: block;
}

/* ---------------------------------------- WHATSAPP BUTTON ----------------------------------------------- */

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--whatsapp-green);
  padding: 2%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: fixed;
  bottom: 5%;
  right: 3%;
  overflow: hidden;
  cursor: pointer;
  z-index: 1000;
  transition: background-color 300ms ease-in-out, padding 300ms ease-in-out;
}
.whatsapp-button:hover {
  background-color: #276111;
  padding: 2.5%;
}
.whatsapp-button:hover > a {
  font-size: 2.5rem;
}
.whatsapp-button a {
  position: relative;
  color: var(--white);
  font-size: 2rem;
  transition: font-size 300ms ease-in-out;
}
.whatsapp-button .fa-brands {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ---------------------------------------- WHATSAPP BUTTON ----------------------------------------------- */


/* ---------------------------------------------- ALERT 1 -------------------------------------------------- */
.alert-1 {
  display: none;
  left: -10%;
  transition: left 300ms ease;
}
.alert-1.show {
  display: block;
  padding: 1rem 0;
  position: sticky;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  width: 30%;
  border-radius: 7px;
  box-shadow: var(--shadow);
  z-index: 999;
}
.alert-1.error {
  color: #c92b0f;
  border: 2px solid #ff6565;
  background-color: #ffe6e6;
}
.alert-1.error h3{
  color: var(--danger);
}
.alert-1.success h3{
  color: var(--secondary)
}
.alert-1.success {
  color: var(--white);
  background-color: var(--primary);
  border: solid var(--primary)
}
/* .alert-1.success h3{
  color: rgb(12, 77, 3);;
}
.alert-1.success {
  color: rgb(12, 77, 3);
  background-color: rgb(219, 255, 214);
  border: solid rgb(12, 77, 3);
} */
.alert-1 h3,
.alert-1 p {
  text-align: center;
  
}
.alert-1 p {
  line-height: 1.5;
  width: 90%;
  margin: 0.5rem auto 0;
}

/* ------------------------------------------------- ALERT 1 ------------------------------------------------- */

/* ------------------------------------------------- ALERT 2 ------------------------------------------------- */

.alert {
  position: fixed;
  bottom: 25px;
  left: -200px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background-color: var(--grey);
  color: transparent;
  box-shadow: var(--shadow);
  padding: 1.5%;
  width: fit-content;
  z-index: 999;
  border-radius: 12px;
  transition: left 300ms ease;
}
.alert.show {
  left: 25px;
}
.alert .fa-solid {
  font-size: calc(var(--p) + 0.8rem);
}
.alert p {
  margin-left: 1rem;
  font-size: var(--p);
}

body.dark .alert.error {
  border: 3px solid #df1010;
  background-color: #180e0e;
  color: #df1010;
}
.alert.error {
  border: 3px solid #df1010;
  background-color: #ffcdcd;
  color: #df1010;
}
.alert.error::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: #df1010;
  animation: timer 5s linear;
}
body.dark .alert.success {
  border: 3px solid #00be13;
  background-color: #0e180f;
  color: #00be13;
}
.alert.success {
  border: 3px solid #077712;
  background-color: #c7fdcc;
  color: #077712;
}
.alert.success::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: #00be13;
  animation: timer 5s linear;
}

@keyframes timer {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* ------------------------------------------------- ALERT 2 ------------------------------------------------- */

/* ---------------------------------------------- NAVIGATION -------------------------------------------------- */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 999;
}
header hr {
  width: 80%;
  margin: 1rem 0;
  margin-left: 1rem;
}
header h4 {
  font-size: 0.85rem;
}
#logout a {
  color: var(--danger);
  transition: 300ms;
}
#logout a:hover {
  background-color: var(--danger);
  color: var(--white);
}
header nav {
  width: 100%;
  padding: 2% 5%;
  position: relative;
  transition: padding 300ms ease;
}
header nav.scrolled {
  padding: 1% 5%;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.15);
}
header nav ul {
  width: 60%;
}
header nav ul.menu .mobile-title {
  display: none;
}
header .profile .fa-circle-user {
  font-size: calc(var(--p) + 1rem);
  color: var(--secondary);
  margin-right: 1rem;
}
header nav ul li .fa-solid,
header .profile h4 .fa-solid {
  margin-left: 0.5rem;
  cursor: pointer;
}
header nav ul li a {
  position: relative;
}
header nav ul li a::after {
  content: "";
  width: 0%;
  height: 2px;
  background-color: var(--secondary);
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  transform-origin: center;
  transition: width 300ms ease;
}
header nav ul li a:hover::after {
  width: 60%;
}
header nav .sub-menu li a::after {
  visibility: hidden;
  pointer-events: none;
}
header nav .sub-menu {
  width: fit-content;
  position: absolute;
  top: 60%;
  opacity: 0;
  pointer-events: none;
  background-color: var(--white);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
  padding: 1%;
  transition: top 300ms ease, opacity 300ms ease;
}
header nav .sub-menu.active {
  top: 80%;
  opacity: 1;
  pointer-events: all;
  z-index: 999;
}
header nav .sub-menu.support {
  left: 68%;
}
header nav .sub-menu.edit {
  left: 83%;
}
header nav .sub-menu li a {
  padding: 1rem;
}
header nav .sub-menu li a:hover {
  background-color: var(--grey);
}
header .mobile-title,
header .fa-bars {
  display: none;
  pointer-events: none;
}
header .logo {
  width: 12%;
}
header .cta {
  margin-left: 3rem;
  /* border: solid blue; */
  display: flex;
  align-items: center;
  justify-content: center;
}
header .cta a:nth-child(2) {
  margin-left: 1rem;
}

/* ---------------------------------------------- !NAVIGATION ------------------------------------------------- */

/* ---------------------------------------- MODAL SECTION ------------------------------------------------- */

.modal-container {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.7);
}
.modal-container .verification-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 30%;
  margin: 0 auto;
  background-color: var(--primary);
  padding: 5%;
  background-image: url("../../images/home/bg-pattern.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: var(--radius);
  width: 60%;
  transition: 300ms;
}
.modal-container .verification-modal .fa-solid {
  border: 5px solid var(--secondary);
  color: var(--secondary);
  padding: 5%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-container .verification-modal h2 {
  color: var(--secondary);
  margin: 1rem 0;
}
.modal-container .verification-modal ul {
  margin-top: 1rem;
}
.modal-container .verification-modal ul li {
  list-style: disc;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.modal-container .verification-modal .cta {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 40%;
  margin: 2rem 0;
}
.modal-container .verification-modal .cta a {
  cursor: pointer;
}
.modal-container .verification-modal .small {
  color: var(--white);
  width: 80%;
  justify-content: flex-start;
}
.modal-container .verification-modal .small a {
  color: var(--secondary);
  width: fit-content;
  margin-left: 0.3rem;
  font-size: inherit;
}
.modal-container .verification-modal .small a:hover {
  text-decoration: underline;
}
.modal-container.show {
  display: block;
}
.modal-container.show .verification-modal {
  top: 10%;
}

/* ---------------------------------------- MODAL SECTION ------------------------------------------------- */

/* ------------------------------------------------- FOOTER --------------------------------------------------- */
footer {
  /* position: relative; */
  position: static;
  bottom: 0;
  width: 100%;
  background-color: var(--primary);
  color: var(--white);
}
footer .main-footer {
  align-items: flex-start;
  padding: 5% 5% 2%;
  margin-bottom: 2rem;
}
footer .main-footer .nav h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
}
footer .main-footer .nav a {
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.95rem;
  font-weight: 500;
}
footer .main-footer .nav a:hover {
  color: var(--secondary);
}
footer .logo {
  width: 15%;
}
footer .copyrights {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--secondary);
  margin: 0 0 2rem 5%;
}
.developer {
  width: 100%;
  padding: 1% 0;
  font-weight: 700;
  font-size: 0.9rem;
  background-color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.developer a {
  display: inline;
}
.developer a:hover {
  color: var(--secondary);
}
/* ------------------------------------------------- !FOOTER -------------------------------------------------- */

/* ---------------------------------------------- RESPONSIVE -------------------------------------------------- */
/* 1024px */
@media screen and (max-width: 1024px) {
}

/* 768px */
@media screen and (max-width: 768px) {
  :root {
    --h1: 1.56rem;
    --h2: 1.25rem;
    --h3: 1rem;
    --h4: ;
    --a: 0.75rem;
    --p: 0.75rem;
  }
  header {
    position: relative;
  }
  header hr {
    display: none;
  }
  #logout a {
    color: var(--white);
  }
  #logout a:hover {
    background-color: transparent;
  }
  header .fa-bars {
    display: block;
    pointer-events: all;
    position: absolute;
    cursor: pointer;
    right: 5%;
    font-size: calc(var(--p) + 0.5rem);
  }
  header nav ul.menu .mobile-title {
    display: flex;
    width: 100%;
    margin-bottom: 2rem;
    font-weight: 800;
    font-size: calc(var(--p) + 0.5rem);
  }
  header nav ul.menu .mobile-title p {
    font-size: calc(var(--p) + 0.2rem);
    font-weight: 800;
  }
  header nav ul.menu .mobile-title .fa-solid {
    cursor: pointer;
    z-index: 998;
    pointer-events: all;
  }
  header nav ul.menu {
    position: absolute;
    top: 0 !important;
    left: -100%;
    flex-direction: column;
    top: calc(var(--info-strip-height) + 1rem);
    background-color: var(--primary);
    color: var(--white);
    padding: 5% 3%;
    width: 100%;
    transition: left 300ms ease;
  }
  header nav ul.menu.opened {
    left: 0;
  }
  header nav ul.menu .profile {
    padding: 1rem;
    width: 100%;
  }
  header nav ul.menu .profile .fa-circle-user {
    color: var(--white);
  }
  header nav ul.menu .profile h4 {
    color: var(--white);
    width: 100%;
    justify-content: space-between;
    font-size: 0.85rem;
  }
  header nav ul.menu li {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid var(--white);
    background-color: var(--primary);
  }
  header nav ul.menu li:hover,
  header nav ul.menu li:active,
  header nav ul.menu li:focus {
    background-color: var(--secondary);
  }
  header nav ul.menu li:last-child,
  header nav ul.menu li:nth-child(7) {
    border-bottom: none;
  }
  header nav ul.menu li:nth-child(2) {
    border-top: 1px solid var(--white);
  }
  header nav ul.menu li.contact {
    border-radius: 0px;
    background-color: var(--secondary);
  }
  header nav ul.menu li a {
    color: var(--white);
    text-align: left;
  }
  header nav .sub-menu {
    display: none;
  }
  header nav .sub-menu.active {
    position: relative;
    min-height: 7rem;
    width: 100%;
    display: block;
    left: 0%;
    box-shadow: unset;
    background-color: var(--primary);
  }
  header nav .sub-menu.active li {
    border: none !important;
    /* border-bottom: 1px solid #fff; */
  }
  header nav .sub-menu li a {
    padding: 0.15rem;
  }
  header nav .sub-menu li a:hover {
    color: var(--white);
    background-color: transparent;
  }
  header .cta {
    margin-left: 0;
    margin-top: 1rem;
    flex-direction: column;
    width: 100%;
  }
  header .cta a {
    width: 100%;
    border-radius: 0;
    padding: calc(1rem - 3px) 1rem;
  }
  header .cta a:nth-child(2) {
    margin-left: 0rem;
    margin-top: 0.5rem;
    background-color: var(--secondary);
    border: 3px solid var(--secondary);
  }

  /* Modal */
.modal-container .verification-modal{
  width: 90%;
  top: 20%;
}
.modal-container .verification-modal ul li{
  list-style: none;
  text-align: center;
}
.modal-container .verification-modal .cta{
  width: 60%;
  flex-direction: column;
}
.modal-container .verification-modal .cta a{
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}
.modal-container .verification-modal .small {
  width: 100%;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

  /* footer */
  footer {
    position: relative;
  }
  footer .copyrights {
    width: 90%;
  }
  footer .main-footer {
    flex-direction: column;
  }
  footer .main-footer .logo {
    width: 20%;
  }
  footer .main-footer .nav {
    margin-bottom: 1rem;
  }
  footer .main-footer .nav h3 {
    margin-bottom: 0.5rem;
  }
  footer .main-footer .nav a {
    font-size: var(--p);
  }
  .developer p,
  .developer a {
    font-size: var(--p);
    font-weight: 500;
  }
  .developer a {
    color: var(--secondary);
  }
}

/* 550px */
@media screen and (max-width: 550px) {
  :root {
    --h1: 1.56rem;
    --h2: 1.25rem;
    --h3: 1rem;
    --h4: ;
    --a: 0.75rem;
  }
  header {
    height: 10vh;
  }
  header .logo {
    width: 20%;
  }
  p,
  h2,
  h3,
  h4 {
    width: 100%;
    text-align: center;
  }
  .whatsapp-button {
    padding: 5%;
  }
  .whatsapp-button:hover {
    padding: 7%;
  }
  header nav ul.menu .mobile-title p {
    text-align: left;
  }
  .flex-res {
    flex-direction: column;
  }
  p {
    width: 100%;
  }
}
