html {
  font-size: 62.5%;
}

html,
body {
  font-family: Arial, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

img {
  display: block;
  max-width: 100%;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
}

.logo {
  font-size: 22px;

  @media (max-width: 768px) {
    font-size: 16px;
  }
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  z-index: 10;

  @media (max-width: 768px) {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 40px;
    left: 0;
    background-color: white;
    padding: 10px 0px;
    text-align: center;
    border-top: 1px solid #ccc;
    transition: transform 0.3s ease-in-out;
    gap: 5px;
  }
}

.nav-menu a {
  text-decoration: none;
  color: black;
  font-size: 16px;
  transition: color 0.3s;

  @media (max-width: 768px) {
    font-size: 12px;
  }
}

.nav-menu a:hover {
  color: #7a7676;
}

.logo__image {
  width: 10rem;
  height: 5rem;

  @media (max-width: 768px) {
    width: 7rem;
    height: 3.5rem;
  }
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;

  @media (max-width: 768px) {
    display: block;
  }
}

.hero-img-container {
  position: relative;
}

.hero-img-container img {
  display: block;
  width: 100%;
  object-fit: fill;
  max-height: 650px;
}

.text-overlay {
  position: absolute;
  top: 25%;
  left: 40%;
  transform: translate(-50% -50%);
  color: white;
  font-size: 24px;
  background-color: rgba(0, 0, 0, 0.5); /* optional for contrast */
  padding: 10px;
  border-radius: 5px;

  @media (max-width: 768px) {
    font-size: 12px;
    left: 24%;
    top: 20%;
  }
}

/* .slider {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.slider__slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider--slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slider--slide img {
  width: 100%;
  min-height: 650px;
  display: block;
  filter: brightness(90%);

  @media (max-width: 768px) {
    min-height: 340px;
  }
}

.dots {
  text-align: center;
  position: absolute;
  margin-bottom: 50px;
  bottom: 10px;
  width: 100%;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: rgba(193, 186, 186, 0.8);
  border: 1px solid rgba(193, 186, 186, 0.8);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;

  @media (max-width: 768px) {
    height: 12.5px;
    width: 12.5px;
    margin: 0 1px;
  }
}

.active,
.dot:hover {
  background-color: rgba(229, 223, 223, 0.8);
} */

/* .hero-img {
  width: 100%;
  min-height: 700px;
} */

.card-main-container {
  padding-left: 20px;
  padding-right: 20px;

  @media (max-width: 768px) {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  grid-gap: 2rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;

  @media (max-width: 768px) {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 2rem;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
  }
}

.card {
  -webkit-transition: all 100ms ease-in-out;
  transition: all 100ms ease-in-out;
  border-radius: 10px;
  -webkit-box-shadow: 0 1px 7px rgba(0, 0, 0, 0.05);
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.6);
  transition: all 0.9s ease-in-out;
}

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

  @media (max-width: 768px) {
    transform: none;
  }
}

.card > img {
  min-height: 350px;
  width: 100%;
  border-radius: 10px;

  @media (max-width: 768px) {
    min-height: 250px;
  }
}

.card > h2 {
  margin: 15px;
  font-size: 1.8rem;
}

.card > p {
  margin: 15px;
  font-size: 1.4rem;
}

.card_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  grid-gap: 2rem;
  padding: 2rem 0;

  @media (max-width: 768px) {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 2rem;
  }
}

.card_data {
  display: flex;
  background: #8fb4da;
  padding: 2rem;
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.6);
  transition: all 0.9s ease-in-out;
  border-radius: 10px;
}

.card_data:hover {
  transform: translateY(-10px);

  @media (max-width: 768px) {
    transform: none;
  }
}

.card_data img {
  border-radius: 05%;
  width: 50%;
  height: 100%;
}

.pro_content {
  padding-left: 1rem;
  margin: auto;
}

.pro_content h2 {
  font-size: 2.5rem;
  color: #e74c3c;

  @media (max-width: 768px) {
    font-size: 1.8rem;
  }
}

.position {
  margin-bottom: 1rem;
  position: relative;
  font-weight: bold;
}

.pro_content p {
  font-size: 1.6rem;

  @media (max-width: 768px) {
    font-size: 1.1rem;
  }
}

footer {
  padding: 40px;
  background-color: #212121;
  color: white;
  min-height: 60px;
  letter-spacing: 1px;

  @media (max-width: 768px) {
    padding: 10px;
    letter-spacing: normal;
  }
}

.footer-container {
  display: flex;
  justify-content: space-between;
}

.footer__label {
  font-size: 18px;

  @media (max-width: 768px) {
    font-size: 12px;
  }
}

.footer__ul {
  list-style: none;
  font-size: 16px;
  padding-left: 0px;
  line-height: 25px;

  @media (max-width: 768px) {
    font-size: 11px;
    line-height: 16px;
  }

  @media (min-width: 750px) and (max-width: 850px) {
    font-size: 11px;
    line-height: 16px;
  }
}

.footer__ul li:hover {
  color: #7a7676;
  cursor: pointer;
}

.footer__ul a {
  text-decoration: none;
  color: inherit;
}

.address li:hover {
  color: inherit;
  cursor: inherit;
}

.bottom-detail {
  display: flex;
  justify-content: space-between;

  @media (max-width: 768px) {
    flex-direction: column;
  }
}

.copyright {
  font-size: 1.3rem;
}

.social-media {
  display: flex;
  justify-content: flex-end;
  gap: 10px;

  @media (max-width: 768px) {
    justify-content: center;
  }
}

.linkedin-img {
  margin-top: -8px;
}

@media (max-width: 768px) {
  .nav-menu.open-menu {
    display: flex;
  }

  .footer-container > .footer:nth-child(1),
  .footer-container > .footer:nth-child(2) {
    width: 50%;
  }

  .footer-container > .footer:nth-child(3) {
    width: 100%;
  }
}
