/* style/terms-conditions.css */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #F8F8F8; /* Light gray for readability on dark background */
  background-color: #0A2342; /* Deep Ocean Blue */
  line-height: 1.6;
}

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

/* Hero Section */
.page-terms-conditions__hero {
  background: linear-gradient(135deg, #0A2342, #1A3A60);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  color: #E0E0E0;
  margin-bottom: 40px;
}

/* General Section Styles */
.page-terms-conditions__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-terms-conditions__section--alt-bg {
  background-color: #1A3A60; /* Slightly lighter dark blue for contrast */
}

.page-terms-conditions__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold accent */
  margin-bottom: 30px;
  text-align: center;
}

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

.page-terms-conditions__section ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-terms-conditions__section li {
  margin-bottom: 8px;
}

/* Grid for Rights and Obligations */
.page-terms-conditions__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .page-terms-conditions__content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-terms-conditions__grid-item {
  background-color: #0A2342;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-terms-conditions__grid-item:hover {
  transform: translateY(-5px);
}

.page-terms-conditions__grid-item h3 {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-terms-conditions__grid-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-terms-conditions__grid-item li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.page-terms-conditions__grid-item li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  top: 0;
}

.page-terms-conditions__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

/* Images within sections */
.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 15px;
  width: 40%; /* Adjust as needed */
}

.page-terms-conditions__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 15px;
  width: 40%; /* Adjust as needed */
}

@media (max-width: 767px) {
  .page-terms-conditions__image--left,
  .page-terms-conditions__image--right {
    float: none;
    margin: 20px auto;
    width: 90%;
    display: block;
  }
}

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

/* CTA Section */
.page-terms-conditions__cta-section {
  background-color: #FFD700; /* Gold background for strong contrast */
  padding: 60px 0;
  text-align: center;
}

.page-terms-conditions__cta-content {
  color: #0A2342; /* Deep Ocean Blue text on gold background */
}

.page-terms-conditions__cta-title {
  font-size: 2.8em;
  color: #0A2342;
  margin-bottom: 20px;
}

.page-terms-conditions__cta-description {
  font-size: 1.3em;
  color: #333;
  margin-bottom: 40px;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background-color: #0A2342; /* Deep Ocean Blue button */
  color: #FFD700; /* Gold text */
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #0A2342;
}

.page-terms-conditions__cta-button:hover {
  background-color: #1A3A60; /* Slightly lighter blue on hover */
  color: #FFF;
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-title {
    font-size: 3em;
  }
  .page-terms-conditions__section-title {
    font-size: 2em;
  }
  .page-terms-conditions__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero {
    padding: 60px 0;
  }
  .page-terms-conditions__hero-title {
    font-size: 2.5em;
  }
  .page-terms-conditions__hero-description {
    font-size: 1em;
  }
  .page-terms-conditions__section {
    padding: 40px 0;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__section p,
  .page-terms-conditions__section li {
    font-size: 1em;
  }
  .page-terms-conditions__cta-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__cta-description {
    font-size: 1.1em;
  }
  .page-terms-conditions__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__hero-title {
    font-size: 2em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }
  .page-terms-conditions__cta-title {
    font-size: 1.6em;
  }
  .page-terms-conditions__cta-button {
    width: 100%;
    max-width: 250px;
  }
}