
:root {
    --primary-color: #383faa;
    --primary-color-rgb: rgb(56, 63, 170);
    --secondary-color: #070558;
    --background-color: #303030;
    --light-background-color: #b7b7b7;
}

.adig {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  
}

h1 {
    font-size: 1.8rem;
}

.pt-8 {
    padding-top: 10rem;
}

.ml--5{
  margin-right: -16px;
}

.bg-primary {
    background-color: var(--primary-color)!important;
    padding: 0;
    margin: 0;
}

.text-light {
    color: white!important;
}
.navbar{
    background: var(--primary-color);
    color: white !important;
}

.navbar ul li a{
    color: white !important;
}

.navbar .nav-link {
  padding-bottom: 0.2rem;
}

.navbar li {
  border-bottom: 3px solid transparent;
  transition:  all ease-in;
  transition-duration: 0.3s;
}

.navbar li:hover {
  border-bottom: 3px solid var(--secondary-color);
}

.btn-primary{
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.btn-secondary{
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
}

body{
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    overflow-x: hidden;
}

.navbar .nav-logo {
  padding-left: 3rem;
  max-width: 100px;
}

.navbar .navbar-toggler {
  color: white;
}

.navbar .show {
  /* padding-top: 3rem; */
}

.hero {
    /* min-height: calc(100vh - 70px); */
    position: relative;
    background: var(--primary-color);
    background-size: cover;
    color: white;
    padding: 0px 100px 20px 100px ;
    text-align: start;
    z-index: 1;
}

.hero p {margin: 0}

.subhero {
    min-height: calc(100vh - 70px);
    background: linear-gradient(rgba(56, 63, 170,0.4), rgba(56, 63, 170,0.4)), url('../img/class.webp') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 30px 30px 100px 30px;
    text-align: start;
}

@media (max-width: 768px) {
  .hero {
      padding: 0px 50px 10px 50px ;
  }
  .subhero {
      padding: 15px 15px 50px 15px;
  }
  .hero h1, .hero h2  {
      font-size: 1.5rem;
  }

  .puzzle-container {
    margin-top: 25px;
  }
  
  #ofertas .col-lg-4 {
    display: flex;
    justify-content: center;
  }
  #ofertas .ofert-icons {
    font-size: small;
  }

  #ofertas .ofert-icons h5 {
    margin-bottom: 0;
    margin-left: 10px;
    margin-top: 10px;
  }
}

.separator-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.subhero > *:not(.separator-img) {
position: relative;
z-index: 2;
}

.logo-img {
    width: auto;
    max-height: 100px;
    object-fit: contain;
}

.section {
    background-color: white;
}

.section-title {
  margin-bottom: 0px;
  text-align: center;
  font-weight: bold;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
}


#institucional {

}

#institucional p {
  /* font-size: 1.5rem; */
}


.separator-banner {
    width: 100%;
    height: 15rem;
    overflow: hidden;
    position: relative;
}

.separator-banner .Banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.puzzle-buttom {
  background-image: url("../img/puzzle1.png");
  background-size: cover;
  background-repeat: no-repeat;
  width: 150px;
  height: 150px;
  padding-left: -15px;
  border: 1px transparent;
}


.puzzle-container {
  display: flex;
  flex-wrap: wrap;
  width: 350px;
  height: 350px;
  position: relative;
}

.box {
  --r: 25px;
  --rb: 28px;
  --rbc: 22px;
  width: 50%;
  height: 50%;
  position: relative;
  transition: all .15s ease-in-out;
  box-sizing: border-box;
  transition: transform 0.2s ease-in-out;
}

.pos-1 {
  background:
    radial-gradient(var(--r) at calc(50% - var(--r)/2) 0, var(--secondary-color) 98%, var(--secondary-color)) var(--r) 0/100% var(--r) no-repeat,
    radial-gradient(var(--rb) at calc(102% - var(--r)) calc(50% - var(--r)/2), #0000 98%, var(--secondary-color)) var(--r) 50%/100% calc(100% - 2*var(--r)) no-repeat,
    radial-gradient(var(--rbc) at calc(50% + var(--r)/2) calc(102% - var(--r)), var(--secondary-color) 98%, #0000);
  transition: all .15s ease-in-out;
}

.pos-2 {
  background:
    radial-gradient(var(--r) at calc(50% - var(--r)/2) 0, var(--primary-color) 98%, var(--primary-color)) var(--r) 0/100% var(--r) no-repeat,
    radial-gradient(var(--r) at calc(100% - var(--r)) calc(50% - var(--r)/2), var(--primary-color) 98%, var(--primary-color)) var(--r) 50%/100% calc(100% - 2*var(--r)) no-repeat,
    radial-gradient(var(--r) at var(--r) calc(50% - var(--r)/2), var(--primary-color) 98%, #0000),
    radial-gradient(var(--rbc) at calc(50% + var(--r)/2) calc(102% - var(--r)), var(--primary-color) 98%, #0000);
}

.pos-3 {
  background:
    radial-gradient(var(--r) at calc(50% - var(--r)/2) 0, #0000 98%, var(--primary-color)) var(--r) 0/100% var(--r) no-repeat,
    radial-gradient(var(--rb) at calc(102% - var(--r)) calc(50% - var(--r)/2), #0000 98%, var(--primary-color)) var(--r) 50%/100% calc(100% - 2*var(--r)) no-repeat,
    radial-gradient(var(--r) at calc(50% + var(--r)/2) calc(100% - var(--r)), #0000 98%, #0000);
}


.pos-4 {
  background:
    radial-gradient(var(--r) at calc(50% - var(--r)/2 ) 0%, #0000 98%, var(--secondary-color)) var(--r) 0/100% var(--r) no-repeat,
    radial-gradient(var(--r) at calc(100% - var(--r)) calc(50% - var(--r)/2), var(--secondary-color) 98%,var(--secondary-color)) var(--r) 50%/100% calc(100% - 2*var(--r)) no-repeat,
    radial-gradient(var(--r) at var(--r) calc(50% - var(--r)/2), var(--secondary-color) 98%, #0000),
    radial-gradient(var(--r) at calc(50% + var(--r)/2) calc(100% - var(--r)), #0000 98%, #0000);
}

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

.box:hover {
  transform: scale(1.1);
  z-index: 1;
}

.box a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-left: 20px;
  margin-top: -18px;
  color:white;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  line-height: 85%;
}

.box img {
  width: 80px; /* ajustá el tamaño como quieras */
  height: 80px;
  object-fit: contain;
  pointer-events: none; /* opcional si no querés que haga hover en la imagen */
}

#ofertas {
    background-color: white;
}

#ofertas svg {
  
  padding: 0.1rem;
}

#ofertas h5 {
  font-size: 1rem;
  font-weight: bold;
  margin-left: 1rem;
}

#ofertas h5, #ofertas .col {
  text-align: center;
  color: var(--secondary-color);
}

#ofertas .col {
  justify-content: center;
}

#ofertas .ofert-icons {
  background-color: var(--light-background-color);
  padding: 30px 10px;
}

#ofertas .card {
  border-radius: 14px;
}

#ofertas .card-img-top {
  width: 100%;
  border-top-left-radius: calc(.25rem - 1px);
  border-top-right-radius: calc(.25rem - 1px);
      object-fit: cover;
      height: 200px;
}

#ofertas .card-body{
  text-align: start;
}

#ofertas .card-body .card-title{
  font-size: x-large;
  color: var(--primary-color)
}

.tarjeta-oferta {
  display: block;
  transition: all 0.3s ease;
}

.tarjeta-oferta .img-wrapper {
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

.tarjeta-oferta:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}




.features .col-md-4 {
  text-align: center;
  margin-bottom: 30px;
}


/* Estilos base para el slider */
#slider {
    width: 100%;
    /* max-width: 1400px; */
    margin: 0 auto;
    /* padding: 20px; */
    font-family: Arial, sans-serif;
    overflow: hidden;
    position: relative;
    z-index: 10;
    background-color: var(--secondary-color);
}

.swiper-container {
    width: 100%;
    height: 450px;
    margin: 40px 0px;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-slide {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    margin: 0 10px;  /* Margen entre slides */
    /* flex: 0 0 calc(25% - 20px);  4 slides por fila (25% - margen) */
    height: 100%;
}

.swiper-slide h3 {
    font-size: 1rem !important;
}

.slide-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.slide-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.slide-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #333;
}

.slide-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;
    padding: 8px 15px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
    margin-top: auto;
    max-width: 100px;
}

.read-more:hover {
    background: #005177;
}

/* Flechas de navegación */
.swiper-button-next, .swiper-button-prev {
    color: #0073aa;
}

/* Paginación */
.swiper-pagination-bullet-active {
    background: #0073aa;
}

/* Breakpoints para responsive */
@media (max-width: 1200px) {
    .swiper-slide {
        flex: 0 0 calc(33.33% - 20px);  /* 3 slides */
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        flex: 0 0 calc(50% - 20px);  /* 2 slides */
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        flex: 0 0 calc(100% - 20px);  /* 1 slide */
    }
}



#footer {
    min-height: 100vh;
    position: relative;
    color: white;
    background-color: var(--primary-color);
    background-image: url('../img/separator_bottom.webp');
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center -240px;
    display: flex;
    flex-direction: column;
}

#footer .form-container {
  max-width: 990px!important;
  margin:auto;
}

#footer .bottom-footer {
  margin-top: auto;
  background-color: var(--background-color);
}
        
.form-control {
    background-color: white;
    border-radius: 10px;
    border: none;
    padding: 12px 20px;
    margin-bottom: 15px;
}

textarea.form-control {
    height: 180px;
    resize: none;
}

.btn-submit {
    background-color: #ff6b6b;
    color: white;
    border-radius: 25px;
    padding: 10px 30px;
    border: none;
    font-weight: bold;
    margin-bottom: 15px;
}

.form-title {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}
