@media (max-width: 767px) {

  .showcase-area {
    height: 40vh;
    background: linear-gradient(rgba(240, 240, 240, 0.144),
        rgba(255, 255, 255, 0.336)),
      url("https://img.freepik.com/photos-gratuite/personne-au-bureau-pendant-journee-travail_23-2150690165.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    margin: 2px 0 0 0;
  }

  .showcase-area h1 {
    color: #ec0b0b;
    margin-bottom: 0.1rem;
    font-size: 1.2rem;

  }

  .showcase-area p {
    font-size: 1rem;
    color: rgb(10, 15, 171);
    line-height: 1.5;
    text-align: center;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }

    to {
      opacity: 3;
      transform: translateY(0);
    }
  }

  .showcase-container {
    animation: fadeInUp 1.2s ease-out forwards;
  }
  .category-card {
  display: grid;
  grid-template-areas:
    "image"
    "title"
    "text"
    "button";
    overflow: hidden;
    border: rgb(14, 15, 15) solid 1px;
    margin: 2em 0.5em;
    padding: 1em 2;
    border-radius: 8px;
    
}
.category-card img {
  width: 500px;
  height: 250px;
  grid-area: image;
  margin: auto;
}
.category-card h3 {
  grid-area: title;
  margin: 0.5em 0.5em 0 0.5em;
  font-size: 1.2rem;
  text-align: center;
}
.category-card p {
  grid-area: text;
  font-size: 1.2rem;
  margin: 0.5em 0.5em 0 0.5em;
}
.category-card .btn {
  grid-area: button;
  margin: 1em auto;
  
}
}
/* 📱 Mobile-first adjustments */
@media (max-width: 480px) {
  .category-card,.coiffure-card {
    margin: 1em 0.5em;
    padding: 1em;
    max-width: 300px;
  }

  .category-card h3,.coiffure-card h3 {
    font-size: 1rem;
  }

  .category-card p,.coiffure-card p {
    font-size: 0.5rem;
  }
  .category-card img,.coiffure-card img {
    width: 90%;
    height: auto;
  }

  .category-card .btn,.coiffure-card .btn {
    font-size: 0.85rem;
    padding: 0.5em 1em;
  }
 
}




