/* =====================================================
   TERMS & CONDITIONS PAGE
   Pioneer Holidays
   Color Theme: Blue (#1a365d), Green (#48bb78), White
   ===================================================== */

/* HERO SECTION */
.terms-hero {
  position: relative;
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
  text-align: center;
  overflow: hidden;
}

.terms-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.terms-hero .container {
  position: relative;
  z-index: 1;
}

.terms-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.terms-hero .hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-weight: 400;
}

/* MAIN CONTENT */
.terms-content {
  padding: 60px 0 80px;
  background: #fff;
}

.terms-content .container {
  max-width: 1100px;
}

/* LAST UPDATED */
.terms-updated {
  text-align: center;
  font-size: 14px;
  color: #718096;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
}

/* INTRO */
.terms-intro {
  font-size: 17px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 40px;
  padding: 24px;
  background: #f8fafc;
  border-left: 4px solid #48bb78;
  border-radius: 0 8px 8px 0;
}

/* SECTION STYLING */
.terms-section {
  margin-bottom: 40px;
}

.terms-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1a365d;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #48bb78;
  display: inline-block;
}

.terms-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2d3748;
  margin: 28px 0 14px;
}

.terms-section h4 {
  font-size: 17px;
  font-weight: 600;
  color: #4a5568;
  margin: 20px 0 10px;
}

.terms-section p {
  font-size: 16px;
  line-height: 1.75;
  color: #4a5568;
  margin: 0 0 16px;
}

.terms-section ul {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
}

.terms-section ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: #4a5568;
}

.terms-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #48bb78;
  border-radius: 50%;
}

/* HIGHLIGHT BOX */
.terms-highlight {
  background: linear-gradient(135deg, #f0fff4 0%, #f8fafc 100%);
  border: 1px solid #c6f6d5;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 24px 0;
}

.terms-highlight h4 {
  color: #1a365d;
  margin-top: 0;
}

/* WARNING BOX */
.terms-warning {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-left: 4px solid #fc8181;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.terms-warning p {
  color: #c53030;
  margin: 0;
}

.terms-warning strong {
  color: #9b2c2c;
}

/* INFO BOX */
.terms-info {
  background: #ebf8ff;
  border: 1px solid #90cdf4;
  border-left: 4px solid #4299e1;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.terms-info p {
  color: #2b6cb0;
  margin: 0;
}

/* SUMMARY CARDS */
.terms-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 30px 0;
}

.summary-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 0 5px 2px rgba(0,0,0,0.08);
}

.summary-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a365d;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-card h4 svg {
  width: 24px;
  height: 24px;
  color: #48bb78;
}

.summary-card ul {
  margin: 0;
}

.summary-card ul li {
  font-size: 15px;
}

/* TRUST SECTION */
.terms-trust {
  background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
  border-radius: 16px;
  padding: 32px;
  margin-top: 50px;
  text-align: center;
}

.terms-trust h3 {
  color: #fff;
  font-size: 22px;
  margin: 0 0 20px;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: #48bb78;
}

/* CONTACT INFO */
.terms-contact {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  margin-top: 40px;
  text-align: center;
}

.terms-contact p {
  margin: 0;
  color: #4a5568;
}

.terms-contact a {
  color: #1a365d;
  font-weight: 600;
  text-decoration: none;
}

.terms-contact a:hover {
  color: #48bb78;
}

/* RESPONSIVE - TABLET */
@media (max-width: 768px) {
  .terms-hero {
    padding: 100px 0 45px;
  }
  
  .terms-hero h1 {
    font-size: 28px;
  }
  
  .terms-hero .hero-subtitle {
    font-size: 15px;
  }
  
  .terms-content {
    padding: 35px 0 50px;
  }
  
  .terms-updated {
    margin-bottom: 25px;
    padding-bottom: 20px;
  }
  
  .terms-intro {
    font-size: 15px;
    padding: 18px;
    margin-bottom: 30px;
  }
  
  .terms-section {
    margin-bottom: 28px;
  }
  
  .terms-section h2 {
    font-size: 20px;
    margin-bottom: 14px;
    padding-bottom: 8px;
  }
  
  .terms-section h3 {
    font-size: 17px;
    margin: 20px 0 10px;
  }
  
  .terms-section h4 {
    font-size: 15px;
  }
  
  .terms-section p {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 12px;
  }
  
  .terms-section ul {
    margin-bottom: 14px;
  }
  
  .terms-section ul li {
    font-size: 14px;
    line-height: 1.6;
    padding-left: 22px;
    margin-bottom: 6px;
  }
  
  .terms-section ul li::before {
    width: 6px;
    height: 6px;
    top: 8px;
  }
  
  .terms-highlight,
  .terms-warning,
  .terms-info {
    padding: 14px 16px;
    margin: 16px 0;
  }
  
  .terms-highlight h4 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  
  .terms-highlight p,
  .terms-warning p,
  .terms-info p {
    font-size: 14px;
  }
  
  .terms-summary {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 24px 0;
  }
  
  .summary-card {
    padding: 18px;
  }
  
  .summary-card h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .summary-card h4 svg {
    width: 20px;
    height: 20px;
  }
  
  .summary-card ul li {
    font-size: 13px;
  }
  
  .terms-trust {
    padding: 24px 20px;
    margin-top: 35px;
  }
  
  .terms-trust h3 {
    font-size: 17px;
    margin-bottom: 16px;
  }
  
  .trust-items {
    flex-direction: column;
    gap: 10px;
  }
  
  .trust-item {
    font-size: 13px;
  }
  
  .trust-item svg {
    width: 18px;
    height: 18px;
  }
  
  .terms-contact {
    padding: 18px;
    margin-top: 30px;
  }
  
  .terms-contact p {
    font-size: 14px;
  }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 480px) {
  .terms-hero {
    padding: 85px 0 35px;
  }
  
  .terms-hero h1 {
    font-size: 22px;
  }
  
  .terms-hero .hero-subtitle {
    font-size: 13px;
  }
  
  .terms-content {
    padding: 28px 0 40px;
  }
  
  .terms-updated {
    font-size: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
  
  .terms-intro {
    font-size: 14px;
    padding: 14px;
    margin-bottom: 24px;
    line-height: 1.65;
  }
  
  .terms-section {
    margin-bottom: 22px;
  }
  
  .terms-section h2 {
    font-size: 17px;
    margin-bottom: 12px;
    padding-bottom: 6px;
  }
  
  .terms-section h3 {
    font-size: 15px;
    margin: 16px 0 8px;
  }
  
  .terms-section h4 {
    font-size: 14px;
    margin: 14px 0 6px;
  }
  
  .terms-section p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  
  .terms-section ul {
    margin-bottom: 12px;
  }
  
  .terms-section ul li {
    font-size: 13px;
    line-height: 1.55;
    padding-left: 18px;
    margin-bottom: 5px;
  }
  
  .terms-section ul li::before {
    width: 5px;
    height: 5px;
    top: 7px;
  }
  
  .terms-highlight,
  .terms-warning,
  .terms-info {
    padding: 12px 14px;
    margin: 12px 0;
  }
  
  .terms-highlight h4 {
    font-size: 14px;
    margin-bottom: 4px;
  }
  
  .terms-highlight p,
  .terms-warning p,
  .terms-info p {
    font-size: 13px;
    line-height: 1.55;
  }
  
  .terms-summary {
    gap: 12px;
    margin: 20px 0;
  }
  
  .summary-card {
    padding: 14px;
  }
  
  .summary-card h4 {
    font-size: 14px;
    margin-bottom: 10px;
    gap: 8px;
  }
  
  .summary-card h4 svg {
    width: 18px;
    height: 18px;
  }
  
  .summary-card ul li {
    font-size: 12px;
    padding-left: 16px;
    margin-bottom: 4px;
  }
  
  .terms-trust {
    padding: 20px 16px;
    margin-top: 28px;
    border-radius: 12px;
  }
  
  .terms-trust h3 {
    font-size: 15px;
    margin-bottom: 14px;
  }
  
  .trust-items {
    gap: 8px;
  }
  
  .trust-item {
    font-size: 12px;
    gap: 6px;
  }
  
  .trust-item svg {
    width: 16px;
    height: 16px;
  }
  
  .terms-contact {
    padding: 14px;
    margin-top: 24px;
    border-radius: 8px;
  }
  
  .terms-contact p {
    font-size: 13px;
  }
}
