* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --primary-blue: #3673bc;
  --dark-blue: #2a3a72;
  --text-white: #ffffff;
  --bg-light-blue: #d1f5ff;
}

html,
body {
  width: 100%;
  padding: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-blue);
  padding: 1rem 3rem;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 50px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  color: var(--text-white);
  font-size: 1rem;
  transition: 0.3s;
}

.nav-links a:hover {
  text-decoration: underline;
}

.contact-btn a {
  background-color: white;
  color: var(--primary-blue);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  transition: 0.3s;
}

.contact-btn a:hover {
  background-color: #f0f0f0;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: var(--primary-blue);
  padding: 5rem 5%;
}

.hero-text {
  width: 45%;
  color: white;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin: 1rem 0;
  line-height: 1.2;
  font-weight: 700;
}

.title-img {
  width: 80%;
  max-width: 400px;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.twist-section {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: black;
  padding: 2rem 5%;
  min-height: 80vh;
  color: white;
}

.twist-text {
  width: 45%;
}

.twist-image img {
  width: 100%;
  max-width: 450px;
}

.logo-img {
  width: 60%;
}

.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5%;
  gap: 3rem;
  background-color: white;
}

.about-img img {
  width: 100%;
  max-width: 500px;
}

.about-content {
  width: 45%;
}

.big-text {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
  font-weight: 600;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: var(--bg-light-blue);
  padding: 4rem 5%;
  gap: 2rem;
}

.card {
  background: transparent;
  width: 300px;
  flex: 1 1 300px;
  max-width: 350px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}

.desc {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  width: 90%;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: white;
  color: var(--primary-blue);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  margin-top: 10px;
  transition: transform 0.2s;
}

.arrow {
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.8rem;
}

.arrow-dark {
  background: black;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.8rem;
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--dark-blue);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
}

.btn-blue-pill {
  background-color: var(--dark-blue);
  color: white;
  padding: 10px 25px;
  font-size: 0.9rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-blue-pill:hover {
  background-color: #1c2a5e;
  transform: scale(1.05);
}

footer {
  background-color: var(--primary-blue);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.notice-link {
  color: white;
  text-decoration: underline;
  display: block;
  margin: 1rem 0;
}

.divider {
  border: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  width: 100%;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    height: auto;
    justify-content: space-between;
  }

  .nav-links {
    width: 100%;
    text-align: center;
    justify-content: space-evenly;
  }
  #joinus,
  #become,
  #partner,
  #exports {
    display: none;
  }

  .logo img {
    height: 40px;
  }

  .hero-section,
  .twist-section,
  .about-section {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1rem;
    height: auto;
  }

  .hero-text,
  .twist-text,
  .about-content {
    width: 100%;
    margin-bottom: 2rem;
  }

  .hero-section {
    flex-direction: column-reverse;
  }
  .twist-section {
    flex-direction: column-reverse;
  }
  .about-section {
    flex-direction: column;
  }

  .card {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .logo a img {
    width: 80px;
    height: 25px;
  }
  .contact-btn {
    display: none;
  }
  .navbar {
    padding: 0.5rem;
    gap: 1.5rem;
  }
  .nav-links li a {
    font-size: 0.8rem;
  }
  #about {
    display: none;
  }
  .big-text {
    font-size: 0.8rem;
  }
  .hero-text h1,
  .twist-text h1 {
    font-size: 1.8rem;
  }
  .about-section {
    padding: 2rem;
  }
  .about-section img {
    width: 320px;
  }
  .about-content {
    margin-top: -2rem;
  }
  .hero-section {
    justify-content: flex-end;
    height: auto;
  }
  .hero-image img {
    width: 80%;
  }
  .title-img {
    width: 70%;
  }
  footer {
    font-size: 0.8rem;
  }
  footer h1 {
    font-size: 1.5rem;
  }
}
