#services {
  padding: 40px 20px;
  background: #f9f2f6;
}

#services h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: #1D2233;
}

.accordion-item {
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  background: #faf5f4;
}

.accordion-header {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #2a1246;
  background: #f7efed;
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header .arrow {
  transition: transform 0.3s ease;
}

.accordion-header.active .arrow {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 15px 20px;
  background: #fffaf9;
}

.card-grid {
  display: flex;
  gap: 50px;
  margin-top: 10px;
  justify-content: space-around;
}

.card {
    text-align: center;
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
    /* 👇 Add these for equal size square cards */
  width: 200px;   /* fixed width */
  height: 200px;  /* fixed height */
  display: flex;
  flex-direction: column;
  justify-content: center; /* center content vertically */
  align-items: center;     /* center content horizontally */
}

.card:hover {
  transform: translateY(-5px);
}
.giff{
  width: 100px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #1D2233;
}
@media (max-width: 600px){
    .card-grid{
        width: 90%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 0 auto;           /* 👈 centers the whole grid */
        align-items: center;      /* 👈 centers the cards inside */
        justify-content: center;
}
}