:root {
  --main-color: #102053;

  --light-color: #aebdd1;
  --second-color: #d4a52d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Títulos */
h1 {
  font-size: clamp(2rem, 3vw, 3rem); /* Tamaño entre 2rem y 3rem */
}

h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem); /* Tamaño entre 1.75rem y 2.5rem */
}

h3 {
  font-size: clamp(1.5rem, 2vw, 2rem); /* Tamaño entre 1.5rem y 2rem */
}

h4 {
  font-size: clamp(
    1.25rem,
    1.8vw,
    1.75rem
  ); /* Tamaño entre 1.25rem y 1.75rem */
}

h5 {
  font-size: clamp(1rem, 1.5vw, 1.5rem); /* Tamaño entre 1rem y 1.5rem */
}
.follow {
  color: var(--main-color);
}
h6,
.icon-loc {
  font-size: clamp(
    1.75rem,
    2.5vw,
    2.5rem
  ); /* Tamaño entre 1.75rem y 2.5rem */ /* Tamaño entre 0.875rem y 1.25rem */
}

/* Párrafos */
p {
  font-size: clamp(1rem, 1.5vw, 1.4rem); /* Tamaño entre 0.9rem y 1.2rem */
  line-height: 1.7; /* Espaciado cómodo */
}

body {
  font-family: Arial, sans-serif;
  background-color: whitesmoke;
  min-height: 100vh;
}

html {
  min-height: 100vh;
}
body {
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
footer {
  background-color: #f8f9fa;
}

nav {
  top: 0;
  position: sticky;
  z-index: 100;
  background-color: white;
}
.navitems a {
  color: var(--main-color);
  font-weight: bold;
  text-decoration-line: none;
}
.dropdown {
  background-color: var(--main-color);
}
.dropdown-menu {
  border: none;
}
.dropdown-item {
  color: var(--main-color);
  font-weight: bold;
}
.dropdown-item:hover,
.dropdown-item:active {
  background-color: var(--main-color);
  color: white;
}

.custom-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
}

.custom-indicator {
  background-color: transparent;
  border: none;
  color: white;
  padding: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 13px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.custom-indicator.active i {
  color: var(--second-color);
  font-size: clamp(1.25rem, 1.8vw, 2rem);
}

.custom-indicator i {
  transition: color 0.3s ease;
  font-size: clamp(1.25rem, 1.8vw, 2rem);
}

.carousel-control-prev,
.carousel-control-next {
  padding: 0;
}
.card img {
  border-radius: 10px;
}
.parallax-banner {
  background-image: url("../img/parallaxbanner.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.parallax-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
}

.parallax-banner h3 {
  z-index: 1;
}

footer {
  background-color: white;
}

.footer-logo {
  width: 60%;
}

h4,
h5 {
  color: var(--main-color);
  font-weight: bold;
}

.footer-widget-heading h4 {
  width: 20%;
  border-bottom: 2px solid var(--main-color);
}

.footer-social-icon a i {
  color: var(--main-color);
  font-size: 30px;
  padding: 5px;
}
.footer-widget {
  color: var(--main-color);
}

.copyright-area {
  background-color: var(--main-color);
  align-items: center;
}
.copyright-text a {
  color: var(--light-color);
}
.subscribe-form input {
  width: 100%;
  background-color: whitesmoke;
  padding-inline: 20px;
  padding-block: 10px;
  border: none;
}
.subscribe-form input ::placeholder {
  color: white;
}
.btn-form {
  background-color: var(--main-color);
}

#buttontop {
  display: inline-block;
  background-color: var(--main-color);
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 10px;
  position: fixed;
  bottom: 90px;
  right: 35px;
  border: none;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#buttontop::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
  color: #fff;
}
#buttontop:hover {
  cursor: pointer;
  background-color: var(--second-color);
}
#buttontop:active {
  background-color: var(--second-color);
}
#buttontop.show {
  opacity: 1;
  visibility: visible;
}

.whatsapp {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 30px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 38px;
  z-index: 100;
}

@media (max-width: 991px) {
  .footer-logo {
    width: 40%;
    margin-left: 30%;
    margin-right: 30%;
  }
}
@media (max-width: 767px) {
  .footer-widget-heading {
    width: 40%;
    margin-left: 30%;
    margin-right: 30%;
  }
  .footer-widget-heading h4 {
    width: 100%;
    margin: auto;
  }
}

.modal-dialog {
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
  min-height: 100vh;
  color: white !important; /* Asegura que el modal se centre incluso cuando la ventana es pequeña */
}
.modal-header img {
  display: block;
  margin: 0 auto;
  max-height: 100px;
  object-fit: contain;
}

.modal-title {
  text-align: center;
  font-size: 1.5rem;
  color: white !important;
  margin-top: 1rem;
  background-color: var(--main-color) !important;
}

.modal-body {
  font-size: 1rem;

  background-color: var(--main-color) !important;
  line-height: 1.5;
}

.modal-foter {
  justify-content: flex-end;

  background-color: var(--main-color) !important;
}
