/* ========================================
   MAHARAJAH TOURS - TERMS & CONDITIONS PAGE
   ======================================== */

/* ========== TERMS HERO ICON ========== */
.terms-hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 3px solid var(--brand-gold);
}

.terms-hero-icon i {
  font-size: 2.5rem;
  color: var(--brand-gold);
}

/* ========== TERMS SUMMARY CARD ========== */
.terms-summary-card {
  background: linear-gradient(135deg, #fff9e6 0%, var(--brand-light-gold) 100%);
  padding: 2.5rem;
  border-radius: 16px;
  border: 2px solid var(--brand-gold);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

/* ========== TOC (Reuse from Privacy) ========== */
.terms-toc-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(78, 14, 16, 0.08);
  border: 2px solid var(--brand-light-gold);
  position: sticky;
  top: 100px;
}

.terms-toc {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ========== TERMS SECTIONS ========== */
.terms-section {
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(78, 14, 16, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  scroll-margin-top: 100px;
}

.terms-section:hover {
  border-color: var(--brand-light-gold);
  box-shadow: 0 8px 30px rgba(78, 14, 16, 0.12);
}

/* ========== SUBSECTION TITLES ========== */
.subsection-title {
  font-family: 'Playfair Display', serif;
  color: var(--brand-burgundy);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* ========== PAYMENT TIMELINE ========== */
.payment-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border-radius: 12px;
  border-left: 4px solid var(--brand-gold);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  background: var(--brand-light-gold);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(78, 14, 16, 0.1);
}

.timeline-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-burgundy);
  border-radius: 50%;
  color: var(--brand-gold);
  font-size: 1.5rem;
}

.timeline-content strong {
  display: block;
  color: var(--brand-burgundy);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.timeline-content span {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== PAYMENT METHODS ========== */
.payment-methods {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 2px solid var(--brand-light-gold);
  border-radius: 50px;
  font-weight: 600;
  color: var(--brand-burgundy);
  transition: all 0.3s ease;
}

.payment-method:hover {
  background: var(--brand-light-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.payment-method i {
  font-size: 1.5rem;
  color: var(--brand-gold);
}

/* ========== EXCLUSIONS GRID ========== */
.exclusions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.exclusion-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border-radius: 12px;
  border: 2px solid rgba(78, 14, 16, 0.08);
  transition: all 0.3s ease;
}

.exclusion-card:hover {
  background: #fff;
  border-color: var(--brand-gold);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(78, 14, 16, 0.1);
}

.exclusion-card i {
  font-size: 2rem;
  color: var(--brand-gold);
  margin-bottom: 0.75rem;
  display: block;
}

.exclusion-card strong {
  display: block;
  color: var(--brand-burgundy);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.exclusion-card span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========== CANCELLATION TABLE ========== */
.cancellation-table {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(78, 14, 16, 0.08);
  margin: 1.5rem 0;
}

.cancellation-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(78, 14, 16, 0.08);
  transition: all 0.3s ease;
}

.cancellation-row:last-child {
  border-bottom: none;
}

.cancellation-header {
  background: var(--brand-burgundy);
  color: var(--brand-gold);
  font-weight: 700;
  font-size: 1.05rem;
}

.cancellation-row:not(.cancellation-header) {
  background: #fff;
}

.cancellation-row:not(.cancellation-header):hover {
  background: var(--brand-light-gold);
}

.cancellation-row.severe {
  background: linear-gradient(135deg, #fee 0%, #fdd 100%);
  border-left: 4px solid #c62828;
  font-weight: 600;
}

.cancellation-row i {
  margin-right: 0.5rem;
  color: var(--brand-gold);
}

/* ========== AMENDMENT INFO ========== */
.amendment-info {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.amendment-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border-radius: 12px;
  border-left: 4px solid var(--brand-gold);
  transition: all 0.3s ease;
}

.amendment-card:hover {
  background: #fff;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(78, 14, 16, 0.1);
}

.amendment-icon {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-burgundy);
  border-radius: 12px;
  color: var(--brand-gold);
  font-size: 1.75rem;
}

.amendment-card h5 {
  font-family: 'Playfair Display', serif;
  color: var(--brand-burgundy);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.amendment-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ========== DOCUMENT REQUIREMENTS ========== */
.document-requirements {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 12px;
  border-left: 4px solid #2e7d32;
}

.requirement-item i {
  font-size: 1.75rem;
  color: #2e7d32;
  flex-shrink: 0;
}

.requirement-item strong {
  display: block;
  color: var(--brand-burgundy);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.requirement-item p {
  margin: 0;
  color: var(--text-dark);
}

/* ========== INSURANCE EMPHASIS ========== */
.insurance-emphasis {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border-radius: 16px;
  border: 3px solid #ff9800;
  margin-bottom: 2rem;
}

.insurance-emphasis i {
  font-size: 3rem;
  color: #f57c00;
  flex-shrink: 0;
}

.insurance-emphasis h4 {
  font-family: 'Playfair Display', serif;
  color: var(--brand-burgundy);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.insurance-emphasis p {
  color: var(--text-dark);
  margin: 0;
  font-size: 1.05rem;
}

/* ========== COMPLAINT STEPS ========== */
.complaint-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border-radius: 12px;
  border-left: 4px solid var(--brand-gold);
  transition: all 0.3s ease;
}

.step-item:hover {
  background: var(--brand-light-gold);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(78, 14, 16, 0.1);
}

.step-number {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-burgundy);
  color: var(--brand-gold);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

.step-content strong {
  display: block;
  color: var(--brand-burgundy);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  margin: 0;
  color: var(--text-muted);
}

/* ========== PROTECTION BANNER ========== */
.protection-banner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 16px;
  border: 3px solid #2e7d32;
  margin-bottom: 2rem;
}

.protection-icon {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.protection-icon i {
  font-size: 3.5rem;
  color: #2e7d32;
}

.protection-content h4 {
  font-family: 'Playfair Display', serif;
  color: var(--brand-burgundy);
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.protection-content p {
  color: var(--text-dark);
  font-size: 1.05rem;
}

/* ========== FINAL CONTACT BOX ========== */
.final-contact-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--brand-burgundy) 0%, var(--brand-dark) 100%);
  border-radius: 16px;
  border: 3px solid var(--brand-gold);
  margin-top: 2rem;
}

.final-contact-box i {
  font-size: 3rem;
  color: var(--brand-gold);
  flex-shrink: 0;
}

.final-contact-box h5 {
  font-family: 'Playfair Display', serif;
  color: var(--brand-gold);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.final-contact-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

.final-contact-box a {
  color: var(--brand-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.final-contact-box a:hover {
  color: #fff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .terms-toc-card {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 2rem;
  }
  
  .terms-section {
    padding: 2rem;
  }
  
  .exclusions-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  
  .cancellation-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .terms-hero-icon {
    width: 70px;
    height: 70px;
  }
  
  .terms-hero-icon i {
    font-size: 2rem;
  }
  
  .terms-summary-card {
    padding: 2rem;
  }
  
  .terms-section {
    padding: 1.5rem;
  }
  
  .payment-methods {
    flex-direction: column;
  }
  
  .protection-banner,
  .insurance-emphasis {
    flex-direction: column;
    text-align: center;
  }
  
  .protection-icon {
    margin: 0 auto;
  }
  
  .final-contact-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .terms-summary-card {
    padding: 1.5rem;
  }
  
  .subsection-title {
    font-size: 1.15rem;
  }
  
  .exclusions-grid {
    grid-template-columns: 1fr;
  }
  
  .amendment-card {
    flex-direction: column;
    text-align: center;
  }
}