/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: white;
}

.header .logo img {
  width: 150px;
}

.nav ul {
  list-style: none;
  display: flex;
}

.nav ul li {
  margin: 0 15px;
}

.nav ul li a {
  color: #002d5b;
  text-decoration: none;
  font-weight: bold;
}

.nav ul li a:hover, .nav ul li a.active {
  border-bottom: 2px solid #ffcc00;
}

.hero {
  background: #002d5b;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 2.5em;
}

.hero .btn {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 25px;
  background: #ffcc00;
  color: #002d5b;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.services {
  padding: 50px 20px;
  background: #f9f9f9;
  text-align: center;
}

.services h2 {
  margin-bottom: 30px;
  color: #002d5b;
}

.service-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service-item {
  flex: 1 1 300px;
  margin: 20px;
  padding: 20px;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.footer {
  text-align: center;
  padding: 20px;
  background: #002d5b;
  color: white;
}

form input, form textarea {
  width: 80%;
  padding: 10px;
}

form button {
  padding: 10px 20px;
  background: #002d5b;
  color: white;
  border: none;
  cursor: pointer;
}

.video-banner {
  position: relative;
  width: 100%;
  height: 90vh; /* Altura del banner, puedes ajustarla */
  background-color: black; /* Fondo negro para cubrir espacios */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.video-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container video {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4); /* Fondo semi-transparente para contraste */
  padding: 20px;
  border-radius: 10px;
}

.overlay-text h1 {
  font-size: 2.5em;
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.contact-section {
  padding: 50px 20px;
  background: #f9f9f9;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-form, .contact-info {
  flex: 1 1 45%;
  background: white;
  padding: 20px;
  margin: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 10px;
}

.contact-form h2, .contact-info h2 {
  margin-bottom: 20px;
  color: #002d5b;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

.contact-form button {
  padding: 10px 20px;
  background: #002d5b;
  color: white;
  border: none;
  cursor: pointer;
}

.branch {
  margin-bottom: 20px;
}

.contact-details p {
  margin: 5px 0;
}

.language-switcher {
  margin-left: 20px;
  font-weight: bold;
  font-size: 14px;
  color: #002d5b;
}

.language-switcher .lang {
  text-decoration: none;
  color: #002d5b;
}

.language-switcher .lang.active {
  border-bottom: 2px solid #ffcc00;
}

@media (max-width: 768px) {
  .language-switcher {
    margin-top: 10px;
  }
}

.history {
  padding: 50px 20px;
  background: #f9f9f9;
}

.history h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #002d5b;
}

.history-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.history-column {
  flex: 1 1 45%;
  margin: 10px;
}

.history-column p {
  text-align: justify;
  color: #333;
  line-height: 1.8;
}

.brochure-section {
  padding: 50px 50px;
  background-color: #f9f9f9;
  text-align: center;
}

.brochure-section h2 {
  color: #002d5b;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.brochure-container {
  max-width: 960px;
  margin: 0 auto;
}
