body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(12px, 1.2vw, 16px);
  background: linear-gradient(to bottom, #e9f3fc 0%, #ffffff 100%);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 20px 0;
  margin-top: 10px;
}

.marquee-wrap {
  margin-top: 20px;
}

.responsive-image {
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, filter 0.3s ease;
  max-width: 100%;
   
  height: auto;
  display: block;
 margin-top:20px;
}

.responsive-image:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 10px;
  flex-direction: column; /* default — stacked layout */
}

.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  overflow-y: auto;
}

.card-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.card ul {
  padding-left: 20px;
  margin: 0;
}

.card li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.card a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

.card a:hover {
  text-decoration: underline;
}

/* Scrollbar Styling */
.card::-webkit-scrollbar {
  width: 8px;
}
.card::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}
.card::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 5px;
}
.card::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* From 750px and up — side by side layout */
@media (min-width: 750px) {
  .content {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .responsive-image {
    max-width: 400px;
    height: 400px;
  }

  .card {
    max-width: 400px;
    width: 400px;
    height: 400px;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  .responsive-image {
    max-width: 300px;
  }

  .card {
    max-width: 80%;
  }
}

/* Small tablets and phones below 749px */
@media (max-width: 749px) {
  .content {
    flex-direction: column;
    align-items: center;
  }

  .responsive-image {
    width: 68%;
    height: auto;
  }

  .card {
    width: 80%;
  }
}
