/* FUENTES */
@font-face {
    font-family: 'Replica';
    src: url('https://www.uahurtado.cl/asset-mask/fonts/ReplicaStdRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }
  
  :root {
    --primario: #f06427;
    --secundario: #75fb7e;
    --blanco1: #ffffff;
    --blanco2: #f3f2ec;
    --blanco3: #f0efe9;
    --marengo1: #111111;
    --marengo2: #222222;
    --gris1: #666666;
    --gris2: #3c3c3c;
    --gris3: #333333;
    --grisclaro: #cccccc;
    --negro1: #000000;
    --negro2: #18171b;
    --rosa: #f9accf;
    --rubik: 'Rubik', sans-serif;
    --frank: 'Frank Ruhl Libre', serif;
    --t300: 300;
    --t500: 500;
    --t700: 700;
  }
  
  /* Estilos base */
body {
  font-family: var(--rubik);
  background-image: url('../img/DSCF8813-R-1.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--blanco1);
  min-height: 100vh;
  line-height: 1.6;
}
a {
    color: var(--primario);
}
.highlight {
    color: var(--primario);
}

.overlay-dark {
  background-color: rgba(0,0,0,0.75);
  border-radius: 10px;
}
/* Estilos para los logos */
.logo-container {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 20px;
}

.logo-uah {
  max-width: 300px;
  height: auto;
}

.logo-admision {
  max-width: 200px;
  height: auto;
}

/* Estilos para el contenido principal */
h1 {
  font-family: var(--replica);
  font-weight: var(--t700);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--blanco1);
  line-height: 1.3;
}
h2 {
  font-family: var(--replica);
  font-weight: var(--t700);

}
#InfoImportante h2 {
    font-weight: 500;
}
/* Estilos para botones */
.btn-info {
  background-color: var(--primario);
  border-color: var(--primario);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  margin-bottom: 2rem;
}

.btn-info:hover {
  background-color: var(--primario);
  border-color: var(--primario);
}

/* Estilos para el formulario */
.form-container {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 10px;
  color: var(--marengo1);
}

.form-title {
  color: var(--primario);
  font-family: var(--replica);
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-control,
.form-select {
  margin-bottom: 1rem;
  border-radius: 5px;
}

.btn-submit {
  background-color: var(--primario);
  border-color: var(--primario);
  width: 100%;
  padding: 0.75rem;
  font-weight: 500;
  margin-top: 1rem;
}

.btn-submit:hover {
  background-color: var(--primario);
  border-color: var(--primario);
}

/* Estilos para el modal */
.modal-content {
  border-radius: 10px;
}

.modal-header {
  background-color: var(--primario);
  color: var(--blanco1);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.modal-title {
  font-family: var(--replica);
  font-weight: var(--t700);
}

.modal-body {
  padding: 2rem;
}

.modal-body p {
  margin-bottom: 1rem;
  color: var(--marengo1);
}

.modal-body ul {
  margin-bottom: 1.5rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
  color: var(--marengo1);
}

/* Estilos para el footer */
footer {
  background-color: var(--negro2);
  color: var(--blanco1);
}

.info-footer {
  background-color: var(--negro3);
}

.red {
  background-color: var(--primario);
}

.datos p {
  margin-top: 1rem;
  line-height: 1.6;
}

.datos a {
  color: var(--blanco1);
  text-decoration: none;
}

.datos a:hover {
  text-decoration: underline;
}

.menu-footer p {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.menu-footer ul {
  list-style: none;
  padding-left: 0;
}

.menu-footer li {
  margin-bottom: 0.3rem;
}

.menu-footer a {
  color: var(--blanco1);
  text-decoration: none;
  font-weight: 300;
}

.menu-footer a:hover {
  text-decoration: underline;
  color: var(--primario);
}

.redes-sociales ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.redes-sociales img {
  transition: transform 0.3s ease;
}

.redes-sociales img:hover {
  transform: scale(1.1);
}

.backtop {
  display: block;
  width: 40px;
  height: 40px;
  background-color: var(--primario);
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: var(--blanco1);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.backtop:before {
  content: "↑";
  font-size: 20px;
}

.backtop.visible {
  opacity: 1;
  visibility: visible;
}

.red h4 {
  color: var(--blanco1);
  margin-bottom: 0;
  font-size: 1.2rem;
}

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

.red img {
  max-height: 40px;
  width: auto;
}

/* Media Queries */
@media (max-width: 1430px) {
  .content-column {
    margin-bottom: 3rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .logo-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .logo-admision {
    max-width: 180px;
  }
  
  .menu-footer {
    margin-top: 2rem;
  }
  
  .redes-sociales {
    margin-top: 2rem;
  }
  
  .red .col {
    margin-bottom: 1rem;
  }
  #principal > div > div > div.col-lg-6.content-column.aos-init.aos-animate {
    margin-bottom: unset;
}
}

@media (max-width: 576px) {
  .logo-admision {
    display: none;
  }
}
div#accordionFAQs {
    background-color: rgba(255, 255, 255, 0.9);
}
.accordion-button:not(.collapsed) {
    color: var(--primario);
    background-color: var(--blanco2);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}
button.accordion-button.collapsed {
    background-color: var(--blanco2);
}
span.input-group-text {
    max-height: 38px;
}