/* ============================================
   News & Resources (Services) Page Specific Styles
   ============================================ */

/* Services Hero Section */
.services-hero {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.95) 0%, rgba(76, 175, 80, 0.9) 100%), url('../images/background/services-hero.jpg') no-repeat center/cover;
  min-height: 50vh;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

.services-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.services-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 20px;
  font-weight: 700;
}

.services-hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid Section */
.services-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 20px;
}

.services-header p {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-card-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, rgba(46,125,50,0.1), rgba(46,125,50,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-color);
  overflow: hidden;
  position: relative;
}

.service-card:hover .service-card-image {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
}

.service-card-image i {
  transition: all 0.3s ease;
}

.service-card:hover .service-card-image i {
  transform: scale(1.2) rotate(5deg);
}

.service-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.service-card-link:hover {
  gap: 12px;
  color: var(--primary-dark);
}

/* Filter/Category Buttons (optional) */
.services-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #2c3e50;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: white;
}

/* Call to Action Section */
.resources-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(46, 125, 50, 0.8) 100%);
  color: white;
  text-align: center;
}

.resources-cta h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 30px;
  font-weight: 700;
}

.resources-cta p {
  font-size: 1.25rem;
  margin-bottom: 50px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.resources-cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: white;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.resources-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
  }

  .services-header h2 {
    font-size: 2rem;
  }

  .services-header p {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-filter {
    gap: 10px;
    margin-bottom: 40px;
  }

  .filter-btn {
    padding: 8px 20px;
    font-size: 0.95rem;
  }

  .service-card-content {
    padding: 20px;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }

  .resources-cta {
    padding: 60px 0;
  }

  .resources-cta h2 {
    font-size: 2rem;
  }

  .resources-cta p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .services-hero {
    min-height: 45vh;
  }

  .services-hero h1 {
    font-size: 2rem;
  }

  .services-hero p {
    font-size: 1rem;
  }

  .services-header h2 {
    font-size: 1.8rem;
  }

  .service-card-image {
    height: 180px;
    font-size: 2.5rem;
  }

  .service-card-content {
    padding: 15px;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .resources-cta h2 {
    font-size: 1.8rem;
  }

  .resources-cta-btn {
    padding: 14px 32px;
    font-size: 1rem;
  }
}
