
/*
  REEF DISCOVERY
*/  

/* Unpublished content should not have extra padding */
.node--type-general-content-page.node--unpublished {
    padding: 0;
}

/* Brand Colors (from Canva source) */
:root {
  --reef-navy: #0a1f3b;
  --reef-navy-light: #1a3a52;
  --reef-blue: #0066cc;
  --reef-blue-hover: #0052a3;
  --reef-light-bg: #f8f9fa;
  --reef-card-bg: #f0f4f8;
  --reef-border: #e0e0e0;
  --reef-body-text: #4a4a4a;
}

/* Background helpers  */
.reef-bg-navy {
  background: linear-gradient(135deg, var(--reef-navy) 0%, var(--reef-navy-light) 100%) !important;
}

.reef-bg-gray {
  background-color: var(--reef-light-bg) !important;
}

.reef-bg-navy h5:after,
.reef-bg-gray h5:after,
.bg-white .reef-card h5:after {
  display: none !important;
}

/* CTA Button */
.btn-reef {
  background: var(--reef-blue);
  color: #fff !important;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-block;
}

.btn-reef:hover,
.btn-reef:focus {
  background: var(--reef-blue-hover);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  color: #fff !important;
}

/* Feature Cards */
.reef-card {
  background: #fff;
  border: 1px solid var(--reef-border);
  border-radius: 8px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.reef-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 31, 59, 0.15);
}

.reef-card h5,
.reef-card .reef-card-title {
  color: var(--reef-blue);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.reef-card h5:after,
.reef-case-study h5:after,
.reef-stat-card h5:after {
  display: none !important;
}

.reef-card p {
  font-size: 0.95rem;
  color: var(--reef-body-text);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Card variants */
.reef-card-filled {
  background: var(--reef-card-bg);
  border: 1px solid var(--reef-border);
}

.reef-card-outlined {
  background: #fff;
  border: 2px solid var(--reef-blue);
}

.reef-card-filled h5,
.reef-card-outlined h5 {
  color: var(--reef-navy);
  font-size: 1.3rem;
}

/* Stat Cards  */
.reef-stat-card {
  background: var(--reef-card-bg);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  height: 100%;
}

.reef-stat-card .reef-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--reef-blue);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.reef-stat-card .reef-stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--reef-navy);
}

.reef-stat-card .reef-stat-sub {
  font-size: 0.9rem;
  color: var(--reef-body-text);
  margin-top: 0.5rem;
}

/* ---------- Testimonial / Quote ---------- */
.reef-quote {
  background: #fff;
  border-left: 4px solid var(--reef-blue);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.reef-quote p {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--reef-body-text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.reef-quote .reef-cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--reef-navy);
}

/* ---------- Checklist ---------- */
.reef-checklist {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.reef-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--reef-body-text);
  line-height: 1.8;
}

.reef-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--reef-blue);
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* ---------- Section titles ---------- */
.reef-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--reef-navy);
  margin-bottom: 1rem;
}

.reef-subtitle {
  font-size: 1.1rem;
  color: var(--reef-body-text);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ---------- Pills ---------- */
.reef-pill {
  display: inline-block;
  background: var(--reef-card-bg);
  color: var(--reef-blue);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ---------- Pricing highlight ---------- */
.reef-pricing-highlight {
  background: var(--reef-card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--reef-blue);
}

/* ---------- Stats marquee ---------- */
.reef-marquee {
  background: var(--reef-light-bg);
  overflow: hidden;
  white-space: nowrap;
}

.reef-marquee-content {
  display: inline-flex;
  animation: reefScroll 30s linear infinite;
  gap: 3rem;
  padding: 1rem 0;
}

@keyframes reefScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reef-marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--reef-navy);
  font-size: 0.95rem;
}

.reef-marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--reef-blue);
  flex-shrink: 0;
}

/* ---------- Inline stats box ---------- */
.reef-stats-box {
  background: var(--reef-light-bg);
  border-radius: 8px;
  padding: 2rem;
}

.reef-stats-box .reef-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--reef-navy);
  line-height: 1.2;
}

.reef-stats-box .reef-stat-label {
  font-size: 0.9rem;
  color: var(--reef-body-text);
}

/* ---------- FAQ Accordion ---------- */
.reef-faq .card {
  border: none;
  border-bottom: 1px solid #e0e0e0 !important;
  border-radius: 0;
  background: transparent;
}

.reef-faq .card:last-child {
  border-bottom: none !important;
}

.reef-faq .card-header {
  background: none;
  border: none;
  padding: 0;
}

.reef-faq .card-header button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--reef-navy);
  text-decoration: none;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  user-select: none;
}

.reef-faq .card-header button::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--reef-body-text);
  flex-shrink: 0;
  margin-left: 1rem;
}

.reef-faq .card-header button[aria-expanded="true"]::after {
  content: "\2212";
}

.reef-faq .card-body {
  padding: 0 0 1.5rem 0;
  font-size: 0.95rem;
  color: var(--reef-body-text);
  line-height: 1.7;
}

/* ---------- Navy section text overrides ---------- */
.reef-bg-navy h1,
.reef-bg-navy h2,
.reef-bg-navy h3,
.reef-bg-navy .text-white {
  color: #fff !important;
}

.reef-bg-navy .reef-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Case study card ---------- */
.reef-case-study {
  background: var(--reef-light-bg);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.reef-case-study h5 {
  color: var(--reef-navy);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.reef-case-study p {
  color: var(--reef-body-text);
  font-size: 0.95rem;
  line-height: 1.7;
}