/* Global Styles */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: rgb(52, 56, 59);
  line-height: 1.5;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  cursor: pointer;
}

/* Navbar Styles */
  .navbar {
    background-color: #ffffff;
    border-color: #cccccc;
    border-width: 1px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -2px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
  }
  
  .navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1480px;
    margin: 0 auto;
    padding: 16px 24px;
    width: 100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo-image {
    height: 80px;
    margin-right: 12px;
    max-width: 100%;
  }
  
  .logo-text {
    color: #34383b;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    user-select: none;
  }
  
  .nav-menu {
    display: flex;
    color: #34383b;
    font-weight: 500;
    justify-content: flex-end;
    list-style: none;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsividad */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }
}
  
  .nav-item {
    text-transform: uppercase;
    margin-right: 34px;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }
  
  .nav-item:hover {
    color: oklch(0.2 0.5 0.5);
  }
  
  .nav-item.active {
    color: oklch(0.2 0.5 0.5);
    font-weight: 700;
  }
  
  .nav-item.contact {
    margin-left: 136px;
    margin-right: 0;
  }

  /* Estilo para el submenú */
  .nav-item.dropdown {
    position: relative;
  }

  .nav-item .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    width: 250%;
  }

  .nav-item .dropdown-menu li {
    padding: 10px 20px;
    max-height: 40px;
  }

  .nav-item .dropdown-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
  }

  .nav-item .dropdown-menu li a:hover {
    background-color: #blue;
  }

  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  /* Estilo específico para los enlaces del menú */
  .nav-menu a {
    text-decoration: none; /* Elimina el subrayado */
    color: #000; /* Cambia el color del texto a negro */
    font-weight: 500; /* Ajusta el grosor del texto */
  }

  .nav-menu a:hover {
    color: #000; /* Mantén el color negro al pasar el mouse */
    text-decoration: none; /* Asegúrate de que no aparezca subrayado */
  }

  .nav-item.active a {
    color: #a00000; /* Color rojo oscuro para el elemento activo */
    font-weight: bold; /* Resalta el elemento activo */
  }

  /* Estilo para los elementos de la lista */
  .dropdown-menu li {
    padding: 10px 15px; /* Espaciado interno */
    cursor: pointer; /* Cambia el cursor para indicar que es clicable */
    transition: background-color 0.3s ease; /* Transición suave */
  }

  .dropdown-menu li a:hover {
    background-color: #a00000; /* Fondo rojo oscuro al pasar el mouse */
   border-radius: 10px;
   color: white;
    /*color: #a00000;  Cambia el texto a blanco para mejor contraste */
  }
  
/* Main Content */
main {
  background-color: rgb(255, 255, 255);
  color: rgb(52, 56, 59);
  margin-top: 64px;
  padding: 48px 0;
}

/* Hero Section */
.hero-section {
  height: 384px;
  margin-bottom: 24px;
  position: relative;
  width: 100%;
}

.hero-image-container {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.hero-image {
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
    rgba(0, 0, 0, 0.1) 0px 8px 10px -6px;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
}

.gradient-overlay-top {
  background-image: linear-gradient(
    to top,
    rgb(0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gradient-overlay-left {
  background-image: linear-gradient(
    to right,
    rgb(0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.hero-title {
  border-left: 6px solid oklch(0.2 0.5 0.5);
  bottom: 40px;
  color: rgb(255, 255, 255);
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  position: absolute;
  margin: 0 auto;
  max-width: 1152px;
  padding: 0 24px;
  width: 100%;
}

/* Breadcrumb */
.breadcrumb-container {
  margin-bottom: 24px;
  margin: 0 auto;
  max-width: 1152px;
  padding: 0 24px;
  width: 100%;
}

.breadcrumb {
  align-items: center;
  border-left: 6px solid rgb(16, 44, 84);
  display: flex;
  font-size: 14px;
  line-height: 20px;
  margin: 40px 0 64px 0;
  padding-left: 16px;
  width: 100%;
}

.breadcrumb-link {
  color: oklch(0.2 0.5 0.5);
  margin-right: 4px;
}

.breadcrumb-separator {
  color: oklch(0.551 0.027 264.364);
  margin-right: 4px;
}

.breadcrumb-current {
  color: rgb(16, 44, 84);
  font-weight: 700;
}

/* Content Layout */
.content-wrapper {
  display: flex;
  gap: 32px;
  margin: 0 auto;
  max-width: 1152px;
  padding: 0 24px;
  width: 100%;
}

.main-content {
  flex: 1;
}

/* Quote */
.quote {
  color: rgb(33, 37, 41);
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 64px;
  margin: 0 auto 64px;
  max-width: 1152px;
  padding: 0 24px;
  text-align: center;
  width: 100%;
}

/* Content Sections */
.content-section {
  margin-bottom: 64px;
}

.section-title {
  color: oklch(0.2 0.5 0.5);
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 24px;
}

.section-title.centered {
  text-align: center;
}

.section-text {
  text-align: justify;
}

/* Team Section */
.team-section {
  margin-top: 64px;
}

.team-image-container {
  display: flex;
  justify-content: center;
}

.team-image {
  border-radius: 8px;
  box-shadow:
    rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,
    rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
  max-width: 896px;
  width: 100%;
}

/* Profile List */
.profile-list {
  padding-left: 20px;
  list-style-type: disc;
}

.profile-item {
  margin-bottom: 16px;
}

.profile-item:last-child {
  margin-bottom: 0;
}

/* Sidebar */
.sidebar {
  align-self: flex-start;
  background-color: rgb(255, 255, 255);
  border-left: 1px solid rgb(204, 204, 204);
  padding: 24px;
  position: sticky;
  top: 128px;
  width: 256px;
}

.sidebar-title {
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.sidebar-item {
  color: oklch(0.2 0.5 0.5);
  font-weight: 600;
  margin-bottom: 12px;
  cursor: pointer;
}

.sidebar-item:last-child {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background-color: rgb(16, 44, 84);
  color: rgb(255, 255, 255);
  padding: 48px 0;
}

.footer-container {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1152px;
  width: 100%;
}

.footer-logo-section {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 128px;
  margin-bottom: 16px;
  max-width: 100%;
  object-fit: contain;
  width: 128px;
}

.footer-tagline {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

.footer-social-section {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 16px;
}

.social-icons {
  display: flex;
}

.social-link {
  color: white;
  font-size: 24px;
  margin-right: 24px;
}

.social-link:last-child {
  margin-right: 0;
}

.footer-contact-section {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.contact-list {
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.contact-item {
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.email-link {
  color: rgb(182, 182, 175);
}

.copyright {
  border-top: 1px solid rgb(255, 255, 255);
  font-size: 14px;
  line-height: 20px;
  margin-top: 32px;
  padding-top: 16px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .content-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: static;
    margin-top: 48px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }

  .nav-menu {
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-item {
    margin: 8px 12px;
  }

  .nav-item.contact {
    margin-left: 12px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 240px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 32px;
  }

  .section-title {
    font-size: 28px;
    line-height: 32px;
  }

  .quote {
    font-size: 16px;
    line-height: 24px;
  }
}
