:root {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --background-light: #ffffff;
  --background-dark: #002244;
  --accent-color: #FFD700;
}

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

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

.page-resources h1,
.page-resources h2,
.page-resources h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-resources h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-light);
}

.page-resources h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-resources h3 {
  font-size: 1.6em;
  color: var(--primary-color);
}

.page-resources p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-resources a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.page-resources .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), #004488);
  color: var(--text-light);
}

.page-resources .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-resources .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;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources .cta-button:hover {
  background: #e6c200; /* Darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Sections */
.page-resources section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-resources section:last-of-type {
  border-bottom: none;
}

.page-resources .section-intro p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 15px auto;
}

/* Guide Grid */
.page-resources .guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources .guide-card {
  background: var(--background-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources .guide-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-resources .guide-card h3 {
  padding: 15px 20px 10px;
  margin-bottom: 0;
}

.page-resources .guide-card h3 .page-resources.card-link {
  color: var(--primary-color);
}

.page-resources .guide-card p {
  padding: 0 20px 15px;
  font-size: 0.95em;
  color: #555;
}

.page-resources .btn-small {
  display: inline-block;
  padding: 8px 18px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
}

.page-resources .btn-small:hover {
  background: #e6c200;
}

/* News and Updates */
.page-resources .news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

.page-resources .news-item {
  display: flex;
  background: var(--background-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s ease;
}

.page-resources .news-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.page-resources .news-item img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-resources .news-content {
  padding: 20px;
}

.page-resources .news-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources .news-content h3 .page-resources.card-link {
  color: var(--primary-color);
}

.page-resources .news-content p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 10px;
}

.page-resources .news-date {
  display: block;
  font-size: 0.85em;
  color: #888;
  margin-bottom: 15px;
}

.page-resources .btn-text {
  color: var(--primary-color);
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources .btn-text:hover {
  color: var(--secondary-color);
}

/* Strategies */
.page-resources .strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources .strategy-item {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources .strategy-item h3 {
  color: var(--primary-color);
  margin-top: 0;
}

.page-resources .cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Promotions */
.page-resources .promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources .promo-item {
  background: var(--background-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources .promo-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-resources .promo-item h3 {
  padding: 15px 20px 10px;
  margin-bottom: 0;
}

.page-resources .promo-item p {
  padding: 0 20px 15px;
  font-size: 0.95em;
  color: #555;
}

/* FAQ Section */
.page-resources .section-faq {
  background-color: #f8f8f8;
}

.page-resources .faq-container {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #fdfdfd;
  border-top: none;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0 0 5px 5px;
  color: #444;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px;
}

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

/* Final CTA Section */
.page-resources .section-call-to-action {
  background: linear-gradient(90deg, var(--primary-color), #004488);
  color: var(--text-light);
  text-align: center;
  padding: 80px 20px;
}

.page-resources .section-call-to-action h2 {
  color: var(--secondary-color);
  font-size: 2.5em;
}

.page-resources .section-call-to-action p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources h1 {
    font-size: 2.4em;
  }
  .page-resources h2 {
    font-size: 1.8em;
  }
  .page-resources .news-item img {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .page-resources .hero-section {
    padding: 40px 15px;
  }
  .page-resources h1 {
    font-size: 2em;
  }
  .page-resources h2 {
    font-size: 1.6em;
  }
  .page-resources .hero-content p,
  .page-resources .section-call-to-action p {
    font-size: 1em;
  }
  .page-resources .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-resources .guide-grid,
  .page-resources .strategy-grid,
  .page-resources .promo-list {
    grid-template-columns: 1fr;
  }
  .page-resources .news-item {
    flex-direction: column;
  }
  .page-resources .news-item img {
    width: 100%;
    height: 220px;
  }
  .faq-question {
    padding: 12px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
  .faq-answer {
    padding: 12px;
  }
  .page-resources .section-call-to-action h2 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page-resources h1 {
    font-size: 1.8em;
  }
  .page-resources h2 {
    font-size: 1.4em;
  }
  .page-resources .guide-card h3,
  .page-resources .news-content h3,
  .page-resources .promo-item h3 {
    font-size: 1.3em;
  }
  .page-resources .btn-small {
    font-size: 0.85em;
    padding: 7px 15px;
  }
  .page-resources .news-item img {
    height: 180px;
  }
}