/* ==========================
   General Typography
========================== */
.rakcaretitle p,
ul.RakList {
  font-size: 17px;
  line-height: 25px;
  color: #000000d6;
}

.rakcaretitle h2 {
  color: #d190c0;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.headingg {
  color: #d190c0 !important;
}

/* ==========================
   Doctor Listing
========================== */
.doctor-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .doctor-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .doctor-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.doctor-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
}

.doctor-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.doctor-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doctor-info h2 {
  font-size: 1.25rem;
  margin: 0 0 5px;
  color: #252523;
}

.doctor-info .specialty,
.doctor-info .experience {
  margin-bottom: 4px;
  display: block;
  color: #d190c0;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.rating {
  color: #ffa500;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.review-text {
  flex: 1;
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-submit,
.review-btn-submit {
  background-color: #d190c0;
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  text-align: center;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-submit:hover,
.review-btn-submit:hover {
  background-color: #1c1c1c;
}

@media (max-width: 991px) {
  .review-btn-submit {
    display: inline-block !important;
    width: 100%;
    text-align: center;
  }
}

/* ==========================
   Sections & Backgrounds
========================== */
section.cardiologysection {
  background-color: #ddebf6 !important;
}

img#engtLauncherIcon {
  display: none;
}

@media only screen and (max-width: 600px) {
  .rakcaretitle {
    padding: 0 !important;
  }
}

@media only screen and (max-width: 1599px) {
  .home-info-bg span.color-pink {
    font-size: 35px !important;
    line-height: 40px !important;
  }
}

/* ==========================
   FAQ Styles
========================== */
.faq-section {
  padding: 60px 20px;
  background: #f9f9fb;
}

.faq-item {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.faq-question {
  width: 100%;
  background: #ebb8dd;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #685353;
  padding: 18px 20px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #fbeaf5;
  color: #fff;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  color: #555;
  background-color: #fff;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  padding: 16px 20px 20px;
  max-height: 500px;
}

.faq-icon {
  font-size: 22px;
  transition: transform 0.3s ease;
  color: #fff;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* + becomes × */
}

/* ==========================
   Testimonials
========================== */
.testimonial-section {
  padding: 40px 20px;
  background-color: #f3f4f6;
}

.section-title h2 {
  text-align: center;
  color: #d190c0;
  font-size: 32px;
  margin-bottom: 30px;
}

.testimonials-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-card {
  background: #fff;
  border-left: 4px solid #d190c0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-content {
  font-size: 16px;
  color: #555;
  margin-bottom: 12px;
}

.testimonial-author {
  font-weight: bold;
  color: #d190c0;
  font-size: 14px;
}

/* ==========================
   Appointment Form
========================== */
.appointment-section {
  background-color: #fff;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.appointment-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('https://rakhospital.com/wp-content/uploads/2025/08/purty-wood.png');
  opacity: 0.04;
  z-index: 0;
}

.appointment-section .container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.appointment-content {
  background: linear-gradient(135deg, #fdf0f7, #ffffff);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0,0,0,0.07);
}

.appointment-content h2 {
  font-size: 32px;
  color: #d190c0;
  margin-bottom: 10px;
}

.appointment-content p {
  color: #666;
  margin-bottom: 30px;
  font-size: 16px;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.appointment-form .form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.appointment-form .form-group input {
  flex: 1;
}

.appointment-form textarea {
  resize: none;
  min-height: 100px;
}

.appointment-form button {
  background-color: #d190c0;
  color: #fff;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.appointment-form button:hover {
  background-color: #b86da9;
}

.appointment-form .eform-button-container-inner button {
  max-width: 234px !important;
}

@media (max-width: 768px) {
  .appointment-form .form-group {
    flex-direction: column;
  }
}

.book-appointment-btn {
  background-color: #d190c0;
  color: #fff;
  padding: 9px 14px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(209,144,192,0.3);
}

.book-appointment-btn:hover {
  background-color: #b86da9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(184,109,169,0.4);
}

/* ==========================
   Bottom Fixed CTA
========================== */
@media (max-width: 991px) {
  .BottomStrip1 {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .BottomStrip1 {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #000;
    opacity: 0.9;
    padding: 12px 20px;
    z-index: 9999;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  }

  .bottom-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }

  .bottom-navigation_content {
    font-size: 16px;
    color: #fff;
    margin: 0 10px 0 0;
  }

  .button-parent {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .btnBottomNav {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    border: 2px solid #d190c0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #d190c0;
    background-color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .btnBottomNav:hover {
    background-color: #000;
    color: #fff;
  }

  .cta-whatsapp {
    background-color: #25D366;
    border: none;
    color: #fff;
  }

  .cta-whatsapp:hover {
    background-color: #1ebe58;
  }

  .cta-appointment {
    background-color: #d190c0;
    border: none;
    color: #fff;
  }

  .cta-appointment:hover {
    background-color: #000;
    border: 2px solid #d190c0;
  }

  .btnBottomNav img {
    width: 20px;
    height: 20px;
    margin-right: 6px;
  }
}

.cta-close-btn {
  background-color: #fff;
  border: 2px solid #d190c0;
  color: #d190c0;
  transition: all 0.3s ease;
}

.cta-close-btn:hover {
  background-color: #000;
  color: #fff;
  border-color: #d190c0;
}

/* ==========================
   Responsive Table
========================== */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  background-color: #fff;
}

.responsive-table thead {
  background-color: #d190c0;
  color: white;
}

.responsive-table th,
.responsive-table td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
}

.responsive-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

@media (max-width: 768px) {
  .responsive-table thead {
    display: none;
  }

  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table tr {
    border: 1px solid #ddd;
    background: #fff;
  }

  .responsive-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .responsive-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    text-align: left;
    font-weight: bold;
    color: #555;
  }
}

/*Specialized Services*/

.healthcheckup {
  padding: 60px 0;
  background: #f7f8fc;
}

.health-box {
  background: #fff;
  padding: 40px 25px;
  text-align: center;
  border: 2px solid #c480a7;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08), inset 0 0 12px rgba(113,47,100,0.03);
  transition: all 0.5s ease; /* smoother transition */
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Decorative soft background glow */
.health-box::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at top left, rgba(113,47,100,0.06), transparent 70%);
  transition: all 0.8s ease;
  transform: rotate(25deg);
  z-index: 0;
}

.health-box h3 {
  font-size: 22px;
  margin-bottom: 25px;
  font-weight: 700;
  color: #333;
  position: relative;
  z-index: 1;
}

.health-box a {
  display: inline-block;
  padding: 12px 28px;
  background: #c480a7;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(113,47,100,0.25);
}

.health-box a:hover {
  background: #444442;
  box-shadow: 0 6px 18px rgba(238,114,3,0.35);
}

/* Hover Effect */
.health-box:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12), inset 0 0 20px rgba(113,47,100,0.05);
}

.health-box:hover::before {
  top: -20%;
  left: -20%;
}

.health-box:hover h3 {
  color: #c480a7;
}

/* Light Pink Style */
.health-box.pink {
  background: linear-gradient(145deg, #ffe6f1, #f9c8df); /* lighter pink shades */
  color: #333;
  box-shadow: 0 6px 18px rgba(249,200,223,0.5), inset 0 0 15px rgba(255,255,255,0.5);
}

.health-box.pink h3 {
  color: #c480a7;
}

.health-box.pink a {
  background: #c480a7;
  color: #fff;
  box-shadow: 0 4px 12px rgba(113,47,100,0.25);
}

.health-box.pink a:hover {
  background: #444442;
  color: #fff;
  box-shadow: 0 6px 18px rgba(238,114,3,0.35);
}
/* Add spacing between boxes in mobile view */
@media (max-width: 767px) {
  .health-box {
    margin-bottom: 20px; /* space between stacked boxes */
  }
}