/* style/resources-choose-safe-fishing-platform.css */
:root {
    --primary-color: #0047AB;
    --secondary-color: #FFD700;
    --dark-bg-1: #0d0d0d; /* Assuming shared.css defines this for body */
    --text-light: #ffffff;
    --text-dark: #333333;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

.page-resources-choose-safe-fishing-platform {
    color: var(--text-light); /* Default text color for page content on dark body bg */
    background-color: var(--dark-bg-1);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-resources-choose-safe-fishing-platform__hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 120px; /* Adjust for fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #002D62 100%);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-choose-safe-fishing-platform__hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-choose-safe-fishing-platform__main-title {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-resources-choose-safe-fishing-platform__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-resources-choose-safe-fishing-platform__subtitle a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-choose-safe-fishing-platform__subtitle a:hover {
    text-decoration: underline;
}

.page-resources-choose-safe-fishing-platform__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
}

.page-resources-choose-safe-fishing-platform__cta-button:hover {
    background: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-choose-safe-fishing-platform__cta-button--small {
    padding: 12px 30px;
    font-size: 1em;
}

.page-resources-choose-safe-fishing-platform__cta-button--large {
    padding: 18px 50px;
    font-size: 1.3em;
}

.page-resources-choose-safe-fishing-platform__section {
    padding: 60px 20px;
    background-color: var(--dark-bg-1);
    color: var(--text-light);
}

.page-resources-choose-safe-fishing-platform__section--why-important {
    background-color: #1a1a1a;
}

.page-resources-choose-safe-fishing-platform__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-resources-choose-safe-fishing-platform__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-choose-safe-fishing-platform__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-choose-safe-fishing-platform__card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-choose-safe-fishing-platform__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-resources-choose-safe-fishing-platform__card-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

.page-resources-choose-safe-fishing-platform__card-title {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-resources-choose-safe-fishing-platform__card-text {
    font-size: 1em;
    line-height: 1.7;
    color: #e0e0e0;
}

.page-resources-choose-safe-fishing-platform__card-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-choose-safe-fishing-platform__card-text a:hover {
    text-decoration: underline;
}

.page-resources-choose-safe-fishing-platform__intro-text {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-resources-choose-safe-fishing-platform__intro-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-choose-safe-fishing-platform__intro-text a:hover {
    text-decoration: underline;
}

.page-resources-choose-safe-fishing-platform__criteria-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-resources-choose-safe-fishing-platform__criteria-item {
    background: rgba(255, 255, 255, 0.05);
    border-left: 5px solid var(--secondary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.page-resources-choose-safe-fishing-platform__criteria-heading {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-resources-choose-safe-fishing-platform__criteria-item p {
    font-size: 1em;
    line-height: 1.7;
    color: #e0e0e0;
}

.page-resources-choose-safe-fishing-platform__criteria-item p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-choose-safe-fishing-platform__criteria-item p a:hover {
    text-decoration: underline;
}

.page-resources-choose-safe-fishing-platform__content-block {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-choose-safe-fishing-platform__list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.page-resources-choose-safe-fishing-platform__list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.8;
    color: #e0e0e0;
}

.page-resources-choose-safe-fishing-platform__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.3em;
    top: -2px;
}

.page-resources-choose-safe-fishing-platform__list li strong {
    color: var(--secondary-color);
}

.page-resources-choose-safe-fishing-platform__list li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-choose-safe-fishing-platform__list li a:hover {
    text-decoration: underline;
}

/* FAQ Styles */
.page-resources-choose-safe-fishing-platform__section--faq {
    background-color: #1a1a1a;
}

.page-resources-choose-safe-fishing-platform__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-choose-safe-fishing-platform__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
}

.page-resources-choose-safe-fishing-platform__faq-item.active .page-resources-choose-safe-fishing-platform__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-resources-choose-safe-fishing-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  border: 1px solid #002D62;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-resources-choose-safe-fishing-platform__faq-question:hover {
  background: #00388A;
  border-color: #001F4D;
}

.page-resources-choose-safe-fishing-platform__faq-question:active {
  background: #002D62;
}

.page-resources-choose-safe-fishing-platform__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--secondary-color);
}

.page-resources-choose-safe-fishing-platform__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-resources-choose-safe-fishing-platform__faq-item.active .page-resources-choose-safe-fishing-platform__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg); /* Change + to X-like or - */
}

.page-resources-choose-safe-fishing-platform__faq-answer p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-choose-safe-fishing-platform__faq-answer p a:hover {
    text-decoration: underline;
}

.page-resources-choose-safe-fishing-platform__section--conclusion {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #002D62 0%, var(--primary-color) 100%);
}

.page-resources-choose-safe-fishing-platform__conclusion-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-resources-choose-safe-fishing-platform__conclusion-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-choose-safe-fishing-platform__conclusion-text a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-choose-safe-fishing-platform__main-title {
        font-size: 2.8em;
    }
    .page-resources-choose-safe-fishing-platform__section-title {
        font-size: 2.2em;
    }
    .page-resources-choose-safe-fishing-platform__card-title {
        font-size: 1.4em;
    }
    .page-resources-choose-safe-fishing-platform__hero-banner {
        padding-top: 100px; /* Adjust for smaller header */
    }
}

@media (max-width: 768px) {
    .page-resources-choose-safe-fishing-platform__hero-banner {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-choose-safe-fishing-platform__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-resources-choose-safe-fishing-platform__subtitle {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-resources-choose-safe-fishing-platform__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources-choose-safe-fishing-platform__section {
        padding: 40px 15px;
    }
    .page-resources-choose-safe-fishing-platform__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-resources-choose-safe-fishing-platform__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-choose-safe-fishing-platform__card {
        padding: 25px;
    }
    .page-resources-choose-safe-fishing-platform__card-image {
        max-width: 250px;
        margin-bottom: 20px;
    }
    .page-resources-choose-safe-fishing-platform__card-title {
        font-size: 1.3em;
    }
    .page-resources-choose-safe-fishing-platform__intro-text {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-resources-choose-safe-fishing-platform__criteria-item {
        padding: 20px;
    }
    .page-resources-choose-safe-fishing-platform__criteria-heading {
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    .page-resources-choose-safe-fishing-platform__list li {
        font-size: 1em;
        padding-left: 30px;
    }
    .page-resources-choose-safe-fishing-platform__list li::before {
        font-size: 1.2em;
        top: 0px;
    }
    .page-resources-choose-safe-fishing-platform__content-block {
        padding: 30px 20px;
    }
    
    /* FAQ Mobile Styles */
    .page-resources-choose-safe-fishing-platform__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-resources-choose-safe-fishing-platform__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-resources-choose-safe-fishing-platform__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    
    .page-resources-choose-safe-fishing-platform__faq-answer {
        padding: 0 15px;
    }
    
    .page-resources-choose-safe-fishing-platform__faq-item.active .page-resources-choose-safe-fishing-platform__faq-answer {
        padding: 15px !important;
    }
    .page-resources-choose-safe-fishing-platform__conclusion-text {
        font-size: 1em;
    }

    /* Ensure all images and containers adapt to mobile */
    .page-resources-choose-safe-fishing-platform img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-resources-choose-safe-fishing-platform__section,
    .page-resources-choose-safe-fishing-platform__card,
    .page-resources-choose-safe-fishing-platform__container,
    .page-resources-choose-safe-fishing-platform__hero-banner,
    .page-resources-choose-safe-fishing-platform__hero-container,
    .page-resources-choose-safe-fishing-platform__grid,
    .page-resources-choose-safe-fishing-platform__criteria-list,
    .page-resources-choose-safe-fishing-platform__criteria-item,
    .page-resources-choose-safe-fishing-platform__content-block,
    .page-resources-choose-fishing-platform__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-choose-safe-fishing-platform__hero-banner {
      padding-left: 0;
      padding-right: 0;
    }
    .page-resources-choose-safe-fishing-platform__hero-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Color Contrast Fixes (if needed) */
.page-resources-choose-safe-fishing-platform__dark-bg {
  color: var(--text-light); /* Deep dark background with light text */
  background: var(--primary-color);
}

.page-resources-choose-safe-fishing-platform__light-bg {
  color: var(--text-dark); /* Light background with dark text */
  background: var(--card-bg);
}

.page-resources-choose-safe-fishing-platform__medium-bg {
  color: var(--text-dark); /* Medium background, default to dark text */
  background: var(--secondary-color);
}

.page-resources-choose-safe-fishing-platform p,
.page-resources-choose-safe-fishing-platform li {
  color: #e0e0e0; /* Ensure on dark backgrounds */
}

.page-resources-choose-safe-fishing-platform__card {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-choose-safe-fishing-platform__dark-section {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-resources-choose-safe-fishing-platform__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid transparent;
}

.page-resources-choose-safe-fishing-platform__btn-secondary {
  background: var(--text-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}