* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Lato, Roboto, Arial, sans-serif;
  background-color: #fff;
  color: #000;
}

.hero-section {
  background: url(/media/u2tbuseq/bg.svg);
  color: white;
  padding: 10px;
}

/* -------- HERO TEXT -------- */
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  padding-top: 140px; /* pushes text below navbar */
  padding-bottom: 100px;
}

.hero-content {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-content h1 {
  color: var(--Ultramar, #283c78);
  text-align: center;
  font-size: 46px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.hero-content p {
  color: var(--Negro, #000);
  text-align: center;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* -------- RESPONSIVE HERO STYLES -------- */
@media (max-width: 768px) {
  section h1 {
    font-size: 28px !important;
  }
  section p {
    font-size: 16px !important;
  }
  section button {
    width: 100% !important;
    max-width: 320px !important;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-section {
    padding: 80px 20px 140px 20px !important;
  }
  .nav-links {
    font-size: 14px !important;
  }
  .hero-text {
  padding-top: 100px;
  padding-bottom: 0;
}
}

/* ---------- Section Styles ---------- */
.who-we-are {
  padding: 90px;
  display: flex;
  justify-content: center;
}

.container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 70px;
  max-width: 1100px;
  width: 100%;
}

/* ---------- Left Side ---------- */
.left {
  flex: 0 0 35%;
}

.left h1 {
  color: #001833;
  text-align: right;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 46px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* ---------- Right Side ---------- */
.right {
  flex: 1;
  max-width: 550px;
  font-size: 14px;
}

.right p {
  color: #101b31;

  /* Body Text */
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 20.8px */
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 992px) {
  .container {
    gap: 30px;
  }

  .left h1 {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .left,
  .right {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .left h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .right {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .left h1 {
    font-size: 30px;
  }

  .right {
    font-size: 13px;
  }
  .who-we-are {
  padding: 14% 6%;
}
}

/* ---------- Mission & Vision Section ---------- */
.mission-vision {
  background-color: #25356b; /* dark blue */
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* renamed container → content-wrapper */
.content-wrapper {
  max-width: 1100px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 130px;
}

/* ---------- Boxes ---------- */
.box {
  display: flex;
  flex-direction: row;
  gap: 32px;
  color: #ffffff;
}

.box h2 {
  color: var(--White, #fff);
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 46px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.box p {
  color: var(--White, #fff);
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .box h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .box {
    max-width: 90%;
  }

  .box p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .box h2 {
    font-size: 28px;
  }

  .box p {
    font-size: 13px;
  }
}

/* ---------- values-section ---------- */

.values-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background: var(--Capri, #0096d6);
}


/* wrapper */

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
    padding: 0 12px;
}


/* ---------- Left Side ---------- */

.left-side {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 260px;
}

.left-side h2 {
    color: var(--White, #fff);
    font-family: Lato, Roboto, Arial, sans-serif;
    font-size: 46px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


/* ---------- Right Side ---------- */

.right-side {
    flex: 1 1 55%;
    display: flex;
    justify-content: flex-start;
    min-width: 320px;
}


/* timeline container (no vertical line) */

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    max-width: 640px;
}


/* each timeline row */

.timeline-item {
    display: flex;
    /* align-items: center; */
    gap: 24px;
}


/* icon wrapper  */

.icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--Capri-90, #c9e6ff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content {
    display: flex;
    padding-top: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
}

.timeline-content h4 {
    color: var(--White, #FFF);
    text-align: center;
    font-family: Lato;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.timeline-content p {
    color: var(--White, #FFF);
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


/* the actual logo inside the circle (SVGs scale well) */

.icon img {
    width: 34px;
    height: 34px;
}

.timeline-container {
    position: relative;
    /* enable absolute line */
}

.timeline-container::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 100px;
    left: 32px;
    width: 3px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 2px;
}

.icon {
    position: relative;
    z-index: 2;
}


/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
    .left-side h2 {
        font-size: 38px;
    }
    .timeline-item {
        gap: 18px;
    }
    .icon {
        width: 72px;
        height: 72px;
        min-width: 72px;
        min-height: 72px;
    }
    .icon img {
        width: 30px;
        height: 30px;
    }
    .timeline-item p {
        font-size: 18px;
    }
    .timeline-container::before {
        top: 50px;
        bottom: 140px;
        left: 37px;
    }
}

@media (max-width: 770px) {
    .content-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }
    .left-side {
        justify-content: center;
        text-align: center;
        width: 100%;
        margin-bottom: 22px;
    }
    .left-side h2 {
        font-size: 32px;
    }
    .right-side {
        width: 100%;
        justify-content: center;
    }
    .timeline-container {
        align-items: stretch;
        gap: 18px;
        padding: 0 8px;
    }
    /* compact each row on small screens */
    .timeline-item {
        gap: 14px;
        /* align-items: center; */
    }
    .icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
    }
    .icon img {
        width: 26px;
        height: 26px;
    }
    .timeline-item p {
        font-size: 16px;
    }
    .timeline-container::before {
        top: 50px;
        bottom: 114px;
        left: 37px;
    }
}

@media (max-width: 420px) {
    .left-side h2 {
        font-size: 26px;
    }
    .timeline-item p {
        font-size: 15px;
    }
    .content-wrapper {
        padding: 0 8px;
    }
    .timeline-container::before {
        top: 50px;
        bottom: 180px;
        left: 37px;
    }
}

/* ✅ Why Choose Us Section */

#why-choose-us {
  padding: 140px 8%;
  background: var(--White, #fff);
  color: #000;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

.wcu-title {
  flex: 1 1 250px;
  color: #001833;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 46px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  min-width: 220px;
}

.wcu-grid {
  flex: 3 1 600px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 60px;
}

.wcu-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.wcu-feature-item img {
  width: 32px;
  height: 32px;
}

.wcu-feature-item h3 {
  margin: 0 0 8px 0;
  color: #101b31;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.wcu-feature-item p {
  margin: 0;
  color: #101b31;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

#why-choose-us .wcu-feature-item:last-of-type p {
  line-height: 1.5;
}

/* 🏦 Brand section */
#brands-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
    padding: 30px 10px;
    background: #fff;
}

.country-selector-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.country-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 47px;
    border: 1px solid #bababa;
    color: #707070;
    cursor: pointer;
    transition: 0.3s ease;
}

.country-item-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.country-item-inner img {
    width: 18px;
    height: 18px;
}

/* default text */
.country-item-inner span {
    color: #707070;
    font-family: Lato, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 52px;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

/* active state */
.country-item.active {
    border: 1.5px solid #283c78;
}

.country-item.active .country-item-inner span {
    color: #283c78;
    font-weight: 700;
}

.us {
    color: #707070;
    font-family: Lato, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 371.429%;
}

.do {
    color: var(--Ultramar, #283c78);
    font-family: Lato, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 371.429%;
}

.country-item.active .country-item-inner span {
    font-weight: 700;
}

/* Slider container */
.slider {
  width: 100%;
  height: 100px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  background: #fff;
}

/* keep fade overlays if you want them */
.slider::before,
.slider::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 100px;
  top: 0;
  z-index: 2;
}
.slider::after {
  right: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
}

/* Slide track — left aligned, no centering */
.slide-track {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* IMPORTANT: left-aligned */
  position: absolute; /* positioned so its left edge matches slider left */
  left: 0;
  top: 0;
  height: 100%;
  white-space: nowrap; /* prevent wrapping */
  will-change: transform;
  /* animation will be set with a CSS variable controlled by JS */
  animation-name: scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: running;
}

/* Each slide */
.slide {
  flex: 0 0 auto;
  width: 250px; /* default; responsive overrides below */
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* keyframes use a CSS variable --scroll-distance set from JS (in px) */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--scroll-distance, 0px)));
  }
}

/* Responsive overrides */
@media (max-width: 1024px) {
  .slider {
    height: 90px;
  }
  .slide {
    height: 90px;
  }
}
@media (max-width: 768px) {
  .slider {
    height: 80px;
  }
  .slide {
    width: 200px;
    height: 80px;
  }
}
@media (max-width: 480px) {
  .slider {
    height: 70px;
  }
  .slide {
    width: 160px;
    height: 70px;
  }
}


/* customers */

.customers {
    margin: 0 auto;
    background: var(--ultramar-15);
    text-align: center;
    overflow: hidden;
    position: relative;
    max-width: 100vw;
}

.customers__wrapper {
    overflow: hidden;
    width: 100%;
    margin: 20px 0;
}

.customers__list {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    width: max-content;
    min-width: 200%;
    animation-duration: 60s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

.customers__list--first {
    animation-name: slideLeft;
}

.customers__list--second {
    animation-name: slideRight;
}

.customers__list-item {
    flex-shrink: 0;
    margin: 0 20px;
}

/* Logos */
.customers__list-item-logo {
    max-width: 60%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
}

/* Animación de izquierda a derecha */
@keyframes slideLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Animación de derecha a izquierda */
@keyframes slideRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Pause on Hover */
.customers__list:hover {
    animation-play-state: paused;
}

/* Ajuste en dispositivos móviles */
@media (max-width: 1024px) {
    .customers__title {
        font-size: 1.8rem;
    }
    .customers__list img {
        max-height: 50px;
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .customers__container {
        border-radius: 32px 32px 0px 0px;
    }
    .customers__title {
        font-size: 1.6rem;
        padding: 40px 0;
    }
    .customers__list {
        gap: 30px;
    }
        .customers__list img {
            max-height: 100px;
        }
}