/* style/resources-security-and-reputation.css */
.page-resources-security-and-reputation {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Assuming default body background is white */
}

/* Hero Section */
.page-resources-security-and-reputation__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #017439; /* Brand primary color */
  color: #FFFFFF;
  overflow: hidden; /* Prevent image overflow */
}

.page-resources-security-and-reputation__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-resources-security-and-reputation__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-security-and-reputation__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-resources-security-and-reputation__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-security-and-reputation__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-security-and-reputation__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtle background image */
}

/* General Section Styling */
.page-resources-security-and-reputation__section-title {
  font-size: 2.2em;
  color: #017439; /* Brand primary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-security-and-reputation__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-resources-security-and-reputation__dark-bg .page-resources-security-and-reputation__section-title {
  color: #FFFFFF;
}
.page-resources-security-and-reputation__dark-bg .page-resources-security-and-reputation__section-title::after {
  background-color: #FFFFFF;
}

.page-resources-security-and-reputation__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-security-and-reputation__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Section */
.page-resources-security-and-reputation__intro-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

/* Commitment Section */
.page-resources-security-and-reputation__commitment-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-resources-security-and-reputation__commitment-section .page-resources-security-and-reputation__text-block {
  color: #F0F0F0;
}

.page-resources-security-and-reputation__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-security-and-reputation__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-resources-security-and-reputation__feature-icon {
  width: 200px; /* Enforce minimum size */
  height: 200px; /* Enforce minimum size */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources-security-and-reputation__feature-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-resources-security-and-reputation__feature-description {
  font-size: 0.95em;
  color: #555555;
}

/* Reputation Section */
.page-resources-security-and-reputation__reputation-section {
  padding: 80px 0;
  background-color: #F5F5F5;
}

.page-resources-security-and-reputation__testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-security-and-reputation__testimonial-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
}

.page-resources-security-and-reputation__testimonial-avatar {
  width: 200px; /* Enforce minimum size */
  height: 200px; /* Enforce minimum size */
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid #017439;
}

.page-resources-security-and-reputation__testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  color: #555555;
}

.page-resources-security-and-reputation__testimonial-author {
  font-weight: bold;
  color: #017439;
}

/* Measures Section */
.page-resources-security-and-reputation__measures-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
}

.page-resources-security-and-reputation__measures-section .page-resources-security-and-reputation__text-block {
  color: #F0F0F0;
}

.page-resources-security-and-reputation__measures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-security-and-reputation__measure-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

.page-resources-security-and-reputation__measure-icon {
  width: 200px; /* Enforce minimum size */
  height: 200px; /* Enforce minimum size */
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources-security-and-reputation__measure-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-resources-security-and-reputation__measure-description {
  font-size: 0.95em;
  color: #555555;
}

/* Video Section */
.page-resources-security-and-reputation__video-section {
  padding: 80px 0;
  background-color: #F5F5F5;
  text-align: center;
}

.page-resources-security-and-reputation__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* Max width for the video player */
  margin: 40px auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box; /* Ensure padding/border included in width */
}

.page-resources-security-and-reputation__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-resources-security-and-reputation__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Allow clicks to pass through initially */
}

.page-resources-security-and-reputation__video-wrapper:hover .page-resources-security-and-reputation__video-overlay {
  opacity: 1;
  pointer-events: auto; /* Enable clicks on hover/focus */
}

.page-resources-security-and-reputation__btn-play {
  background-color: rgba(1, 116, 57, 0.9); /* Brand primary with some transparency */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-security-and-reputation__btn-play:hover {
  background-color: #017439;
  transform: scale(1.05);
}

/* FAQ Section */
.page-resources-security-and-reputation__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-resources-security-and-reputation__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  border-top: 1px solid #E0E0E0;
}

.page-resources-security-and-reputation__faq-item {
  border-bottom: 1px solid #E0E0E0;
}

.page-resources-security-and-reputation__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease;
}

.page-resources-security-and-reputation__faq-question:hover {
  background-color: #F9F9F9;
}

.page-resources-security-and-reputation__faq-question h3 {
  font-size: 1.2em;
  color: #333333;
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.page-resources-security-and-reputation__faq-toggle {
  font-size: 1.5em;
  color: #017439;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-resources-security-and-reputation__faq-item.active .page-resources-security-and-reputation__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-security-and-reputation__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #F9F9F9;
  text-align: left;
}

.page-resources-security-and-reputation__faq-item.active .page-resources-security-and-reputation__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 15px; /* Adjust padding when active */
}

.page-resources-security-and-reputation__faq-answer p {
  margin: 0;
  color: #555555;
  padding-bottom: 10px; /* Add some space below the paragraph */
}

/* CTA Section */
.page-resources-security-and-reputation__cta-section {
  padding: 80px 0;
  background-color: #017439;
  color: #FFFFFF;
  text-align: center;
}

.page-resources-security-and-reputation__cta-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-security-and-reputation__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources-security-and-reputation__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

.page-resources-security-and-reputation__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button Styles */
.page-resources-security-and-reputation__btn-primary,
.page-resources-security-and-reputation__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

.page-resources-security-and-reputation__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFFFF; /* FORCE WHITE FOR CONTRAST - Overriding #FFFF00 for WCAG AA compliance */
  border: 2px solid #C30808;
}

.page-resources-security-and-reputation__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
  transform: translateY(-3px);
}

.page-resources-security-and-reputation__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources-security-and-reputation__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
  transform: translateY(-3px);
}

/* Ensure no filter on images */
.page-resources-security-and-reputation img {
  filter: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-security-and-reputation__hero-title {
    font-size: 2.2em;
  }
  .page-resources-security-and-reputation__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-resources-security-and-reputation {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-security-and-reputation__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }

  .page-resources-security-and-reputation__hero-title {
    font-size: 1.8em;
  }

  .page-resources-security-and-reputation__hero-description {
    font-size: 1em;
  }
}