.tactics-section {
  height: 30vh;
  background-image: url('img/contact-us.jpeg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 50px;
}

.tactics-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.tactics-section .text-center {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.tactics-section h1 {
  font-size: 4rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.tactics-section p {
  font-size: 1.5rem;
  font-weight: 300;
  width: 800px;
}

.image-section {
  padding-top: 50px;
}

.image-item {
  position: relative;
  overflow: hidden;
  height: 300px;
  margin: 15px;
}

.image-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  transition: background 0.3s ease;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-item:hover img {
  transform: scale(1.1);
}

.image-item .image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
  padding: 10px;
  width: 300px;
}

.image-item .image-text h3 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

#consumer-products .image-text h3 {
  font-size: 2rem;
}

.image-item .image-text p {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.row {
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
}

.col-md-6 {
  padding: 0;
  margin-bottom: 0;
  flex: 0 0 50%;
}

.image-item img {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.map-container {
  padding: 3%;
  display: flex;
  justify-content: center;
}

.google-map {
  width: 80%;
  height: 300px;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);

}

.contact-section {
  max-width: 80%;
  margin: 40px auto;
  padding: 20px;
  background: #faf8f8;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.contact-section h2 {
  text-align: center;
  color: #333;
}

.form-label {
  font-weight: bold;
}

.form-control{
  border-color: var(--burdeos);
  margin: 1%;
}

.form-control:focus{
  border-color: var(--red);
  box-shadow: 0 0 0 0.25rem rgba(179, 20, 20, 0.25); /* Sombra al enfocar */
}

.submit-btn {
  background-color: var(--red);
  color: white;
  border-radius: 10px;
  border: var(--red);
  height: 40px;
  width: 100%;
}

@media (max-width: 768px) {
  .tactics-section h1 {
    font-size: 3rem;
  }

  .tactics-section p {
    font-size: 1rem;
    width: 300px;
  }

  .history-section p {
    font-size: 1rem;
    width: 300px;
  }

  .image-item .image-text {
    width: 300px;
  }

  .image-item .image-text h3 {
    font-size: 2rem;
  }

  .image-item .image-text p {
    font-size: 1rem;
  }

  .col-md-6 {
    flex: 0 0 100%;
  }
}