/* style/resources.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Black */
  --accent-color: #DC143C; /* Crimson for highlights/CTA */
  --text-dark: #1A1A1A;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #2c2c2c;
  --border-color: #e0e0e0;
}

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

.page-resources h1, .page-resources h2, .page-resources h3 {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

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

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

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

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

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

.page-resources a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

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

/* Highlight text */
.page-resources .highlight {
  color: var(--accent-color);
  font-weight: bold;
}

/* Buttons */
.page-resources .btn-primary, .page-resources .btn-small, .page-resources .cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-resources .btn-primary:hover, .page-resources .btn-small:hover, .page-resources .cta-button:hover {
  background: var(--accent-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources .btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

/* Hero Section */
.page-resources .hero-section {
  position: relative;
  width: 100%;
  background: var(--secondary-color);
  padding: 80px 0;
  overflow: hidden;
}

.page-resources .hero-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  padding: 0 20px;
}

.page-resources .hero-content {
  flex: 1;
  text-align: left;
  color: var(--text-light);
  z-index: 2;
}

.page-resources .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-resources .hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

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

/* Introduction Section */
.page-resources .introduction-section {
  padding: 60px 0;
  background-color: var(--background-light);
  text-align: center;
}

.page-resources .introduction-section p {
  max-width: 900px;
  margin: 0 auto 20px auto;
}

/* Guides Section */
.page-resources .guides-section {
  padding: 60px 0;
  background-color: #e8e8e8;
}

.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: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 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;
  justify-content: space-between;
}

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

.page-resources .guide-card .card-image {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-resources .guide-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-resources .guide-card h3 a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-resources .guide-card p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* Strategies Section */
.page-resources .strategies-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-resources .strategy-item {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-resources .strategy-item .item-image {
  max-width: 100%;
  height: 200px; /* Fixed height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-resources .strategy-item h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-resources .strategy-item h3 a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-resources .strategy-item p {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* Offers Section */
.page-resources .offers-section {
  padding: 60px 0;
  background-color: #e8e8e8;
  text-align: center;
}

.page-resources .offer-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-resources .offer-list li {
  background: var(--text-light);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
}

.page-resources .offer-list li strong {
  color: var(--secondary-color);
}

.page-resources .offers-section .btn-primary {
  margin-top: 30px;
}

/* Security Section */
.page-resources .security-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources .security-section h2 {
  color: var(--primary-color);
}

.page-resources .security-section p {
  color: rgba(255, 255, 255, 0.85);
}

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

.page-resources .feature-item {
  background: #3a3a3a;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources .feature-item .feature-icon {
  max-width: 100px;
  height: auto;
  margin-bottom: 20px;
}

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

.page-resources .feature-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1em;
}

/* News Section */
.page-resources .news-section {
  padding: 60px 0;
  background-color: var(--background-light);
  text-align: center;
}

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

.page-resources .article-item {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources .article-item .article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

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

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

.page-resources .article-item h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-resources .article-item h3 a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-resources .article-item p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 15px;
}

.page-resources .article-item .article-date {
  font-size: 0.85em;
  color: #888;
}

.page-resources .news-section .btn-primary {
  margin-top: 40px;
}

/* Contact Support Section */
.page-resources .contact-support-section {
  padding: 60px 0;
  background-color: #f0f0f0;
  text-align: center;
}

.page-resources .contact-info {
  margin: 30px auto;
  max-width: 600px;
  background: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-resources .contact-info .link-text {
  color: var(--primary-color);
  font-weight: bold;
}

.page-resources .contact-support-section .btn-primary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources h1 {
    font-size: 2.8em;
  }
  .page-resources h2 {
    font-size: 2em;
  }
  .page-resources .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .page-resources .hero-content {
    text-align: center;
    margin-bottom: 30px;
  }
  .page-resources .hero-image img {
    max-width: 80%;
  }
  .page-resources .guide-cards, .page-resources .strategy-grid, .page-resources .security-features, .page-resources .article-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources h1 {
    font-size: 2.2em;
  }
  .page-resources h2 {
    font-size: 1.8em;
  }
  .page-resources h3 {
    font-size: 1.4em;
  }
  .page-resources p {
    font-size: 1em;
  }
  .page-resources .cta-button, .page-resources .btn-primary {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-resources .hero-section {
    padding: 60px 0;
  }
  .page-resources .hero-image img {
    max-width: 100%;
  }
  .page-resources .guide-card .card-image, .page-resources .strategy-item .item-image, .page-resources .article-item .article-image {
    height: 180px;
  }
  .page-resources .offer-list li, .page-resources .contact-info p {
    font-size: 1em;
  }
  .page-resources .feature-item .feature-icon {
    max-width: 80px;
  }
}

@media (max-width: 480px) {
  .page-resources h1 {
    font-size: 1.8em;
  }
  .page-resources h2 {
    font-size: 1.5em;
  }
  .page-resources h3 {
    font-size: 1.2em;
  }
  .page-resources .guide-cards, .page-resources .strategy-grid, .page-resources .security-features, .page-resources .article-list {
    grid-template-columns: 1fr;
  }
  .page-resources .guide-card .card-image, .page-resources .strategy-item .item-image, .page-resources .article-item .article-image {
    height: 150px;
  }
  .page-resources .offer-list li {
    padding: 15px;
  }
  .page-resources .contact-info {
    padding: 20px;
  }
}