/* =============================================
   POLICY PAGES — Premium Design
   ============================================= */

/* Main wrapper */
.tfl-policy {
  padding: 40px 0 60px;
  background: #f5f7f6;
  margin-top: -60px;
  position: relative;
  z-index: 1;
}

/* Outer card container */
.tfl-policy__card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  border: 1px solid #e8ede9;
}

/* ---- Intro ---- */
.tfl-policy__intro {
  margin-bottom: 24px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #f0f7f2 0%, #e8f5ee 100%);
  border-left: 4px solid #2d5f2d;
  border-radius: 0 12px 12px 0;
}
.tfl-policy__intro p {
  font-size: 0.95rem;
  color: #3a3a3a;
  line-height: 1.75;
  margin: 0;
}

/* ---- Section (each policy block) ---- */
.tfl-policy__section {
  margin-bottom: 0;
  padding: 24px 28px;
  background: #fcfcfc;
  border: 1px solid #eef2ef;
  border-radius: 14px;
  margin-top: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.tfl-policy__section:hover {
  border-color: #c8e6d0;
  box-shadow: 0 4px 20px rgba(45,95,45,0.05);
}

/* Section header */
.tfl-policy__section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8f5ee;
}
.tfl-policy__section-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2d5f2d 0%, #1a4a35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7dcea0;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(45,95,45,0.18);
}
.tfl-policy__section-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  border: none;
  padding: 0;
  letter-spacing: -0.01em;
}

/* Section paragraph */
.tfl-policy__section > p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ---- Lists ---- */
.tfl-policy__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tfl-policy__list li {
  position: relative;
  padding: 10px 14px 10px 34px;
  font-size: 0.93rem;
  color: #3a3a3a;
  line-height: 1.7;
  background: #fff;
  border: 1px solid #f0f2f0;
  border-radius: 10px;
  margin-bottom: 6px;
  display: block;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.tfl-policy__list li:last-child {
  margin-bottom: 0;
}
.tfl-policy__list li:hover {
  border-color: #c8e6d0;
  background: #f8fcf9;
}
.tfl-policy__list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Pro', 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 10px;
  top: 12px;
  font-size: 0.6rem;
  color: #2d5f2d;
  background: #e8f5ee;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Link ---- */
.tfl-policy__link {
  color: #2d5f2d;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #7dcea0;
  padding-bottom: 1px;
  transition: all 0.2s ease;
}
.tfl-policy__link:hover {
  color: #1a4a35;
  border-bottom-color: #2d5f2d;
}

/* ---- Note / Alert ---- */
.tfl-policy__note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-left: 5px solid #f59e0b;
  border-radius: 0 16px 16px 0;
  margin-top: 20px;
}
.tfl-policy__note > i {
  color: #d97706;
  font-size: 1.3rem;
  margin-top: 2px;
  min-width: 24px;
}
.tfl-policy__note div {
  font-size: 1rem;
  color: #78350f;
  line-height: 1.75;
}
.tfl-policy__note div strong {
  color: #92400e;
}

/* ---- Timeline (Cancellation page) ---- */
.tfl-policy__timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tfl-policy__timeline-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #f0f2f0;
  border-radius: 16px;
  transition: all 0.25s ease;
}
.tfl-policy__timeline-item:hover {
  border-color: #c8e6d0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transform: translateX(4px);
}
.tfl-policy__timeline-badge {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.tfl-policy__timeline-item--red .tfl-policy__timeline-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.tfl-policy__timeline-item--amber .tfl-policy__timeline-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.tfl-policy__timeline-item--green .tfl-policy__timeline-badge {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}
.tfl-policy__timeline-content {
  flex: 1;
}
.tfl-policy__timeline-content h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.tfl-policy__timeline-content p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
  line-height: 1.65;
}

/* ---- Contact block ---- */
.tfl-policy__contact {
  margin-top: 24px;
  padding: 32px 32px;
  background: linear-gradient(160deg, #0a1a14 0%, #12302a 40%, #0e2a20 100%);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tfl-policy__contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(125,206,160,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.tfl-policy__contact h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
}
.tfl-policy__contact p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  position: relative;
}
.tfl-policy__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 50px;
  background: linear-gradient(135deg, #7dcea0 0%, #5bb87e 100%);
  color: #0a1a14;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(125,206,160,0.3);
}
.tfl-policy__contact-btn:hover {
  background: #fff;
  color: #0a1a14;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(125,206,160,0.35);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .tfl-policy { padding: 30px 0 50px; }
  .tfl-policy__card { padding: 30px 28px; }
}
@media (max-width: 767px) {
  .tfl-policy { padding: 20px 0 40px; margin-top: -40px; }
  .tfl-policy__card { padding: 22px 16px; border-radius: 14px; }
  .tfl-policy__intro { padding: 16px 18px; margin-bottom: 16px; }
  .tfl-policy__section { padding: 18px 16px; margin-top: 10px; }
  .tfl-policy__section-header { gap: 10px; padding-bottom: 10px; }
  .tfl-policy__section-header h3 { font-size: 1rem; }
  .tfl-policy__section-icon { width: 36px; height: 36px; min-width: 36px; font-size: 0.85rem; border-radius: 8px; }
  .tfl-policy__list li { padding: 8px 10px 8px 30px; font-size: 0.88rem; margin-bottom: 4px; }
  .tfl-policy__contact { padding: 24px 18px; }
  .tfl-policy__contact-btn { padding: 10px 24px; font-size: 0.88rem; }
  .tfl-policy__note { flex-direction: column; gap: 8px; padding: 14px 16px; margin-top: 12px; }
  .tfl-policy__timeline-item { padding: 14px 14px; gap: 12px; flex-direction: row; }
  .tfl-policy__timeline-badge { width: 38px; height: 38px; min-width: 38px; border-radius: 10px; font-size: 0.9rem; }
}
