/* styles.css */

/* ============================================= */
/* ============== VARIABLES DE COLOR ============= */
/* ============================================= */
:root {
  --color-primary: #F27507;   /* Naranja */
  --color-secondary: #88BF50;  /* Verde */
  --color-accent1: #ECF229;   /* Amarillo */
  --color-accent2: #4EA4D9;   /* Azul */
  --color-light: #F2F2F2;    /* Gris claro */
  --color-dark: #212529;      /* Oscuro (Bootstrap dark) */
  
}

/* ============================================= */
/* ================ ESTILOS BASE ================= */
/* ============================================= */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 101px;
}

body {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;

  background-color: var(--color-light);
  color: var(--color-dark);
}
#main-nav {
  border-bottom: 1px solid #ECF229;
}
#main-nav .navbar-brand:hover,
#main-nav .nav-link:hover,
#main-nav .dropdown-item:hover {
	text-decoration: none !important;
}
#main-nav .dropdown-menu {
	border: none !important;
}
@media (min-width: 1201px) {
  #main-nav .dropdown:hover > .dropdown-menu {
    display:block;
    margin-top: 0;
  }
}

#main-nav .navbar-brand img {
	height:70px;
	width:auto;
}

#main-nav .dropdown-item.active,
#main-nav .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: var(--color-primary);
}

section {
  padding: 80px 0;
}

section:nth-of-type(even) {
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: var(--color-dark);
}

/* ============================================= */
/* ========= MODIFICACIONES BOOTSTRAP ============ */
/* ============================================= */

.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  text-decoration: none;
  transition: all ease-in-out;
}

.btn-primary:hover {
  background-color: #C86006; 
  border-color: #C86006;
  color: #fff;
  text-decoration: none;
}
.btn-primary:active {
  text-decoration: none;
  background-color: #A65005 !important; 
  border-color: #A65005 !important;
}


.btn-blue {
  background-color: var(--color-accent2);
  border-color: var(--color-accent2);
  color: #fff;
  text-decoration: none;
  transition: all ease-in-out;
}
.btn-blue:hover {
  background-color: #3F84AE; 
  border-color: #3F84AE;
  color: #fff;
  text-decoration: none;
}
.btn-blue:active {
  text-decoration: none;
  background-color: #326A8C !important; 
  border-color: #326A8C !important;
}


a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: #3a8bb8;
  text-decoration: none !important;
}

.text-primary {
  color: var(--color-primary) !important;
}
.text-custom-green {
  color: var(--color-secondary) !important;
}
.bg-dark-custom {
  background-color: var(--color-dark) !important;
}
.text-custom-yellow {
  color: var(--color-accent1) !important;
}

/* ============================================= */
/* ================== NAVEGACIÓN ================= */
/* ============================================= */
.navbar {
  background-color: #ffffff !important;
}

.navbar .nav-link {
  font-weight: 500;
  color: #555;
  transition: color 0.3s ease;
  font-size: 15px !important;
}

.navbar .nav-link:hover {
  color: var(--color-primary);
}

.navbar .nav-link.active {
  color: var(--color-primary) !important;
  font-weight: 700;
}

.navbar-brand {
    color: var(--color-primary) !important;
    font-weight: bold;
    font-size: 1.5rem;
}
.navbar .dropdown-toggle {
    text-wrap-mode: unset !important;
}

/* ============================================= */
/* ================ SECCIÓN HERO ================= */
/* ============================================= */
#hero {
  position: relative;
  overflow: hidden;
  background-color: #333;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
}

#hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

#hero .content {
  position: relative;
  z-index: 2;
}

#hero h1 {
	color: var(--color-light);
}

/* ============================================= */
/* ============== AVISO DE COOKIES =============== */
/* ============================================= */
#cookie-consent {
  display: none; 
  z-index: 1050;
  background-color: rgba(33, 37, 41, 0.95) !important;
}

/* ============================================= */
/* ================ ESTILOS ADICIONALES ================= */
/* ============================================= */
.pt-100 {
  padding-top: 100px !important;
}

.bg-tema-1 { background-color: #F27507; /* Naranja */}
.bg-tema-2 { background-color: #88BF50; /* Verde */}
.bg-tema-3 { background-color: #ECF229; /* Amarillo */}
.bg-tema-4 { background-color: #4EA4D9; /* Azul */}
.bg-tema-5 { background-color: #F2F2F2; /* Gris claro */}
.bg-tema-6 { background-color: #212529; /* Oscuro (Bootstrap dark) */}


.btn-custom-shadow {
  cursor: pointer;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease-in-out allow-discrete;
}

.btn-custom-shadow:hover {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.3);
}

.btn-custom-scale {
  cursor: pointer;
  transition: all 0.3s ease-in-out allow-discrete;
}
.btn-custom-scale:hover {
  transform: scale(1.01);
}

#queEsUnCluster,
#contextoGeografico,
#modeloTripleHelice,
#modalContentFabricaDeAgua,
#modalContentMicrosatelite,
#modalContentClinicasJuridicas,
#modalContentConectayAbriga,
#modalContentConversatorioOnu,
#modalContentVisitasUniversitarias {
  display:none;
}

.modal-footer-bottom {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
}

#ejesEstrategicos .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.card {
      border-color: #ECF229 !important;
}
#microsatImg1 {
  display:block;
}
#microsatImg2,
#microsatImg3,
#microsatImg4 {
  display:none;
}
#microsatThumb1,
#microsatThumb2,
#microsatThumb3,
#microsatThumb4 {
  cursor:pointer;
}

.bt-yellow {
  border-top: 1px solid #ECF229 !important;
}
.bb-yellow {
  border-bottom: 1px solid #ECF229 !important;
}

li.no-style {
  list-style: none;
}
.img-thumbnail {
    max-width: 160px !important;
}

@media only screen and (max-width: 576px) { 
    .modal .modal-body {
        max-height: 75vh;
        overflow-y: auto;
        padding-bottom: 71px !important;
    }
    .modal-footer {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: #fff;
    }
}

@media screen and (orientation: landscape) and (max-width: 992px) { 
    .modal .modal-body {
        max-height: 82vh;
        overflow-y: auto;
        padding-bottom: 71px !important;
    }
    .modal-footer {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: #fff;
    }
    .modal-dialog {
      max-width: 75% !important;
    }
}