/* Base resets */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  line-height: 1.6;
}

/* Section wrapper */
.section {
  width: 100%;
  background-color: #ffffff;
}

/* Horizontal separator */
.separator {
  border-top: 1px solid #e0e0e0;
}

/* Layout container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Two-column layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

/* Heading column */
.column-heading h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
}

/* Content column */
.column-content p {
  margin: 0 0 1rem;
}

.column-content ul {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.column-content li {
  margin-bottom: 0.5rem;
}

/* Links */
.column-content a {
  color: #005eb8;
  text-decoration: underline;
}

.column-content a:hover {
  text-decoration: none;
}

/* Responsive behaviour */
@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Basic CSS for a scrollable carousel */
.carousel-container {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}

.carousel-item {
  scroll-snap-align: center;
  flex: 0 0 100%; /* Show one item at a time */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 40px;
  font-family: Georgia, serif;
  background: #ffffff;
}

/* Card container */
.card {
  width: 300px;
  height: 220px;
  border-radius: 16px;
  background: url("assets/images/dolphin2.png") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* Overlay for buttons */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 240, 220, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Buttons */
.btn {
  background: #1d2b52;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 26px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.5s ease;
}

/* Main button */
.legal {
  font-size: 26px;
}

/* Sub buttons */
.sub-buttons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.small {
  font-size: 16px;
  padding: 6px 18px;
}

/* Hover interactions */
.card:hover .legal {
  transform: translateY(-30px) scale(0.9);
}

.card:hover .sub-buttons {
  opacity: 1;
  transform: translateY(0);
}
