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

.page-terms-conditions__hero {
  background: linear-gradient(135deg, #1A237E, #5f65a5);
  padding: 80px 20px;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.page-terms-conditions__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-terms-conditions__title {
  font-size: 3.2em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__subtitle {
  font-size: 1.3em;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.page-terms-conditions__content {
  padding: 40px 0;
  background-color: #ffffff;
}

.page-terms-conditions__section {
  margin-bottom: 40px;
  padding: 25px;
  background-color: #fdfdfd;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.page-terms-conditions__heading {
  font-size: 2.2em;
  color: #1A237E; /* Main brand color */
  margin-bottom: 20px;
  border-bottom: 3px solid #FFD700; /* Auxiliary color for accent */
  padding-bottom: 10px;
  display: inline-block;
  line-height: 1.2;
}

.page-terms-conditions__section p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #444;
}

.page-terms-conditions__section ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-terms-conditions__section ul li {
  margin-bottom: 8px;
  color: #444;
}

.page-terms-conditions__link {
  color: #1A237E;
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions__link:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-terms-conditions__button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A237E;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
  border: none;
  cursor: pointer;
}

.page-terms-conditions__button:hover {
  background-color: #e5c100;
  transform: translateY(-2px);
}

.page-terms-conditions__image {
  max-width: 150px;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  float: right;
  margin-left: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__image--left {
  float: left;
  margin-right: 25px;
  margin-left: 0;
}

.page-terms-conditions__section::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-terms-conditions__hero {
    padding: 60px 15px;
  }

  .page-terms-conditions__title {
    font-size: 2.5em;
  }

  .page-terms-conditions__subtitle {
    font-size: 1.1em;
  }

  .page-terms-conditions__heading {
    font-size: 1.8em;
  }

  .page-terms-conditions__section {
    padding: 20px;
  }

  .page-terms-conditions__image {
    float: none;
    margin: 20px auto;
    display: block;
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__title {
    font-size: 2em;
  }

  .page-terms-conditions__subtitle {
    font-size: 1em;
  }

  .page-terms-conditions__heading {
    font-size: 1.5em;
  }

  .page-terms-conditions__section p,
  .page-terms-conditions__section ul li {
    font-size: 0.95em;
  }

  .page-terms-conditions__button {
    padding: 10px 20px;
    font-size: 1em;
  }
}