.page-resources {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f4f7f6;
}

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

.page-resources h1,
.page-resources h2,
.page-resources h3 {
  color: #0A2342; /* Dark blue from primary color */
  margin-bottom: 15px;
}

.page-resources h1 {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title on dark background */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-resources h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-resources p {
  margin-bottom: 15px;
  color: #555;
}

.page-resources a {
  color: #0A2342;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources a:hover {
  color: #FFD700;
  text-decoration: underline;
}

/* Buttons */
.page-resources .cta-button,
.page-resources .cta-button-secondary,
.page-resources .btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.page-resources .cta-button {
  background-color: #FFD700; /* Gold */
  color: #0A2342; /* Dark blue */
  border: 2px solid #FFD700;
}

.page-resources .cta-button:hover {
  background-color: #e6c200;
  color: #0A2342;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources .cta-button-secondary {
  background-color: #0A2342; /* Dark blue */
  color: #ffffff;
  border: 2px solid #0A2342;
}

.page-resources .cta-button-secondary:hover {
  background-color: #1a3a5e;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources .btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: #0A2342; /* Dark blue */
  color: #FFD700; /* Gold */
  border: 1px solid #0A2342;
}

.page-resources .btn-small:hover {
  background-color: #1a3a5e;
  color: #FFD700;
  transform: translateY(-1px);
}

/* Hero Section */
.page-resources .hero-section {
  background-color: #0A2342; /* Dark blue background */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-resources .hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 30px;
  object-fit: cover;
}

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

.page-resources .hero-content .cta-button {
  margin-top: 20px;
  font-size: 1.1em;
}

/* General Section Styling */
.page-resources section {
  padding: 60px 0;
}

.page-resources .introduction-section {
  background-color: #ffffff;
}

.page-resources .introduction-section p {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 15px;
}

.page-resources .guides-section,
.page-resources .news-updates-section,
.page-resources .promotions-section,
.page-resources .faq-section {
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}

.page-resources .guides-section .container,
.page-resources .news-updates-section .container,
.page-resources .promotions-section .container,
.page-resources .faq-section .container {
  padding-top: 20px;
  padding-bottom: 20px;
}

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

.page-resources .guide-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-resources .guide-card .card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-resources .guide-card h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources .guide-card h3 a {
  color: #0A2342;
}

.page-resources .guide-card p {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
}

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

.page-resources .news-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-resources .news-item .news-content {
  padding: 25px;
  flex-grow: 1;
}

.page-resources .news-item h3 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources .news-item h3 a {
  color: #0A2342;
}

.page-resources .news-item p {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
}

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

/* Promotions Grid */
.page-resources .promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-resources .promotion-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .promotion-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources .promotion-item .promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-resources .promotion-item h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-resources .promotion-item h3 a {
  color: #0A2342;
}

.page-resources .promotion-item p {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
}

.page-resources .promotions-section .cta-button {
  margin-top: 40px;
}

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

.page-resources .faq-items-wrapper {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-resources .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #0A2342;
}

.page-resources .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-resources .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #0A2342;
}

.page-resources .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fcfcfc;
}

.page-resources .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
  border-top: 1px solid #eee;
}

.page-resources .faq-answer p {
  margin-bottom: 0;
  color: #555;
}

/* Contact Section */
.page-resources .contact-section {
  background-color: #0A2342;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-resources .contact-section h2 {
  color: #FFD700;
  margin-bottom: 30px;
}

.page-resources .contact-section p {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-resources .contact-section strong {
  color: #FFD700;
}

.page-resources .contact-section .cta-button-secondary {
  background-color: #FFD700;
  color: #0A2342;
  border-color: #FFD700;
  margin-top: 40px;
}

.page-resources .contact-section .cta-button-secondary:hover {
  background-color: #e6c200;
  color: #0A2342;
  border-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources h1 {
    font-size: 2.2em;
  }
  .page-resources h2 {
    font-size: 1.8em;
  }
  .page-resources h3 {
    font-size: 1.3em;
  }
  .page-resources .news-item {
    flex-direction: column;
    text-align: center;
  }
  .page-resources .news-item .news-image {
    width: 100%;
    height: 250px;
  }
  .page-resources .news-item .news-content {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-resources .hero-section {
    padding: 60px 0;
  }
  .page-resources .hero-image {
    margin-bottom: 20px;
  }
  .page-resources h1 {
    font-size: 1.8em;
  }
  .page-resources h2 {
    font-size: 1.6em;
  }
  .page-resources h3 {
    font-size: 1.2em;
  }
  .page-resources .guide-cards,
  .page-resources .promotion-grid {
    grid-template-columns: 1fr;
  }
  .page-resources .guide-card,
  .page-resources .promotion-item {
    padding: 20px;
  }
  .page-resources .guide-card .card-image,
  .page-resources .promotion-item .promotion-image {
    height: 180px;
  }
  .page-resources .faq-question {
    padding: 15px 20px;
  }
  .page-resources .faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources .faq-toggle {
    font-size: 20px;
  }
  .page-resources .faq-answer {
    padding: 0 20px;
  }
  .page-resources .faq-item.active .faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources h1 {
    font-size: 1.5em;
  }
  .page-resources h2 {
    font-size: 1.4em;
  }
  .page-resources .cta-button,
  .page-resources .cta-button-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources .btn-small {
    padding: 6px 12px;
    font-size: 0.8em;
  }
  .page-resources .news-item .news-image {
    height: 150px;
  }
  .page-resources .news-item .news-content {
    padding: 15px;
  }
  .page-resources .faq-question h3 {
    font-size: 1em;
  }
}