
  .section {
    max-width: 1200px;
    margin: 0 auto;
    font-family: "Space Grotesk";
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  /* responsive: 3 cols on medium, 2 on small */
  @media (max-width: 1100px){ .grid { grid-template-columns: repeat(3,1fr); } }
  @media (max-width: 760px){ .grid { grid-template-columns: repeat(2,1fr); } }
  @media (max-width: 420px){ .grid { grid-template-columns: 1fr; } }

  .card {
      background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    
   
    padding: 28px 18px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;   /* ✅ center horizontally */
    justify-content: center; /* ✅ center vertically */
    text-align: center;    /* ✅ center text */
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    overflow: hidden;
  
   /* ✅ shadow only on bottom-right */
    box-shadow: 6px 6px 12px rgba(0,0,0,0.08);
  }
    /* ✅ subtle bottom-right gradient inside card */
  .card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right,  #FFC15E99, transparent 70%);
    z-index: 0;
  }
  /* icon wrapper */
  .card .icon {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(24,74,123,0.06);
    flex-shrink: 0;
    align-items: center;
  }
  .card .icon img {
    width: 35px;
    height: 35px;
  }
  .card h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    color: #4B002B;
    line-height: 30px;

    line-height: 1.1;
  }
  .card p {
    margin: 0;
    color: #2D2D2D;
font-weight: 400;
    font-size: 16px;
    line-height:27px;
  }

  /* hover / active look: dark gradient, white text, stronger shadow */
  .card::before{
    /* subtle gradient that appears on hover using opacity */
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
   background: #7A0548;

    opacity: 0;
    transition: opacity 320ms ease;
    mix-blend-mode: normal;
    z-index:-1;
  }

  .card:hover,
  .card.active {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 22px 40px rgba(31,36,64,0.12), 0 6px 18px rgba(24,74,123,0.06);
  }

  .card:hover::before,
  .card.active::before {
    opacity: 1;
  }

  /* invert text + icon colors when hovered (on top of gradient) */
  .card:hover h4,
  .card:hover p,
  .card.active h4,
  .card.active p {
    color: white;
  }
  .card:hover .icon,
  .card.active .icon {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
  }

  /* subtle border highlight on hovered non-selected look */
  .card:hover {
    border-color: rgba(255,255,255,0.06);
  }

  /* make some cards appear already 'selected' like your screenshot (dark colored) */
  .card.purple {
   /*background: #7A0548;*/

    color: white;
    /*color: #2D2D2D;*/
  }
  
  .card.purple p { 
      /*color: rgba(255,255,255,0.9); */
      color: #2D2D2D;
  }

  /* small helper to center the cards content if needed */
  .card .content {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* optional: smaller cards (for footer rows in your screenshot) */
  .card.small {
    padding: 18px;
    min-height: 140px;
  }

  .cards-1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  /*margin: 20px auto;*/
  /*max-width: 1100px;*/
}
 .cards-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;

  /*margin: 20px auto;*/
  /*max-width: 1100px;*/
}
.sec-3 {
  position: relative;
  padding: 50px 50px;


  color: white;
  overflow: hidden;

  /* Gradient background */
  background: linear-gradient(135deg, #6A1E1E 0%, #101010 100%);
}

.sec-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../../images/resources/sec-3-bg.png') no-repeat center/cover;
  opacity:30%; /* adjust opacity */
  z-index: 0;
}
.mod-3 {
  position: relative;
  padding: 80px 80px;


  color: white;
  overflow: hidden;

  /* Gradient background */
 background: linear-gradient(180deg, #4B002B 0%, #000000 100%);

}

.mod-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../../images/resources/mod-bg.png') no-repeat center/cover;
  opacity:30%; /* adjust opacity */
  z-index: 0;
}
.sec-3.content {
  position: relative;
  z-index: 1; /* keep text above overlay */
}
.mod-3.content {
  position: relative;
  z-index: 1; /* keep text above overlay */
}
.wht-col h2
{
    color:#ffffff!important;
}
.card-1 {
 background: transparent;
  border:1px solid #A3A3A3;
  border-radius: 12px;
  padding: 20px 50px 10px 20px;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
 transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.5s ease;
}
.card-2 {
background: linear-gradient(180deg, #FFF8EE 0%, #FFE9C8 100%);
position: relative;
 margin-bottom:15px;
  border-radius: 12px;
  padding: 20px 20px 20px 20px;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
 transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.5s ease;
}
.card-1:hover h4,
.card-1:hover p {
  transform: translateY(-12px); /* slight left movement */
}


.card-1:hover {
  transform: scale(1.12); /* zoom effect */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* glowing shadow */
  border:2px solid  #fff; /* optional highlight */
}
.card-2:hover {
  transform: scale(1.0); /* zoom effect */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* glowing shadow */
  background: #800E4A;
 border:2px solid #A3A3A3;

}
.card-1 .icon {
  width: 50px;
  height: 50px;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.card-2 .icon {
  width: 50px;
  height: 50px;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.card-1 .icon img {
  width: 69px;
  height: 69px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* make icons white */
}
.card-2:hover .icon img {
  width: 69px;
  height: 69px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* make icons white */
}
.card-2 .icon img {
  width: 69px;
  height: 69px;
  object-fit: contain;
  /* filter: brightness(0) invert(1);  */
}
.card-2:hover h4 {

  filter: brightness(0) invert(1); /* make icons white */
}
.card-2:hover p {

  filter: brightness(0) invert(1); /* make icons white */
}
.card-2:hover a {

  filter: brightness(0) invert(1); /* make icons white */
}
.card-2 h4 {
  position: relative;

  font-size: 20px;
   font-weight: 700;
  color:#800E4A;
  margin-bottom: 15px;
  padding-bottom: 10px; /* space for underline */
}
.card-1 h4 {
  position: relative;

  font-size: 20px;
   font-weight: 700;
  color:#ffffff;
  margin-bottom: 15px;
  padding-bottom: 15px; /* space for underline */
}

.card-1 h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;     /* matches text width */
  height: 2px;     /* line thickness */
  background: #fff;
  border-radius: 5px;

}
.card-1 p {
  font-size: 14px;
  color:#ffffff;
  font-weight: 400;
  line-height:normal;
}
.card-2 p {
  font-size: 14px;
  color:#000000;
  font-weight: 400;
  line-height:normal;
}