* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
}

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 700;
  color: #0a2a43;
}

p {
  color: #333;
  margin-bottom: 0.75rem;
}

ul,
ol {
  padding-left: 1rem;
}

.section {
  padding: 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section h1 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.section h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 1rem;
  background: #2193da;
  color: white;
}

.intro h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #e5b201;
}

.intro p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 1.5rem;
  color: #e6f2ff;
}

.intro-buttons {
  margin: 1.5rem 0;
}

.intro-buttons a {
  display: inline-block;
  background: #ffcb05;
  padding: 0.85rem 1.5rem;
  margin: 0.5rem;
  border-radius: 6px;
  color: #003c71;
  font-weight: 600;
  text-decoration: none;
}

.intro-buttons a:hover {
  background: #ffe17a;
}

.yellow {
  background: #fcf6e4;
}

.blue {
  background: #e6f3fa;
}

.img-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.img-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 6px;
  box-shadow: 0 0 20px #000;
}

.img-modal.show {
  display: flex;
}

.clickable {
  cursor: pointer;
}

.grid-1 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}
.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}
.grid-3 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.grid-4 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.card {
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.social {
  text-align: center;
}

blockquote {
  font-style: italic;
  margin: 2rem auto;
  max-width: 700px;
  color: #444;
  border-left: 4px solid #0070cc;
  padding-left: 1rem;
}

.subnote {
  margin-top: 1rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.credit {
  font-weight: 600;
  color: #003c71;
}

.analysis img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner {
  position: relative;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  padding: 2.5rem 1.5rem;
  background: #2193da;
  color: white;
  text-align: center;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #ffcb05;
  text-decoration: none;
  margin: 0 0.75rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: white;
  font-size: 32px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 6px;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel img {
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel img.fade-in {
  opacity: 1;
}

.carousel-dots {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  margin-top: 12px;
}

.carousel-dot {
  height: 12px;
  width: 12px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  margin: 0 6px;
}

.carousel-dot.active {
  background-color: #333;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.popup-image {
  max-width: 95%;
  max-height: 95%;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 600px) {
  .intro {
    text-align: left;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 4rem;
  }

  .intro-content {
    max-width: 50%;
  }

  .grid-1 {
    grid-template-columns: repeat(1, 1fr);
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1100px) {
  .intro h1 {
    font-size: 3.5rem;
  }
}
