.resources-section {
  padding: 5rem var(--padding-horizontal);
  background: #fafafa;
  font-family: "Fira Sans", Arial, sans-serif;
}

.resources-header {
  text-align: center;
  margin-bottom: 3rem;
}

.resources-header h1 {
  font-family: "Faustina", serif;
  font-size:var(--fs-32);
  background: var(--primary-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.resources-header p {
  font-size: 1.1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.resource-card {
  /*background: #fff;*/
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resource-card img {
  width: 100%;
  height: 150px;  
  border-radius: 0.6rem;
  margin-bottom: 1.2rem;
  object-fit: cover; 
}


.resource-card h3 {
  font-family: "Faustina", serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.resource-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1000px) and (max-width: 1200px) {
  .resources-header h1{
      margin-top:3rem;
  }
}

@media (min-width:768px) and (max-width: 992px) {
  .resources-section{
    padding: 8rem 2rem;
  }

  .resources-header h1 {
    font-size: 2rem;
  }

  .resources-header p {
    font-size: 1rem;
  }

  .resource-card {
    padding: 1.5rem;
  }

  .resource-card img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .resources-section {
    padding: 4rem 1rem;
  }

  .resources-header h1 {
    font-size: 1.6rem;
  }

  .resources-header p {
    font-size: 0.9rem;
  }

  .resources-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .resource-card h3 {
    font-size: 1.2rem;
  }

  .resource-card p {
    font-size: 0.9rem;
  }
}
