*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  background: #fff;
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
  padding: 0 0 64px 0;
  color: #222;
  font-family: "Red Hat Display", sans-serif;
}
.red-hat-display {
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 24px;
}
.section-header h2 {
  font-size: 35px;
  margin-bottom: 18px;
  font-weight: bold;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.view-all-btn {
  background: linear-gradient(90deg, #E3376D 0%, #ED814A 100%);
  border: none;
  color: #fff;
  padding: 12px 40px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.18s;
}
.section-divider {
  display: flex;
  align-items: center;
  margin-bottom: 32px;  /* Space below divider */
  margin-top: -12px;     /* Pull closer to heading if needed */
}

.divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6998;  /* Icon color */
  font-size: 1.12rem;  /* Adjust size as needed */
  margin-right: 8px;
}

.divider-line {
  flex: 1;
  height: 1px;
  border-radius: 4px;
  background: #C8D6DB;
  display: block;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Always 4 cards per row */
  gap: 22px;
  margin-bottom: 52px;
}
.card, .card-wrapper {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(220, 220, 220, 0.23);
  padding: 0px 0px 14px 0px;
  transition: box-shadow 0.16s, transform 0.13s;
  display: flex;
  flex-direction: column;
  border: 1px solid #96969540;
  cursor: pointer;
  min-height: 180px;
}
.card-header {
  display: flex;
  height: 70px;
  padding: 0px 20px;
  align-items: center;
  border-bottom: 1px solid #96969540;
}
.card-header-treatment {
  display: flex;
  padding: 14px 20px;
  align-items: center;
  border-bottom: 1px solid #96969540;
}
.card:hover {
  box-shadow: 0 4px 20px 0 rgba(255, 105, 152, 0.18);
  transform: translateY(-2px) scale(1.018);
}
.card-icon {
  width: 42px;
  height: 42px;
  border: 1px solid #96969540;
  padding: 2px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  font-size: 1.7rem;
  color: #7b61ff;
}
.card-title {
  font-weight: 600;
  font-size: 18px;
  color: #222;
}
.card-title-treatment {
  font-weight: 600;
  font-size: 18px;
  padding: 20px 20px 0px 20px;
  color: #222;
}
.card-desc {
  font-size: 14px;
  color: #545454;
  line-height: 1.55;
  padding: 20px;
  flex: 1;
}
.price {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
}
.onwards{
  font-weight: normal;
  font-size: 14px;
  margin: 0;
}
.card-mobile { display: none; }
@media (max-width: 700px) {
  .card-wrapper, .treatment-card{
    min-height: fit-content;
    border: none;
    padding: 10px;
  }
  .card-mobile{
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
  }
  .card-mobile p{
    font-size: 10px;
  }
  .card-desktop{
    display: none;
  }
  .container {
    padding: 0 4vw;
  }
  .section-header h2{
    font-size: 20px;
  }
  .view-all-btn{
    padding: 8px 30px;
    font-size: 12px;
  }
  .section-header {
    gap: 18px;
    align-items: center;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr); /* Show 2 cards in a row */
    gap: 20px;
  }
}


/* Modal Overlay and Centering */
.modal-overlay {
  position: fixed;
  z-index: 3000;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(31,37,47,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.18s;
}

/* Modal Container */
.modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 450px;
  width: 98vw;
  padding: 34px 26px 22px 26px;
  box-shadow: 0 6px 42px 1px #0002;
  position: relative;
  font-family: "Red Hat Display", sans-serif;
  animation: slideUpIn 0.22s;
}

/* Close Button */
.close-modal {
  position: absolute; right: 12px; top: 16px;
  font-size: 28px;
  color: #212121B3;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}
.close-modal:hover { color: #E3356E; }

.modal-title {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.01em;
  margin: 0 0 8px 0;
  font-family: "Red Hat Display", sans-serif;
}
.modal-underline {
  width: 160px; height: 3px;
  margin: 0 auto 30px auto;
  background: linear-gradient(90deg, #E4376D 0%, #ED824A 100%);
  border-radius: 3px;
}
.req { color: #E3356E; margin-left:3px; }

.modal-input, .modal-textarea, .modal-select {
  width: 100%;
  font-size: 14px;
  font-family: "Red Hat Display", sans-serif;
  padding: 10px 14px;
  border-radius: 9px;
  border: 1px solid #dedede;
  margin-bottom: 19px;
  margin-top: 3px;
  outline: none;
  background: #f9fafd;
  transition: border 0.12s;
}
.modal-input:focus, .modal-textarea:focus, .modal-select:focus {
  border: 1.5px solid #E4376D;
}
.modal-textarea {
  height: 74px; resize: none;
}
.modal-phone-row {
  display: flex;
  gap: 10px;
}
.modal-select {
  width: 80px;
  min-width: 75px;
  max-width: 90px;
  padding: 10px 4px;
}

/* Footer row */
.modal-footer-row {
  margin-bottom: 16px;
  font-size: 13px;
  color: #36394d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tnc-link { color: #ED8349; text-decoration: underline; cursor: pointer; }

.modal-submit-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 13px 0;
  font-size: 16px;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 600;
  color: #fff;
  background: #F94D1D;
  margin-bottom: 8px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: filter 0.13s;
}
.modal-submit-btn:hover { filter: brightness(0.98); }
.modal-whatsapp-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 11px 0;
  font-size: 16px;
  background: #25CC63;
  color: #fff;
  font-weight: 600;
  margin-top: 3px;
  cursor: pointer;
  font-family: "Red Hat Display", sans-serif;
  display: flex; align-items: center; justify-content: center;
  transition: filter 0.13s;
}
.modal-whatsapp-btn:hover { filter: brightness(0.99); }

/* Animations */
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes slideUpIn { from{transform:translateY(30px);} to{transform:translateY(0);} }

@media (max-width: 520px) {
  .modal-content { padding: 16px 4vw; }
}
