.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-terms-conditions .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-terms-conditions .terms-hero {
  background: linear-gradient(135deg, #FFD700, #000080);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  border-bottom: 5px solid #FFD700;
}

.page-terms-conditions .terms-hero h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions .terms-hero p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #eee;
}

.page-terms-conditions .cta-button {
  display: inline-block;
  background-color: #000080;
  color: #FFD700;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #FFD700;
}

.page-terms-conditions .cta-button:hover {
  background-color: #FFD700;
  color: #000080;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border-color: #000080;
}

.page-terms-conditions .secondary-cta {
  display: inline-block;
  background-color: #FFD700;
  color: #000080;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #000080;
}

.page-terms-conditions .secondary-cta:hover {
  background-color: #000080;
  color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-color: #FFD700;
}

.page-terms-conditions .terms-content {
  padding: 60px 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: -40px;
  position: relative;
  z-index: 1;
}

.page-terms-conditions .content-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.page-terms-conditions .content-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-terms-conditions .content-section h2 {
  font-size: 2.2em;
  color: #000080;
  margin-bottom: 20px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
  line-height: 1.2;
}

.page-terms-conditions .content-section h3 {
  font-size: 1.6em;
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #000080;
}

.page-terms-conditions .content-section p {
  font-size: 1.05em;
  color: #555;
  margin-bottom: 15px;
}

.page-terms-conditions .content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions .terms-hero h1 {
    font-size: 2.8em;
  }
  .page-terms-conditions .terms-hero p {
    font-size: 1.1em;
  }
  .page-terms-conditions .content-section h2 {
    font-size: 2em;
  }
  .page-terms-conditions .content-section h3 {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .terms-hero {
    padding: 60px 0;
  }
  .page-terms-conditions .terms-hero h1 {
    font-size: 2.2em;
  }
  .page-terms-conditions .terms-hero p {
    font-size: 1em;
  }
  .page-terms-conditions .terms-content {
    padding: 30px 15px;
    margin-top: -20px;
  }
  .page-terms-conditions .content-section h2 {
    font-size: 1.8em;
    padding-left: 10px;
  }
  .page-terms-conditions .content-section h3 {
    font-size: 1.4em;
  }
  .page-terms-conditions .cta-button, .page-terms-conditions .secondary-cta {
    padding: 12px 25px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions .terms-hero {
    padding: 40px 0;
  }
  .page-terms-conditions .terms-hero h1 {
    font-size: 1.8em;
  }
  .page-terms-conditions .terms-hero p {
    font-size: 0.9em;
  }
  .page-terms-conditions .content-section h2 {
    font-size: 1.5em;
  }
  .page-terms-conditions .content-section h3 {
    font-size: 1.2em;
  }
  .page-terms-conditions .cta-button, .page-terms-conditions .secondary-cta {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}