/* Group travel pages (group-flights.html and children, umrah-packages/group-umrah-packages.html).
   Builds on umrah-page.css (base, buttons, FAQ, CTA). Added 11 Nov 2026. */

.group-page {
  --gp-blue: #2e5eaa;
  --gp-blue-deep: #18345f;
  --gp-orange: #fc9246;
  --gp-text: #1f2a44;
  --gp-muted: #52607a;
  --gp-line: rgba(31, 42, 68, 0.1);
  --gp-soft: #f3f7ff;
  overflow-x: hidden;
}

.group-page .gp-h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--gp-text);
}

/* ---------- hero with the quick answer ---------- */
.gp-hero {
  padding: 7.5rem 0 3rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(252, 146, 70, 0.22), transparent 40%),
    linear-gradient(135deg, var(--gp-blue-deep) 0%, var(--gp-blue) 100%);
  color: #fff;
}

.gp-hero h1 {
  margin: 0.3rem 0 1.4rem;
  max-width: 22ch;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}

.gp-hero .gp-kicker {
  color: #ffd2b0;
  margin: 0;
}

.gp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.gp-breadcrumb li + li::before {
  content: "\203A";
  margin-right: 0.35rem;
  opacity: 0.7;
}

.gp-breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gp-answer {
  max-width: 780px;
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.gp-answer p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
}

.gp-answer .gp-answer-label {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffd2b0;
}

.gp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.gp-hero .primary-button {
  background: var(--gp-orange);
  color: #1f2a44;
}

.gp-hero .secondary-button {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.gp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.gp-trust li::before {
  content: "\2713";
  margin-right: 0.4rem;
  color: #7ee2a1;
  font-weight: 700;
}

/* ---------- sections ---------- */
.gp-section {
  padding: 3.5rem 0;
  background: #fff;
}

.gp-section.gp-alt {
  background: var(--gp-soft);
}

.gp-prose > * {
  max-width: 860px;
}

.gp-prose p,
.gp-prose li {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--gp-muted);
}

.gp-prose p {
  margin: 0 0 1rem;
}

.gp-prose a,
.gp-related a {
  color: var(--gp-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gp-list,
.gp-checklist {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.gp-list li,
.gp-checklist li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.8rem;
}

.gp-list li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.95rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gp-orange);
}

.gp-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0.2rem;
  top: 0.35rem;
  color: var(--gp-blue);
  font-weight: 700;
}

.gp-list strong {
  color: var(--gp-text);
}

/* key facts */
.gp-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.gp-fact {
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--gp-line);
  border-radius: 18px;
  background: #fff;
}

.gp-fact dt {
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gp-blue);
}

.gp-fact dd {
  margin: 0;
  line-height: 1.55;
  color: var(--gp-muted);
}

/* audience cards */
.gp-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gp-card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--gp-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(31, 42, 68, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(31, 42, 68, 0.1);
}

.gp-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--gp-text);
}

.gp-card p {
  flex: 1;
  margin: 0 0 1rem;
  line-height: 1.55;
  color: var(--gp-muted);
}

.gp-card-link {
  font-weight: 700;
  color: var(--gp-blue);
}

.gp-card-link::after {
  content: " \2192";
}

/* steps */
.gp-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: gp-step;
}

.gp-steps li {
  position: relative;
  padding: 3.2rem 1.2rem 1.2rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--gp-line);
  counter-increment: gp-step;
}

.gp-steps li::before {
  content: counter(gp-step);
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gp-blue);
  color: #fff;
  font-weight: 700;
}

.gp-steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--gp-text);
}

.gp-steps p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--gp-muted);
}

/* ---------- form ---------- */
.gp-form-section {
  background: linear-gradient(180deg, var(--gp-soft), #fff);
}

.gp-form-intro {
  max-width: 860px;
  margin-bottom: 1.4rem;
}

.gp-form-intro p {
  margin: 0;
  color: var(--gp-muted);
}

.gp-form {
  position: relative;
  max-width: 980px;
  padding: 1.6rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--gp-line);
  box-shadow: 0 18px 50px rgba(31, 42, 68, 0.08);
}

.gp-form fieldset {
  margin: 0 0 1.2rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.gp-form legend {
  margin-bottom: 0.7rem;
  padding: 0;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--gp-blue-deep);
}

.gp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.gp-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.gp-field[hidden] {
  display: none;
}

.gp-field {
  position: relative;
}

.gp-grid + .gp-grid {
  margin-top: 0.9rem;
}

.gp-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gp-hint {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--gp-muted);
}

/* airport search list, directly under its input */
.gp-combo {
  position: relative;
  display: flex;
  flex-direction: column;
}

.gp-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 300px;
  margin: 0.25rem 0 0;
  padding: 0.35rem;
  overflow-y: auto;
  list-style: none;
  border: 1px solid rgba(31, 42, 68, 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(31, 42, 68, 0.16);
}

.gp-suggest li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
}

.gp-suggest li:hover,
.gp-suggest li[aria-selected="true"] {
  background: var(--gp-soft);
}

.gp-suggest-main {
  color: var(--gp-text);
}

.gp-suggest-sub {
  font-size: 0.82rem;
  color: var(--gp-muted);
}

.gp-field-wide {
  margin-top: 0.9rem;
}

.gp-field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gp-text);
}

.gp-field input,
.gp-field select,
.gp-field textarea {
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(31, 42, 68, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--gp-text);
  font-size: 1rem;
}

.gp-field textarea {
  resize: vertical;
}

.gp-field input:focus,
.gp-field select:focus,
.gp-field textarea:focus {
  outline: 3px solid rgba(46, 94, 170, 0.22);
  border-color: var(--gp-blue);
}

.gp-submit {
  margin-top: 1rem;
  min-width: 260px;
}

.gp-form [data-group-status] {
  margin-top: 0.9rem;
}

/* related + updated */
.gp-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.5rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.gp-related li {
  padding: 0.3rem 0;
}

.gp-updated {
  font-size: 0.92rem !important;
}

.gp-faq .faq-intro {
  text-align: left;
  max-width: 920px;
  margin: 0 0 1rem;
}

.gp-faq .faq-list {
  margin: 0;
}

.gp-cta-title {
  color: #fff !important;
}

.cta-card a {
  color: inherit;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .gp-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .gp-facts,
  .gp-grid,
  .gp-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .gp-hero {
    padding: 6.2rem 0 2.4rem;
  }

  .gp-section {
    padding: 2.6rem 0;
  }

  .gp-facts,
  .gp-grid,
  .gp-cards,
  .gp-steps,
  .gp-related {
    grid-template-columns: 1fr;
  }

  .gp-form {
    padding: 1.1rem;
    border-radius: 18px;
  }

  .gp-hero-actions .primary-button,
  .gp-hero-actions .secondary-button,
  .gp-submit {
    width: 100%;
  }
}

/* Keep anchor targets clear of the fixed navigation bar. */
.group-page [id] {
  scroll-margin-top: 110px;
}
