/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
}

.section-bg {
  background-color: #000;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.card {
  background-color: #1C1C28;
  color: #fff;
  display: flex;
  flex-direction: row;
  max-width: 900px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Text Section */
.text-content {
  padding: 40px;
  flex: 1;
}

.text-content h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.text-content .highlight {
  color: #a78bfa;
}

.text-content .description {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 30px;
}

.stats {
  display: flex;
  justify-content: space-between;
}

.stats div h3 {
  font-size: 20px;
  color: #fff;
}

.stats div p {
  font-size: 12px;
  color: #aaa;
  margin-top: 5px;
}

/* Image Section */
.image-content {
  flex: 1;
}

.image-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) hue-rotate(270deg);
}


/* footer */

.attribution { 
    font-size: 11px; text-align: center; 
}
.attribution a { 
        color: #0766f5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .card {
    flex-direction: column-reverse;
  }

  .text-content {
    padding: 30px;
  }

  /* .text-content h2 {
    font-size: 20px;
  } */

  .stats {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }

  .image-content {
    height: 200px;
  }

    .image-content img {
        height: 100%;
}
}