.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 {
  position: relative;
  width: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding: 80px 20px;
}

.page-terms-conditions .terms-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-terms-conditions .terms-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(139, 0, 0, 0.7), rgba(255, 215, 0, 0.7)); /* Dark red to gold overlay */
  z-index: 2;
}

.page-terms-conditions .terms-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

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

.page-terms-conditions .terms-hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions .terms-hero p a {
  color: #FFD700;
  text-decoration: underline;
}

.page-terms-conditions .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #FFD700;
}

.page-terms-conditions .cta-button:hover {
  background-color: #8B0000; /* Dark Red */
  color: #FFD700; /* Gold */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .terms-content {
  padding: 60px 0;
  background-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  margin-top: -50px; /* Overlap with hero for better flow */
  position: relative;
  z-index: 4;
  border-radius: 10px;
}

.page-terms-conditions .terms-content article {
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fefefe;
}

.page-terms-conditions .terms-content h2 {
  font-size: 2.2em;
  color: #8B0000; /* Dark Red */
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 3px solid #FFD700; /* Gold underline */
  padding-bottom: 10px;
}

.page-terms-conditions .terms-content h3 {
  font-size: 1.8em;
  color: #555;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-terms-conditions .terms-content p a {
  color: #8B0000; /* Dark Red */
  text-decoration: underline;
  font-weight: bold;
}

.page-terms-conditions .terms-content p a:hover {
  color: #FFD700; /* Gold */
}

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

.page-terms-conditions .call-to-action-text {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333;
}

.page-terms-conditions .link-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #8B0000; /* Dark Red */
  color: #FFD700; /* Gold */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #8B0000;
  margin-left: 10px;
}

.page-terms-conditions .link-button:hover {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-terms-conditions .terms-hero h1 {
    font-size: 2.8em;
  }
  .page-terms-conditions .terms-hero p {
    font-size: 1.1em;
  }
  .page-terms-conditions .terms-content article {
    padding: 20px;
  }
  .page-terms-conditions .terms-content h2 {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions .terms-hero {
    min-height: 300px;
    padding: 60px 15px;
  }
  .page-terms-conditions .terms-hero h1 {
    font-size: 2.2em;
  }
  .page-terms-conditions .terms-hero p {
    font-size: 1em;
  }
  .page-terms-conditions .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-terms-conditions .terms-content {
    padding: 40px 0;
    margin-top: -30px;
  }
  .page-terms-conditions .terms-content article {
    padding: 15px;
  }
  .page-terms-conditions .terms-content h2 {
    font-size: 1.6em;
    margin-top: 30px;
  }
  .page-terms-conditions .terms-content h3 {
    font-size: 1.4em;
  }
  .page-terms-conditions .link-button {
    padding: 8px 20px;
    font-size: 0.9em;
    margin-top: 10px;
  }
  .page-terms-conditions .call-to-action-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .page-terms-conditions .call-to-action-text .link-button {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions .terms-hero h1 {
    font-size: 1.8em;
  }
  .page-terms-conditions .terms-hero p {
    font-size: 0.9em;
  }
  .page-terms-conditions .terms-content h2 {
    font-size: 1.4em;
  }
  .page-terms-conditions .terms-content h3 {
    font-size: 1.2em;
  }
  .page-terms-conditions .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
}