/* Shared inner-page layout matching homepage navy/gold look */

.demo-page .fl-content-full {
  padding: 0;
}

.demo-page-hero {
  background:
    linear-gradient(105deg, rgba(0, 59, 93, 0.92) 0%, rgba(0, 59, 93, 0.72) 55%, rgba(0, 59, 93, 0.45) 100%),
    url("../img/bg-hero.jpg") center / cover no-repeat;
  color: #fff;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 70px 0;
}

.demo-page-hero h1 {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.5rem;
  color: #fff;
}

.demo-page-hero p {
  margin: 0;
  max-width: 40rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
}

.demo-wrap {
  width: min(100% - 2.5rem, 1100px);
  margin: 0 auto;
}

.demo-section {
  padding: 60px 0;
}

.demo-section-alt {
  background: #f4f7f9;
}

.demo-section-navy {
  background: #003b5d;
  color: #fff;
}

.demo-section h2,
.demo-section-navy h2 {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  color: #003b5d;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.75rem;
}

.demo-section-navy h2 {
  color: #fff;
}

.demo-section h3 {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  color: #003b5d;
  margin: 0 0 0.5rem;
}

.demo-section p,
.demo-section li {
  color: #334;
  line-height: 1.65;
}

.demo-section-navy p {
  color: rgba(255, 255, 255, 0.9);
}

.demo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.demo-split img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.demo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.demo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.demo-card {
  background: #fff;
  border: 1px solid #e2e8ec;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 59, 93, 0.06);
}

.demo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.demo-card-body {
  padding: 1.1rem 1.2rem 1.35rem;
}

.demo-card-body p {
  margin: 0;
}

.demo-card .fl-button,
.demo-card .demo-book-btn {
  margin-top: 0.85rem;
}

.demo-quote {
  border-top: 4px solid #f3bc48;
  padding-top: 1rem;
  background: #fff;
  border-radius: 0 0 10px 10px;
  padding: 1.25rem 1.35rem;
  border: 1px solid #e2e8ec;
  border-top: 4px solid #f3bc48;
}

.demo-quote blockquote {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: #003b5d;
  font-weight: 500;
}

.demo-quote cite {
  font-style: normal;
  color: #556;
}

.demo-quote cite strong {
  display: block;
  color: #003b5d;
}

.demo-faq details {
  background: #fff;
  border: 1px solid #e2e8ec;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.demo-faq summary {
  cursor: pointer;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  color: #003b5d;
}

.demo-faq details p {
  margin: 0.75rem 0 0;
}

.demo-gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.demo-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.demo-list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.2rem;
}

.demo-list li {
  margin-bottom: 0.45rem;
}

.demo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .demo-split,
  .demo-grid-3,
  .demo-grid-2 {
    grid-template-columns: 1fr;
  }
}
