* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  line-height: 1.5;
  box-sizing: border-box;
}

p {
  color: #555;
  font-family: verdana;
  font-size: clamp(12px, 1.5vw, 16px);
}

img {
  width: 100%;
  object-fit: cover;
  height: auto;
}


/*************** NAVIGATION BAR ************************/
.nav {
  background-color: #383E4C;
  position: relative;
  width: 100%;
  border-radius: 3px;
  z-index: 999999;
  text-align: right;
  padding: 5px 0;
}


.nav a,
.icon {
  color: #FFF;
  background-color: #383E4C;
  padding: 14px 16px;
  display: inline-table;
  font-size: 17px;
  text-decoration: none;
  z-index: 10;


}


.nav a {
  /* border: 1px solid #fff;*/
  margin: 8px;
  height: 15px;
  line-height: 15px;

}

.icon {
  display: none;
}

a:hover {
  background-color: #49505F;
  cursor: pointer;
}






/* items del menu */

#menu ul li {
  position: relative;
  float: right;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* efecto al pasar el ratón por los items del menu */


/* menu desplegable */

#menu ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #383E4C;
  padding: 0;
}

/* items del menu desplegable */

#menu ul ul li {
  float: none;
  width: 150px;
}

/* enlaces de los items del menu desplegable */

#menu ul ul a {
  line-height: 120%;
  padding: 10px 15px;
}

/* items del menu desplegable al pasar el ratón */

#menu ul li:hover>ul {
  display: block;

}

/***************************footer section************************/

/* HTML Set up */



footer {
  background: #191919;
  color: #fff;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}

footer .centered {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

footer .footer-logo {
  width: 30%;
}

footer .footer-logo img.logo {
  padding: 30px 20px 10px 20px;
  width: 267px;
  margin-left: 38px;
  max-width: 100%;
}

footer .footer-contact {
  width: 45%;
  margin: 0px 60px 0px 85px;
  font-size: 20px;
  font-family: 'Courier New', Courier, monospace;
}

footer .footer-contact a {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

footer .footer-navigation {
  width: 60%;
}

footer .footer-navigation .footer-links-holder {
  width: 33.33333%;
  position: relative;
  float: left;
  margin: 0;
}

footer .footer-navigation .footer-links-holder .footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  -webkit-transition: max-height .5s;
  transition: max-height .5s;
}

footer .bottom-bar {
  position: relative;
  text-align: center;
  font-size: .8em;
  text-transform: uppercase;
  background: #000;
  padding: 15px 0;
}

/* Responsive Tablet Sizes */
@media only screen and (max-width: 749px) {
  footer .centered {
    flex-wrap: wrap;
  }
  footer .footer-logo {
    max-width: 250px;
    width: 50%;
  }
  footer .footer-contact {
    width: 50%;
    padding: 0 20px;
  }
  footer .footer-navigation {
    width: 100%;
  }
  footer .footer-navigation .footer-links-holder {
    padding: 0 20px;
  }
}

/* Responsive Mobile Sizes */
@media only screen and (max-width: 500px) {
  footer .centered .footer-logo {
    width: 100%;
    margin: 0 auto;
  }
  footer .centered .footer-contact {
    width: 100%;
  }
  footer .centered .footer-navigation .footer-links-holder {
    width: 100%;
    padding: 0;
  }
  footer .centered .footer-navigation .footer-links-holder h3 {
    margin: 0;
    padding: 10px 20px;
    border-top: #000 1px solid;
    cursor: pointer;
    position: relative;
  }
  footer .centered .footer-navigation .footer-links-holder h3::after {
    float: right;
    margin-right: 10px;
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-top: 7px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transition: transform .5s;
    transition: transform .5s;
  }
  footer .centered .footer-navigation .footer-links-holder .footer-links {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
  }
  footer .centered .footer-navigation .footer-links-holder.active h3::after {
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  footer .centered .footer-navigation .footer-links-holder.active .footer-links {
    max-height: 10000px;
  }
}

/* Social Icons */
.social {
  text-align: left;
  margin-left: 150px;
}
.social a {
  display: inline-block;
  padding: 7px;
  width: 35px;
  height: 35px;
  margin: 0 2px;
  background: #fff;
  border-radius: 50%;
  vertical-align: middle;
}
.social a:hover {
  background: #65c2ed;
}
.social a.linkedin {
  padding: 4px;
}
.social a svg .face,
.social a svg .twit,
.social a svg .link {
  fill: #000;
}

/* Typography */
footer h3 {
  font-weight: lighter;
  font-style: italic;
  margin-bottom: 0;
}
footer p,
footer li {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 10px 0;
}
footer a {
  color: #fff;
  text-decoration: none;
  -webkit-transition: color .5s, background .5s;
  transition: color .5s, background .5s;
}
footer a:hover {
  color: #65c2ed;
}

/* Misc CSS */
.clearfix:before,
.clearfix:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
  clear: both;
}

body {
  margin: 0;
  width: 100%;
  font-size: clamp(14px, 2vw, 18px);
}

html, body {
  scroll-behavior: smooth;
}

/***************************galerias eventos *****************/
/* Styles for lightbox */
:root {
  --lightbox-bg-color: #292929;
  --lightbox-caption-text-color: white;
  --lightbox-controls-color: white;
  --lightbox-controls-hover-color: #bf40bf;
}

/* Styles for lightbox */
#lightbox {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  background: var(--lightbox-bg-color);
  opacity: 0;
  /* Initial opacity set to 0 */
  transition: opacity 0.5s;
  /* Cross-fade transition */
}

/* Container for the image and caption */
#lightbox figure {
  max-width: calc(90vw - 100px);
  max-height: calc(90vh - 100px);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  width: 60vw;
  height: 100%;
  max-height: calc(100vh - 100px);
  /* Adjusted to accommodate the caption */
  display: block;
  margin: 0;
  opacity: 0;
  /* Initial opacity */
  transition: opacity 0.5s;
  /* Cross-fade transition */
  object-fit: contain;
  aspect-ratio: 4/3;
}

#lightbox-caption {
  color: var(--lightbox-caption-text-color);
  text-align: center;
  width: 100%;
  height: 80px;
  /* Fixed height for the caption */
  background: rgba(0,
      0,
      0,
      0);
  /* Semi-transparent background for the caption */
  padding: 10px;
  /* Padding for spacing */
  box-sizing: border-box;
  padding-top: 15px;
}

/* Styling for h2 and p in the caption */
#lightbox-caption h2 {
  font-size: 1.2em;
  /* Adjust as needed */
  margin: 0;
}

#lightbox-caption p {
  font-size: 0.9em;
  /* Adjust as needed */
  margin: 0;
}

#close,
#prev,
#next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 10px;
  border-radius: 5px;
  color: var(--lightbox-controls-color);
}

#lightbox #close {
  top: 35px;
  right: 20px;
  width: 35px;
  height: 35px;
}

#lightbox #close:hover {
  background: rgba(178, 34, 52, 0.95);
}

#lightbox #close {
  text-indent: -9999px;
  cursor: pointer;
}

#lightbox #close:after,
.close-button:before {
  content: "" "";
  width: 55%;
  height: 2px;
  background: #fafafa;
  position: absolute;
  top: 48%;
  left: 22%;
  transform: rotate(-45deg);
  transition: 0.3s ease-out;
}

#lightbox #close:after {
  transform: rotate(45deg);
  transition: 0.3s ease-out;
}

#lightbox #close:hover:after,
.close-button:hover:before {
  transform: rotate(180deg);
}

#lightbox #prev {
  left: 20px;
}

#lightbox #next {
  right: 20px;
}

#close:hover,
#prev:hover,
#next:hover {
  color: var(--lightbox-controls-hover-color);
  transition: all 0.5s ease-in-out;
}

/* Demo styles */

.top-title {
  width: 90vw;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 50px;
}

.gallery {
  width: 58vw;
  
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 12px;
  /* Row gap */
  column-gap: 10px;
  /* Column gap */
}

.galleria {
  width: 90vw;
  max-width: 400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  row-gap: 12px;
  /* Row gap */
  column-gap: 10px;
  /* Column gap */
}

.gallery img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.5s ease, box-shadow 0.5s ease;

  width: 100%;
  height: auto;
  aspect-ratio: 3/3;

}

.gallery img:hover {
  transform: scale(1.05) translateY(-5px);
}

@media (max-width: 980px) {
  .gallery img:hover {
    transform: none;
  }
}

/********************popup***********************/
.columnass {
  width: 90vw;

  max-width: 546px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 12px;
  /* Row gap */
  column-gap: 10px;
  /* Column gap */
}

.columnass h2 {
  font-size: 60px;
}

.columnass img {
  width: 122px;
}

.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.window-notice {
  background: rgba(33, 41, 52, .85);
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  display: flex;
  position: fixed;
  z-index: 999;

}

.window-notice .contenido {
  padding: 3px 10px;
  border: green 5px solid;

  background: #fff;
  border-radius: 65px;
  box-shadow: 0 1px 3px rgba(33, 41, 52, .75);
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  margin: auto;
  max-width: 600px;
  min-width: 320px !important;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem;
  font-size: 1.3rem;
}

/***************************** nav side *********************/
.middle {
  width: 900px;
  margin: 0 auto;
}

.pp {
  color: #000;
  display: inline-flex;
}

.page {
  float: left;
  width: 100%;
}

ul.main {
  list-style: none;
  float: left;
  width: 280px;
  margin: 194px 60px 0 94px;

  li {
    float: left;
    width: 100%;

    &:nth-child(1) a {
      border-color: #48CFAD;

      &:before {
        background-color: #48CFAD;
      }

      &:after {
        background-color: #28ab8b;
      }
    }

    &:nth-child(2) a {
      border-color: #AC92EC;

      &:before {
        background-color: #AC92EC;
      }

      &:after {
        background-color: #8669cd;
      }
    }

    &:nth-child(3) a {
      border-color: #4FC1E9;

      &:before {
        background-color: #4FC1E9;
      }

      &:after {
        background-color: #2496c1;
      }
    }

    &:nth-child(4) a {
      border-color: #ED5565;

      &:before {
        background-color: #ED5565;
      }

      &:after {
        background-color: #ca3342;
      }
    }

    a {
      float: left;
      width: 100%;
      height: 50px;
      line-height: 50px;
      margin: 0 0 5px 0;
      padding: 0 10px;
      background-color: #fff;
      border-bottom: 4px solid;
      color: #333;
      font-family: 'Indie Flower', cursive;
      font-size: 22px;
      text-decoration: none;
      text-indent: 0;
      position: relative;
      transition: 0.5s;

      span {
        position: relative;
        z-index: 1;
      }

      &:before {
        content: '';
        width: 100%;
        height: 0%;
        position: absolute;
        left: 0;
        bottom: 0;
        transition: 0.2s;
      }

      &:after {
        content: '';
        width: 0;
        height: 4px;
        position: absolute;
        left: 50%;
        bottom: -4px;
        transition: 0.4s;
      }

      &:hover {
        color: #fff;
        text-indent: 8px;
      }

      &:hover:before {
        height: 100%;
      }

      &:hover:after {
        width: 100%;
        left: 0;
      }
    }
  }
}

article {
  text-align: center;

}

article p {
  padding: 50px;
  font-size: 20px;
  text-align: justify;

}

/********************* eventos section********************/
.textos {

  text-align: center;
}

.right {
  width: 100%;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  width:1350px;
  border-radius: 5px;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

img {
  border-radius: 5px 5px 0 0;
}

.container {
  padding: 2px 16px;
}

/************************ central section***************************/
.center {
  top: 100px;
  position: relative;
  width: 990px;
  left: -270px;
  perspective: 1200px;


}

.center .img-card {
  position: relative;
  height: 350px;
  width: 540px;
  /*overflow: hidden;*/
  transform-style: preserve-3d;
  transition: transform .5s ease-in;
}

.img-card img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.img-card img:nth-child(1) {
  transform: rotateX(-270deg) translateY(-175px);
  transform-origin: top left;
}

.img-card img:nth-child(2) {
  transform: translateZ(175px);
  /*opacity: 0;*/
}

.img-card img:nth-child(3) {
  transform: rotateX(-90deg) translateY(175px);
  transform-origin: bottom center;
}

.img-card img:nth-child(4) {
  transform: rotateX(-180deg) translateY(350px) translateZ(175px);
  transform-origin: bottom right;
}

#tab-1:checked~.img-card {
  transform: rotateX(-90deg);
}

#tab-2:checked~.img-card {
  transform: rotateX(0deg);
}

#tab-3:checked~.img-card {
  transform: rotateX(90deg);
}

#tab-4:checked~.img-card {
  transform: rotateX(180deg);
}

.sliders {
  position: absolute;
  display: block;
  right: 0;
  top: -30px;
}

.sliders label {
  height: 98px;
  width: 110px;
  display: flex;
  overflow: hidden;
  cursor: pointer;
  margin: 6px 0;
  border: 2px solid #178A27;
}

.sliders label:nth-child(1) {
  margin-top: 0;
}

label img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: .9;
}

label img:hover,
#tab-1:checked~.sliders label:nth-child(1) img,
#tab-2:checked~.sliders label:nth-child(2) img,
#tab-3:checked~.sliders label:nth-child(3) img,
#tab-4:checked~.sliders label:nth-child(4) img {
  filter: grayscale(0);
  opacity: 1;
}

input {
  display: none;
}

/************************* HERO SECTION *************************/
body {
  width: auto;
}

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700&display=swap");

:root {
  --width: 144px;
  --gap: 1rem;
  --speed: 500ms;
}




main {
  height: 100vh;
  width: 100%;
  background: #202227;
}

.deslizar {
  position: relative;
  width: 100px;
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.item1 {
  display: flex;
  align-items: center;
  width: var(--width);
  height: calc(var(--width) * 1.5);
  position: absolute;
  z-index: 1;
  border-radius: 0.25rem;
  box-shadow: 0 12px 24px -6px black;
  transition: left var(--speed), width var(--speed), height var(--speed), border-radius var(--speed), opacity var(--speed);
  transition-timing-function: ease-out;
  transform-origin: center;
  overflow: hidden;
  will-change: transform, opacity;
}

.item1::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  box-shadow: 0px 0px 50px 25px rgba(0, 0, 0, 0.25) inset;
  transition: box-shadow var(--speed);
  will-change: transform, opacity;
}

.item1 img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item1:nth-child(1),
.item1:nth-child(2) {
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  filter: blur(0);
}

.item1:nth-child(1)::after,
.item1:nth-child(2)::after {
  box-shadow: 0px -50px 150px 50px rgba(0, 0, 0, 0.75) inset;
}

.item1:nth-child(3) {
  left: 50%;
}

.item1:nth-child(4) {
  left: calc(50% + var(--width) + var(--gap));
  transition-delay: calc(var(--speed) * 0.2);
}

.item1:nth-child(5) {
  left: calc(50% + calc(var(--width) * 2) + calc(var(--gap) * 2));
  transition-delay: calc(var(--speed) * 0.4);
}

.item1:nth-child(6) {
  left: calc(50% + calc(var(--width) * 3) + calc(var(--gap) * 3));
  opacity: 0;
  transition-delay: calc(var(--speed) * 0.6);
}

.content {
  width: min(30vw, 400px);
  position: absolute;
  left: 3rem;
  z-index: 1;
  transform: translateY(25%);
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
  opacity: 0;
  display: none;
  flex-direction: column;
  gap: 1rem;
  outline: 0;
}

a {
  text-decoration: none;
  color: #000000;
}

.content * {
  outline: 0;
}

.content .title {
  font-weight: 600;
  text-transform: uppercase;
}

.description {
  color: white;

  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)); /* Gradiente para un mejor contraste */
  border-radius: 8px; /* Asegura que el gradiente tenga bordes redondeados */


  color: #fff;
  font-size: 1.1rem; /* Ajusta el tamaño del texto según sea necesario */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6); /* Sombra más suave y elegante */
  text-align: center;
  margin: 0;
  padding: 0 20px; /* Espacio a los lados del texto */
  box-sizing: border-box;
}

.content .description {
  line-height: 1.7;
}

.content button {
  width: fit-content;
  background-color: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.9);
  border: 0;
  border-radius: 0.25rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: background var(--speed), color var(--speed);
}

.content button:hover {
  background-color: rgba(0, 0, 0, 0.9);
  color: rgba(255, 255, 255, 0.9);
}

.item1:nth-of-type(2) .content {
  display: flex;
  animation: show var(--speed) ease-in-out calc(var(--speed) / 2) forwards;
}

@keyframes show {
  0% {
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.nav1 {
  display: flex;
  gap: 0.5rem;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  user-select: none;
  border-radius: 100vw;
  padding: 0.25rem;
}

.nav1 .btn {
  background-color: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.9);
  padding: 0.75rem;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--speed), color var(--speed);
}

.nav1 .btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
  color: rgba(255, 255, 255, 0.9);
}

@media (width > 650px) and (width < 900px) {
  .content .title {
    font-size: 1rem;
  }

  .content .description {
    font-size: 0.7rem;
  }

  .content button {
    font-size: 0.7rem;
  }

  .item1 {
    width: 160px;
    height: 270px;
  }

  .item1:nth-child(3) {
    left: 50%;
  }

  .item1:nth-child(4) {
    left: calc(50% + 170px);
  }

  .item1:nth-child(5) {
    left: calc(50% + 340px);
  }

  .item1:nth-child(6) {
    left: calc(50% + 510px);
    opacity: 0;
  }
}

@media (width < 650px) {
  .content .title {
    font-size: 0.9rem;
  }

  .content .description {
    font-size: 0.65rem;
  }

  .content button {
    font-size: 0.7rem;
  }

  .item1 {
    width: 130px;
    height: 220px;
  }

  .item1:nth-child(3) {
    left: 50%;
  }

  .item1:nth-child(4) {
    left: calc(50% + 140px);
  }

  .item1:nth-child(5) {
    left: calc(50% + 280px);
  }

  .item1:nth-child(6) {
    left: calc(50% + 420px);
    opacity: 0;
  }
}


/****************** COLUMN LAYOUT ************************/

.wrapper {
  margin-top: 50px;
}

video {
  width: 100%;
  height: auto;
}

.row {
  width: 97%;
  display: flex;
  justify-content: center;
}

.col {
  margin: 30px 15px;
  padding-bottom: 10px;
  text-align: center;
  background-color: #F2F2F2;
  display: inline-block;

  box-shadow: 0px 0px 14px 7px rgba(0, 0, 0, 0.25)
}

.col p {
  background-color: #F2F2F2;
  padding: 10px;
  font-size: 14px;
  width: 90%;
  margin: 0 auto;
}
.container {
  position: relative;
  width: 100%;
  max-width: 1350px; /* Ajusta el ancho máximo de la imagen si es necesario */
  margin: auto;
}

.background-image {
  width: 100%;
  height: auto; /* Ajusta la altura automáticamente para mantener la relación de aspecto */
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5); /* Fondo oscuro semi-transparente para mejorar la legibilidad del texto */
}

.text-shadow {
  color: white;
  font-size: 2rem; /* Ajusta el tamaño del texto según sea necesario */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Sombra del texto */
  text-align: center;
  margin: 0;
}
h3 {
  color: #666666;
  margin-top: 10px;
  text-align: center;
}

.sp-1 {
  margin-top: 30px;
  width: auto;
  width: 900px;
  border-radius: 10px;

  height: auto;
}

.sp-1 img {
  max-height: 500px;
}

.sp-1 p {
  text-align: left;
}

.sp-2 {
  text-align: center;
  width: 40%;
  border-radius: 10px;
}

.sp-2 img,
.sp-3 img {
  max-height: 250px;
}

.sp-3 {
  width: 30%;
  border-radius: 10px;
}

.sp-3 img {
  height: 250px;
}

.sp-4 {
  background-color: #F2F2F2;
  width: 20%;
  border-radius: 10px;
}

.sp-4 img {
  height: 250px;
}

/********************** BUTTONS ************************/

.btn {
  height: 40px;
  width: 150px;
  border: none;
  color: #FFF;
  display: block;
  margin: 10px auto;
  border-radius: 5px;
  font-weight: bold;
}

.plain {
  background-color: #FFFFFF;
  border: 1px solid gray;
  color: #666666;
}

#green-btn {
  background-color: #178A27;
}

.green-clr {
  color: #178A27;
  font-family: happy_memories;
  font-size: 30px;
}

h2 {
  color: #178A27;
  font-family: happy_memories;
  font-size: 70px;
}

.pp {
  color: gray;
  text-align: center;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 120px;
}

#blue-btn {
  background-color: #1686C1;
}

.blue-clr {
  color: #1686C1;
  font-size: 30px;
  font-family: happy_memories;
}

#red-btn {
  background-color: #852406;
}

.red-clr {
  font-size: 30px;
  font-family: happy_memories;
  color: #852406;
}

#logo {
  padding-left: 30px;
  width: 45px;
  text-align: left;
  position: relative;
}

/*********************** BANNER SECTION ******************************/

.banner {

  background-attachment: fixed;
  background-size: cover;
  width: 100%;
  height: 100%;
  margin: 30px 0;
  text-align: center;
  color: #242424;

}

.green-clr h1 {
  font-family: signatra;
}

.banner h1 {
  font-family: signatra;
  font-size: 110px;
  color: #178A27;
}

.banner p {
  font-size: 20px;
}

.banner p {
  font-family: 'Times New Roman', Times, serif;
  color: #383E4C;
  width: 100%;
  margin: auto;
}

/***************Botones*******************************/
#verde {
  margin: 0px;
  margin-left: 0px;
  padding-left: 52px;
  padding-right: 60px;
  padding-top: 11px;
  padding-bottom: 12px;
}



#verde:hover {

  background: transparent;
  color: #fff;
}

#trasnparente {
  margin: 0px;
  margin-left: 0px;
  padding-left: 52px;
  padding-right: 60px;
  padding-top: 11px;
  padding-bottom: 12px;
}

#trasnparente:hover {
  background: transparent;

}
































/************************* CONTACT FORM ****************************/

.contact-form-bg {
  background: url("http://blog.ryanair.com/wp-content/uploads/2016/02/ibiza-sunset.jpg") no-repeat fixed center;
  background-size: cover;
  width: 100%;
  height: 270px;
  -webkit-filter: blur(1px);
  z-index: 0;
  margin-top: 80px;
}

.contact-form {

  z-index: 1;
  text-align: center;
  color: #101010;
  margin-top: 80px;
}

.contact-form h2 {

  margin: 50px 0 30px 0;
  font-size: 36px;
  font-weight: 100;
}

.contact-form p,
input,
textarea {
  background-color: #555;
  background-color: rgba(226, 223, 216, 0.5);
  border: none;
  border-radius: 5px;
  margin: 0 auto;
}

.contact-form p {
  width: 48%;
}

.contact-form .row {
  width: 50%;
  margin: auto;
}

.contain {
  width: 50%;
  margin: auto;
}

.inputs,
.text {
  width: 50%;
}

.text {
  margin-left: 15px;
}

input {
  width: 90%;
}

.darker {
  color: #101010;
  padding: 10px;
}

input,
textarea {
  padding: 0 10px;

  height: 35px;
  margin: 15px auto;
  font-size: 16px;
  letter-spacing: 2px;
}

input::placeholder {
  color: #101010;
}

textarea {
  height: 150px;
  width: 90%;
}

.send {
  background-color: #262628;
  color: #FFF;
  height: 45px;
  width: 100px;
  border-radius: 5px;
  font-size: 20px;
  float: left;
  margin-left: 3%;
  margin-top: 1%;
}




/************************ MOBILE LAYOUT ***************************/

@media only screen and (max-width: 770px) {

  .hero {
    height: 250px;
  }

  /*************** NAVIGATION BAR ************************/

  .nav {
    padding: 0;
  }

  .nav a {
    display: none;
  }

  .icon {
    display: block;
    text-align: center;
    height: auto;
    float: right;
    padding: 12px 16px;
    position: fixed;
    right: 5px;
    top: 10px;
  }

  .responsive {
    width: 97%;
    margin-top: 60px;
  }

  .responsive a {
    float: none;
    display: block;
    text-align: center;
    border-top: 1px solid #fff;
  }

  .responsive a:focus {
    background: #49505F;
  }


  .card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: 40%;
  }

  .card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  }

  .container {
    padding: 2px 16px;
  }

  /****************** COLUMN LAYOUT ************************/

  .row:not(.wrap) {
    display: block;
  }

  .col {
    margin: 15px auto;
    padding-bottom: 10px;
    width: 90%;
    text-align: center;
    background-color: #F2F2F2;
    display: block;
  }

  .col p {
    background-color: #F2F2F2;
    padding: 10px;
    font-size: 14px;
    width: 90%;
    margin: 0 auto;
  }

  h3 {
    color: #666666;
    margin-top: 10px;
  }

  .sp-1 {
    margin-top: 30px;
    
  }

  .sp-2 {
    margin-top: 30px;
    text-align: center;
    width: 90%;
  }

  .sp-3 {
    width: 65%;
  }

  .sp-2 img,
  .sp-3 img {
    max-height: 250px;
  }

  .sp-4 {
    background-color: #F2F2F2;
    width: 45%;
  }

  .sp-4 h3 {
    text-align: center;
  }

  .darker {
    padding: 5px 0;
  }

  .inputs,
  .text {
    width: 100%;
  }

  .text {
    margin-left: 0;
  }

  .contact-form #contact-title {
    padding-top: 0;
  }
}

@media only screen and (max-width: 1100px) {
  .wrap {
    flex-wrap: wrap;
  }
}

@media only screen and (max-width: 1000px) {
  .contact-form .row {
    width: 90%;
  }

  .contact-form p {
    width: 85%;
  }
}

@media only screen and (min-width: 771px) {
  .sp-4 {
    width: 35%;
  }
}

@media only screen and (max-width: 530px) {
  .wrap {
    display: block;
  }

  .sp-4 {
    width: 70%;
  }

  .banner p {
    width: 80%;
  }




}


/********************** PRESENTACION LOS MEJORES********************/


.box-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 70px;
}

.single-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: auto;
  border-radius: 4px;
  background-color: #fff;
  text-align: center;
  margin: 20px;
  padding: 20px;
  transition: .3s;
  box-shadow: 1px 0 5px 0 rgba(0, 0, 0, 0.6);
}

.img-area {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 121px;
  height: 121px;
  border: 6px solid #ddd;
  border-radius: 50%;
  margin-bottom: 10px;
  padding: 20px;
  background-size: cover;
  background-position: center center;
}

.single-box:nth-child(1) .img-area {
  background-image: url('Imagenes/estudiantes/madisson.jpeg');
}


.single-box:nth-child(2) .img-area {
  background-image: url('Imagenes/estudiantes/castaño.jpeg');
}

.single-box:nth-child(3) .img-area {
 background-image: url('Imagenes/estudiantes/anchico.jpeg');
}

.single-box:nth-child(4) .img-area {
 background-image: url('Imagenes/estudiantes/tello.jpeg');
}

.single-box:nth-child(5) .img-area {
   background-image: url('Imagenes/estudiantes/paredes.jpeg');
}

.single-box:nth-child(6) .img-area {
   background-image: url('Imagenes/estudiantes/tatis.jpeg');
}

.single-box:nth-child(7) .img-area {
 background-image: url('Imagenes/estudiantes/ramirez.jpeg');
}

.single-box:nth-child(8) .img-area {
  background-image: url('Imagenes/estudiantes/nicolas.jpeg');
}

.single-box:nth-child(9) .img-area {
   background-image: url('Imagenes/estudiantes/roxana.jpeg');
}

.single-box:nth-child(10) .img-area {
  background-image: url('Imagenes/estudiantes/amy.jpeg');
}

.single-box:nth-child(11) .img-area {
   background-image: url(https://images.pexels.com/photos/1222271/pexels-photo-1222271.jpeg?auto=compress&cs=tinysrgb&w=600);
}
.single-box:nth-child(12) .img-area {
 background-image: url(https://images.pexels.com/photos/1222271/pexels-photo-1222271.jpeg?auto=compress&cs=tinysrgb&w=600);
}

.single-box:nth-child(13) .img-area {
   background-image: url(https://images.pexels.com/photos/1222271/pexels-photo-1222271.jpeg?auto=compress&cs=tinysrgb&w=600);
}

.single-box:nth-child(14) .img-area {
  background-image: url(https://images.pexels.com/photos/1222271/pexels-photo-1222271.jpeg?auto=compress&cs=tinysrgb&w=600);
}

.single-box:nth-child(15) .img-area {
 background-image: url(https://images.pexels.com/photos/1222271/pexels-photo-1222271.jpeg?auto=compress&cs=tinysrgb&w=600);
}

.single-box:nth-child(16) .img-area {
  background-image: url(https://images.pexels.com/photos/1222271/pexels-photo-1222271.jpeg?auto=compress&cs=tinysrgb&w=600);
}

.single-box:nth-child(17) .img-area {
  background-image: url(https://images.pexels.com/photos/1222271/pexels-photo-1222271.jpeg?auto=compress&cs=tinysrgb&w=600);
}

.header-text {
  font-size: 24px;
  font-weight: 500px;
  line-height: 48px;
}

.img-text h3 {
  margin: 10px 0;
}

.img-text p {
  font-size: 15px;
  font-weight: 400px;
  line-height: 30px;
}

.single-box:hover {
  background-color: darkorange;
  color: #fff;
}

.single-box:hover .line {
  background-color: #fff;
}



/***********************columnass**************************/
/* Create two equal columns that floats next to each other */
.column {
  margin-left: 70px;
  float: left;
  width: 50%;
  width: 695px;
  padding: 10px;
  height: 553px;
  /* Should be removed. Only for demonstration */
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}



/*********************** cronograma ************************/
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700|Oswald:400,300,700);
body {

  font-size: 16px;
}
strong {
  font-weight: 600;
}

#content {
  margin-top: 50px;
  text-align: center;
}
/* Timeline */
.timeline {
  border-left: 4px solid #4298c3;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  color: #333;
  font-family: 'Source Sans Pro', sans-serif;
  margin: 50px auto;
  letter-spacing: 0.5px;
  position: relative;
  line-height: 1.4em;
  font-size: 1.03em;
  padding: 30px;
  list-style: none;
  text-align: left;
  font-weight: 1;
  max-width: 70%;
}
.timeline h1,
.timeline h2,
.timeline h3 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1.5px;
  font-weight: 100;
  font-size: 1.4em;
}
.timeline .event {
  border-bottom: 1px dashed #4298c3;
  padding-bottom: 25px;
  margin-bottom: 50px;
  position: relative;
}
.timeline .event:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}
.timeline .event:before,
.timeline .event:after {
  position: absolute;
  display: block;
  top: 0;
}
.timeline .event:before {
  left: -217.5px;
  color: #717171;
  content: attr(data-date);
  text-align: right;
  font-weight: 400;
  font-size: 0.9em;
  min-width: 120px;
}
.timeline .event:after {
  box-shadow: 0 0 0 4px #169eda;
  left: -57.85px;
  background: #91c740;
  border-radius: 50%;
  height: 11px;
  width: 11px;
  content: "";
  top: 5px;
}
@media (max-width: 800px) {

  .timeline .event:before {
    left: -0.5px;
    top: 28px;
    background-color: #4298c3;
    color: white;
    margin-top: 8px;
    padding: 2px 8px 2px 8px;
    content: attr(data-date);
    text-align: right;
    font-weight: 400;
    font-size: 0.9em;
    min-width: 120px;
  }
  .timeline .event p {
      top: 27px;
      padding: 10px 0px 10px 0px;
      position: relative;
  }
}
#contenido1{
  font-size: 23px;

}
#contenido1 ul{
  
list-style: none;
 
}
#contenido1 li{
  font-size: 20.5px;

  color: #575757;
  font-family: Georgia, 'Times New Roman', Times, serif;
list-style: none;
 
}
#contenido1 p{
  color: #575757;
  font-family: Georgia, 'Times New Roman', Times, serif;
list-style: none;
 
}


/*********************** mosaico ************************/
/* ===== MOSAICO BLANCO CON CARRUSEL INTERNO ===== */

.mosaic-white-section {
  background: #ffffff;
  padding: 60px 30px;
}

.mosaic-title-dark {
  text-align: center;
  font-size: 34px;
  margin-bottom: 35px;
  color: #0f5132;
  letter-spacing: 2px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.mosaic-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border: 1px solid #e5e5e5;
}

/* CONTENEDOR FIJO */
.mosaic-carousel {
  height: 220px;
  width: 100%;
  background-size: cover;
  background-position: center;
  animation: carouselMove 12s infinite linear;
  transition: transform 0.8s ease;
}

/* SOLO SE MUEVE LA IMAGEN, NO EL CARD */
.mosaic-card:hover .mosaic-carousel {
  transform: scale(1.15);
}

/* TEXTO */
.mosaic-label {
  padding: 18px;
  background: #ffffff;
}

.mosaic-label h3 {
  margin: 0;
  font-size: 20px;
  color: #0f5132;
  letter-spacing: 1px;
}

.mosaic-label p {
  margin-top: 6px;
  font-size: 13px;
  color: #666;
}

/* ===== IMÁGENES RANDOM (PICSUM) ===== */
/* Cada card tiene 3 imágenes rotando */

.incodelpa-carousel {
  background-image:
    url('https://picsum.photos/600/400?random=11');
  animation-name: incodelpaSlide;
}

.c1 { animation-name: slide1; }
.c2 { animation-name: slide2; }
.c3 { animation-name: slide3; }
.c4 { animation-name: slide4; }
.c5 { animation-name: slide5; }
.c6 { animation-name: slide6; }
.c7 { animation-name: slide7; }

/* ANIMACIONES INDIVIDUALES */
@keyframes incodelpaSlide {
  0% {background-image:url('https://picsum.photos/600/400?random=11')}
  33%{background-image:url('https://picsum.photos/600/400?random=12')}
  66%{background-image:url('https://picsum.photos/600/400?random=13')}
  100%{background-image:url('https://picsum.photos/600/400?random=11')}
}

@keyframes slide1 {
  0% {background-image:url('https://picsum.photos/600/400?random=21')}
  33%{background-image:url('https://picsum.photos/600/400?random=22')}
  66%{background-image:url('https://picsum.photos/600/400?random=23')}
  100%{background-image:url('https://picsum.photos/600/400?random=21')}
}

@keyframes slide2 {
  0% {background-image:url('https://picsum.photos/600/400?random=31')}
  33%{background-image:url('https://picsum.photos/600/400?random=32')}
  66%{background-image:url('https://picsum.photos/600/400?random=33')}
  100%{background-image:url('https://picsum.photos/600/400?random=31')}
}

@keyframes slide3 {
  0% {background-image:url('https://picsum.photos/600/400?random=41')}
  33%{background-image:url('https://picsum.photos/600/400?random=42')}
  66%{background-image:url('https://picsum.photos/600/400?random=43')}
  100%{background-image:url('https://picsum.photos/600/400?random=41')}
}

@keyframes slide4 {
  0% {background-image:url('https://picsum.photos/600/400?random=51')}
  33%{background-image:url('https://picsum.photos/600/400?random=52')}
  66%{background-image:url('https://picsum.photos/600/400?random=53')}
  100%{background-image:url('https://picsum.photos/600/400?random=51')}
}

@keyframes slide5 {
  0% {background-image:url('https://picsum.photos/600/400?random=61')}
  33%{background-image:url('https://picsum.photos/600/400?random=62')}
  66%{background-image:url('https://picsum.photos/600/400?random=63')}
  100%{background-image:url('https://picsum.photos/600/400?random=61')}
}

@keyframes slide6 {
  0% {background-image:url('https://picsum.photos/600/400?random=71')}
  33%{background-image:url('https://picsum.photos/600/400?random=72')}
  66%{background-image:url('https://picsum.photos/600/400?random=73')}
  100%{background-image:url('https://picsum.photos/600/400?random=71')}
}

@keyframes slide7 {
  0% {background-image:url('https://picsum.photos/600/400?random=81')}
  33%{background-image:url('https://picsum.photos/600/400?random=82')}
  66%{background-image:url('https://picsum.photos/600/400?random=83')}
  100%{background-image:url('https://picsum.photos/600/400?random=81')}
}
/******* banner nuestro servicio******/
/* ===== SERVICIOS - IMAGEN LATERAL AISLADA ===== */

.srv-text-box {
  /* no tocamos tu layout base */
}

.srv-media-box {
  display: flex;
  align-items: center;
}

.srv-image-carousel {
  width: 100%;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);

  animation: srvSlideShow 12s infinite ease-in-out;

  transition: transform 0.9s ease, background-position 1.2s ease;
}

/* ZOOM SOLO A LA IMAGEN */
.srv-media-box:hover .srv-image-carousel {
  transform: scale(1.12);
  background-position: 60% 40%;
}

/* IMÁGENES RANDOM DEL NAVEGADOR */
@keyframes srvSlideShow {
  0%   { background-image: url('https://picsum.photos/900/600?random=301'); }
  33%  { background-image: url('https://picsum.photos/900/600?random=302'); }
  66%  { background-image: url('https://picsum.photos/900/600?random=303'); }
  100% { background-image: url('https://picsum.photos/900/600?random=301'); }
}

/* RESPONSIVE SIN TOCAR TUS CLASES */
@media (max-width: 900px) {
  .srv-image-carousel {
    height: 260px;
  }
}
/******************* avisos y noticias**************/
/* ===== DASHBOARD PRO ANIMADO ===== */

.dash-board-section {
  background: linear-gradient(180deg, #f4f7f6, #ffffff);
  padding: 80px 50px;
}

.dash-title {
  text-align: center;
  font-size: 38px;
  margin-bottom: 50px;
  color: #0f5132;
  letter-spacing: 3px;
  position: relative;
}

.dash-title::after {
  content: "";
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #0f5132, #20c997);
  display: block;
  margin: 14px auto 0;
  border-radius: 4px;
}

/* LAYOUT */
.dash-layout {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 40px;
}

/* ===== PANEL PRINCIPAL ===== */

.dash-main-panel {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-radius: 28px;
  padding: 40px;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.6);

  border-top: 6px solid #0f5132;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.dash-main-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(32,201,151,0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.dash-main-panel:hover::before {
  opacity: 1;
}

.dash-main-panel:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}

.dash-main-panel h3 {
  margin-bottom: 30px;
  color: #0f5132;
  font-size: 26px;
}

/* ===== WIDGETS ===== */

.dash-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.dash-widget {
  background: linear-gradient(145deg, #ffffff, #f2f2f2);
  border-radius: 20px;
  padding: 26px;
  box-shadow:
    8px 8px 18px rgba(0,0,0,0.08),
    -8px -8px 18px rgba(255,255,255,0.9);

  border-left: 6px solid #0f5132;
  position: relative;
  overflow: hidden;

  transition: all 0.4s cubic-bezier(.2,.8,.2,1);
}

.dash-widget::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(32,201,151,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.dash-widget:hover::after {
  transform: translateX(100%);
}

.dash-widget:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 45px rgba(0,0,0,0.18);
  border-left-color: #20c997;
}

/* ===== COLUMNA DE NOTICIAS ===== */

.dash-news-line {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 28px;
  padding: 35px 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-top: 6px solid #198754;
  position: relative;
  overflow: hidden;

  transition: all 0.4s ease;
}

.dash-news-line:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}

.dash-news-line h3 {
  margin-bottom: 28px;
  color: #198754;
  font-size: 24px;
}

/* ===== NEWS CARDS ULTRA DINÁMICOS ===== */

.news-card {
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 20px;

  box-shadow:
    6px 6px 14px rgba(0,0,0,0.08),
    -6px -6px 14px rgba(255,255,255,0.9);

  border-left: 6px solid #ccc;
  cursor: pointer;
  position: relative;
  overflow: hidden;

  transition: all 0.35s cubic-bezier(.2,.8,.2,1);
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(32,201,151,0.18), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.news-card:hover::before {
  transform: translateX(120%);
}

.news-card:hover {
  transform: translateX(10px) scale(1.04);
  box-shadow: 0 22px 40px rgba(0,0,0,0.22);
  border-left-color: #0f5132;
}

/* COLORES */
.news-green  { border-left-color: #198754; }
.news-blue   { border-left-color: #0d6efd; }
.news-orange { border-left-color: #fd7e14; }
.news-red    { border-left-color: #dc3545; }
.news-purple { border-left-color: #6f42c1; }

/* EFECTO PULSO SUAVE PARA NOTICIAS IMPORTANTES (OPCIONAL) */
.news-card.urgent {
  animation: urgentPulse 2s infinite;
}

@keyframes urgentPulse {
  0% { box-shadow: 0 0 0 rgba(220,53,69,0); }
  50% { box-shadow: 0 0 25px rgba(220,53,69,0.35); }
  100% { box-shadow: 0 0 0 rgba(220,53,69,0); }
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .dash-layout {
    grid-template-columns: 1fr;
  }
}
/********* login modal
/* ===== LOGIN ADMIN PANEL ===== */
.admin-login-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 99999;
}

.admin-login-box {
  background: #ffffff;
  max-width: 420px;
  margin: 8% auto;
  padding: 30px;
  padding-right: 50px;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: adminFadeIn .4s ease;
}

@keyframes adminFadeIn {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.admin-login-box h2 {
  margin: 0;
  font-size: 26px;
  text-align: center;
}

.admin-login-box p {
  text-align: center;
  color: #777;
  margin-bottom: 20px;
}

.admin-login-group {
  margin-bottom: 15px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}


.admin-login-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.admin-login-input {
  width: 100% !important;
  padding: 12px 14px !important;
  border-radius: 8px !important;
  border: 1px solid #ccc !important;
  font-size: 15px !important;
  background: #f9f9f9 !important;
  color: #000 !important;
}

.admin-login-input:focus {
  outline: none;
  border-color: #2c7be5;
  background: #fff;
}

.admin-login-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.admin-login-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #2c7be5;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.admin-login-btn:hover {
  background: #1a68d1;
}

.admin-login-cancel {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #e0e0e0;
  cursor: pointer;
}

.admin-login-cancel:hover {
  background: #ccc;
}

.admin-login-msg {
  margin-top: 10px;
  color: #d32f2f;
  font-weight: 600;
  text-align: center;
}
.admin-panel-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 25px !important;
  margin-top: 18px;
  padding-bottom: 15px !important;
  border-bottom: 2px solid #eee !important;
  position: relative !important;
  z-index: 20 !important;
}
.admin-panel-header h2 {
  display: block !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #1f2933 !important;   /* gris oscuro visible */
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 21 !important;
}

.admin-aviso-form{
  margin-top:20px !important;
}
.admin-panel-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:2px solid #eee;
  margin-bottom:20px;
}

.admin-logout-btn {
  background: #c0392b !important;
  color: #fff !important;
  border: none !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
}
.admin-logout-btn:hover {
  background: #e74c3c !important;
  transform: translateY(-1px);
}
.admin-aviso-form input,
.admin-aviso-form textarea,
.admin-aviso-form select {
  display: block !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 10px 12px !important;
  margin-bottom: 12px !important;
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  background: #fff !important;
  color: #111 !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 50 !important;
}

.admin-aviso-card{
  border-left:6px solid #3498db;
  background:#f9f9f9;
  padding:12px;
  margin:10px 0;
  border-radius:6px;
}

.admin-aviso-card.tipo-noticia{
  border-left-color:#27ae60;
}

.admin-aviso-card.tipo-aviso{
  border-left-color:#e67e22;
}













/* FONDO MODAL */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  overflow: auto;
  animation: fadeIn 0.4s ease forwards;
  backdrop-filter: blur(10px); /* Desenfoque de fondo */
  padding: 20px;
}

/* CONTENIDO DEL POPUP */
.modal-content {
  background: #ffffff; /* Fondo blanco del popup */
  border-radius: 30px;
  padding: 23px 0px;
  margin: 87px 2px 2px 358px;
  max-width: 550px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 123, 255, 0.1) inset;
  transform: translateY(-60px);
  opacity: 0;
  animation: slideDown 0.6s forwards;
  font-family: 'Segoe UI', sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* HOVER EN EL POPUP */
.modal-content:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25), 0 0 25px rgba(0, 123, 255, 0.15) inset;
}

/* IMAGEN SUPERIOR */
.modal-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 25px;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.15));
}

.modal-img:hover {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

/* TITULO */
.modal-title {
  font-size: 32px;
  margin-bottom: 10px;
  color: #0d6efd;
  font-weight: 700;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease, transform 0.3s ease;
}

.modal-title:hover {
  color: #0056b3;
  transform: scale(1.05);
}

/* FECHA */
.modal-date {
  display: block;
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

/* MENSAJE */
.modal-message {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 35px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.modal-message:hover {
  color: #0d6efd;
  transform: translateY(-3px);
}

/* BOTON CERRAR */
.modal-close {
  background: linear-gradient(135deg, #0d6efd, #4cafef);
  border: none;
  color: white;
  font-size: 18px;
  padding: 14px 40px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 15px rgba(0, 123, 255, 0.2) inset;
}

.modal-close:hover {
  background: linear-gradient(135deg, #4cafef, #0d6efd);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 123, 255, 0.3) inset;
}

/* ANIMACIONES */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-60px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* RESPONSIVE */
@media(max-width: 600px) {
  .modal-content {
    padding: 30px 25px;
  }

  .modal-title { font-size: 26px; }
  .modal-message { font-size: 18px; }
  .modal-img { width: 70px; height: 70px; }
  .modal-close { font-size: 16px; padding: 12px 30px; }
}
/* Contenedor full-width con gradiente elegante */
.admin-aviso-form {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px;
    background: linear-gradient(135deg, #1b3a2b 0%, #2e7d32 100%);
    border-radius: 18px;
    box-shadow: 0 15px 60px rgba(0,0,0,0.5);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e6f2e6;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: all 0.4s ease;
}

/* Hover del contenedor con cambio de gradiente y elevación */
.admin-aviso-form:hover {
    transform: translateY(-7px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    background: linear-gradient(135deg, #2e7d32, #4caf50);
}

/* Título con gradiente profesional */
.admin-aviso-form h3 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #a5d6a7, #2e7d32);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Inputs y textarea con hover dinámico */
.admin-aviso-form input,
.admin-aviso-form select,
.admin-aviso-form textarea {
    padding: 15px 20px;
    border-radius: 12px;
    border: none;
    outline: none;
    font-size: 1.05em;
    transition: all 0.3s ease;
    background: #356b44;
    color: #e6f2e6;
}

.admin-aviso-form input::placeholder,
.admin-aviso-form textarea::placeholder {
    color: #c8e6c9;
}

.admin-aviso-form input:hover,
.admin-aviso-form select:hover,
.admin-aviso-form textarea:hover {
    background: #4caf50;
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.4);
}

/* Textarea tamaño y estilo */
.admin-aviso-form textarea {
    resize: none;
    height: 140px;
}

/* Botón con hover ultra-profesional */
.admin-aviso-form button {
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #66bb6a, #2e7d32);
    color: #f1f8f1;
    font-weight: 700;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.admin-aviso-form button:hover {
    background: linear-gradient(135deg, #2e7d32, #a5d6a7);
    transform: scale(1.06);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

/* Opcional: efecto de foco elegante en inputs */
.admin-aviso-form input:focus,
.admin-aviso-form select:focus,
.admin-aviso-form textarea:focus {
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
  background: #3a7d50;
  outline: none;
}

/* ==================== RESPONSIVE VARIABLES ==================== */
:root {
  --mobile: 320px;
  --tablet: 768px;
  --laptop: 1024px;
  --desktop: 1440px;
  --tv: 1920px;
}

/* ==================== FUENTES ==================== */
@font-face {
  font-family: 'Coffee_Spark';
  src: url('Fuente/cofee_spark/Coffee_Spark.ttf');
}

@font-face {
  font-family: 'billion_dreams';
  src: url('Fuente/billion_dreams/BillionDreams_PERSONAL.ttf');
}

@font-face {
  font-family: 'happy_memories';
  src: url('Fuente/happy_memories/Happy Memories.ttf');
}

@font-face {
  font-family: 'longline';
  src: url('Fuente/longline/Happy Longline Regular Demo.ttf');
}

@font-face {
  font-family: 'signatra';
  src: url('Fuente/signatra/Signatra.ttf');
}

@font-face {
  font-family: 'Fontjeck';
  src: url('Fuente/fontjek/Fontjek.ttf');
}

h1 {
  font-family: Fontjeck;
  font-size: clamp(32px, 8vw, 98px);
}

h2 {
  color: #178A27;
  font-family: happy_memories;
  font-size: clamp(28px, 6vw, 70px);
}

h3 {
  color: #666666;
  margin-top: 10px;
  text-align: center;
  font-size: clamp(18px, 3vw, 32px);
}

/* ==================== NAVIGATION BAR ==================== */
.nav {
  background-color: #383E4C;
  position: relative;
  width: 100%;
  border-radius: 3px;
  z-index: 999999;
  text-align: right;
  padding: clamp(5px, 2vw, 15px) 0;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav a,
.icon {
  color: #FFF;
  background-color: #383E4C;
  padding: clamp(10px, 2vw, 14px) clamp(12px, 2vw, 16px);
  display: inline-table;
  font-size: clamp(14px, 2vw, 17px);
  text-decoration: none;
  z-index: 10;
  transition: all 0.3s ease;
}

.nav a {
  margin: clamp(4px, 1vw, 8px);
  height: auto;
  line-height: 1.5;
}

.icon {
  display: none;
  cursor: pointer;
}

a:hover {
  background-color: #49505F;
  cursor: pointer;
}

#menu ul li {
  position: relative;
  float: right;
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #383E4C;
  padding: 0;
  min-width: 150px;
}

#menu ul ul li {
  float: none;
  width: 100%;
}

#menu ul ul a {
  line-height: 120%;
  padding: 10px 15px;
}

#menu ul li:hover > ul {
  display: block;
}

/* ==================== FOOTER SECTION ==================== */
footer {
  background: #191919;
  color: #fff;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  width: 100%;
}

footer .centered {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: clamp(20px, 3vw, 40px);
}

footer .footer-logo {
  width: 100%;
  flex-basis: 30%;
  min-width: 200px;
}

footer .footer-logo img.logo {
  padding: clamp(15px, 3vw, 30px) clamp(10px, 2vw, 20px) clamp(5px, 1vw, 10px);
  width: clamp(150px, 25vw, 267px);
  margin-left: clamp(20px, 3vw, 38px);
  max-width: 100%;
}

footer .footer-contact {
  width: 100%;
  flex-basis: 45%;
  margin: clamp(10px, 2vw, 15px) clamp(20px, 3vw, 85px) 0;
  font-size: clamp(14px, 2vw, 20px);
  font-family: 'Courier New', Courier, monospace;
}

footer .footer-contact a {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

footer .footer-navigation {
  width: 100%;
  flex-basis: 60%;
}

footer .footer-navigation .footer-links-holder {
  width: 33.33%;
  position: relative;
  float: left;
  margin: 0;
}

footer .footer-navigation .footer-links-holder .footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  transition: max-height .5s;
}

footer .bottom-bar {
  position: relative;
  text-align: center;
  font-size: clamp(0.7em, 1.5vw, 0.8em);
  text-transform: uppercase;
  background: #000;
  padding: clamp(10px, 2vw, 15px) 0;
}

/* Responsive Tablet */
@media only screen and (max-width: 768px) {
  footer .centered {
    flex-wrap: wrap;
  }
  
  footer .footer-logo {
    max-width: 100%;
    width: 100%;
    flex-basis: 100%;
  }
  
  footer .footer-contact {
    width: 100%;
    flex-basis: 100%;
    padding: 0 clamp(10px, 3vw, 20px);
    margin: 15px auto;
  }
  
  footer .footer-navigation {
    width: 100%;
    flex-basis: 100%;
  }
  
  footer .footer-navigation .footer-links-holder {
    width: 50%;
    padding: 0 clamp(10px, 2vw, 20px);
  }
}

/* Responsive Mobile */
@media only screen and (max-width: 500px) {
  footer .centered .footer-logo {
    width: 100%;
    margin: 0 auto;
  }
  
  footer .centered .footer-contact {
    width: 100%;
  }
  
  footer .centered .footer-navigation .footer-links-holder {
    width: 100%;
    padding: 0;
  }
  
  footer .centered .footer-navigation .footer-links-holder h3 {
    margin: 0;
    padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 20px);
    border-top: #000 1px solid;
    cursor: pointer;
    position: relative;
    font-size: clamp(16px, 3vw, 20px);
  }
  
  footer .centered .footer-navigation .footer-links-holder h3::after {
    float: right;
    margin-right: 10px;
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-top: 7px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(135deg);
    transition: transform .5s;
  }
  
  footer .centered .footer-navigation .footer-links-holder .footer-links {
    max-height: 0;
    overflow: hidden;
    padding: 0 clamp(10px, 2vw, 20px);
  }
  
  footer .centered .footer-navigation .footer-links-holder.active h3::after {
    transform: rotate(-45deg);
  }
  
  footer .centered .footer-navigation .footer-links-holder.active .footer-links {
    max-height: 10000px;
  }
}

/* Social Icons Responsive */
.social {
  text-align: center;
  margin-left: clamp(20px, 5vw, 150px);
}

.social a {
  display: inline-block;
  padding: clamp(5px, 1.5vw, 7px);
  width: clamp(30px, 6vw, 35px);
  height: clamp(30px, 6vw, 35px);
  margin: 0 2px;
  background: #fff;
  border-radius: 50%;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.social a:hover {
  background: #65c2ed;
  transform: scale(1.1);
}

.social a.linkedin {
  padding: 4px;
}

.social a svg .face,
.social a svg .twit,
.social a svg .link {
  fill: #000;
}

/* ==================== LIGHTBOX ==================== */
:root {
  --lightbox-bg-color: #292929;
  --lightbox-caption-text-color: white;
  --lightbox-controls-color: white;
  --lightbox-controls-hover-color: #bf40bf;
}

#lightbox {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  background: var(--lightbox-bg-color);
  opacity: 0;
  transition: opacity 0.5s;
}

#lightbox figure {
  max-width: calc(90vw - 100px);
  max-height: calc(90vh - 100px);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  width: clamp(200px, 60vw, 800px);
  height: 100%;
  max-height: calc(100vh - 100px);
  display: block;
  margin: 0;
  opacity: 0;
  transition: opacity 0.5s;
  object-fit: contain;
  aspect-ratio: 4/3;
}

#lightbox-caption {
  color: var(--lightbox-caption-text-color);
  text-align: center;
  width: 100%;
  height: auto;
  min-height: 60px;
  background: rgba(0, 0, 0, 0.3);
  padding: clamp(8px, 2vw, 10px);
  box-sizing: border-box;
  padding-top: clamp(10px, 2vw, 15px);
}

#lightbox-caption h2 {
  font-size: clamp(1em, 2vw, 1.2em);
  margin: 0;
}

#lightbox-caption p {
  font-size: clamp(0.8em, 1.5vw, 0.9em);
  margin: 0;
}

#close,
#prev,
#next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: clamp(8px, 2vw, 10px);
  border-radius: 5px;
  color: var(--lightbox-controls-color);
  transition: all 0.3s ease;
}

#lightbox #close {
  top: clamp(20px, 5vw, 35px);
  right: clamp(10px, 3vw, 20px);
  width: clamp(25px, 5vw, 35px);
  height: clamp(25px, 5vw, 35px);
}

#lightbox #close:hover {
  background: rgba(178, 34, 52, 0.95);
}

#lightbox #prev {
  left: clamp(10px, 3vw, 20px);
}

#lightbox #next {
  right: clamp(10px, 3vw, 20px);
}

#close:hover,
#prev:hover,
#next:hover {
  color: var(--lightbox-controls-hover-color);
}

/* ==================== GALLERY ==================== */
.top-title {
  width: 100%;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: clamp(20px, 5vw, 50px);
  font-size: clamp(24px, 5vw, 36px);
}

.gallery {
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 25vw, 300px), 1fr));
  gap: clamp(8px, 2vw, 12px);
}

.gallery img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.gallery img:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
  }
  
  .gallery img:hover {
    transform: scale(1.02);
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== POPUP ==================== */
.columnass {
  width: 90vw;
  max-width: 500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(8px, 2vw, 12px);
}

.columnass h2 {
  font-size: clamp(40px, 8vw, 60px);
}

.columnass img {
  width: clamp(80px, 20vw, 122px);
}

.window-notice {
  background: rgba(33, 41, 52, .85);
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  display: flex;
  position: fixed;
  z-index: 999;
}

.window-notice .contenido {
  padding: clamp(15px, 3vw, 20px);
  border: green clamp(3px, 1vw, 5px) solid;
  background: #fff;
  border-radius: 65px;
  box-shadow: 0 1px 3px rgba(33, 41, 52, .75);
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  margin: auto;
  max-width: 90vw;
  min-width: 320px;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2rem);
  font-size: clamp(1rem, 2vw, 1.3rem);
}

/* ==================== HERO SECTION ==================== */
main {
  height: 100vh;
  width: 100%;
  background: #202227;
}

.deslizar {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.item1 {
  display: flex;
  align-items: center;
  width: clamp(120px, 20vw, 144px);
  height: clamp(180px, 30vw, 216px);
  position: absolute;
  z-index: 1;
  border-radius: 0.25rem;
  box-shadow: 0 12px 24px -6px black;
  transition: all 500ms ease-out;
  overflow: hidden;
}

.item1::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  box-shadow: 0px 0px 50px 25px rgba(0, 0, 0, 0.25) inset;
}

.item1 img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  width: min(90vw, 400px);
  position: absolute;
  left: clamp(1rem, 5vw, 3rem);
  z-index: 1;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
  opacity: 0;
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.content .title {
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.2em, 3vw, 1.5em);
}

.content .description {
  font-size: clamp(0.9em, 2vw, 1.1em);
  line-height: 1.7;
}

.content button {
  width: fit-content;
  background-color: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.9);
  border: 0;
  border-radius: 0.25rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 500ms ease;
  font-size: clamp(0.9em, 1.5vw, 1em);
}

.content button:hover {
  background-color: rgba(0, 0, 0, 0.9);
  color: rgba(255, 255, 255, 0.9);
}

.nav1 {
  display: flex;
  gap: 0.5rem;
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  flex-wrap: wrap;
  justify-content: center;
}

.nav1 .btn {
  background-color: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.9);
  padding: 0.75rem;
  height: clamp(20px, 3vw, 25px);
  width: clamp(20px, 3vw, 25px);
  border-radius: 50%;
  cursor: pointer;
  transition: all 500ms ease;
}

.nav1 .btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
  color: rgba(255, 255, 255, 0.9);
}

/* ==================== COLUMN LAYOUT ==================== */
.wrapper {
  margin-top: clamp(20px, 5vw, 50px);
}

video {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.row {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

.col {
  margin: clamp(15px, 3vw, 30px) clamp(10px, 2vw, 15px);
  padding-bottom: clamp(8px, 1vw, 10px);
  text-align: center;
  background-color: #F2F2F2;
  display: inline-block;
  box-shadow: 0px 0px 14px clamp(3px, 2vw, 7px) rgba(0, 0, 0, 0.25);
  max-width: calc(100% - 40px);
}

.col p {
  background-color: #F2F2F2;
  padding: clamp(8px, 1.5vw, 10px);
  font-size: clamp(12px, 1.5vw, 14px);
  width: 90%;
  margin: 0 auto;
}

/* ==================== CENTRAL SECTION ==================== */
.center {
  top: clamp(50px, 10vw, 100px);
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  perspective: 1200px;
}

.center .img-card {
  position: relative;
  height: clamp(250px, 40vw, 350px);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: transform .5s ease-in;
}

.img-card img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.sliders {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(5px, 1vw, 10px);
  margin-top: clamp(15px, 3vw, 30px);
}

.sliders label {
  height: clamp(70px, 12vw, 98px);
  width: clamp(80px, 12vw, 110px);
  display: flex;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #178A27;
  transition: all 0.3s ease;
}

.sliders label:hover {
  transform: scale(1.05);
}

label img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: .9;
  transition: all 0.3s ease;
}

label img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ==================== BUTTONS ==================== */
.btn {
  height: clamp(35px, 5vw, 40px);
  width: clamp(120px, 20vw, 150px);
  border: none;
  color: #FFF;
  display: block;
  margin: 10px auto;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: clamp(14px, 2vw, 16px);
}

.plain {
  background-color: #FFFFFF;
  border: 1px solid gray;
  color: #666666;
}

.plain:hover {
  background-color: #e8e8e8;
}

#green-btn {
  background-color: #178A27;
}

#green-btn:hover {
  background-color: #0f5c1a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.green-clr {
  color: #178A27;
  font-family: happy_memories;
  font-size: clamp(20px, 3vw, 30px);
}

#blue-btn {
  background-color: #1686C1;
}

#blue-btn:hover {
  background-color: #0f5fa3;
  transform: translateY(-2px);
}

.blue-clr {
  color: #1686C1;
  font-size: clamp(20px, 3vw, 30px);
  font-family: happy_memories;
}

#red-btn {
  background-color: #852406;
}

#red-btn:hover {
  background-color: #6a1c04;
  transform: translateY(-2px);
}

.red-clr {
  font-size: clamp(20px, 3vw, 30px);
  font-family: happy_memories;
  color: #852406;
}

#logo {
  padding-left: clamp(15px, 3vw, 30px);
  width: clamp(35px, 8vw, 45px);
  text-align: left;
  position: relative;
}

/* ==================== BANNER SECTION ==================== */
.banner {
  background-attachment: fixed;
  background-size: cover;
  width: 100%;
  height: auto;
  min-height: clamp(200px, 40vw, 400px);
  margin: clamp(15px, 3vw, 30px) 0;
  text-align: center;
  color: #242424;
  padding: clamp(20px, 5vw, 40px) 0;
}

.banner h1 {
  font-family: signatra;
  font-size: clamp(40px, 8vw, 110px);
  color: #178A27;
  margin: 0;
}

.banner p {
  font-size: clamp(16px, 2.5vw, 20px);
  font-family: 'Times New Roman', Times, serif;
  color: #383E4C;
  width: 90%;
  margin: clamp(10px, 2vw, 20px) auto;
  padding: 0 clamp(10px, 2vw, 20px);
}

#verde {
  margin: 0px;
  padding: clamp(8px, 1.5vw, 11px) clamp(40px, 5vw, 60px);
}

#verde:hover {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

#trasnparente {
  margin: 0px;
  padding: clamp(8px, 1.5vw, 11px) clamp(40px, 5vw, 60px);
}

#trasnparente:hover {
  background: transparent;
  border: 2px solid currentColor;
}

/* ==================== CONTACT FORM ==================== */
.contact-form-bg {
  background: url("http://blog.ryanair.com/wp-content/uploads/2016/02/ibiza-sunset.jpg") no-repeat fixed center;
  background-size: cover;
  width: 100%;
  height: clamp(150px, 30vw, 270px);
  filter: blur(1px);
  z-index: 0;
  margin-top: clamp(40px, 5vw, 80px);
}

.contact-form {
  z-index: 1;
  text-align: center;
  color: #101010;
  margin-top: clamp(40px, 5vw, 80px);
  width: 100%;
  padding: 0 clamp(10px, 2vw, 20px);
  box-sizing: border-box;
}

.contact-form h2 {
  margin: clamp(30px, 5vw, 50px) 0 clamp(20px, 3vw, 30px) 0;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 100;
}

.contact-form p,
input,
textarea {
  background-color: rgba(226, 223, 216, 0.5);
  border: none;
  border-radius: 5px;
  margin: 0 auto;
}

.contact-form p {
  width: clamp(90%, 90%, 90%);
}

.contact-form .row {
  width: clamp(90%, 90%, 90%);
  margin: auto;
}

.contain {
  width: clamp(90%, 90%, 90%);
  margin: auto;
}

.inputs,
.text {
  width: 100%;
}

.text {
  margin-left: 0;
}

input {
  width: 100% !important;
  max-width: calc(100% - 20px);
}

.darker {
  color: #101010;
  padding: clamp(8px, 1.5vw, 10px);
}

input,
textarea {
  padding: clamp(8px, 1vw, 10px);
  height: auto;
  min-height: clamp(30px, 4vw, 35px);
  margin: clamp(10px, 2vw, 15px) auto;
  font-size: clamp(14px, 2vw, 16px);
  letter-spacing: 2px;
  box-sizing: border-box;
}

input::placeholder {
  color: #101010;
}

textarea {
  min-height: clamp(120px, 30vw, 150px);
  width: 100%;
  max-width: calc(100% - 20px);
  padding: clamp(10px, 1.5vw, 15px);
}

.send {
  background-color: #262628;
  color: #FFF;
  height: clamp(35px, 4vw, 45px);
  width: clamp(80px, 15vw, 100px);
  border-radius: 5px;
  font-size: clamp(14px, 2vw, 20px);
  float: left;
  margin-left: 3%;
  margin-top: 1%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.send:hover {
  background-color: #404042;
  transform: translateY(-2px);
}

/* ==================== BEST STUDENTS SECTION ==================== */
.box-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  margin-top: clamp(30px, 5vw, 70px);
  gap: clamp(15px, 2vw, 30px);
  padding: 0 clamp(10px, 2vw, 30px);
}

.single-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(250px, 80vw, 300px);
  height: auto;
  border-radius: 4px;
  background-color: #fff;
  text-align: center;
  padding: clamp(15px, 2vw, 20px);
  transition: all .3s ease;
  box-shadow: 1px 0 5px 0 rgba(0, 0, 0, 0.6);
}

.single-box:hover {
  background-color: darkorange;
  color: #fff;
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.img-area {
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(80px, 15vw, 121px);
  height: clamp(80px, 15vw, 121px);
  border: 6px solid #ddd;
  border-radius: 50%;
  margin-bottom: clamp(8px, 1.5vw, 10px);
  padding: clamp(15px, 2vw, 20px);
  background-size: cover;
  background-position: center center;
  transition: all 0.3s ease;
}

.single-box:hover .img-area {
  border-color: #fff;
  transform: scale(1.1);
}

.header-text {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 500;
  line-height: 1.4;
}

.img-text h3 {
  margin: clamp(8px, 1.5vw, 10px) 0;
  font-size: clamp(16px, 2.5vw, 20px);
}

.img-text p {
  font-size: clamp(12px, 1.8vw, 15px);
  font-weight: 400;
  line-height: 1.5;
}

/* ==================== CARD LAYOUT ==================== */
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  width: 100%;
  max-width: clamp(300px, 90vw, 1350px);
  border-radius: 5px;
  margin: 0 auto;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.container {
  padding: clamp(10px, 2vw, 16px);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.background-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

.text-shadow {
  color: white;
  font-size: clamp(1.2rem, 3vw, 2rem);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  text-align: center;
  margin: 0;
  padding: 0 clamp(10px, 2vw, 20px);
}

/* ==================== SPECIAL LAYOUTS ==================== */
.sp-1 {
  margin-top: clamp(20px, 5vw, 30px);
  width: 90vw;
  max-width: 900px;
  border-radius: 10px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.sp-1 img {
  max-height: clamp(250px, 40vw, 500px);
  width: 100%;
}

.sp-1 p {
  text-align: left;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
}

.sp-2 {
  text-align: center;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  margin: clamp(15px, 3vw, 30px) auto;
}

.sp-2 img,
.sp-3 img {
  max-height: clamp(180px, 30vw, 250px);
  width: 100%;
}

.sp-3 {
  width: 90%;
  max-width: 350px;
  border-radius: 10px;
  margin: 0 auto;
}

.sp-4 {
  background-color: #F2F2F2;
  width: 90%;
  max-width: 300px;
  border-radius: 10px;
  margin: clamp(15px, 3vw, 30px) auto;
}

.sp-4 img {
  height: auto;
  max-height: clamp(200px, 30vw, 250px);
  width: 100%;
}

.sp-4 h3 {
  text-align: center;
  font-size: clamp(16px, 2.5vw, 20px);
}

/* ==================== SECTION LAYOUTS ==================== */
.middle {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(10px, 2vw, 20px);
  box-sizing: border-box;
}

.pp {
  color: #000;
  display: inline-flex;
  font-size: clamp(60px, 15vw, 120px);
}

.page {
  float: left;
  width: 100%;
}

ul.main {
  list-style: none;
  float: left;
  width: 100%;
  max-width: 280px;
  margin: clamp(80px, 15vw, 194px) auto clamp(20px, 3vw, 60px);
}

ul.main li {
  float: left;
  width: 100%;
  margin-bottom: clamp(3px, 1vw, 5px);
}

ul.main li a {
  float: left;
  width: 100%;
  height: clamp(40px, 6vw, 50px);
  line-height: clamp(40px, 6vw, 50px);
  margin: 0 0 clamp(3px, 1vw, 5px) 0;
  padding: 0 clamp(8px, 1vw, 10px);
  background-color: #fff;
  border-bottom: 4px solid;
  color: #333;
  font-family: 'Indie Flower', cursive;
  font-size: clamp(16px, 2.5vw, 22px);
  text-decoration: none;
  position: relative;
  transition: all 0.5s ease;
}

ul.main li:nth-child(1) a {
  border-color: #48CFAD;
}

ul.main li:nth-child(2) a {
  border-color: #AC92EC;
}

ul.main li:nth-child(3) a {
  border-color: #4FC1E9;
}

ul.main li:nth-child(4) a {
  border-color: #ED5565;
}

ul.main li a:hover {
  color: #fff;
  text-indent: clamp(4px, 1vw, 8px);
}

article {
  text-align: center;
  width: 100%;
}

article p {
  padding: clamp(20px, 5vw, 50px);
  font-size: clamp(16px, 2.5vw, 20px);
  text-align: justify;
  line-height: 1.7;
}

/* ==================== TIMELINE ==================== */
#content {
  margin-top: clamp(30px, 5vw, 50px);
  text-align: center;
}

.timeline {
  border-left: 4px solid #4298c3;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  color: #333;
  font-family: 'Source Sans Pro', sans-serif;
  margin: clamp(30px, 5vw, 50px) auto;
  letter-spacing: 0.5px;
  position: relative;
  line-height: 1.4em;
  font-size: clamp(0.9em, 1.5vw, 1.03em);
  padding: clamp(20px, 3vw, 30px);
  list-style: none;
  text-align: left;
  max-width: 90%;
}

.timeline h1,
.timeline h2,
.timeline h3 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1.5px;
  font-weight: 100;
  font-size: clamp(1.2em, 2.5vw, 1.4em);
}

.timeline .event {
  border-bottom: 1px dashed #4298c3;
  padding-bottom: clamp(15px, 3vw, 25px);
  margin-bottom: clamp(30px, 5vw, 50px);
  position: relative;
}

.timeline .event:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border: none;
}

@media (max-width: 800px) {
  .timeline {
    max-width: 100%;
    padding: clamp(15px, 2vw, 25px);
  }
  
  .timeline .event:before {
    left: auto;
    top: 28px;
    background-color: #4298c3;
    color: white;
    margin-top: 8px;
    padding: clamp(4px, 1vw, 8px);
    font-size: clamp(0.8em, 1.5vw, 0.9em);
  }
}

#contenido1 {
  font-size: clamp(18px, 2.5vw, 23px);
}

#contenido1 ul,
#contenido1 li {
  list-style: none;
}

#contenido1 li {
  font-size: clamp(16px, 2.2vw, 20.5px);
  color: #575757;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

#contenido1 p {
  color: #575757;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.6;
}

/* ==================== MOSAIC SECTION ==================== */
.mosaic-white-section {
  background: #ffffff;
  padding: clamp(30px, 5vw, 60px) clamp(15px, 3vw, 30px);
}

.mosaic-title-dark {
  text-align: center;
  font-size: clamp(24px, 5vw, 34px);
  margin-bottom: clamp(25px, 5vw, 35px);
  color: #0f5132;
  letter-spacing: 2px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 25vw, 260px), 1fr));
  gap: clamp(15px, 3vw, 30px);
  padding: 0 clamp(10px, 2vw, 20px);
}

.mosaic-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.mosaic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.mosaic-carousel {
  height: clamp(150px, 30vw, 220px);
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.mosaic-card:hover .mosaic-carousel {
  transform: scale(1.15);
}

.mosaic-label {
  padding: clamp(12px, 2vw, 18px);
  background: #ffffff;
}

.mosaic-label h3 {
  margin: 0;
  font-size: clamp(16px, 2.5vw, 20px);
  color: #0f5132;
  letter-spacing: 1px;
}

.mosaic-label p {
  margin-top: 6px;
  font-size: clamp(11px, 1.5vw, 13px);
  color: #666;
}

/* ==================== SERVICES SECTION ==================== */
.srv-media-box {
  display: flex;
  align-items: center;
  width: 100%;
  padding: clamp(15px, 2vw, 30px);
}

.srv-image-carousel {
  width: 100%;
  max-width: clamp(250px, 80vw, 900px);
  height: clamp(200px, 40vw, 320px);
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: all 0.9s ease;
}

.srv-media-box:hover .srv-image-carousel {
  transform: scale(1.12);
}

/* ==================== DASHBOARD SECTION ==================== */
.dash-board-section {
  background: linear-gradient(180deg, #f4f7f6, #ffffff);
  padding: clamp(40px, 5vw, 80px) clamp(25px, 3vw, 50px);
}

.dash-title {
  text-align: center;
  font-size: clamp(28px, 5vw, 38px);
  margin-bottom: clamp(30px, 5vw, 50px);
  color: #0f5132;
  letter-spacing: 3px;
  position: relative;
}

.dash-title::after {
  content: "";
  width: clamp(80px, 15vw, 120px);
  height: 4px;
  background: linear-gradient(90deg, #0f5132, #20c997);
  display: block;
  margin: 14px auto 0;
  border-radius: 4px;
}

.dash-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 40px);
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .dash-layout {
    grid-template-columns: 2.3fr 1fr;
  }
}

.dash-main-panel {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-radius: 28px;
  padding: clamp(25px, 3vw, 40px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-top: 6px solid #0f5132;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.dash-main-panel:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}

.dash-main-panel h3 {
  margin-bottom: clamp(20px, 3vw, 30px);
  color: #0f5132;
  font-size: clamp(20px, 3.5vw, 26px);
}

.dash-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 220px), 1fr));
  gap: clamp(15px, 2vw, 28px);
}

.dash-widget {
  background: linear-gradient(145deg, #ffffff, #f2f2f2);
  border-radius: 20px;
  padding: clamp(20px, 2.5vw, 26px);
  box-shadow: 8px 8px 18px rgba(0,0,0,0.08);
  border-left: 6px solid #0f5132;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.dash-widget:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 45px rgba(0,0,0,0.18);
  border-left-color: #20c997;
}

.dash-news-line {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 28px;
  padding: clamp(25px, 3vw, 35px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-top: 6px solid #198754;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.dash-news-line:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}

.dash-news-line h3 {
  margin-bottom: clamp(20px, 3vw, 28px);
  color: #198754;
  font-size: clamp(20px, 3.5vw, 24px);
}

.news-card {
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  border-radius: 18px;
  padding: clamp(15px, 2vw, 20px);
  margin-bottom: clamp(15px, 2vw, 20px);
  box-shadow: 6px 6px 14px rgba(0,0,0,0.08);
  border-left: 6px solid #ccc;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.news-card:hover {
  transform: translateX(10px) scale(1.04);
  box-shadow: 0 22px 40px rgba(0,0,0,0.22);
  border-left-color: #0f5132;
}

.news-green { border-left-color: #198754; }
.news-blue { border-left-color: #0d6efd; }
.news-orange { border-left-color: #fd7e14; }
.news-red { border-left-color: #dc3545; }
.news-purple { border-left-color: #6f42c1; }

/* ==================== LOGIN MODAL ==================== */
.admin-login-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 99999;
  overflow-y: auto;
}

.admin-login-box {
  background: #ffffff;
  max-width: 420px;
  margin: clamp(20px, 15%, auto);
  padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 50px);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: adminFadeIn .4s ease;
}

@keyframes adminFadeIn {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.admin-login-box h2 {
  margin: 0 0 clamp(10px, 2vw, 20px) 0;
  font-size: clamp(22px, 4vw, 26px);
  text-align: center;
}

.admin-login-box p {
  text-align: center;
  color: #777;
  margin-bottom: clamp(15px, 2vw, 20px);
  font-size: clamp(12px, 1.8vw, 14px);
}

.admin-login-group {
  margin-bottom: clamp(12px, 2vw, 15px);
  display: block !important;
}

.admin-login-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: clamp(12px, 1.8vw, 14px);
}

.admin-login-input {
  width: 100% !important;
  padding: clamp(10px, 2vw, 12px) clamp(10px, 2vw, 14px) !important;
  border-radius: 8px !important;
  border: 1px solid #ccc !important;
  font-size: clamp(13px, 1.8vw, 15px) !important;
  background: #f9f9f9 !important;
  color: #000 !important;
  box-sizing: border-box !important;
}

.admin-login-input:focus {
  outline: none;
  border-color: #2c7be5;
  background: #fff;
}

.admin-login-actions {
  display: flex;
  gap: clamp(8px, 2vw, 10px);
  margin-top: clamp(15px, 2vw, 20px);
  flex-wrap: wrap;
}

.admin-login-btn,
.admin-login-cancel {
  flex: 1;
  min-width: 120px;
  padding: clamp(10px, 1.5vw, 12px);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: clamp(12px, 1.8vw, 14px);
  transition: all 0.3s ease;
}

.admin-login-btn {
  background: #2c7be5;
  color: #fff;
}

.admin-login-btn:hover {
  background: #1a68d1;
  transform: translateY(-2px);
}

.admin-login-cancel {
  background: #e0e0e0;
}

.admin-login-cancel:hover {
  background: #ccc;
}

.admin-login-msg {
  margin-top: clamp(8px, 1.5vw, 10px);
  color: #d32f2f;
  font-weight: 600;
  text-align: center;
  font-size: clamp(11px, 1.5vw, 13px);
}

/* ==================== ADMIN PANEL ==================== */
.admin-panel-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: clamp(15px, 3vw, 25px) !important;
  margin-top: clamp(12px, 2vw, 18px);
  padding-bottom: clamp(10px, 2vw, 15px) !important;
  border-bottom: 2px solid #eee !important;
  position: relative !important;
  z-index: 20 !important;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 20px);
}

.admin-panel-header h2 {
  display: block !important;
  font-size: clamp(20px, 4vw, 28px) !important;
  font-weight: 700 !important;
  color: #1f2933 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.admin-logout-btn {
  background: #c0392b !important;
  color: #fff !important;
  border: none !important;
  padding: clamp(8px, 1.5vw, 10px) clamp(12px, 2vw, 16px) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: clamp(12px, 1.8vw, 14px);
  transition: all 0.3s ease;
}

.admin-logout-btn:hover {
  background: #e74c3c !important;
  transform: translateY(-2px);
}

/* ==================== ADMIN FORM ==================== */
.admin-aviso-form {
  width: 100%;
  max-width: 1200px;
  margin: clamp(20px, 3vw, 40px) auto;
  padding: clamp(25px, 3vw, 50px);
  background: linear-gradient(135deg, #1b3a2b 0%, #2e7d32 100%);
  border-radius: 18px;
  box-shadow: 0 15px 60px rgba(0,0,0,0.5);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #e6f2e6;
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 2.5vw, 25px);
  transition: all 0.4s ease;
}

.admin-aviso-form:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.admin-aviso-form h3 {
  text-align: center;
  font-size: clamp(1.6em, 3vw, 2.2em);
  margin-bottom: clamp(10px, 2vw, 15px);
  background: linear-gradient(90deg, #a5d6a7, #2e7d32);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.admin-aviso-form input,
.admin-aviso-form select,
.admin-aviso-form textarea {
  padding: clamp(12px, 1.5vw, 15px) clamp(15px, 2vw, 20px);
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: clamp(13px, 1.8vw, 1.05em);
  transition: all 0.3s ease;
  background: #356b44;
  color: #e6f2e6;
  box-sizing: border-box;
}

.admin-aviso-form input::placeholder,
.admin-aviso-form textarea::placeholder {
  color: #c8e6c9;
}

.admin-aviso-form input:focus,
.admin-aviso-form select:focus,
.admin-aviso-form textarea:focus {
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
  background: #3a7d50;
  outline: none;
}

.admin-aviso-form input:hover,
.admin-aviso-form select:hover,
.admin-aviso-form textarea:hover {
  background: #4caf50;
  box-shadow: 0 0 12px rgba(76, 175, 80, 0.4);
}

.admin-aviso-form textarea {
  resize: none;
  height: clamp(100px, 20vw, 140px);
  min-height: 100px;
}

.admin-aviso-form button {
  padding: clamp(12px, 2vw, 16px);
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #66bb6a, #2e7d32);
  color: #f1f8f1;
  font-weight: 700;
  font-size: clamp(0.95em, 1.8vw, 1.1em);
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.admin-aviso-form button:hover {
  background: linear-gradient(135deg, #2e7d32, #a5d6a7);
  transform: scale(1.06);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

/* ==================== ADMIN CARD ==================== */
.admin-aviso-card {
  background: linear-gradient(145deg, #1b3a2b, #2e7d32);
  color: #e6f2e6;
  padding: clamp(15px, 2vw, 20px) clamp(20px, 2.5vw, 25px);
  margin-bottom: clamp(15px, 2vw, 20px);
  border-radius: 15px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vw, 10px);
}

.admin-aviso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  background: linear-gradient(145deg, #2e7d32, #4caf50);
}

.admin-aviso-card strong {
  font-size: clamp(1em, 1.8vw, 1.2em);
  display: block;
  background: linear-gradient(90deg, #a5d6a7, #2e7d32);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.admin-aviso-card p {
  font-size: clamp(0.9em, 1.5vw, 1em);
  line-height: 1.4;
  color: #dcedc8;
  margin: 0;
}

.admin-aviso-card small {
  color: #c8e6c9;
  font-size: clamp(0.75em, 1.2vw, 0.85em);
}

.admin-aviso-card button {
  align-self: flex-start;
  padding: clamp(6px, 1.5vw, 8px) clamp(12px, 2vw, 15px);
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #66bb6a, #2e7d32);
  color: #f1f8f1;
  font-weight: 600;
  cursor: pointer;
  font-size: clamp(0.85em, 1.5vw, 0.95em);
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.admin-aviso-card button:hover {
  background: linear-gradient(135deg, #2e7d32, #a5d6a7);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ==================== CUSTOM MODAL ==================== */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  overflow: auto;
  padding: clamp(10px, 2vw, 20px);
  animation: fadeIn 0.4s ease forwards;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.modal-content {
  background: #ffffff;
  border-radius: 30px;
  padding: clamp(20px, 3vw, 30px);
  max-width: 550px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-60px);
  opacity: 0;
  animation: slideDown 0.6s forwards;
  font-family: 'Segoe UI', sans-serif;
  transition: all 0.3s ease;
}

.modal-content:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.modal-img {
  width: clamp(60px, 15vw, 100px);
  height: clamp(60px, 15vw, 100px);
  object-fit: contain;
  margin-bottom: clamp(15px, 3vw, 25px);
  transition: all 0.4s ease;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.15));
}

.modal-img:hover {
  transform: scale(1.15) rotate(5deg);
}

.modal-title {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: clamp(8px, 1.5vw, 10px);
  color: #0d6efd;
  font-weight: 700;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.modal-title:hover {
  color: #0056b3;
  transform: scale(1.05);
}

.modal-date {
  display: block;
  font-size: clamp(12px, 1.5vw, 14px);
  color: #777;
  margin-bottom: clamp(15px, 2vw, 20px);
}

.modal-message {
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.6;
  color: #333;
  margin-bottom: clamp(25px, 3vw, 35px);
}

.modal-close {
  background: linear-gradient(135deg, #0d6efd, #4cafef);
  border: none;
  color: white;
  font-size: clamp(14px, 2vw, 18px);
  padding: clamp(10px, 1.5vw, 14px) clamp(25px, 5vw, 40px);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.modal-close:hover {
  background: linear-gradient(135deg, #4cafef, #0d6efd);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-60px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==================== CLEARFIX ==================== */
.clearfix:before,
.clearfix:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
  clear: both;
}

/* ==================== COLUMN LAYOUT ==================== */
.column {
  margin-left: clamp(20px, 5vw, 70px);
  float: left;
  width: calc(50% - clamp(20px, 5vw, 70px));
  padding: clamp(8px, 1.5vw, 10px);
  height: auto;
  min-height: clamp(300px, 50vh, 553px);
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* ==================== RESPONSIVE MEDIA QUERIES ==================== */

/* Mobile Devices */
@media only screen and (max-width: 480px) {
  .nav a {
    display: none;
  }

  .icon {
    display: block;
    float: right;
    padding: clamp(10px, 2vw, 12px) clamp(14px, 2vw, 16px);
    position: fixed;
    right: 5px;
    top: 10px;
    z-index: 1000;
  }

  .responsive {
    width: 100%;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
  }

  .responsive a {
    float: none;
    display: block;
    text-align: center;
    border-top: 1px solid #fff;
    padding: clamp(10px, 2vw, 12px);
  }

  .responsive a:focus {
    background: #49505F;
  }

  .banner {
    min-height: 150px;
    margin: 10px 0;
  }

  .banner h1 {
    font-size: clamp(24px, 5vw, 40px);
  }

  .banner p {
    font-size: clamp(14px, 2vw, 16px);
  }

  .column {
    margin-left: 0;
    width: 100%;
    min-height: auto;
  }

  ul.main {
    margin: clamp(50px, 10vw, 80px) auto clamp(15px, 3vw, 30px);
    max-width: 100%;
  }

  .card {
    width: 90%;
  }

  .sp-1,
  .sp-2,
  .sp-3,
  .sp-4 {
    width: 95%;
    max-width: 100%;
    margin: clamp(10px, 2vw, 20px) auto;
  }

  .mosaic-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  footer .footer-logo {
    flex-basis: 100%;
  }

  footer .footer-contact {
    flex-basis: 100%;
  }

  footer .footer-navigation .footer-links-holder {
    width: 100%;
  }

  .social {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Small Tablets */
@media only screen and (max-width: 768px) and (min-width: 481px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-layout {
    grid-template-columns: 1fr;
  }

  .column {
    width: calc(50% - 20px);
  }

  .sp-2,
  .sp-3 {
    width: 80%;
  }
}

/* Large Tablets and Small Laptops */
@media only screen and (max-width: 1024px) and (min-width: 769px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .column {
    width: calc(50% - 15px);
  }
}

/* Laptops and Desktops */
@media only screen and (min-width: 1025px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .mosaic-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .column {
    width: calc(50% - 35px);
  }
}

/* Large Desktops and TV */
@media only screen and (min-width: 1920px) {
  :root {
    font-size: 18px;
  }

  .gallery {
    grid-template-columns: repeat(5, 1fr);
  }

  .mosaic-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  body {
    font-size: 20px;
  }
}

/* Logo estilo pestaña, separado y responsive */
#logo {
  display: inline-block;
  
  border-radius: 0 0 18px 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  margin-left: clamp(12px, 3vw, 32px);
  margin-right: clamp(18px, 5vw, 40px);
  padding: clamp(8px, 2vw, 14px) clamp(12px, 3vw, 22px) clamp(10px, 2vw, 16px) clamp(12px, 3vw, 22px);
  width: clamp(48px, 8vw, 72px);
  height: auto;
  vertical-align: middle;
  position: relative;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s, background 0.3s;
}

#logo img,
#logo svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

@media (max-width: 600px) {
  #logo {
    margin-left: clamp(4px, 2vw, 12px);
    margin-right: clamp(8px, 3vw, 18px);
    width: clamp(32px, 12vw, 48px);
    padding: clamp(5px, 2vw, 10px) clamp(8px, 2vw, 14px);
    border-radius: 0 0 12px 12px;
  }
}

  /* Asegura que el popup modal sea visible y ocupe toda la pantalla en móviles */
  .custom-modal {
    padding: 0 !important;
    align-items: flex-start !important;
    min-height: 100vh;
  }
  .modal-content {
    margin: 40px auto 0 auto !important;
    border-radius: 18px !important;
    max-width: 98vw !important;
    width: 98vw !important;
    min-width: 0 !important;
    padding: 18px 6px !important;
    box-sizing: border-box !important;
    transform: none !important;
    animation: slideDown 0.6s forwards !important;
  }
}


/* Solo para computadoras y tablets, el modal vuelve a ser pequeño */
@media (min-width: 601px) {
  .modal-content {
    max-width: 400px !important;
    width: 90vw !important;
    margin: 60px auto !important;
    border-radius: 30px !important;
    padding: 23px 0px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Ajustar ancho del popup en tablets y computadores */
@media (min-width: 601px) {
  .modal-content {
    max-width: 450px;
    width: 85vw;
  }
}

@media (min-width: 900px) {
  .modal-content {
    max-width: 400px;
    width: 50vw;
  }
}