/* =====================================================================
   Musafir Services – SEO, AEO & GEO Section Styles (2027)
   ===================================================================== */

/* Override fixed height from main.css so labelled package cards never clip */
.product-card.ms-card {
  height: auto;
  min-height: 460px;
}

.ms-card .product-badge {
  background: #003e6b;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ms-card-facts {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 0.87rem;
  line-height: 1.5;
  color: #374151;
}

.ms-card-facts li {
  padding: 4px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.ms-card-facts li:last-child {
  border-bottom: none;
}

.ms-card-facts strong {
  color: #003e6b;
}

/* Interior Page Hero */
.ms-page-hero {
  background: linear-gradient(135deg, #002948 0%, #003e6b 60%, #0b5ed7 100%);
  color: #ffffff;
  padding: 56px 0 48px;
}

.ms-page-hero .ms-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  color: #ffd700;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.ms-page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #ffffff;
}

.ms-page-hero .ms-hero-sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 780px;
  margin: 0 0 22px;
}

.ms-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ms-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #16a34a;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ms-btn-wa:hover {
  background: #15803d;
  transform: translateY(-2px);
}

.ms-btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #003e6b;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.ms-btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #003e6b;
  border: 2px solid #003e6b;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

/* Breadcrumb */
.ms-breadcrumb {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 14px;
}

.ms-breadcrumb a {
  color: #ffd700;
  text-decoration: none;
}

.ms-breadcrumb span {
  margin: 0 6px;
  opacity: 0.7;
}

/* Answer-First Block */
.ms-answer-section {
  padding: 28px 0 12px;
  background: #f8fafc;
}

.ms-answer-box {
  background: #ffffff;
  border-left: 5px solid #003e6b;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 6px 24px rgba(0, 62, 107, 0.08);
}

.ms-answer-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #003e6b;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.ms-answer-box p {
  font-size: 1.04rem;
  line-height: 1.65;
  color: #1f2937;
  margin: 0 0 14px;
}

/* Section spacing */
.ms-section {
  padding: 56px 0;
}

.ms-section.alt {
  background: #f8fafc;
}

.ms-section-head {
  margin-bottom: 28px;
}

.ms-section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  color: #003e6b;
  margin: 0 0 8px;
}

.ms-section-head p {
  color: #4b5563;
  font-size: 1rem;
  margin: 0;
  max-width: 780px;
}

/* Responsive Data Tables */
.ms-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.ms-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  font-size: 0.92rem;
}

.ms-table th {
  background: #003e6b;
  color: #ffffff;
  text-align: left;
  padding: 13px 14px;
  font-weight: 600;
  white-space: nowrap;
}

.ms-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  color: #1f2937;
  vertical-align: middle;
}

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

.ms-table tbody tr:hover {
  background: #eff6ff;
}

.ms-table .ms-price-cell {
  font-weight: 700;
  color: #0f5132;
  white-space: nowrap;
}

.ms-table-btn {
  display: inline-block;
  background: #16a34a;
  color: #ffffff;
  padding: 7px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.ms-table-btn:hover {
  background: #15803d;
}

/* Grids */
.ms-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ms-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.ms-info-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.ms-info-card h3 {
  font-size: 1.12rem;
  color: #003e6b;
  margin: 0 0 10px;
}

.ms-info-card p,
.ms-info-card li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
}

.ms-list {
  margin: 0;
  padding-left: 18px;
}

.ms-list li {
  margin-bottom: 8px;
}

.ms-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ms-checklist li {
  padding: 7px 0 7px 26px;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #374151;
}

.ms-checklist li:last-child {
  border-bottom: none;
}

.ms-checklist.inc li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

.ms-checklist.exc li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}

/* Pills & Internal Links */
.ms-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.ms-pill {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  background: #eef4fb;
  color: #003e6b;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #cfe0f5;
  transition: background 0.2s ease;
}

.ms-pill:hover {
  background: #003e6b;
  color: #ffffff;
}

.ms-pill-static {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #1f2937;
  font-size: 0.88rem;
  border: 1px solid #e2e8f0;
}

/* Google Reviews Banner */
.ms-reviews-box {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid #cfe0f5;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ms-reviews-box h3 {
  margin: 0 0 6px;
  color: #003e6b;
  font-size: 1.25rem;
}

.ms-reviews-box p {
  margin: 0;
  color: #374151;
  max-width: 680px;
}

/* Visa Highlight Strip */
.ms-stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.ms-stat-tile {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.ms-stat-tile .val {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  color: #003e6b;
}

.ms-stat-tile .lbl {
  display: block;
  font-size: 0.86rem;
  color: #4b5563;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .ms-two-col {
    grid-template-columns: 1fr;
  }

  .ms-page-hero {
    padding: 36px 0 32px;
  }

  .ms-answer-box {
    padding: 18px;
  }

  .ms-section {
    padding: 38px 0;
  }
}
