* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: WorkSans;
  src: url("./fonts/WorkSans-VariableFont_wght.ttf");
}

body {
  font-family: "WorkSans", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}
/* Header Styles */
header {
  background-color: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.section-title-desktop {
  display: none;
}
.how_it_works_desktop {
  display: none;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 1.5px 0;
  transition: 0.3s;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.logo-svg {
  max-width: 100%;
  height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  font-size: 16px;
  letter-spacing: 0.5px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #d32f2f;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), #333;
  background: url("./images/Back_home.png");
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  padding: 150px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Styles */
section {
  padding: 60px 0;
}

.section-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 40px;
  color: #d32f2f;
}

.section-title_subheading {
  color: #333;
}

/* About Section */
#nosotros_container{
  position: relative;
  padding: 20px;
  overflow-y: hidden;
}
#nosotros {
    z-index: 0;
    background: url(./images/Back_Sourcing_Solutions.png), linear-gradient(180deg, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 1) 99%);
    background-size: 165%;
    background-color: rgb(255 255 255 / 0%);
    background-blend-mode: color;
    background-repeat: no-repeat;
    padding: 60px 2em 0em 2em;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 70vw;
}
#nosotros_container .container{
  position: relative;
  padding: 60px 2em 0em 2em;
  z-index: 2;
}
.about-list {
  list-style-image: url("./images/Isotipo_list.png");
}

.about-list ul {
  list-style: disc;
  padding-left: 2em;
}

.about-list ul > li {
  margin: 0px;
  font-weight: bold;
}

.about-list li {
  padding-left: 5px;
  margin-bottom: 15px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.about-text p {
  margin-bottom: 20px;
}

.about-features {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
}

.about-features h4 {
  margin-bottom: 15px;
  color: #d32f2f;
}

.about-features ul {
  list-style: none;
  padding-left: 20px;
}

.about-features li {
  margin-bottom: 10px;
  position: relative;
}

.about-features li:before {
  content: "✓";
  color: #d32f2f;
  position: absolute;
  left: -20px;
}

/* Purpose & Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: rgb(237, 237, 237);
  text-align: center;
  transition: transform 0.3s;
  display: flex;
}

.value-card_img {
  max-width: 50%;
  object-fit: cover;
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-card h3 {
  color: #d32f2f;
  margin-bottom: 15px;
}

/* Services Section */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-item {
  padding: 25px;
  transition: background 0.3s;
}

.service-item:hover {
  background: #f0f0f0;
}

.service-item h4 {
  color: #d32f2f;
  margin-bottom: 10px;
}

/* Achievements */
.achievements {
  background: url(./images/Back_Achievements.png);
  background-position: 66% 3%;
  background-size: cover;
  color: white;
  background-repeat: no-repeat;
}

.achievements .section-title {
  color: white;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.achievement-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border-top-left-radius: 55px;
  background: linear-gradient(
    179deg,
    rgba(233, 110, 118, 0.61) 30%,
    rgba(233, 110, 118, 0) 70%
  );
  position: relative;
}

.achievement-item::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  background-color: #fff;
  border-bottom-right-radius: 9px;
  position: absolute;
  top: -7px;
  left: 50%;
  box-shadow: 0px 0px 10px 2px #fff;
}

.achievement-item h3 {
  font-size: 36px;
  margin-bottom: 10px;
}

/* Team Section */
.team-member {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
}

.member-info h3 {
  font-size: 28px;
  color: #d32f2f;
  margin-bottom: 10px;
}

.member-info h4 {
  color: #666;
  margin-bottom: 20px;
}

.member-details {
  margin-top: 20px;
}

.member-details h5 {
  color: #d32f2f;
  margin-bottom: 10px;
}

/* Contact Section */
.contact {
  background: url(./images/sean-d-7qRWFi_V1es-unsplash.jpg),
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 1) 10%,
      rgba(255, 251, 212, 0.23) 100%
    );
  background-color: rgb(197 197 197 / 0%);
  background-blend-mode: color;
  background-repeat: no-repeat;
  background-size: 100% 50%;
  color: #000;
  text-align: left;
  padding: 2em 2em;
}

.contact p {
  font-size: 12px;
}

.contact .section-title {
  text-align: left;
}

.contact a {
  color: #000;
}

.contact .section-title {
  color: #ce000c;
}

.section-title-contact {
  color: #222;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-item h4 {
  color: #d32f2f;
  margin-bottom: 0px;
  margin-right: 4px;
  font-size: 14px;
}

.contact-item a {
  color: #000;
  text-decoration: none;
}

.contact-item a:hover {
  color: #d32f2f;
}

.contact-item img {
  margin-left: 10px;
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 20px 0;
}

.header.header-noscroll {
  background-color: transparent;
}

.header.header-noscroll .hamburger span {
  background-color: #fff;
}

.header-scroll {
  background-color: #fff;
}

.hamburger {
  display: flex;
}

#logo-scroll {
  display: none;
}

nav ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  flex-direction: column;
  align-items: end;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  gap: 15px;
}

nav ul.active {
  display: flex;
}

nav li {
  width: 55%;
}

nav a {
  display: block;
  padding: 10px;
}

.hero {
  display: flex;
  background-position: 35% center;
  height: 90vh;
  padding: 0;
  border-bottom-right-radius: 150px;
}

.hero p {
  font-size: 16px;
}

.hero_heading {
  display: flex;
  position: relative;
}

.hero_heading img {
  width: 70%;
  position: absolute;
  right: -11px;
  top: 15px;
}

.hero_container {
  display: flex;
  flex-direction: column;
  padding: 120px 3em 1em 3em;
  row-gap: 170px;
}

.hero .hero_title {
  /* width: 76%; */
  letter-spacing: 0.4px;
  margin: 0;
  font-size: 20px;
  line-height: 24px;
  text-align: start;
}

.hero_paragraph {
  text-align: left;
  font-weight: 600;
  line-height: 22px;
}

.hero_description {
  text-align: left;
  line-height: 19px;
}

.hero .hero_title_firstP {
  display: block;
  width: 85%;
}

.hero .hero_title_secondP {
  display: block;
  width: 100%;
}

.hero h1 {
  font-size: 32px;
}

.about-content {
  grid-template-columns: 1fr;
}

.team-member {
  grid-template-columns: 1fr;
  text-align: center;
}

.value-card {
  border-bottom-right-radius: 22%;
}

.value-card_description {
  padding: 3em 2em;
  font-size: 10px;
  text-align: left;
  font-weight: 500;
  line-height: 12px;
}

.value-card_description p {
  margin-top: 10px;
}

.value-card_description h3 {
  font-size: 16px;
}

.value-card_title {
  display: flex;
  align-items: center;
  column-gap: 20px;
  margin-bottom: 25px;
}

.value-card_title img {
  max-width: 30px;
}

.value-card-value > img {
  max-width: 30px;
}

.guiding-img img {
  max-width: 100%;
  object-fit: cover;
}

.member-details-title {
  display: flex;
  font-weight: bold;
  font-size: 20px;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 1em;
  text-align: left;
}

.member-details-title h3 {
  color: #222;
  font-size: 16px;
  margin-bottom: 0px;
  margin-left: 1em;
}

.member-details-title img {
  width: 30px;
}

.member-details-description {
  text-align: left;
  font-size: 12px;
  padding-left: 4em;
}

.member-details-description p {
  margin-bottom: 10px;
}

.team-member-grid {
  display: grid;
  grid-template-areas:
    "a b"
    "c b";
  text-align: left;
  column-gap: 1em;
  font-size: 12px;
  font-weight: 500;
  column-gap: 1em;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3em;
}

.team-member-grid p {
  padding-left: 2.5em;
}
.team-member-languages {
  grid-area: a;
}

.team-member-education {
  grid-area: b;
}

.team-member-grid p {
  margin-top: 1em;
}

.team-member-location {
  grid-area: c;
}

.languages-title {
  display: flex;
  align-items: center;
}

.languages-title h3 {
  color: #333;
  margin-bottom: 0px;
  font-size: 18px;
  margin-left: 10px;
}

#services img {
  display: block;
  object-fit: cover;
  max-width: 100%;
  border-top-right-radius: 180px;
}

#services .about-list {
  padding-left: 2em;
}

.process img {
  max-width: 100%;
}

.process .section-title {
  font-size: 20px;
  font-weight: 400;
  color: #222;
  text-align: left;
  padding-left: 1em;
}

.purpose p {
  padding: 0em 2em;
  text-align: center;
}
.value-card_description p {
  padding: 0em 1em;
  text-align: left;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1em 2em;
  font-size: 10px;
}

footer img {
  max-width: 40px;
}

footer p {
  flex-basis: 80%;
}

.member-photo img {
  max-width: 100%;
}
.member-photo {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

.member-photo-title {
  width: auto;
  position: absolute;
  top: 12%;
  font-size: 13px;
}
.member-photo-title h3 {
  text-align: right;
}
.member-photo-title p {
  text-align: left;
  display: flex;
  align-items: center;
}
.member-photo-title p:before {
  content: "";
  width: 2px;
  height: 14px;
  background-color: #ce000c;
  display: inline-block;
  margin-right: 6px;
}
@media (min-width: 768px) {
  #nosotros {
    background: url(./images/Back_Sourcing_Solutions.png);
    background-size: 165%;
    background-color: rgba(255, 255, 255, 0.4);
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    padding: 60px 2em 0em 2em;
  }
  .hero_container {
    display: flex;
    flex-direction: column;
    padding: 120px 3em 1em 3em;
    align-items: center;
    justify-content: space-around;
  }
  .hero .hero_title {
    width: 65%;
    font-size: 30px;
    line-height: 36px;
  }
  .hero .hero_title_firstP {
    display: inline;
  }
  .hero .hero_title_secondP {
    display: inline;
  }

  .hero_heading img {
    top: -47px;
    width: 60%;
  }

  .hero p {
    font-size: 20px;
  }

  .logo-svg {
    height: 70px;
  }

  #nosotros {
    padding: 60px 2em 3em 2em;
  }

  .section-title {
    font-size: 36px;
  }

  .about-content {
    font-size: 18px;
  }

  .purpose p {
    font-size: 16px;
  }

  .value-card p {
    font-size: 12px;
    padding: 0;
    padding-bottom: 10px;
  }

  .member-details-description {
    font-size: 16px;
  }

  .member-details-title h3 {
    font-size: 20px;
    margin-left: 1em;
  }

  .member-details-title img {
    width: 45px;
  }

  .team-member-grid {
    font-size: 16px;
  }
  .team-member-grid p {
    padding-left: 2em;
  }
  .team-member-grid img {
    width: 25px;
  }
  .languages-title h3 {
    font-size: 21px;
  }
  .services-list {
    font-size: 18px;
    padding: 0em 1em;
  }

  .process .section-title {
    font-size: 24px;
  }

  .contact p {
    font-size: 16px;
  }

  .contact {
    font-size: 18px;
  }

  .contact-item svg {
    width: 30px;
    height: 30px;
  }

  .contact-item h4 {
    font-size: 16px;
  }

  footer p {
    font-size: 14px;
  }

  footer {
    padding: 2em;
  }

  footer img {
    max-width: 50px;
  }
}

@media (min-width: 1024px) {
  .hero .hero_title {
    width: 75%;
    font-size: 32px;
    line-height: 38px;
  }
  .hero_heading img {
    top: -47px;
    width: 41%;
    right: 25px;
  }
  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  .value-card {
    border-bottom-right-radius: 95px 75px;
  }
  .value-card_description {
    padding: 4em 2em;
  }
  .achievements-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    font-size: 18px;
  }

  .purpose p {
    font-size: 18px;
  }

  .value-card_description p {
    font-size: 16px;
    line-height: 18px;
  }

  .value-card_description h3 {
    margin-bottom: 0px;
  }

  .value-card_title img {
    max-width: 38px;
  }

  .value-card_description h3 {
    font-size: 18px;
  }

  .contact {
    background-size: cover;
    padding: 2em 4em;
  }

  .hero_container {
    width: 100%;
  }

  .member-photo-title {
    width: auto;
    position: absolute;
    top: 20%;
    font-size: 18px;
    right: 45%;
  }
}

@media (min-width: 1281px) {
  .hero {
    border-bottom-right-radius: 0px;
    height: 100vh;
  }

  .hamburger {
    display: none;
  }

  nav {
    flex-direction: row;
  }

  .header.header-noscroll {
    background-color: #fff;
    padding-top: 0;
    padding-bottom: 0;
  }

  nav ul {
    display: flex;
    flex-direction: row;
    width: 85%;
    position: relative;
    box-shadow: none;
    align-items: center;
    text-align: center;
    justify-content: flex-end;
  }

  .hero_container {
    align-items: flex-start;
    align-content: space-around;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 85px;
  }

  .hero .hero_title {
    font-size: 42px;
    line-height: 48px;
  }

  .hero_heading {
    width: 80%;
  }

  .hero_heading img {
    top: -74px;
    width: 45%;
    right: -90px;
  }

  .hero p {
    font-size: 23px;
    line-height: 28px;
  }

  #logo-scroll {
    display: block;
  }

  #logo-principal {
    display: none;
  }

  nav li {
    width: initial;
  }

  .about-text {
    width: 64%;
  }

  .about-content {
    justify-items: end;
  }

  .about-content .about-list {
    justify-self: end;
    width: 80%;
  }

  .about-text p {
    font-size: 21px;
  }

  .about-list {
    margin-top: 2em;
  }

  .about-list li {
    font-size: 18px;
  }

  .purpose {
    padding: 0em 3em;
  }

  .purpose .section-title {
    margin-top: 20px;
  }

  .purpose p {
    width: 80%;
    margin: 0 auto;
  }

  .purpose .value-card {
    flex-direction: column;
  }

  .value-card_img {
    max-width: 100%;
    height: 220px;
    max-height: 50%;
  }

  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .value-card_description {
    height: max-content;
    padding: 4em 3em;
  }

  .value-card_title img {
    max-width: 100%;
    height: 40px;
  }

  .value-card_description h3 {
    font-size: 20px;
  }

  .purpose .value-card_description p {
    width: 100%;
    text-align: left;
    font-size: 16px;
  }

  .guiding-img img {
    max-width: 100%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
  }

  .team-member {
    position: relative;
    grid-template-columns: 0.7fr 1fr;
  }

  .member-photo {
    position: relative;
    height: 100%;
  }

  .member-photo img {
    width: 100%;
    position: absolute;
    top: -32%;
    right: -20%;
  }

  .team .section-title {
    text-align: right;
    padding-right: 2em;
  }

  .member-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 2em;
  }

  .team-member {
    gap: 20px;
  }

  .team-member-grid {
    grid-template-columns: 1fr;
    grid-template-areas: initial;
    grid-template-rows: repeat(3, auto);
    row-gap: 1em;
  }

  .team-member-languages {
    grid-area: initial;
  }

  .team-member-education {
    grid-area: initial;
  }

  .team-member-location {
    grid-area: initial;
  }

  .team-member-grid p {
    margin-top: 0em;
  }

  .team-member-grid img {
    width: 42px;
  }

  .team-member-grid p {
    padding-left: 4em;
  }

  .languages-title h3 {
    margin-left: 20px;
  }

  .achievements-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .achievements {
    padding: 100px 0px;
  }

  .team {
    padding-bottom: 0px;
  }
  .section-title-desktop {
    display: block !important;
    text-align: left;
    padding-left: 1em;
  }

  #services .section-title {
    display: none;
  }

  .services-container {
    display: flex;
  }

  .services-container img {
    width: 50%;
  }

  #services .services-list {
    display: block;
  }

  .process .section-title {
    font-size: 32px;
  }

  .how_itworks_mobile {
    display: none;
  }

  .how_it_works_desktop {
    display: block;
  }

  .contact h3 {
    font-size: 24px;
  }

  .contact p {
    font-size: 21px;
  }

  .contact-item h4 {
    font-size: 22px;
  }
  footer {
    justify-content: space-evenly;
  }
  footer p {
    flex-basis: 45%;
  }

  .section-paragraph-contact {
    width: 50%;
  }

  .member-photo-title {
    width: auto;
    position: absolute;
    top: 73%;
    font-size: 18px;
    right: 17%;
  }

  nav li:hover > a {
    font-weight: 600;
  }

  nav a.active {
    font-weight: 600;
    color: #d32f2f;
  }

  .logo a {
    padding-top: 0;
  }

  .member-info {
    padding-right: 6em;
  }
}

@media (min-width: 1180px) and (max-width: 1400px) {
  .member-photo-title {
    top: 50%;
  }
}

@media (min-width: 1600px) {
  .member-photo img {
    top: -40%;
  }
}

@media (min-width: 1920px) {
  .member-photo img {
    width: 75%;
    top: -42%;
  }

  .logo-svg {
    height: 100px;
  }
}
