
.paginacion {
  text-align: center;
  margin: 20px 0;
}
.paginacion a {
  margin: 0 5px;
  padding: 8px 12px;
  background: #eee;
  text-decoration: none;
  border-radius: 4px;
}
.paginacion a.activo {
  background: #225829;
  color: #fff;
}


body {
  background: linear-gradient(to right, #ffffff, #ffffff);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}


.welcome-message {
  font-size: 2.5rem;
  font-weight: bold;
  margin-top: 2rem;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}




.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}


.cajaoficios {
  width: 300px;
  background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity));
  border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}
.cajaoficios img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--bs-border-radius);
  margin-bottom: 1rem;
}
.cajaoficios h1 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.cajaoficios p {
  margin: 0.25rem 0;
  color: var(--bs-gray-700);
}
.cajaoficios .info-extra {
  text-align: left;
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
}

.cajaoficios button.ver-mas-btn {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #178155;
  border: 1px solid #178155;
  color: #ffffff;
  border-radius: var(--bs-border-radius);
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}
.cajaoficios button.ver-mas-btn:hover {
  background-color: #126747;
  border-color: #126747;
}


@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }
}


.search-section {
  background: linear-gradient(to right, #cbffcf, #E9F3DA);
  padding: 3rem 1rem;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  margin: 2rem auto;
  max-width: 900px;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #0A5A39;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}
.search-container {
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}
.search-container input {
  border-radius: 50px;
  padding: 15px 25px;
  width: 100%;
  max-width: 600px;
  border: none;
  font-size: 1.1rem;
  background: #ffffff;
  box-shadow: inset 3px 3px 8px rgba(0, 0, 0, 0.05),
              inset -3px -3px 8px rgba(255, 255, 255, 0.8),
              0 8px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.search-container input:focus {
  outline: none;
  box-shadow: 0 0 15px #0CAA69aa;
  border: 1px solid #0CAA69;
}


.modal-content {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: translateZ(0);
}


.footer-3d {
  background: linear-gradient(to right, #EAFFCB, #E9F3DA);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.15),
              inset 0 3px 6px rgba(255, 255, 255, 0.6),
              inset 0 -3px 6px rgba(0, 0, 0, 0.05);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  transform: perspective(800px) rotateX(4deg);
  transition: all 0.3s ease-in-out;
  color: #2E7D32;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1rem;
}
.footer-3d:hover {
  transform: perspective(800px) rotateX(0deg);
  background: linear-gradient(to right, #E7F9C1, #E0F0D3);
}
.footer-3d a {
  color: #2E7D32;
  font-weight: 600;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}
.footer-3d a:hover {
  color: #0A5A39;
  text-decoration: underline;
}


.footer-icons {
  margin-top: 1rem;
}
.footer-icons i {
  font-size: 1.5rem;
  margin: 0 10px;
  color: #4CAF50;
  transition: transform 0.2s ease, color 0.3s ease;
}
.footer-icons i:hover {
  transform: scale(1.2);
  color: #2E7D32;
}

footer img {
  max-height: 60px;
  margin: 0 10px;
}


header {
  background-color: #00ad6f;
  color: #ffffff;
  border-bottom: 1px solid var(--bs-gray-300);
  position: relative;
}

header .container {
  position: relative;
  z-index: 2;
}

header h1 {
  font-size: 2.5rem;
  color: #ffffff;
  font-weight: bold;
}

header p {
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 500;
}


.lines-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.lines-effect svg path {
  animation: moveLines 6s ease-in-out infinite;
}

@keyframes moveLines {
  0% {
    stroke-dasharray: 0, 100;
  }
  50% {
    stroke-dasharray: 100, 0;
  }
  100% {
    stroke-dasharray: 0, 100;
  }
}


.btn-custom {
  background: linear-gradient(to right, #00ad6f, #00d083);
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-size: 1.2rem;
  font-weight: 700; 
  color: #ffffff; 
  text-transform: uppercase; 
  box-shadow: 0 4px 10px rgb(255, 254, 254);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}


.btn-custom i {
  margin-right: 10px;
}


.btn-custom:hover {
  background: linear-gradient(to right, #00d083, #00ad6f);
  transform: scale(1.05); 
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff; 
  font-weight: 800; 
}


.btn-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: #ffffff;
  opacity: 0.15;
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%) scale(1);
}

.btn-custom:hover::after {
  transform: translate(-50%, -50%) scale(0);
}


.btn-custom:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}


.btn-custom, .btn-custom:focus, .btn-custom:hover {
  color: #ffffff !important; 
  font-weight: 700 !important; 
}

