* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #0c0c0c;
  color: white;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: white;
}

img {
  max-width: 100%;
  height: auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background-color: #000;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 40px;
}

.logo img {
  width: 150px;
  margin-right: 10px;
}

.logo span {
  color: orange;
  font-weight: bold;
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0px !important;
}

.nav-links li a {
  font-size: 16px;
  color: #fff;
}

.hero {
  background-image: url('../assets/backhero.png');
  background-size: cover;
  background-position: center;
  padding: 200px 0;
  /* or adjust height */
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

.safety-section {
  padding: 3rem 2rem;
  color: white;
  text-align: center;
}

.safety-section h2 {
  color: #FFA500;
  font-size: 34px;
  margin-bottom: 15px;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 350px;
  max-width: 1000px;
  margin: 0 auto;
}

.safety-card {
  padding: 1.5rem;
  border-radius: 12px;
  text-align: left;
}

.safety-card img {
  width: 120px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.safety-card h3 {
  color: #ff6600;
  font-size: 26px;
  margin-bottom: 0.5rem;
  text-align: center !important;
}

.safety-card p {
  color: #fff;
  font-size: 15px;
  text-align: left;

}


.policy-section {
  color: white;
  padding: 3rem 2rem;
  padding-top: 0px !important;
}

.policy-container {
  max-width: 1000px;
  margin: auto;
}

.policy-container h3 {
  color: orange;
  /* margin-top: 2rem; */
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.policy-container p,
.policy-container ul {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.policy-container ul {
  padding-left: 1.2rem;
}

.policy-container ul li {
  margin-bottom: 0.5rem;
}

.highlight-card {

  background-image: url('./assets/cardbackground.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem;
  margin: 2rem 0;
  gap: 2rem;
  flex-wrap: wrap;
  margin-left: -45px;
}

.highlight-text {
  flex: 1 1 50%;
}

.highlight-text h4 {
  color: orange;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.highlight-text button {
  background-color: orange;
  color: black;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
}

.highlight-image {
  flex: 1 1 40%;
  text-align: center;
}

.highlight-image img {
  width: 100%;
  max-width: 200px;
}

.consult-btn {
  position: absolute;
  top: -15px;
  right: 30px;
  padding: 0.7rem 1.5rem;
  background-color: #ff5f00;
  color: white;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
}

.payment-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2b2b2b;
  border-radius: 20px;
  padding: 2rem;
  margin: 40px 0px;
  color: white;
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}

.payment-section::before {
  content: "";
  position: absolute;
  right: 90px;
  width: 300px;
  height: 300px;
  background-color: orange;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
  border-radius: 50% 50% 50% 50%;
  z-index: 0;
}

.content {
  flex: 1;
  z-index: 1;
  max-width: 500px;
}

.content h2 {
  color: #fca311;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.learn-btn {
  background-color: #f75e2e;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
}

.image-container {
  flex: 1;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
}


@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .logo {
    display: flex;
    align-items: center;
    margin-left: 0px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text,
  .hero-image {
    flex: 1 1 100%;
    padding: 0;
  }

  .hero-text h1 {
    font-size: 50px;
    color: #FFA500;
    margin-bottom: 5px;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
  }

  .nav-links li {
    margin-bottom: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text,
  .hero-image {
    flex: 1 1 100%;
    padding: 0;
    text-align: left;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }

  .safety-card {
    padding: 1.2rem;
  }

  .safety-section h2 {
    font-size: 1.5rem;
  }

  .highlight-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .highlight-text,
  .highlight-image {
    flex: 1 1 100%;
  }

  .highlight-text h4 {
    font-size: 1rem;
  }

  .policy-container h3 {
    font-size: 1.05rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: left;
    text-align: left;
  }

  .consult-btn {
    position: static;
    margin: 2rem auto 0;
  }

  .footer-img {
    margin: 1rem auto;
  }

  .footer-contact p {
    text-align: left;
  }

  .payment-section {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    margin: 0;
  }

  .payment-section::before {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 50% 50% 0 0;
  }

  .content h2 {
    font-size: 1.2rem;
  }

  .learn-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .image-container {
    margin-top: 1.5rem;
  }
}

/* Generic fade-in elements */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.1s ease, transform 0.1s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.typing-container {
  width: 16ch;
  /* length of "Contact Us" */
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #fded0d;
  font-family: monospace;
  animation: typing 2s steps(16) infinite alternate,
    blink 0.5s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 16ch;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  /* starts from right */
  transition: opacity 0.1s ease, transform 0.8s ease;
}

.slide-in-right.show {
  opacity: 1;
  transform: translateX(0);
  /* ends in original position */
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.1s ease, transform 0.8s ease;
}

.slide-in-left.show {
  opacity: 1;
  transform: translateX(0);
}