  /* @import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Lato:wght@400;700&display=swap"); */

  :root {
    --brand-color: hsl(46, 100%, 50%);
    --black: hsl(0, 0%, 0%);
    --white: hsl(0, 0%, 100%);
    --overlay-bg: rgba(0, 0, 0, 0.7);
  }
  
  .card_sec {
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* background-color: #f4f4f4; */
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;

  }

  /* .card {
  display: grid;
  flex-direction: column;
  justify-content: space-between; 
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  text-align: center;
  color: white;
  cursor: pointer;
  transition: all 0.4s ease;
  height: 100%;
  width: 100%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
} */
/* Default: Horizontal scroll-free row (for screens >800px) */
.card_secI {
  display: flex;
  flex-wrap: nowrap;           /* No wrapping */
  justify-content: center;
  gap: 12px;
  padding: 16px;
  box-sizing: border-box;
  overflow-x: hidden;
  flex-direction: row;
}

/* Card style */
.card {
  flex: 1 1 300px;
  max-width: 300px;
  min-width: 200px;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background: #fff;
  color: #000;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Explore button */
.explore-btn-wrapper {
  width: 100%;
  text-align: center;
  margin-top: 16px;
}

/* For screens 800px and below — switch to 2x2 layout */
@media (max-width: 800px) {
  .card_secI {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    justify-items: center;
  }

  .card {
    width: 100%;
  }
}

/* Optional: For small phone screens, use single column */
@media (max-width: 500px) {
  .card_secI {
    grid-template-columns: 1fr;
  }
}


  
  .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease-in-out;
  }
  
  .card .title {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-shadow:
      2px 2px 4px rgba(0, 0, 0, 0.4),
      4px 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 1.5rem;
    color: #ffffff; 
    
    text-align: center;
    z-index: 2;
    background: none;
    padding: 5px 10px;
    text-transform: uppercase;
    font-weight: 900;
  }

  .card p.second-text {
  position: absolute;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 1rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

/* Make card position relative to control text absolute */
  
  
  .card .info {
    position: absolute;
    bottom: -160px;
    left: 0;
    width: 100%;
    background: var(--overlay-bg);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: bold;
    padding: 15px;
    text-align: center;
    transition: bottom 0.3s ease-in-out;
    border-radius: 15px;
  }
  
  .card .arrow {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 3;
  }
  
  .card .arrow:hover {
    background-color: hsl(46, 100%, 40%);
  }
  
  .card:hover img,
  .card.active img {
    filter: blur(5px);
  }
  
  .card:hover .info,
  .card.active .info {
    bottom: 55px;
  }
  
  @media (max-width: 768px) {
    body {
      flex-direction: column;
      height: auto;
    }
  
    .card {
      width: 90%;
    }
  
    .card:hover .info {
      bottom: -160px;
    }
  
    .card.active .info {
      bottom: 55px;
    }
  }
  .crd_hd {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
    display: block;
  }
  
  .card_sec_heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .card_sec_dci {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    color: #333;
  }
  .reveal-text span {
    opacity: 0;
    display: inline-block;
    transform: translateY(10px);
    animation: letterFade 0.4s ease-out forwards;
  }
  
  @keyframes letterFade {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  

  
  
  
  
  
  
  

  