/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Style for the body */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  scroll-behavior: smooth; /* Enable smooth scrolling */
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px); /* Glass effect */
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  z-index: 1000; /* Ensure it appears above other content */
}

#company-short-name {
  height: 56px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

#company-short-name a {
  color: #FFFFFF;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.company-logo {
  width: 24px; /* Adjust the size as needed */
  height: auto;
  margin-right: 10px; /* Space between logo and text */
}

nav {
  height: 56px;
  left: 0;
  top: 10px;
  width: 100%;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  position: absolute;
}

nav ul {
  align-items: center;
  height: 56px;
  justify-content: center;
  background-color: #ffffff1a;
  border-radius: 8px;
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 16px 24px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

nav ul li a:hover {
  color: #00ADB5;
}

/* Main content styles */
#hero {
  min-height: 100vh;
  flex: 1;
  position: relative;
  width: 100%;
  background: url("../images/background.webp") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 100px 20px; /* Adjust padding to ensure content is visible */
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  text-align: center;
}

.hero-content p {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 10px 0;
}

/* Section styles */
section {
  min-height: 100vh;
  padding: 60px 20px;
  text-align: center;
  display: flex;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #000000;
  text-align: left;
}

section p {
  font-size: 1rem;
  font-weight: 600;
  line-height: 32px;
  color: #000000;
  text-align: left;
}

/* Team section styles */
#about {
  flex: 1;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  color: #EEEEEE;
  padding: 100px 20px;
  margin: auto;
}

.team-container {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-container img {
  max-width: 100%;
  height: auto;
}

.team-summary {
  width: 50%;
  margin: auto;
  padding: 20px;
  z-index: 2;

}

.team-summary h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-align: left;
}

.team-summary p {
  font-size: 1rem;
  color: #393E46;
  text-align: left;
}

#join {
  flex: 1;
  position: relative;
  width: 100%;
  background: url("../images/join-our-team.webp") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
}

#join h2 {
  color: #FFFFFF;
}

#join p {
  color:#FFFFFF
}

.hiring {
  padding: 20px;
  z-index: 2;
  text-align: left;
}

.resume-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  background-color: #FFFFFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}

.resume-button:hover {
  color: #FFFFFF;
  background-color: #393E46;
}

/* Footer styles */
footer {
  background: #333;
  color: #fff;
  width: 100%;
  padding: 10px 0;
  flex-shrink: 0; /* Ensures footer stays at the bottom */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a,
.footer-links span {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.footer-links a:hover,
.footer-links span:hover {
  text-decoration: underline;
}

.qr-code-icon {
  position: relative;
  display: inline-block;
  margin-left: 10px;
}

.qr-code-icon img {
  width: 24px;
  height: 24px;
  cursor: pointer;
  vertical-align: middle;
}

.qr-code-hover {
  display: none;
  position: absolute;
  top: -250px;
  left: 100px;
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 1000;
  width: 220px;
}

.qr-code-hover p {
  margin: 0;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: #333;
}

.qr-code-hover img {
  width: 200px;
  height: 200px;
}

.qr-code-icon:hover .qr-code-hover,
.qr-code-icon:active .qr-code-hover {
  display: block;
}

.beian-img {
  width: 24px;
  height: 24px;
  vertical-align: top;
}

/* Responsive styles */
@media (max-width: 768px) {
  #company-short-name {
    font-size: 1rem;
  }

  nav ul {
    gap: 8px;
    padding: 16px 8px;
  }

  .hero-content p {
    font-size: 1.2rem;
  }
  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  #about {
    flex-direction: column;
  }
  
  .team-container {
    width: 100%;
  }

  .team-summary {
    width: 100%;
    text-align: center;
  }

  .resume-button {
    padding: 8px 16px;
  }

  .qr-code-hover {
    left: 0px;
  }

}
