* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background-color: #fff;
  color: #111;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.logo {
  height: 40px;
  width: auto;
}

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }

  .logo {
    height: 32px;
  }
}


/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
}

.hero-overlay h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-overlay p {
  font-size: 1.3rem;
  margin-top: 1rem;
  line-height: 1.5;
}

/* Info Icons */
.info-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: #001f5b;
  font-weight: 500;
  margin: 20px auto 30px;
  max-width: 900px;
}

/* Categories */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
  padding: 0 20px 50px;
}

.card {
  border-radius: 12px;
  padding: 25px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #111;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.card img {
  width: 70px;
  align-self: flex-end;
}

.card.blue {
  background-color: #dfe5ff;
  color: #1b1b7a;
}

.card.yellow {
  background-color: #ffd978;
  color: #1b1b7a;
}

.card.darkblue {
  background-color: #001f5b;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 340px;
  }

  .hero-overlay {
    top: 45%;
    left: 6%;
  }

  .hero-overlay h1 {
    font-size: 1.8rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .info-icons {
    gap: 0.8rem;
    font-size: 0.85rem;
    padding: 0 10px;
  }

  .categories {
    grid-template-columns: 1fr;
  }
}


/* pop up */
/* Popup overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 17, 17, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Popup box */
.popup-box {
  background-color: #001f5b;
  color: #fff;
  width: 90%;
  max-width: 340px;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Close button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Text */
.popup-box h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.popup-box p {
  font-size: 0.95rem;
  margin-bottom: 14px;
  line-height: 1.4;
}

.popup-note {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: -8px;
  margin-bottom: 18px;
}

/* Image */
.popup-image {
  width: 160px;
  margin: 10px 0;
}

/* Button */
.popup-button {
  background-color: #ffd44e;
  color: #001f5b;
  border: none;
  border-radius: 40px;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup-button:hover {
  background-color: #ffcf33;
}

/* Footer */
.popup-footer {
  font-weight: 700;
  margin-top: 18px;
  font-size: 1.1rem;
}
