/* style/terms-conditions.css */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-terms-conditions-hero {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  background: linear-gradient(135deg, #003366, #001a33);
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-terms-conditions-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-terms-conditions-hero-image {
  width: 100%;
  max-width: 900px; /* Adjusted for better content visibility */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
  object-fit: cover;
}

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

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

.page-terms-conditions-hero-cta {
  background-color: #FFCC00;
  color: #003366;
  padding: 18px 45px;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions-hero-cta:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions-section {
  padding: 60px 20px;
}

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

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

.page-terms-conditions-content h2 {
  font-size: 2.2em;
  color: #003366;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 3px solid #FFCC00;
  padding-bottom: 10px;
}

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

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

.page-terms-conditions-content ul {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-terms-conditions-content li {
  margin-bottom: 8px;
  color: #555555;
}

.page-terms-conditions-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #003366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.page-terms-conditions-btn:hover {
  background-color: #004d99;
  transform: translateY(-2px);
}

.page-terms-conditions-btn-primary {
  background-color: #FFCC00;
  color: #003366;
}

.page-terms-conditions-btn-primary:hover {
  background-color: #e6b800;
  color: #001a33;
}

.page-terms-conditions-img-small {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-terms-conditions-img-medium {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-terms-conditions-contact-cta,
.page-terms-conditions-register-cta {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: #f2f7fc;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

.page-terms-conditions-contact-cta .page-terms-conditions-img-small {
  margin-bottom: 20px;
}

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

  .page-terms-conditions-hero-content h1 {
    font-size: 2.2em;
  }

  .page-terms-conditions-hero-content p {
    font-size: 1em;
  }

  .page-terms-conditions-hero-cta {
    padding: 15px 30px;
    font-size: 1em;
  }

  .page-terms-conditions-section {
    padding: 40px 15px;
  }

  .page-terms-conditions-container {
    padding: 20px;
  }

  .page-terms-conditions-content h2 {
    font-size: 1.8em;
  }

  .page-terms-conditions-content h3 {
    font-size: 1.4em;
  }

  .page-terms-conditions-btn {
    padding: 10px 25px;
    font-size: 1em;
  }

  .page-terms-conditions-contact-cta,
  .page-terms-conditions-register-cta {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions-hero-content h1 {
    font-size: 1.8em;
  }

  .page-terms-conditions-hero-content p {
    font-size: 0.9em;
  }

  .page-terms-conditions-hero-cta {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  .page-terms-conditions-content h2 {
    font-size: 1.6em;
  }

  .page-terms-conditions-content h3 {
    font-size: 1.2em;
  }
}