/* ==================================================
   GOOGLE FONT: MONTSERRAT
================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ==================================================
   RESET / BASE
================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background-color: #f5f7fa;
  color: #1f2933;
  line-height: 1.6;
}

/* ==================================================
   NAVBAR
================================================== */
.navbar {
  background-color: #0d47a1 !important;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-link {
  color: #e3f2fd !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
  background-color: rgba(255,255,255,0.15);
  border-radius: 6px;
}

/* ==================================================
   CARRUSEL PRINCIPAL
================================================== */
.carousel img {
  height: 420px;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(13, 71, 161, 0.75);
  border-radius: 12px;
  padding: 15px;
}

.carousel-caption h5 {
  font-weight: 600;
}

.carousel-caption p {
  font-weight: 400;
  font-size: 0.95rem;
}

/* ==================================================
   HEADER
================================================== */
header {
  background: linear-gradient(135deg, #0d47a1, #1565c0);
}

header h1 {
  font-weight: 700;
  letter-spacing: 1.5px;
}

header p {
  max-width: 900px;
  margin: 0 auto;
  font-weight: 400;
}

/* ==================================================
   SECCIONES
================================================== */
section h2 {
  color: #0d47a1;
  font-weight: 700;
  letter-spacing: 3px;
}

/* ==================================================
   CARDS (GENERAL)
================================================== */
.card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(13, 71, 161, 0.15);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(13, 71, 161, 0.25);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-title {
  color: #0d47a1;
  font-weight: 600;
}

.card-text {
  font-size: 0.95rem;
  color: #37474f;
}

/* ==================================================
   CARRUSEL INTEGRANTES
================================================== */
#carouselIntegrantes img {
  border: 4px solid #1e88e5;
  transition: transform 0.3s ease;
}

#carouselIntegrantes img:hover {
  transform: scale(1.05);
}

#carouselIntegrantes h6 {
  color: #0d47a1;
  font-weight: 600;
}

#carouselIntegrantes p {
  color: #546e7a;
  font-size: 0.85rem;
}

/* ==================================================
   FORMULARIO DE CONTACTO
================================================== */
form {
  background-color: #ffffff;
  border-radius: 18px;
}

form label {
  font-weight: 600;
  color: #0d47a1;
}

form .form-control {
  border-radius: 10px;
}

form .form-control:focus {
  border-color: #1e88e5;
  box-shadow: 0 0 0 0.2rem rgba(30, 136, 229, 0.25);
}

form .btn {
  background-color: #0d47a1;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px;
  transition: background-color 0.3s ease;
}

form .btn:hover {
  background-color: #1565c0;
}

/* ==================================================
   FOOTER
================================================== */
footer {
  background-color: #0d47a1;
  color: #e3f2fd;
  font-size: 0.9rem;
}
/* ==================================================
   CONTROLES – SOLO CARRUSEL DE INTEGRANTES
================================================== */
#carouselIntegrantes .carousel-control-prev,
#carouselIntegrantes .carousel-control-next {
  width: 6%;
}

#carouselIntegrantes .carousel-control-prev {
  left: -60px;
}

#carouselIntegrantes .carousel-control-next {
  right: -60px;
}

#carouselIntegrantes .carousel-control-prev-icon,
#carouselIntegrantes .carousel-control-next-icon {
  background-color: #0d47a1; /* azul marino */
  background-size: 60% 60%;
  border-radius: 50%;
  width: 45px;
  height: 45px;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
  #carouselIntegrantes .carousel-control-prev {
    left: -20px;
  }

  #carouselIntegrantes .carousel-control-next {
    right: -20px;
  }
}
