/* COURSES LAYOUT WITH SIDEBAR */
.courses-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: flex-start;
}

.courses-sidebar {
  position: sticky;
  top: 100px; /* Offset for nav */
  padding-left: 2rem;
  border-left: 1px solid #eef2f6;
}

.sidebar-nav-sticky h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.sidebar-nav-sticky ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-nav-sticky ul li a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
  transition: color 0.2s;
  display: block;
  line-height: 1.4;
}

.sidebar-nav-sticky ul li a:hover {
  color: var(--ocean);
}

@media (max-width: 1200px) {
  .courses-layout {
    grid-template-columns: 1fr 240px;
    gap: 3rem;
  }
}

/* MOBILE NAVIGATION DOTS */
.mobile-nav-dots {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 500;
  pointer-events: none;
  display: none; /* Hidden by default */
}

.nav-dot {
  width: 12px;
  height: 12px;
  background: var(--foam);
  border: 1px solid var(--sky);
  border-radius: 50%;
  pointer-events: auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-dot.active {
  background: var(--ocean);
  border-color: var(--ocean);
  transform: scale(1.4);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

@media (max-width: 992px) {
  .courses-layout {
    grid-template-columns: 1fr;
  }
  .courses-sidebar {
    display: none; /* Hide sidebar on smaller screens */
  }
  .mobile-nav-dots {
    display: flex; /* Show dots on mobile */
  }
}

/* COURSE GRID (courses.html landing) */
.course-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.course-card-media {
  position: relative;
  aspect-ratio: 1.5 / 1;
  background-size: cover;
  background-position: center;
}

.course-card-media--placeholder {
  background: linear-gradient(135deg, #0a3d62 0%, #1daad8 100%);
}

/* English abbreviation overlapping the bottom-right of the image */
.course-card-abbr {
  position: absolute;
  right: 1rem;
  bottom: -1.2rem;
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
}

.course-card-body {
  padding: 1.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
}

.course-card-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0.5rem 0 0.75rem;
  line-height: 1.3;
}

.course-card-body p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

.course-card-btn {
  align-self: flex-start;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ocean);
}

/* Whole card is the link; emphasize the text on card hover */
.course-card:hover .course-card-btn {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .course-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* COURSE DETAIL PAGE */
#course-detail {
  padding-top: 120px;
}

.course-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ocean);
  text-decoration: none;
  transition: color 0.2s;
}

.course-back:hover {
  color: var(--navy);
}

.course-item--detail {
  padding-top: 0;
}

.course-image--placeholder {
  background: linear-gradient(135deg, #0a3d62 0%, #1daad8 100%);
}

.course-detail-empty {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 5px;
  border-left: 5px solid var(--sky);
}

/* COURSE DETAIL — HERO + ARTICLE */
.course-detail-hero {
  display: block;
  align-items: center;
  margin-bottom: 3rem;
}

.course-detail-hero .course-image {
  width: 100%;
  height: 360px;
  margin-bottom: 3rem;
}

.course-detail-hero .course-content h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}

.course-detail-hero .course-content p {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.course-article {
  max-width: 820px;
}

.course-block {
  padding: 2rem 0;
  border-top: 1px solid #eef2f6;
}

.course-block:first-child {
  border-top: none;
  padding-top: 0;
}

.course-block h2 {
  position: relative;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-left: 1rem;
}

.course-block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 5px;
  border-radius: 3px;
  background: var(--ocean);
}

.course-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.5rem 0 0.75rem;
}

.course-block p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.course-deflist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.course-deflist > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-left: 4px solid #e1f4ff;
}

.course-deflist dt {
  font-weight: 800;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.6;
}

.course-deflist dd {
  margin: 0;
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.7;
}

.course-ul,
.course-steps {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.course-ul {
  list-style: disc;
}

.course-steps {
  list-style: decimal;
}

.course-ul li,
.course-steps li {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
}

.course-block .course-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ocean);
  margin-bottom: 1rem;
}

.course-block .course-note {
  font-size: 0.9rem;
  font-style: italic;
}

.course-block h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy);
  margin: 1.25rem 0 0.6rem;
}

/* Fee category card (specialty courses with multiple pricing groups) */
.course-fee-group {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 10px;
}

.course-fee-group h3 {
  margin-top: 0;
}

.course-fee-group em {
  font-style: normal;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--gray);
}

.course-price-tiers {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.course-price-tiers li {
  font-size: 1.02rem;
  color: var(--gray);
}

.course-price-tiers strong {
  color: var(--ocean);
  font-size: 1.15rem;
}

@media (max-width: 820px) {
  .course-detail-hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .course-deflist > div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* COURSE ARTICLE LAYOUT (for Courses and Fun Dive) */
.course-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 3rem;
}

.course-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "image content"
    "details details";
  column-gap: 4rem;
  row-gap: 2rem;
  padding-top: 50px;
  scroll-margin-top: 100px; /* Ensures anchor jump doesn't hide title under nav */
}

.course-item:nth-child(even) {
  grid-template-areas:
    "content image"
    "details details";
}

.course-image {
  grid-area: image;
  position: relative;
  align-self: center;
  aspect-ratio: 1.5 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
}

.course-content {
  grid-area: content;
  align-self: center;
}

.course-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ocean);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.course-content h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.course-content p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.course-details {
  grid-area: details;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 5px;
  border-left: 5px solid var(--sky);
}

.course-detail-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.course-detail-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--ocean);
  margin-top: 0.2rem;
}

.course-detail-body {
  flex: 1;
}

.course-detail-label {
  display: block;
  font-weight: 800;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.course-detail-text {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.5;
}

.course-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 2.25rem;
  background: var(--ocean);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  background: linear-gradient(to right, #1daad8, #4dcfeb);
}

.course-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(29, 170, 216, 0.3);
}

@media (max-width: 1024px) {
  .course-item {
    column-gap: 2.5rem;
  }
  .course-content h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 820px) {
  .course-list {
    gap: 4rem;
  }
  .course-item,
  .course-item:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "content"
      "details";
    gap: 1.5rem;
  }
  .course-image {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .course-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  .course-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* COURSES */
#courses .course-list {
  /* specific course list adjustments if any */
}

/* RENTAL PRICE TABLE */
#features,
#about {
  background: var(--white);
}

.features-layout,
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .features-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }
}

.features-list,
.about-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #ecf7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  padding: 8px;
  color: #5d75ae;
  flex-shrink: 0;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.feature-item p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.features-visual,
.about-visual {
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  background-size: cover;
  background-position: center;
  background-image: url("../images/about.jpg");
}

/* TESTIMONIALS */
#testimonials {
  background: #f8fafc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.testimonial-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.reviewer-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}
.reviewer-info span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* TOURS */
.tours-group {
  margin-bottom: 3rem;
}

.tours-group-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* CALENDAR TIMELINE */
#calendar {
  background: #f8fafc;
}

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 127px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--ocean), var(--sky));
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 24px 1fr;
  gap: 0 1.25rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.timeline-date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0.2rem;
}

.timeline-month {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ocean);
}

.timeline-day {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.timeline-year {
  font-size: 0.7rem;
  color: var(--gray);
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ocean);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--ocean);
  margin-top: 0.35rem;
  justify-self: center;
  flex-shrink: 0;
}

.timeline-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.timeline-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.timeline-tag.domestic {
  background: rgba(0, 119, 182, 0.1);
  color: var(--ocean);
}

.timeline-tag.international {
  background: rgba(95, 198, 255, 0.15);
  color: #0369a1;
}

.timeline-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.timeline-card > p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.timeline-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .timeline::before {
    left: 97px;
  }
  .timeline-item {
    grid-template-columns: 60px 20px 1fr;
    gap: 0 0.75rem;
  }
  .timeline-day {
    font-size: 1.1rem;
  }
}

/* FUNDIVE INTRO */
.fundive-intro {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fundive-intro p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.8;
}

/* FEE INFO */
#fee {
  background: #f8fafc;
  scroll-margin-top: 80px;
}

.fee-content {
  max-width: 760px;
  margin: 0 auto;
}

.fee-blocks {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.fee-block-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.fee-block-desc {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.fee-addons {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fee-addons li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.fee-addon-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fee-addon-name {
  font-weight: 600;
  color: var(--navy);
}

.fee-addon-note {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.4;
}

.fee-addon-price {
  font-weight: 700;
  color: var(--ocean);
  white-space: nowrap;
}

.fee-addon-price small,
.price-cell small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray);
  margin-left: 0.3rem;
}

.fee-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(10, 31, 60, 0.08);
  overflow: hidden;
}

.fee-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, var(--ocean), var(--sky));
  color: var(--white);
}

.fee-plan {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fee-price {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.fee-price small {
  font-size: 0.95rem;
  font-weight: 500;
  margin-left: 0.35rem;
  opacity: 0.9;
}

.fee-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
}

.fee-list-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.fee-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.fee-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.fee-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--ocean);
  font-weight: 700;
}

@media (max-width: 640px) {
  .fee-lists {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .fee-price {
    font-size: 1.6rem;
  }
}

/* RENTAL PRICE TABLE */
#rental {
  background: var(--white);
  scroll-margin-top: 80px;
}

.rental-tables {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.rental-group-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table thead tr {
  background: var(--navy);
  color: var(--white);
}

.price-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.price-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  color: var(--text);
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.price-table tbody tr:hover {
  background: #f0f9ff;
}

.price-cell {
  font-weight: 700;
  color: var(--ocean);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .price-table {
    font-size: 0.8rem;
  }
  .price-table th,
  .price-table td {
    padding: 0.6rem 0.6rem;
  }
}

/* TEAM */
#team {
  background: #f8fafc;
}

.team-group {
  margin-bottom: 3.5rem;
}

.team-group-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--foam);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.team-grid--mascot {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 640px;
}

.team-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  background-size: cover;
}

.team-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.team-info > p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-top: 0.4rem;
}

.team-role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.team-role.instructor {
  background: rgba(0, 119, 182, 0.1);
  color: var(--ocean);
}

.team-role.divemaster {
  background: rgba(95, 198, 255, 0.15);
  color: #0369a1;
}

.team-role.mascot-role {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.team-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.cert-badge {
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--foam);
  color: var(--navy);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
