.cdm-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7faf7;
  overflow: hidden;
  position: relative;
  padding: 0px 0px 0px 5%;
}

/* LEFT CONTENT */
.cdm-left {
  width: 45%;
  z-index: 2;
}

.cdm-left h1 {
  font-size: 48px;
  font-weight: 700;
  color: #1c3c2d;
  margin-bottom: 20px;
}

.cdm-left p {
  font-size: 18px;
  color: #555;
  margin-bottom: 25px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: #6b8e23;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #557a1a;
}

/* RIGHT IMAGE */
.cdm-right {
  width: 55%;
  position: relative;
}

/* CURVED IMAGE EFFECT */
.cdm-right img {
  width: 100%;
  height: auto;
  object-fit: cover;

  /* Bottom curve like your image */
  border-bottom-left-radius: 200px;
  border-bottom-right-radius: 0;
}

/* OPTIONAL GREEN SHAPE */
/*.cdm-right::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -120px;
  width: 300px;
  height: 300px;
  background: #8fae4a;
  border-radius: 50%;
  z-index: 1;
}*/
@media (max-width: 992px) {
  .cdm-hero {
    flex-direction: column;
    text-align: center;
  }

  .cdm-left,
  .cdm-right {
    width: 100%;
  }

  .cdm-left h1 {
    font-size: 32px;
  }

  .cdm-right img {
    border-bottom-left-radius: 120px;
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .cdm-left h1 {
    font-size: 26px;
    padding: 0px 20px;
  }
  .cdm-hero{
    padding: 20px 0px 0px 0px!important;
  }
  .cdm-left p {
    font-size: 16px;
  }
}
.cdm-packages {
  padding: 60px 5%;
  background: #fff;
}

/* GRID */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.cdm-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.4s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}

.cdm-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* HEADER IMAGE */
/*.card-header {
  background: url('https://rakhospital.infinitek.ai/wp-content/uploads/2026/04/Diabetes-Package-header.png') no-repeat center/cover;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  border-bottom: transparent!important;
}

.card-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
}*/

/* MAIN IMAGE */
.card-image {
  height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

/* 🔥 HEADING KO TOP PAR LANE KA MAGIC */
.card-header {
  position: absolute;
  top: 37px;
  transform: translate(-50%, -50%); /* 👈 upar lift karega */
  left: 50%;
  width: 100%;
  text-align: center;
  z-index: 5;
  background-color: transparent!important;
  border-bottom: 0px!important;
}

.card-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0; /* ❌ negative margin hatao */
}

/*.cdm-card:hover .card-image img {
  transform: scale(1.05);
}*/

/* PRICE IMAGES */
.price-wrapper {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: -40px; /* card image ke upar overlap effect */
  position: relative;
  z-index: 5;
}

/* 🔥 PRICE BOX */
.price-box {
  background: url('https://rakhospital.infinitek.ai/wp-content/uploads/2026/04/Packages-06.png') no-repeat center;
  background-size: contain;
  width: 140px;
  height: 80px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

/* TEXT STYLING */
.price-box .currency {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.price-box .amount {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  padding-top: 10px;
}

.price-box .duration {
  font-size: 11px;
  color: #000;
  padding-top: 5px;
}
@media (max-width: 768px) {
  .price-wrapper {
    flex-wrap: nowrap; /* important */
  }

  .price-box {
    font-size: 14px; /* thoda chhota kar do */
    padding: 10px;
  }

  .amount {
    font-size: 16px;
    display: block;
  }

  .duration {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .price-wrapper {
    gap: 5px;
  }

  .price-box {
    padding: 8px;
  }

  .amount {
    font-size: 14px;
  }

  .duration {
    font-size: 11px;
  }
}

/* HOVER EFFECT */
.cdm-card:hover .price-wrapper img {
  transform: translateY(-5px);
}

/* DESCRIPTION BACKGROUND */
.card-desc {
  background: url('https://rakhospital.infinitek.ai/wp-content/uploads/2026/04/Diabetes-Package-04.png') no-repeat center/cover;
  padding: 25px;
  text-align: center;
  margin-top: -40px;
}

/* TEXT */
.card-desc p {
  font-size: 14px;
  color: #333;
  margin: 30px 0px;
  text-align: left;
}

/* BUTTONS */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
}

/* COLORS */
.btn.green {
  background: #8fae4a;
  color: #fff;
}

.btn.green:hover {
  background: #6f8c32;
}

.btn.pink {
  background: #d7a2c0;
  color: #fff;
}

.btn.pink:hover {
  background: #b97a9e;
}
@media (max-width: 992px) {
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .package-grid {
    grid-template-columns: 1fr;
  }

  .card-header h2 {
    font-size: 18px;
  }

  .price-wrapper img {
    width: 48%;
  }
}
/* DETAIL SECTION BASE */
.package-detail-section {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  margin: 0;   
  padding: 0;
  grid-column: 1 / -1;
  display: none;
}

/* ACTIVE */
.package-detail-section.active {
  max-height: 100%;
  opacity: 1;
  margin: 20px 0;
}

/* CONTENT */
.detail-content {
  display: none;
  background: #f3f3f3 url('https://rakhospital.com/wp-content/uploads/2026/04/cubes.webp');
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  animation: fadeSlide 0.4s ease;
}

/* SHOW ACTIVE */
.detail-content.active {
  display: block;
}

/* ANIMATION */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* TITLE */
.detail-title {
  text-align: left;
  font-size: 26px;
  margin-bottom: 25px;
  font-weight: 700;
}

/* GRID */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  background: #dfeebc;
  padding: 20px;
  border-radius: 25px;
}

/* HEADINGS */
.detail-content h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* LIST STYLE */
.detail-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 15px;
}

.detail-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
}

/* GREEN BULLET */
.detail-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: #8fae4a;
  border-radius: 50%;
}

/* GREEN BOX */
.not-included {
  background: #fff;
  padding: 20px;
  border-radius: 25px;
  margin-top: 25px;
  text-align: left;
}

.not-included h4 {
  text-align: left;
  margin-bottom: 15px;
}

/* FOOT NOTE */
.note {
  text-align: center;
  margin-top: 25px;
  font-weight: 600;
  color: #0a6b3c;
  font-size: 18px;
}
.cdm-form-section {
  padding: 80px 5%;
  background: linear-gradient(135deg, #f5f7f2, #eef3e6);
}

/* CONTAINER */
.form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  background: #fff;
}

/* LEFT SIDE */
.form-left {
  position: relative;
  display: flex;
  align-items: center;
  padding: 50px;
  color: #fff;
}

/* DARK OVERLAY */
.form-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(195 130 166);
}

/* CONTENT */
.form-content {
  position: relative;
  z-index: 2;
}

.form-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #fff;
}

.form-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #fff;
}

.form-content ul {
  list-style: none;
  padding: 0;
}

.form-content ul li {
  margin-bottom: 10px;
  font-size: 15px;
}

/* RIGHT SIDE */
.form-right {
  background: #fff;
}

/* FORM BOX */
.form-box {
  background: #fff;
  border-radius: 20px;
}

/* eForm Styling (important tweak) */
.speciality-form .ipt_uif_form {
  box-shadow: none !important;
}

.speciality-form input,
.speciality-form textarea,
.speciality-form select {
  border-radius: 10px !important;
  border: 1px solid #ddd !important;
}

/* BUTTON */
.speciality-form .ipt_uif_button {
  background: #8fae4a !important;
  border-radius: 30px !important;
}

/* HOVER */
.speciality-form .ipt_uif_button:hover {
  background: #6f8c32 !important;
}
.appointment-form{
  border-radius: 0px!important;
}
.speciality-form {
    padding: 0px!important;
    margin-top: -10px!important;
}
@media (max-width: 992px) {
  .form-container {
    grid-template-columns: 1fr;
  }

  .form-left {
    min-height: 300px;
    padding: 30px;
  }

  .form-content h2 {
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .form-right {
    padding: 20px;
  }
  .detail-grid {
  display: block!important;
}
}
.tick {
  position: relative;
  padding-left: 25px;
  color: #fff; /* text bhi white */
}

.tick::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-weight: bold;
}
@media (min-width: 1920px) {
  .card-image {
    height: 420px;
  }
}

/* PRICE WRAPPER */
.cdm-price-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 15px 0;
  flex-wrap: wrap;
}

/* PRICE BOX */
.cdm-price-box {
  background: linear-gradient(145deg, #8e9a8c, #6f786a);
  padding: 15px 8px;
  border-radius: 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  min-width: 160px;
}

/* PRICE TEXT */
.cdm-price {
  font-size: 20px;
  font-weight: bold;
}

.cdm-price-sub {
  font-size: 11px;
  margin-top: 0px;
  background: #fff;
  color: #000;
  display: inline-block;
  padding: 3px 7px;
  border-radius: 20px;
}

/* BOOK BUTTON */
.cdm-book-btn-wrap {
  text-align: center;
  margin-top: 20px;
}

.cdm-book-btn {
  background: #d372a4;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
  display: inline-block;
}

.cdm-book-btn:hover {
  background: #b95c8c;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cdm-price-wrapper {
    gap: 10px;
  }

  .cdm-price-box {
    flex: 1 1 45%;
    padding: 12px;
  }

  .cdm-price {
    font-size: 18px;
  }
}