/* ===========================
   Fuente principal y base
=========================== */
body {
  font-family: 'Prompt', sans-serif;
  background: linear-gradient(to bottom, #ffffff, #e0ffe0);
  color: #333333;
  margin: 0;
  padding: 0;
  
}

/* ===========================
   Navegacion
=========================== */
.navbar {
  background-color: #007236;
}

.navbar a {
  color: #ffffff !important;
  font-weight: 500;
}

.navbar a:hover {
  color: #d9f5e3 !important;
}

/* ===========================
   Carrusel
=========================== */
.carousel-item img {
  height: 450px;
  object-fit: cover;
}

/* ===========================
   Titulos de seccion
=========================== */
h3 {
  font-weight: 600;
  color: #007236;
  margin-bottom: 20px;
}

/* ===========================
   Tarjetas (Servicios)
=========================== */
.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 114, 54, 0.3);
}

.card-img-top {
  height: 180px;
  object-fit: cover;
}

.card-title {
  color: #007236;
  font-size: 1.1rem;
  font-weight: 600;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
}

/* ===========================
   Botones
=========================== */
.btn-success {
  background-color: #007236;
  border-color: #007236;
  font-weight: 500;
}

.btn-success:hover {
  background-color: #005f2c;
  border-color: #005f2c;
}

/* ===========================
   Espaciado general
=========================== */
.container {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* ===========================
   Footer
=========================== */
footer {
  background-color: #f5f5f5;
  color: #555;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ===========================
   Botones principales en index.php
=========================== */
.btn-principal {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  padding: 15px 25px;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(to right, #007236, #00994c);
  color: white;
  border: none;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-principal:hover {
  background: linear-gradient(to right, #005f2c, #007a3c);
  box-shadow: 0 6px 15px rgba(0, 114, 54, 0.3);
  transform: scale(1.02);
  color: #fff;
}
/* ===========================
   Pagina de Servicios de Ahorro (ahorros.php)
=========================== */
.seccion-ahorros {
  background-color: #f0fdf5;
  padding: 60px 20px;
}

.ahorro-box {
  background-color: white;
  border-left: 6px solid #007236;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 114, 54, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ahorro-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0, 114, 54, 0.15);
}

.ahorro-box h4 {
  color: #007236;
  margin-bottom: 15px;
  font-weight: 600;
}

.ahorro-box p {
  color: #555;
  line-height: 1.6;
}

.titulo-ahorros {
  text-align: center;
  color: #007236;
  margin-bottom: 50px;
  font-size: 2rem;
  font-weight: 700;
}

/* Responsive ahorro-box */
@media (max-width: 768px) {
  .ahorro-box {
    padding: 20px;
  }

  .titulo-ahorros {
    font-size: 1.5rem;
  }
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  .card-img-top {
    height: 150px;
  }

  h3 {
    font-size: 1.4rem;
  }

  .carousel-item img {
    height: 250px;
  }
}
