.second-opinion-consultation {
  position: relative;
  color: #000;
  overflow: hidden;
  min-height: 420px;
}

/* Background Image container */
.second-opinion-consultation .image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.second-opinion-consultation .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Styling */
.second-opinion-consultation .container {
  position: relative;
  z-index: 1;
}

.second-opinion-consultation h2 {
  color: #A6012D;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.4;
}

.expect-list {
  list-style: none;
  padding-left: 0;
}

.expect-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 18px;
  color: #222;
  line-height: 1.6;
  font-size: 16px;
}

.expect-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #3E3B3C;
  font-size: 22px;
  line-height: 1;
}

.page-template-page-second-opinion .image-wrapper img {
    border-radius: 0;
}

.page-template-page-second-opinion .second-opinion-consultation h2 {
  position: relative;
  padding-left: 18px; /* space for the red bar */
  color: #A6012D;
  font-weight: 700;
  line-height: 1.4;
}

/* Red bar before the heading */
.page-template-page-second-opinion .second-opinion-consultation h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background-color: #A6012D;
  border-radius: 2px;
}



.page-template-page-second-opinion .cta-left {
    background: url(https://dramitchakraborty.com/wp-content/uploads/2025/11/formimag.webp) center / cover no-repeat;
    color: #111;
    padding: 30px 40px 196px 40px;
}

.cta-right .cta-btn {
    background: white;
    color: #A6012D;
    border: 2px solid #A6012D; /* optional: adds a border for better hover effect */
    transition: all 0.3s ease; /* smooth transition */
}

.cta-right .cta-btn:hover {
    background: #A6012D; /* change background to your primary color */
    color: white;         /* text becomes white on hover */
    border-color: #A6012D; /* border matches background */
}


.second-opinion-consultation .expect-list {
    width: 70%;
}

.EnqInput {
    width: 100%;
    padding: 18px 14px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #D9D9D966;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

@media(max-width: 1281px){

}

/* Responsive */
@media(max-width: 991px){
  .second-opinion-consultation {
    text-align: left;
    padding: 70px 0;
  }

  .expect-list li {
    font-size: 15px;
  }
    
    .page-template-page-second-opinion .cta-left {
    padding: 30px 40px 136px 40px;
}
}


/* ===== Perfect Fullscreen Banner ===== */
.OpinionBanner {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: url("https://dramitchakraborty.com/wp-content/uploads/2025/11/opinionbanner.webp")
              no-repeat center right;
  background-size: cover;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* LEFT TEXT SECTION */
.banner-content {
  width: 100%;
  text-align: center;
}


/* ===== Responsive ===== */
@media (max-width: 991px) {
  .OpinionBanner {
    background-position: center;
    background-size: cover;
    min-height: 50vh;
    text-align: center;
  }

  .banner-content {
    justify-content: center;
    padding: 0 20px;
  }
}


@media (max-width: 575px) {

  .second-opinion-consultation .expect-list {
    width: 100%;
}
.page-template-page-second-opinion .cta-left {
    padding: 10px;
}
.page-template-page-second-opinion .cta-right {
    padding: 10px;

}

}
