/* style/terms-conditions.css */

:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #0A2463;
  --link-color: #0A2463;
  --link-hover-color: #FFD700;
}

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

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

/* Hero Banner Section */
.page-terms-conditions-hero-banner {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.page-terms-conditions-hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-terms-conditions-hero-banner-content {
  position: relative;
  z-index: 3;
  color: var(--text-color-light);
  padding: 20px;
}

.page-terms-conditions-main-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: var(--secondary-color); /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-terms-conditions-subtitle a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions-subtitle a:hover {
  text-decoration: underline;
}

.page-terms-conditions-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-terms-conditions-cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Content Area */
.page-terms-conditions-content-area {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-terms-conditions-section {
  margin-bottom: 40px;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions-section-title {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-terms-conditions-section p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-terms-conditions-section a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: bold;
}

.page-terms-conditions-section a:hover {
  color: var(--link-hover-color);
  text-decoration: underline;
}

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

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

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

/* FAQ Section */
.page-terms-conditions-faq-section {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: none;
}

.page-terms-conditions-faq-section .page-terms-conditions-section-title {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: none;
  color: var(--primary-color);
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fcfcfc;
  color: var(--text-color-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
  background: #fcfcfc;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions-main-title {
    font-size: 3em;
  }
  .page-terms-conditions-subtitle {
    font-size: 1.2em;
  }
  .page-terms-conditions-section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions-hero-banner {
    height: 300px;
  }
  .page-terms-conditions-main-title {
    font-size: 2.5em;
  }
  .page-terms-conditions-subtitle {
    font-size: 1em;
  }
  .page-terms-conditions-cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-terms-conditions-content-area {
    padding: 40px 0;
  }
  .page-terms-conditions-section {
    padding: 20px;
    margin-bottom: 30px;
  }
  .page-terms-conditions-section-title {
    font-size: 1.5em;
  }
  .page-terms-conditions-section p, .page-terms-conditions-list li {
    font-size: 0.95em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions-hero-banner {
    height: 250px;
  }
  .page-terms-conditions-main-title {
    font-size: 2em;
  }
  .page-terms-conditions-subtitle {
    font-size: 0.9em;
  }
  .page-terms-conditions-cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-terms-conditions-section {
    padding: 15px;
  }
  .page-terms-conditions-section-title {
    font-size: 1.3em;
  }
  .faq-question h3 {
    font-size: 0.95em;
  }
}