/* style/resources.css */
.page-resources {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #1A2633; /* Slightly lighter dark background */
}

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

.page-resources__hero {
  background: linear-gradient(135deg, #2C3E50 0%, #1A2633 100%); /* Darker gradient for hero */
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-title {
  font-size: 3.5em;
  color: #F39C12; /* Vibrant gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-resources__hero-subtitle {
  font-size: 1.5em;
  color: #D3D3D3;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__section {
  padding: 60px 0;
  background-color: #1A2633;
}

.page-resources__section:nth-of-type(even) {
  background-color: #2C3E50; /* Primary color for alternating sections */
}

.page-resources__section-title {
  font-size: 2.8em;
  color: #F39C12;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-resources__text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-resources__grid {
  display: grid;
  gap: 30px;
}

.page-resources__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-resources__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-resources__feature-card {
  background-color: #2C3E50;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-resources__feature-card:hover {
  transform: translateY(-10px);
  background-color: #34495E; /* Slightly lighter on hover */
}

.page-resources__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(243, 156, 18, 0.6));
}

.page-resources__feature-title {
  font-size: 1.6em;
  color: #F39C12;
  margin-bottom: 15px;
}

.page-resources__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #D3D3D3;
}

.page-resources__category-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background-color: #2C3E50;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  padding: 30px;
}

.page-resources__category-item--reverse {
  flex-direction: row-reverse;
}

.page-resources__category-content {
  flex: 1;
}

.page-resources__category-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__category-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__category-title {
  font-size: 2.2em;
  color: #F39C12;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.page-resources__category-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: #F39C12;
  border-radius: 2px;
}

.page-resources__sub-category-title {
  font-size: 1.5em;
  color: #F39C12;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-resources__btn--primary {
  background-color: #F39C12;
  color: #2C3E50;
  box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.page-resources__btn--primary:hover {
  background-color: #E67E22;
  transform: translateY(-3px);
}

.page-resources__btn--secondary {
  background-color: #34495E;
  color: #F39C12;
  border: 2px solid #F39C12;
  margin-top: 25px;
}

.page-resources__btn--secondary:hover {
  background-color: #F39C12;
  color: #2C3E50;
  transform: translateY(-3px);
}

.page-resources__btn--tertiary {
  background-color: transparent;
  color: #F39C12;
  border: 1px solid #F39C12;
  padding: 8px 18px;
  font-size: 0.95em;
  margin-top: 15px;
}

.page-resources__btn--tertiary:hover {
  background-color: #F39C12;
  color: #2C3E50;
}

.page-resources__detail-card {
  background-color: #2C3E50;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.page-resources__detail-card:hover {
  transform: translateY(-5px);
}

.page-resources__detail-title {
  font-size: 1.8em;
  color: #F39C12;
  margin-bottom: 15px;
}

.page-resources__detail-title a {
  color: #F39C12;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__detail-title a:hover {
  color: #E67E22;
  text-decoration: underline;
}

.page-resources__detail-description {
  font-size: 1em;
  line-height: 1.6;
  color: #D3D3D3;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources__cta-app {
  background: linear-gradient(90deg, #F39C12 0%, #E67E22 100%);
  padding: 80px 0;
  color: #2C3E50;
  text-align: center;
}

.page-resources__cta-app-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-resources__cta-app-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-resources__cta-app-text .page-resources__section-title {
  color: #2C3E50;
  text-align: left;
}

.page-resources__cta-app-text .page-resources__section-title::after {
  background-color: #2C3E50;
  left: 0;
  transform: translateX(0);
}

.page-resources__cta-app-text .page-resources__text {
  color: #2C3E50;
}

.page-resources__cta-app-image-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
}

.page-resources__cta-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-resources__contact-us {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__hero-subtitle {
    font-size: 1.3em;
  }
  .page-resources__section-title {
    font-size: 2.2em;
  }
  .page-resources__category-item {
    flex-direction: column;
    text-align: center;
  }
  .page-resources__category-item--reverse {
    flex-direction: column;
  }
  .page-resources__category-title {
    font-size: 1.8em;
  }
  .page-resources__category-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .page-resources__sub-category-title {
    font-size: 1.3em;
  }
  .page-resources__cta-app-text {
    text-align: center;
  }
  .page-resources__cta-app-text .page-resources__section-title,
  .page-resources__cta-app-text .page-resources__section-title::after {
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 80px 0;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-subtitle {
    font-size: 1.1em;
  }
  .page-resources__section {
    padding: 40px 0;
  }
  .page-resources__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources__text,
  .page-resources__feature-text,
  .page-resources__detail-description {
    font-size: 0.95em;
  }
  .page-resources__grid--3-cols,
  .page-resources__grid--2-cols {
    grid-template-columns: 1fr;
  }
  .page-resources__feature-card {
    padding: 25px;
  }
  .page-resources__feature-icon {
    width: 60px;
    height: 60px;
  }
  .page-resources__feature-title {
    font-size: 1.4em;
  }
  .page-resources__category-item {
    padding: 20px;
    margin-bottom: 40px;
  }
  .page-resources__category-title {
    font-size: 1.6em;
  }
  .page-resources__sub-category-title {
    font-size: 1.2em;
  }
  .page-resources__btn {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-resources__detail-title {
    font-size: 1.5em;
  }
  .page-resources__cta-app {
    padding: 60px 0;
  }
  .page-resources__cta-app-content {
    gap: 30px;
  }
  .page-resources__cta-app-text .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__cta-app-image-wrapper {
    order: -1; /* Image above text on mobile for CTA */
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__hero-subtitle {
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__category-item {
    padding: 15px;
  }
  .page-resources__category-title {
    font-size: 1.4em;
  }
  .page-resources__sub-category-title {
    font-size: 1.1em;
  }
  .page-resources__btn {
    padding: 8px 15px;
    font-size: 0.9em;
  }
  .page-resources__detail-title {
    font-size: 1.3em;
  }
  .page-resources__cta-app-text .page-resources__section-title {
    font-size: 1.5em;
  }
}