
.about-us-header h1 {
text-align: center;
font-size: 60px;
margin-bottom: 30px;
}

.about-us-navbar .navbar-brand img {
    filter: none; 
    opacity: 1;     
    transition: filter 0.3s ease, opacity 0.3s ease;
}


.about-navbar {
    position: fixed;
    width: 100%;
    z-index: 1100;
    background: transparent;
    transition: all 0.3s ease-in-out;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    top: 40px;
    padding: 0 50px;
}

.main-content {
    padding-top: 50px; 
}

.about-navbar.scrolled {
    background: white;
}

.about-navbar.scrolled .about-nav-link {
    color: #002C59;
}

.about-navbar .about-navbar-brand {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 150px; 
}

.about-navbar .about-navbar-brand img {
    height: 100px; 
    width: auto;
}


.about-navbar .about-navbar-nav {
    display: flex;
    list-style: none;
    position: relative;
    margin-left: auto;
    gap: 40px;
}

.about-navbar .about-nav-item {
    position: relative;
}


.about-navbar .about-nav-link {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.about-navbar .about-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; 
    width: 0%; 
    height: 3px; 
    background-color: #BCA500; 
    transition: width 0.3s ease-in-out; 
    background: none;
    
}

.about-navbar .about-nav-link:hover::after {
    width: 100%; 
}


.about-navbar .about-nav-link:hover {
    color: #BCA500;
}


.about-dropdown-menu {
    position: absolute;
    background: white;
    display: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 5px;
    list-style: none;
    min-width: 170px;
    top: 40px;
}

.about-dropdown-submenu:hover .about-dropdown-submenu1 {
    display: block;
}

.about-nav-item:hover .about-dropdown-menu {
    display: block;
}

.about-dropdown-submenu1 {
    display: none;
    position: absolute;
    left: 90%; 
    background: white;
    list-style: none;
    padding: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width: 200px;
}

.about-dropdown-submenu:hover .about-dropdown-submenu1 {
    display: block;
}


.about-dropdown-item {
    text-decoration: none;
    color: #002C59;
    font-size: 14px;
    font-weight: normal;
    padding: 10px;
    display: block;
    transition: background 0.3s ease-in-out;
}


.about-dropdown-item:hover {
    background: #f4f4f4;
}


.about-btn-contact {
    background: #BCA500;
    padding: 5px 30px;
    border-radius: 20px;
    font-weight: bold;
    color: #ffffff;
    font-size: 17px;
    margin-top: -5px;
    text-align: center;
}

.about-btn-contact:hover {
    background: linear-gradient(90deg, #BCA500, #ffce0a);;
    color: white;
}

.about-us-header {
    height: 80vh; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.header-image {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    height: 115%;
    object-fit: cover; 
    z-index: -2;
    filter: brightness(0.6) saturate(1.0) blur(1px); 
    transform: scale(1.02);

}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 32, 56, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: -1;
    clip-path: polygon(100% 0, 100% 100%, 45% 100%, 58% 0)

}

.header-content1 {
    text-align: center;
    color: #fff;
    z-index: 1;
}

.header-title {
    color: #fff;
    position: relative;
    display: inline-block;
    margin: 0;
    opacity: 0; 
    transform: translateY(50px); 
    transition: transform 0.8s ease, opacity 0.8s ease;
    font-weight: bold;
    z-index: 2;
}

.header-title.visible {
    opacity: 1; 
    transform: translateY(0); 
}

.header-title::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background-color: #BCA500; 
    transition: width 0.4s ease;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.header-title:hover::after {
    width: 100%; 
}

.header-description {
    font-size: 16px;
    color: #BCA500;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0; 
    transform: translateY(-20px); 
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.header-description.visible {
    opacity: 1;
    transform: translateY(0);
}



.common-section {
    padding: 50px 20px;
    margin: 0 auto;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

.about-us-section {
  flex-direction: row;
}

.about-us-section .about-us-text {
  flex: 1;
  max-width: 55%;
  padding-right: 40px;
}

.about-us-section .image-content {
  flex: 0 0 35%;
  max-width: 400px;
}

.about-us-section .about-us-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-us-section .about-us-text p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 100%;
}


.bio-section {
  flex-direction: row;
}

.bio-section .bio-text {
  flex: 1;
  max-width: 55%;
}

.bio-section .image-content {
  flex: 0 0 40%;
  max-width: 400px;
}

.support-community-section {
  flex-direction: row;
}

.support-community-section .text-content {
  flex: 1;
  max-width: 55%;
}

.support-community-section .image-content {
  flex: 0 0 40%;
  max-width: 400px;
}

.image-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.image-content img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-content img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.common-section h2,
.common-section h3 {
  font-size: 36px;
  color: #002C59;
  font-weight: bold;
  margin-bottom: 20px;
}

.common-section p {
  max-width: 800px;
  font-size: 18px;
  line-height: 1.6;
  color: #002C59;
  margin-bottom: 15px;
  text-align: justify;
}



.section-without-image {
    background-image: url('/Imagenes/rb_17580.png'); 
    background-color: #0d3c66;
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #BCA500;
    padding: 60px 0;
    margin-bottom: 50px; 
}

.full-width-section {
    width: 100vw; 
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw); 
    position: relative;
    padding: 80px 0;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center;
    
}

.section-without-image h2,
.section-without-image h3 {
    font-size: 36px;
    color: #BCA500;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-without-image p {
    color: white;
    margin: 0 auto;
    max-width: 800px; 
    line-height: 1.8;
    font-size: 18px;
}



.appear {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.appear.visible {
    opacity: 1;
    transform: translateX(0);
}

.typing-effect {
    display: inline-block;
    border-right: 2px solid #BCA500;
    white-space: nowrap;
    overflow: hidden;
}

.typing-effect.finished {
    border-right: none; 
}

@keyframes blink {
    0%, 50% { border-color: #BCA500; }
    51%, 100% { border-color: transparent; }
}

.typing-effect::after {
    content: "";
    display: inline-block;
    width: 2px;
    background-color: #BCA500;
    animation: blink 0.7s step-end infinite;
}


.about-hamburger {
  display: none;
}

@media (min-width: 769px) {
  .about-arrow {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .about-arrow {
    display: inline-block;
  }
}

@media (max-width: 768px) {

#aboutNavbarNav {
  display: none;
}

#aboutNavbarNav.active {
  display: block;
}

.about-hamburger .hamburger-icon {
  font-size: 30px;
  transition: transform 0.3s ease;
}

.about-hamburger:hover .hamburger-icon {
  transform: scale(1.1);
}
    
.about-hamburger {
  display: block;
  font-size: 30px;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  z-index: 2000;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.3s ease, transform 0.3s ease;
}

.about-hamburger:hover {
  color: #BCA500;
  transform: translateY(-50%) scale(1.1);
}

  .about-us-header h1 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .about-navbar {
    flex-direction: column;
    height: auto;
    align-items: flex-start;
    padding: 15px 20px;
    top: 170px;
    background-color: white !important;
  }

  .about-navbar .about-navbar-brand {
    padding-left: 0;
    position: static;
    transform: none;
    margin-bottom: 10px;
  }

  .about-navbar .about-navbar-brand img {
    height: 60px;
  }

  .about-navbar .about-navbar-nav {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
  }

  .about-navbar .about-nav-link {
    color: #002C59;
    font-size: 14px;
  }

  .about-navbar .dropdown-toggle::after {
  display: none !important;
  }

  .about-dropdown-menu,
  .about-dropdown-submenu1 {
    position: static;
    box-shadow: none;
    width: 100%;
    min-width: auto;
  }

  .about-dropdown-item {
    font-size: 14px;
    padding: 8px 12px;
  }

  .about-btn-contact {
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 15px;
    margin-top: 10px;
    align-self: stretch;
    text-align: center;
  }

  .about-us-header {
    height: auto;
    padding: 100px 20px 50px;
  }

 .about-dropdown-menu {
    max-height: 200px; 
    overflow-y: auto;
    scrollbar-width: thin;       
    scrollbar-color: #BCA500 white; 
    display: none;
  }

    .about-dropdown-menu::-webkit-scrollbar {
    width: 6px;
  }

  .about-dropdown-menu::-webkit-scrollbar-thumb {
    background-color: #BCA500;
    border-radius: 10px;
  }

  .about-dropdown-menu::-webkit-scrollbar-track {
    background: white;
  }

  .about-dropdown-menu.open {
    display: block;
  }

  .about-us-header {
   margin-top: 250px;
  }

  .header-image {
    height: 100%;
    top: 0;
  }

  .header-overlay {
    clip-path: none;
    padding: 20px;
  }

  .header-title {
    font-size: 24px;
  }

  .header-description {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .common-section {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .about-us-section,
  .bio-section,
  .support-community-section {
    flex-direction: column;
  }

  .about-us-section .about-us-text,
  .bio-section .bio-text,
  .support-community-section .text-content {
    max-width: 100%;
    padding-right: 0;
  }

  .about-us-section .image-content,
  .bio-section .image-content,
  .support-community-section .image-content {
    max-width: 100%;
    flex: none;
  }

  .about-us-section .about-us-text h2,
  .common-section h2,
  .common-section h3,
  .section-without-image h2,
  .section-without-image h3 {
    font-size: 26px;
  }

  .common-section p,
  .section-without-image p,
  .about-us-section .about-us-text p {
    font-size: 16px;
  }

  .section-without-image {
    padding: 40px 15px;
    margin-bottom: 30px;
  }

  .full-width-section {
    flex-direction: column;
    padding: 50px 20px;
  }

  .image-content {
    padding: 0;
  }

  .image-content img {
    width: 100%;
    border-radius: 10px;
  }
}
