
.card-wrapper {
      display: grid;
      /* This creates 3 equal columns */
      grid-template-columns: repeat(3, 1fr); 
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
}
.card-container1 {
    background: #F5F5F5;
}

/* Keep your existing .card, .image-box, and .content styles here */
.school-card {
    max-width: 395px;
    width: 100%;
    border: 0.5px solid rgba(90, 10, 50, 0.55);
    border-radius: 40px;
    padding: 18px 20px 20px;
    background: #fff;
    backdrop-filter: blur(5px);
    transition: 0.3s ease;
}
/*.school-card {*/
/*  transition: all 0.4s ease;*/
/*  transform: translateY(0) scale(1);*/
/*  box-shadow: 0 10px 25px rgba(0,0,0,0.08);*/
/*  cursor: pointer;*/
/*}*/

.school-card:hover {
  border: 2px solid rgba(90, 10, 50, 0.55);
}

.image-box {
  width: 100%;
  max-width:355px;
  height: 229px;
  border-radius: 30px; /* Slightly smaller nested radius */
  overflow: hidden;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  padding: 20px 15px 10px 15px;
}

.tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
    background: rgba(213, 191, 202, 0.26);
    font-family: 'Aeonik-Regular';
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 22px;
    color: #000000;
    padding: 2px 8px;
}
.tag:hover{
    background: rgba(217, 217, 217, 0.25);
}

.school-title {
    font-family: 'Aeonik-Bold';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 22px;
    /* or 110% */
    
    color: #5A0A32;
}

.location {
    font-family: 'Aeonik-Regular';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    /* or 147% */
    
    color: #000000;
}

.button-wrapper {
  display: flex;
  justify-content: flex-end; /* Aligns button to the right */
}

.visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #5A0A32;
  border: 1px solid #5A0A32;
  padding: 0px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.visit-btn:hover {
  background-color: #5A0A32;
  color: white;
}

.visit-btn svg{
        width: 25px;
}

/* STRIP */
.custom-search-strip {
  width: 100%;
  height: 135px;
  background: #E6E6E6;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTAINER */
.custom-search-container {
  position: relative;
  width: 420px;
}

/* INPUT FIX (IMPORTANT OVERRIDE) */
.custom-search-container input {
  width: 100% !important;
  height: 52px !important;

  border-radius: 50px !important;
  border: none !important;
  outline: none !important;

  background: #ffffff !important;

  padding: 0 80px 0 20px !important;

  font-family: 'Aeonik', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;

  /* 🔥 SOFT SHADOW (FIGMA STYLE) */
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08) !important;

  /* REMOVE ELEMENTOR STYLES */
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* REMOVE ELEMENTOR BORDER ON FOCUS */
.custom-search-container input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.12) !important;
}

/* SVG POSITION */
.custom-search-icon {
    position: absolute;
    top: -3px;
    /* transform: translateY(-50%); */
    width: 70px;
    height: 70px;
    right: -9px;
    cursor: pointer;
    z-index: 2;
}

/* SVG SIZE */
.custom-search-icon svg {
  width: 100%;
  height: auto;
  display: block;
}

/* HOVER EFFECT */
.custom-search-icon:hover circle:nth-child(2) {
  fill: #c9aab8!important;
}

/* Responsive fix: Stacks cards on smaller screens */
@media (max-width: 1024px) {
  .card-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .card-wrapper {
    grid-template-columns: 1fr;
  }
  
  .card-wrapper {
        padding: 20px;
    }
    .custom-search-container {
        width: 80%;
    }
}
