/* style/terms-conditions.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Navy Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #1a1a2e;
  --background-light: #f4f4f4;
  --accent-color: #e0b000; /* Slightly darker gold for hover */
  --border-color: #4a4a6e;
}

.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: var(--text-light);
  background-color: var(--background-dark);
  line-height: 1.6;
}

.page-terms-conditions-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0a0a2a 100%);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-terms-conditions-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiM0YTRhNmUiIGZpbGwtb3BhY2l0eT0iMC4xIj48cGF0aCBkPSJNMzYgMzdoNHY0aC00em01LTIwaDR2NEg0MXptLTUgMTBoNHY0aC00em0tNS0xMGg0vjRoLTRem0tNSAxMGg0vjRoLTR6bS01LTEwaDR2NEg2em0tNSAxMGg0vjRoLTR6bS01LTEwaDR2NEgxbS01IDEwaDR2NGg0em01LTEwaDR2NEg2em0tNSAxMGg0vjRoLTR6bS01LTEwaDR2NEgxeiIvPjwvZz48L2c+PC9zdmc+') repeat;
  opacity: 0.3;
  z-index: 0;
}

.page-terms-conditions-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-terms-conditions-hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-terms-conditions-cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--background-dark);
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions-cta-button:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  color: var(--text-dark);
}

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

.page-terms-conditions-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-terms-conditions-section:last-of-type {
  border-bottom: none;
}

.page-terms-conditions-section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions-section h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 35px;
  margin-bottom: 15px;
  border-left: 5px solid var(--primary-color);
  padding-left: 15px;
}

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

.page-terms-conditions-section ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-terms-conditions-section li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-terms-conditions-section a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-terms-conditions-section a:hover {
  color: var(--accent-color);
}

.page-terms-conditions-image-fullwidth {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-terms-conditions-image-left {
  width: 100%;
  max-width: 400px;
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-terms-conditions-image-right {
  width: 100%;
  max-width: 400px;
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Clearfix for floated images */
.page-terms-conditions-container::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions-hero h1 {
    font-size: 2.8em;
  }
  .page-terms-conditions-section h2 {
    font-size: 2.2em;
  }
  .page-terms-conditions-section h3 {
    font-size: 1.6em;
  }
  .page-terms-conditions-image-left, .page-terms-conditions-image-right {
    max-width: 350px;
    margin-right: 20px;
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions-hero {
    padding: 60px 15px;
  }
  .page-terms-conditions-hero h1 {
    font-size: 2.4em;
  }
  .page-terms-conditions-hero p {
    font-size: 1.1em;
  }
  .page-terms-conditions-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-terms-conditions-section {
    padding: 40px 0;
  }
  .page-terms-conditions-section h2 {
    font-size: 2em;
  }
  .page-terms-conditions-section h3 {
    font-size: 1.4em;
  }
  .page-terms-conditions-section p, .page-terms-conditions-section li {
    font-size: 1em;
  }
  .page-terms-conditions-image-left, .page-terms-conditions-image-right {
    float: none;
    margin: 20px auto;
    max-width: 100%;
    display: block;
  }
  .page-terms-conditions-container {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions-hero h1 {
    font-size: 2em;
  }
  .page-terms-conditions-hero p {
    font-size: 1em;
  }
  .page-terms-conditions-section h2 {
    font-size: 1.8em;
  }
  .page-terms-conditions-section h3 {
    font-size: 1.2em;
  }
  .page-terms-conditions-section ul {
    margin-left: 15px;
  }
}