@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ----------------------logo--------------------------- */
/* .logo{
  width: 400px;
  position: absolute;
  z-index: 10;
  box-shadow: 0 0 2px #00ff15;  
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
} */

/* ----------------------Trámites y Servicios--------------------------- */
.section-1{  
  padding: 50px 0 50px 0;
  text-align: center;
  /* background-color: rgba(139, 192, 188, 0.322);   */
  
}
.section-1 h1{
  color: #1E3954;
  text-transform: uppercase;
  font-weight: 700;
  
}
.contenido{  
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px; 
  max-width: 1200px;
  margin: 0 auto;
}
.contenido-1{
  background: linear-gradient(to right, #141e30, #243b55);  
  padding: 10px;
  font-size: 25px;
  color: #ffffff;
  border-radius: 25px;
  transition: all ease 100ms;
}
.contenido-1 h2{
  color: #ffffff;
  font-size: 20px;
  text-transform: uppercase;
}
.contenido-1:hover {
  transform: scale(1.2);
}
/* bottom ingresar */
.btn-1{
  display: inline-block;
  padding: 10px 25px;  
  /* background: rgba(255, 255, 255, 0.9); */
  background-color: #ffffff;
  color: #1E3954;
  text-transform: uppercase;
  border-radius: 25px;
  font-size: 14px;
  /* Quitar el subrayado de las letras */
  text-decoration: none;
  font-weight: 600;
}
.btn-1:hover{
  background: linear-gradient(to right, #bdc3c7, #2c3e50);
  color: #ffffff;
}

/* ----------------------DrUgelAmbo--------------------------- */
.section-2{
  text-align: center;
  padding: 50px 0 50px 0;  
  /* text-transform: uppercase; */
  background: linear-gradient(to right, #2c3e50, #3498db); 
}
.contenido2-dr{
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto; 
}
.section-2 h1{
  color: #ffffff;
  font-weight: 700;
}
.section-2 h2{
  color: #ffffff;
}
.section-2 img{
  width: 400px;
  height: 400px;
  border-radius: 25px;
  box-shadow: 0 0 25px #6a717e; 
  object-fit: cover;
  aspect-ratio: 16 / 9; 
}

/* ----------------------jefe--------------------------- */
.section-jefe{ 
  color: #1E3954;
  padding: 50px 0 50px 0;   
}
.section-jefe h1{
  font-weight: 700; 
  text-transform: uppercase; 
  text-align: center;
}
.contenedor-jefe{
  display: flex;
  gap: 25px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto; 
  width: 20%;
}
.jefe-1{
  background: linear-gradient(to right, #141e30, #243b55);
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
  box-shadow: 0 0 25px #6a717e; 
}
.jefesimg img{
  width: 250px;
  height: 300px; 
  /* border-radius: 25px;  */
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;  
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.jefe-txt{   
  margin-top: 10px; 
  text-align: center;
  
}
.jefe-1 h2{
  color: #ffffff;
  font-size: 20px;
  margin-top: 5px;
}
.jefe-1 h3{
  color: #ffffff;
  font-size: 15px;
}

/* ----------------------Comunicados--------------------------- */
.section-4 h1{
  color: #1E3954;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
}
.wrapper2 {
  max-width: 1200px;
  padding: 20px 10px;
  margin: 0 60px 35px;
  overflow: hidden;
}
.wrapper2 .card2 {
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  height: auto;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.wrapper2 .card2:hover {
  transform: translateY(-10px);
}
.card2 .card-image2 {
  position: relative;
}
.card2 .card-image2 img {
  width: 100%;  
  padding: 10px;
  border-radius: 22px;  
}
.card2 .card-content2 {  
  padding: 10px 25px 25px;
}
.card2 .card-button2 {
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.81rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(to right, #141e30, #243b55);
  /* background-color: #B2309D;  */
  transition: all 0.3s ease;
}
.card2 .card-button2:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* ----------------------Noticias--------------------------- */
.section-3 h1{
  color: #1E3954;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
}
.wrapper {
  max-width: 1200px;
  padding: 20px 10px;
  margin: 0 60px 35px;
  overflow: hidden;
}
.wrapper .card {
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  height: auto;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.wrapper .card:hover {
  transform: translateY(-10px);
}
.card .card-image {
  position: relative;
}
.card .card-image img {
  width: 100%;
  padding: 10px;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0px 25px 25px;
}
.card .card-content .card-title {
  color: #111111;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 15px;
}
.card .card-content .card-text {
  color: #111111;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.card .card-footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  padding-top: 15px;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  /* background: rgba(255, 255, 255, 0.9); */
}
.card .card-footer .card-profile {
  display: flex;
  align-items: center;
}
.card .card-profile .card-profile-info {
  display: flex;
  flex-direction: column;
}
.card .card-profile .card-profile-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #202020;
}
.card .card-button {
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.81rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(to right, #141e30, #243b55); 
  /* background-color: #B2309D; */
  transition: all 0.3s ease;
}
.card .card-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* ----------------------Videos--------------------------- */
.section-5 h1{
  color: #1E3954;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
}
.wrapper3 {
  max-width: 1200px;
  padding: 20px 10px;
  margin: 0 60px 35px;
  overflow: hidden;
}

/* responsive */
@media (max-width: 900px) {
  .section-1{  
    margin-top: -200px;
  }
  /* ---logo--- */
  .logo{
    width: 50%;
  }
  /* ---Trámites y Servicios--- */
  .contenido{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px; 
  }
  /* ---DrUgelAmbo--- */
  .contenido2-dr{
    display: grid;
  } 
  .section-2 img{
    width: 100%;
    padding: 20px;
    border-radius: 50px;
  }
  /* ---Jefes--- */ 
  .contenedor-jefe{
    display: grid;
  }
}