* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "TiemposHeadline-Bold", Helvetica, Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
  height: 200vh;
}

.nav-container {
  position: fixed;
  top: 25px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container.scrolled {
  top: 20px;
}

.navbar {
  background-color: #ffffff;
  padding: 23px 140px;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin: 0 25px;
  border-radius: 8px;
  gap: 20px;
}

/* Scrolled state */
.nav-container.scrolled .navbar {
  flex-wrap: nowrap;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 12px 140px; /* Reduced from 23px 140px */
}

/* Logo styles */
.header__logo {
  height: 40px;
  display: flex;
  align-items: center;
  min-width: 120px;
  transition: all 0.3s ease;
}

.nav-container.scrolled .header__logo {
  height: 32px;
  min-width: 96px;
}

.header__logo__link {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
}

.header__image {
  height: 100%;
  width: auto;
  max-width: 150px;
  filter: brightness(0) saturate(100%) invert(9%) sepia(88%) saturate(4661%)
    hue-rotate(243deg) brightness(85%) contrast(111%);
  transition: all 0.3s ease;
}

/* Navigation links */
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 5px 0;
  position: relative;
}

.nav-links a:first-child {
  color: #070e46;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.nav-links a:last-child {
  color: #001391;
}

.nav-links a:last-child:hover {
  color: #070e46;
}

/* Navigation buttons */
.nav-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-top: 15px;
}

.nav-container.scrolled .nav-buttons {
  width: auto;
  margin-top: 0;
  flex: 0 0 auto;
  margin-left: auto;
}

/* Button styles */
.btn {
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  font-family: BentonSansBBVA-Medium, Helvetica, Arial, sans-serif;
  line-height: 24px;
}

.nav-container.scrolled .btn {
  padding: 5px 30px;
}

.btn-outline {
  background-color: #f7f8f8;
  color: #001391;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #fff;
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-outline:hover {
  color: #070e46;
}

.btn-outline:hover::before {
  left: 0;
}

.btn-solid {
  background-color: #001391;
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-solid::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #070e46;
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-solid:hover::before {
  left: 0;
}
/* Icon links */
.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #001391;
  transition: color 0.3s;
  font-weight: 500;
}

.icon-link:hover {
  color: #0072ce;
}

.icon-link svg {
  width: 24px;
  height: 24px;
}

.bbvaicn {
  fill: currentColor;
}

.menu-button {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between text and icon */
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.menu-button:hover {
  color: #070e46;
}

.menu-button span {
    font-weight: 500;
    font-size: 14px;
}

/* Mobile Menu Styles */
.mobile-menu-container {
    position: fixed;
    top: 220px; /* Position below navbar - adjust based on your navbar height */
    right: -400px; /* Start off-screen */
    width: 350px;
    height: calc(100vh - 120px); /* Full height minus navbar */
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e0e0e0;
}

.mobile-menu-container.active {
    right: 0;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto; /* Make entire menu scrollable */
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f7f8f8;
    flex-shrink: 0; /* Keep header fixed at top when scrolling */
}

.mobile-menu-header h2 {
    color: #001391;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: white;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-content {
    flex: 1;
    /* Remove overflow-y: auto from here since entire menu scrolls */
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid #f7f8f8;
}

.mobile-menu-list a {
    display: block;
    padding: 16px 20px;
    color: #072146;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-menu-list a:hover {
    background-color: #f7f8f8;
    color: #001391;
}

/* Adjust body content when menu is open */
body.menu-open {
    margin-right: 350px; /* Push content to the left to make space for menu */
    transition: margin-right 0.3s ease;
}

/* Keep navbar in pre-scroll state when menu is open */
body.menu-open .nav-container.scrolled .navbar {
    flex-wrap: wrap;
    justify-content: start;
}

body.menu-open .nav-container.scrolled .nav-buttons {
    width: 100%;
    margin-top: 15px;
    justify-content: flex-end;
}

body.menu-open .nav-container.scrolled .header__logo {
    height: 40px;
    min-width: 120px;
}

body.menu-open .nav-container.scrolled .header__image {
    max-width: 150px;
}

body.menu-open .nav-container.scrolled .btn {
    padding: 16px 32px;
}

/* Ensure main content remains scrollable */
body.menu-open .content,
body.menu-open .inner {
    overflow-y: auto;
}

/* Adjust top position when navbar is scrolled */
.nav-container.scrolled ~ .mobile-menu-container {
    top: 90px; /* Adjust based on scrolled navbar height */
    height: calc(100vh - 90px);
}

/* Content Layout */
.content {
  margin-top: 120px;
  padding: 60px 140px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-radius: 8px;
}

.content-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

.content-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-text {
  flex: 1;
}

.badge {
  display: inline-block;
  background-color: #d7d7d7;
  color: #070e46;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.content-text h1 {
  color: #072146;
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 1.2;
}

.content-text p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #070e46;
}

.content-actions {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: #001391;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #005a9e;
}

.btn-secondary {
  background-color: transparent;
  color: #001391;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  border: 1px solid #001391;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background-color: #001391;
  color: white;
}

h1 {
  color: #072146;
  margin-bottom: 20px;
}

p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.content-video {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 500px;
}

.content-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-controls {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
}
.inner {
  padding: 60px 140px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.swiper-wrapper {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.swiper-wrapper li {
  flex: 1;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  min-width: 0; /* Allows flex items to shrink properly */
}

.swiper-wrapper a {
  text-decoration: none;
  color: #072146;
  display: block;
}

.swiper-wrapper img {
  width: 104px;
  height: 104px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.swiper-wrapper span {
  display: block;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  color: #001391;
}

.benefits {
  margin: 120px 140px 0px;
  padding: 160px 40px;
  max-width: 1200px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-radius: 8px;
  background-color: #fff;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.benefits-header {
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-right: 1px solid #e0e0e0;
}

.benefits-image {
  flex: 1;
  height: 368px;
  width: 368px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefits-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
}

.benefits-title {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefits-title h1 {
  color: #072146;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
}

.benefits-title p {
  color: #333;
  font-size: 18px;
  margin: 0;
}

.benefits-title .action-button {
  margin: 10px 0;
  width: 100%;
}

.benefits-title .action-button a {
  width: calc(100% - 40px);
  display: block;
  text-align: center;
  padding: 16px 32px;
  margin: 0 20px;
}

.benefits-title .action-button:last-child a {
  background-color: #f7f8f8;
  border: none;
  color: #001391;
}

.benefits-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefit-column:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 40px;
}

.benefit-content h2 {
  color: #072146;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.benefit-description {
  color: #333;
  line-height: 1.5;
  font-size: 14px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-header {
  text-align: center;
  margin-bottom: 50px;
}

@media (min-width: 1024px) {
  .content-header h2 {
    color: #072146;

    font-family: TiemposHeadline-Bold, Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    text-align: center;
    margin: 0 auto;
  }
}

.opportunity-grid {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.featured-opportunity {
  flex: 1; /* 50% */
}

.opportunity-side {
  flex: 1; /* 50% */
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.opportunity-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
}

.opportunity-card.large {
  height: 100%;
}

.opportunity-card.horizontal {
  display: flex;
}

.opportunity-card.horizontal .card-image {
  flex: 1;
}

.opportunity-card.horizontal .card-content {
  flex: 1;
  padding: 30px;
}

.opportunity-cards-small {
  display: flex;
  gap: 20px;
}

.opportunity-card.small {
  flex: 1;
  padding: 30px;
  border-radius: 16px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-icon img {
  width: 40px;
  height: 40px;
}

.card-content h3 {
  color: #072146;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 20px;
  display: block;
  padding: 0;
}

.card-content p {
  color: #333;
  line-height: 1.5;
  margin-bottom: 50px;
  padding: 0;
}

.opportunity-card.small .btn-secondary {
  width: 100%;
  border: none;
  padding: 0;
  font-family: "BentonSansBBVA-Medium", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  text-align: left;
  text-decoration: none;
  display: block;
  margin-top: auto;
}

.digital-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.digital-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  padding: 50px 0;
  height: 280px;
}

.digital-card::before {
  content: "";
  position: absolute;
  bottom: -130%;
  right: -25%;
  width: 150%;
  height: 150%;
  background-color: #070e46;
  transition: all 0.4s ease;
  z-index: 1;
  border-radius: 16px;
  padding: 50px 0;
  transform: rotate(-8deg) translateY(100%);
  transform-origin: bottom right;
}

.digital-card:hover::before {
  bottom: -15%;
  right: -15%;
  padding: 50px 0;

  transform: rotate(-8deg) translateY(0);
}

.digital-card .card-content {
  display: flex;
  height: 100%; /* Use full fixed height */
  position: relative;
  z-index: 2;
}

.digital-card .card-text {
  flex: 2;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
  height: 100%; /* Full height */
}

.digital-card:hover .card-text {
  color: white;
}

.digital-card .card-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: transparent;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.digital-card:hover .card-image {
  opacity: 0;
  visibility: hidden;
}

.digital-card .card-image img {
  max-width: 100px;
  height: auto;
  transition: all 0.4s ease;
  transform: scale(2); /* Start zoomed in */
}

.digital-card:hover .card-image img {
  transform: scale(1); /* Zoom out to normal size */
  opacity: 0; /* Keep the fade out effect */
  visibility: hidden; /* Keep the hide effect */
}

.digital-card h3 {
  color: #072146;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.digital-card:hover h3 {
  color: white;
}

.digital-card .subtitle {
  color: #001391;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.digital-card:hover .subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.digital-card .description {
  color: #333;
  line-height: 1.5;
  font-size: 14px;
  height: 0; /* Start with zero height but reserve the space */
  opacity: 0;
  overflow: hidden;
  transition: all 10s ease;
  margin-bottom: 0;
  visibility: hidden; /* Hide but keep space */
}

.digital-card:hover .description {
  height: auto; /* Allow natural height */
  opacity: 1;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
  visibility: visible;
}

.matters-header {
  text-align: center;
  margin-bottom: 50px;
}

.matters-header h2 {
  color: #072146;
  font-weight: 700;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  text-align: center;
}

.matters-subtitle {
  color: #333;
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.matters-control {
  padding: 0 150px;
}
.matters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.matters-card {
  background-color: #001391;
  border-radius: 16px;
  overflow: hidden;
  position: relative; /* Add this */
  min-height: 350px; /* Set a minimum height for consistency */
}

.matters-card-content {
  padding: 0px 40px 40px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%; /* Take full height of card */
}

.matters-card-image img {
  max-width: 180px;
  height: 180px;
}
.matters-card-text {
  flex: 1; /* Take available space */
  display: flex;
  flex-direction: column;
  text-align: start;
}
.matters-card-text h3 {
  color: #072146;
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #fff;
}

.matters-card-text p {
  color: #333;
  margin-bottom: 30px;
  color: #fff;
  font-weight: 350;
  font-size: 15px;
  line-height: 24px;
  margin-top: 12px;
}

.matters-card-text a {
  background-color: #fff;
  width: 100%;
  margin-top: auto; /* Push to bottom */
  align-self: flex-end; /* Align to bottom */
  text-align: center;
}

.matters-show-more {
  text-align: center;
}

.help-header {
  text-align: center;
  margin-bottom: 50px;
}

.help-header h2 {
  color: #072146;
  font-size: 48px;
  font-weight: 700;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.help-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
}

.help-link {
  display: block;
  padding: 40px 30px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.help-image {
  margin-bottom: 25px;
}

.help-image img {
  max-width: 150px;
  height: 150px;
}

.help-card h3 {
  color: #072146;
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 600;
}

.help-action {
  color: #001391;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
}

.help-description {
  color: #001391;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
}


.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    color: #072146;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #001391 !important;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.footer-links-list a:hover {
    color: #001391;
}

.footer-utilities {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.footer-utilities a {
    color: #001391;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-utilities a:hover {
    color: #070e46;
}

.footer {
    background-color: #001391; /* Changed to #001391 */
    color: white;
    padding: 60px 0 40px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 140px;
    text-align: left; /* Align everything to left */
}

.footer-top {
    display: flex;
    justify-content: space-between; /* Space between logo and social icons */
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1); /* Make logo white */
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    color: #000;
    text-decoration: none;
    font-size: 16px; /* Slightly smaller for better proportion */
    transition: all 0.3s ease;
    background-color: #85c8ff;
    border-radius: 50%; /* Make them circular */
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-social a i{
  color: #000;
}

.footer-social a:hover {
    color: #0072ce;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 80px 0;
}

.footer-links a {
    color: #85c8ff;
    text-decoration: none;
    font-size: 15px;
    line-height: 24px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0072ce;
}

.footer-disclaimer {
    padding-top: 0; /* Remove top padding since we removed the border */
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 24px;
    font-weight: 350;
    margin: 0;
}

.balance{
  height: 1px;
  margin-top: 40px;
}



