/* PALETA ACTUALIZADA:
   Degradado azul: linear-gradient(135deg, #0052D4, #4364F7)
   Amarillo:       #FFD55A
   Verde:          #6DD47E
   Negro suave:    #1a1a1a
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
}
header {
  background: linear-gradient(135deg, #0052D4, #4364F7);
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
  animation: fadeInDown 1s ease-out;
}
header h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
}
nav {
  background: #1a1a1a;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav ul li {
  margin: 0 15px;
}
nav a {
  color: #FFD55A;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s ease;
}
nav a:hover {
  background: #6DD47E;
  color: #1a1a1a;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  animation: fadeInUp 1.2s ease-out;
}
.intro, .highlights, .edufacil {
  margin-bottom: 50px;
}
h2 {
  color: #1a1a1a;
  margin-bottom: 20px;
  font-size: 2em;
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #6DD47E;
  margin-top: 8px;
  border-radius: 2px;
}
p {
  line-height: 1.6;
}

/* BOTONES */
.button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #FFD55A;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}
.button:hover {
  background: #6DD47E;
  color: #1a1a1a;
}

/* FOOTER */
footer {
  background: #1a1a1a;
  color: #FFD55A;
  padding: 30px 20px;
  text-align: center;
}
footer p {
  margin: 8px 0;
}

/* ANIMACIONES */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }
  nav ul li {
    margin: 10px 0;
  }
}

/* TABLA */
table.default {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 16px;
  text-align: left;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}
table.default th,
table.default td {
  border: 1px solid #e0e0e0;
  padding: 12px 15px;
}
table.default th {
  background: linear-gradient(135deg, #0052D4, #4364F7);
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
table.default tr:nth-child(even) {
  background-color: #f9f9f9;
}
table.default tr:hover {
  background-color: #6DD47E33;
  transition: background-color 0.3s ease;
}
table.default td {
  color: #1a1a1a;
}

/* DOCUMENTOS */
ul.document-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}
ul.document-list li {
  background: #f9f9f9;
  margin-bottom: 15px;
  border: 1px solid #e6e6e6;
  border-left: 6px solid #6DD47E;
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
ul.document-list li:hover {
  transform: translateX(5px);
}
ul.document-list a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  display: block;
}
ul.document-list a:hover {
  color: #6DD47E;
}

/* CONTACTO */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}
.contact-info,
.contact-form {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-size: 16px;
}
.contact-form {
  display: flex;
  flex-direction: column;
}
.contact-form label {
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #1a1a1a;
}
.contact-form input,
.contact-form textarea {
  padding: 10px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6DD47E;
  outline: none;
}
.contact-form button {
  margin-top: 20px;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  background: #FFD55A;
  color: #1a1a1a;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background: #6DD47E;
  color: #1a1a1a;
}
@media (max-width: 768px) {
  .contacto-grid {
    grid-template-columns: 1fr;
  }
}

/* GALERÍA */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.gallery-item {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-5px);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery-item p {
  text-align: center;
  padding: 10px;
  font-weight: 600;
  background: #FFD55A;
  color: #1a1a1a;
}


/* Logo CSS*/


.header-flex {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.logo-inline {
  max-height: 80px;
}


/* Fotos */

.section-image, .sello-image {
  max-width: 100%;
  height: 800;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-container, .sello {
  text-align: center;
  margin-bottom: 20px;
}

.sello p {
  margin-top: 8px;
  font-weight: bold;
}


/* Slide*/
.slider {
  position: relative;
  max-width: 100%;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 8px;
  height: 600px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 12px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: background-color 0.3s ease;
  border-radius: 50%;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.4);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover, .next:hover {
  background-color: rg
	  
/*noticias*/
	  
	  .news {
  margin: 40px auto;
  text-align: center;
}

.news h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.news-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.news-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-item h3 {
  margin-bottom: 10px;
  font-size: 1.4em;
  color: #0052D4;
}

.news-item p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #333;
}

.news-link {
  color: #0052D4;
  text-decoration: none;
  font-weight: bold;
}

.news-link:hover {
  color: #0039a6;
}

.news-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #0052D4;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.news-button:hover {
  background: #0039a6;
}

.news-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.news-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-item h3 {
  margin-bottom: 8px;
  font-size: 1.6em;
  color: #0052D4;
}

.news-item p {
  margin: 5px 0;
  color: #333;
}

.news-item small {
  display: block;
  margin-bottom: 10px;
  color: #666;
  font-size: 0.9em;
}

	
	/* miniaturas news*/
	
.news-item {
  display: flex;
  gap: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.news-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-item h3 {
  margin: 0 0 5px;
  font-size: 1.4em;
  color: #0052D4;
}

.news-item p {
  margin: 5px 0;
  color: #333;
}

.news-link {
  margin-top: 5px;
  color: #0052D4;
  text-decoration: none;
  font-weight: bold;
}

.news-link:hover {
  color: #0039a6;
}
