/********** Template CSS **********/
:root {
  --primary: #009cff;
  --secondary: #777777;
  --light: #f8f8f8;
  --dark: #252525;
  
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.top-header {
  background: #ffffff;
  padding: 10px 0;
}

.logo {
  width: 350px;
}

.doctor-name {
  color: #8b1c1c;
  font-weight: 600;
  margin: 0;
}

.doctor-desc {
  font-size: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .contact-box {
    display: none;
  }
}

/* CONTACT BOX */

.contact-box {
  text-align: center;
}

.contact-box i {
  font-size: 28px;
  color: #2c5ea8;
}

.contact-box strong {
  display: block;
}

/* NAVBAR */

.main-navbar {
  background: #2c5ea8;
}

.main-navbar .nav-link {
  color: #fff;
  font-weight: 600;
  padding: 15px 18px;
}

.main-navbar .nav-link:hover {
  color: #ffd200;
}

.main-navbar .active {
  border-bottom: 3px solid red;
}

.dropdown-menu {
  border-radius: 0;
}

.dropdown-item:hover {
  background: #2c5ea8;
  color: #fff;
}
/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.section-title::before {
  position: absolute;
  content: "";
  width: calc(100% + 80px);
  height: 2px;
  top: 4px;
  left: -40px;
  background: var(--primary);
  z-index: -1;
}

.section-title::after {
  position: absolute;
  content: "";
  width: calc(100% + 120px);
  height: 2px;
  bottom: 4px;
  left: -60px;
  background: var(--primary);
  z-index: -1;
}

.section-title.text-start::before {
  width: calc(100% + 40px);
  left: 0;
}

.section-title.text-start::after {
  width: calc(100% + 60px);
  left: 0;
}

/*** Img Border ***/
.img-border {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.img-border::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 3rem;
  bottom: 3rem;
  border: 5px solid var(--primary);
  border-radius: 6px;
}

.img-border img {
  position: absolute;
  top: 3rem;
  left: 3rem;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  object-fit: cover;
  border-radius: 6px;
}
/* ////////////////////////////////////////////////////////////////////////////////// */
.sidebar .list-group-item {
  background: #2e5fa3;
  color: #fff;
  border: 1px solid #2a5593;
  font-weight: 500;
}

.sidebar .list-group-item.active {
  background: #1d4c8c;
}

.sidebar .list-group-item:hover {
  background: #1b4a86;
  cursor: pointer;
}

/* ////////////////////////////////////////////////////////////////////////////////// */
.services-section {
  background: #ffffff;
}

/* title */

.section-title {
  font-size: 30px;
  color: #000;
  font-weight: 700;
}

.title-line {
  width: 60px;
  height: 3px;
  background: red;
  margin: 10px auto 40px;
}

/* card */

.service-card {
  position: relative;
  padding-bottom: 30px;
}

/* image */

.service-img img {
  width: 80%;
  height: 250px;
  object-fit: cover;
}

/* icon */

.service-icon {
  width: 80px;
  height: 80px;
  background: #1f66b3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -40px auto 20px;
  position: relative;
  z-index: 2;
}

.service-icon img {
  width: 50px;
}

/* title */

.service-card h4 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

/* button */

.btn-read {
  border: 2px solid #444;
  padding: 8px 25px;
  font-size: 13px;
  letter-spacing: 1px;
  background: transparent;
  color: #222;
  transition: 0.3s;
}

.btn-read:hover {
  background: #1f66b3;
  border-color: #1f66b3;
  color: #fff;
}
/* /////////////////////////////////////////////////////////////////////////// */
.gallery-section {
  background-color: #e9e9e9;
  padding-top: 50px;
  padding-bottom: 80px; /* Light grey background from image */
}

/* Heading Style */
.gallery-title {
  font-weight: 700;
  font-size: 35px;
  color: #333;
  margin-bottom: 15px;
}

.title-separator {
  width: 60px;
  height: 2px;
  background-color: #dc3545; /* Red underline */
  margin: 0 auto;
}

/* Gallery Images */
.gallery-item {
  overflow: hidden;
  height: 200px;
  /* Fixed height to keep grid uniform */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This prevents images from stretching */
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Hover effect (Optional but professional) */
.gallery-item img:hover {
  transform: scale(1.05);
}

/* View More Button */
.btn-view-more {
  border: 1px solid #333;
  background: transparent;
  color: #333;
  padding: 10px 30px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 50px;
}

.btn-view-more:hover {
  background-color: #333;
  color: #fff;
}
/* /////////////////////////////////////////////////////////////////////// */
.testimonials {
  background: #f3f3f3;
  padding: 80px 20px;
  text-align: center;
}

.title {
  font-size: 32px;
  font-weight: 700;
  color: #000;
}

.underline {
  width: 60px;
  height: 3px;
  background: #e74c3c;
  margin: 15px auto;
}

.subtitle {
  color: #666;
  margin-bottom: 40px;
}

.testimonial-slider {
  position: relative;
  min-height: 120px;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.review {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

.slide h4 {
  font-weight: 600;
}

.btn-more {
  margin-top: 40px;
  padding: 12px 30px;
  border: 2px solid #333;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}

.btn-more:hover {
  background: #333;
  color: #fff;
}

/* /////////////////////////////////////////////////////////////////////////////////// */
.appointment-cta {
  /* Replace with your actual background image or a gradient */
  background: url("../img/appoinment.png");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.appointment-cta h2 {
  color: #222; /* Or white depending on your background brightness */
  font-size: 50px;
}

.specialty-text {
  color: #ffffff;
}

/* The Transparent Bordered Button */
.btn-appointment {
  border: 2px solid #fff;
  border-radius: 0;
  padding: 12px 35px;
  font-weight: 600;
  text-transform: capitalize;
  background-color: rgba(255, 255, 255, 0.1);
  transition: 0.3s all ease;
  color: #ffffff;
}

.btn-appointment:hover {
  background-color: #fff;
  color: #0062cc; /* Changes to blue on hover */
}

/* Image Positioning */
.cta-image {
  max-height: 350px;
  /* Optional: subtle floating animation */
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
/* //////////////////////////////////////////////////////////////// */
.about-section {
  background: #f5f5f5;
  padding: 40px 0;
}

/* LEFT SIDEBAR */

.sidebar {
  background: #2d5fa7;
  color: white;
  padding: 20px;
}

.sidebar-title {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
}

.sidebar-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-menu li a {
  display: block;
  padding: 10px 0;
  color: white;
  text-decoration: none;
}

.sidebar-menu li a:hover {
  color: #ffd000;
}

/* CENTER */

.section-title {
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: red;
  position: absolute;
  bottom: -8px;
  left: 0;
}

.doctor-img {
  border-radius: 5px;
}

/* RIGHT SIDEBAR */

.right-sidebar {
  padding: 10px;
}

.info-card {
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  color: white;
}

.red {
  background: #a63b36;
}

.blue {
  background: #204e86;
}

.gray {
  background: #6e6e6e;
}

.light-red {
  background: #d4645e;
}
/* ////////////////////////////////////////////////////////// */
.footer-section {
  background: url("../img/footer-bg.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
}

.footer-overlay {
  background: rgba(0, 0, 0, 0.75);
  padding: 60px 0;
}

/* titles */

.footer-title {
  font-size: 22px;
  margin-bottom: 15px;
  position: relative;
}

.footer-title::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #e63946;
  position: absolute;
  left: 0;
  bottom: -8px;
}

/* text */

.footer-section p {
  font-size: 14px;
  line-height: 1.7;
}

/* links */

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 14px;
}

/* bottom bar */

.footer-bottom {
  background: #2d2d35;
  padding: 15px 0;
  font-size: 14px;
}

.footer-social a {
  color: #4da3ff;
  margin-left: 15px;
  font-size: 18px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #fff;
}
.blood-table {
  width: 100%;
  border-collapse: collapse;
  font-family: serif;
}

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

.blood-table th {
  background: #ffffff;
  font-weight: bold;
}
.liver-box {
  border: 1px solid #777;
  padding: 25px;
  font-family: serif;
  background: #ffffff;
  margin-top: 15px;
}

.liver-box h4 {
  font-weight: bold;
  margin-bottom: 20px;
}

.liver-box p {
  font-size: 16px;
}

.liver-box hr {
  margin: 25px 0;
}

.liver-boxx {
  border: 1px solid #000;
  padding: 20px;
  background: #ffffff;
  margin-top: 15px;
}

.testimonial-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.testimonial-img {
  width: 150px;
  height: 120px;
  object-fit: cover;
}

.testimonial-content p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.appointment-section {
  background: #ffffff;
}

.small-title {
  font-size: 18px;
  color: #444;
  position: relative;
  margin-bottom: 10px;
}

.small-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #e63946;
  display: block;
  margin-top: 5px;
}

.section-title {
  font-size: 35px;
  font-weight: 700;
}

.appointment-form label {
  margin-top: 20px;
  font-weight: 600;
}

.appointment-form .form-control {
  background: #e9e9e9;
  border: none;
  height: 45px;
  margin-top: 8px;
}

.message-box {
  height: 150px !important;
}

.contact-boxx {
  background: #234c9f;
  color: white;
  padding: 35px;
}

.contact-box hr {
  border-color: white;
  opacity: 0.6;
}

.map-section {
  padding: 70px 0;
  background: #f5f5f5;
}

.map-title {
  text-align: center;
  margin-bottom: 40px;
}

.map-title h2 {
  font-size: 36px;
  font-weight: 700;
}

.map-title p {
  color: #666;
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.surgery-banner {
  width: 100%;
  height: 300px;
  background-image: url("../img/footer-bg.jpg"); /* your image */
  background-size: cover;
  background-position: center;
  position: relative;
}

/* top colored lines */

.surgery-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: #2f66b3;
}

.surgery-banner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 6px;
}

.blog-section {
  background: #f5f5f5;
}

.blog-card {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.blog-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.blog-content {
  padding: 25px;
}

.blog-tag {
  color: #444;
  font-size: 14px;
}

.blog-title {
  color: #e11d2e;
  font-size: 20px;
  font-weight: 600;
  margin-top: 10px;
}

.blog-text {
  color: #555;
  line-height: 1.7;
  margin-top: 10px;
}
.blog-details {
  background: #f5f5f5;
}

.blog-category {
  font-size: 18px;
  color: #333;
}

.blog-main-title {
  font-size: 33px;
  font-weight: 700;
  color: #e11d2e;
  margin-top: 10px;
}

.blog-line {
  width: 60px;
  height: 3px;
  background: #333;
  margin: 20px 0;
}

.blog-meta {
  font-size: 18px;
  color: #000;
}

.blog-meta i {
  margin-right: 5px;
}

.blog-image img {
  border-radius: 4px;
}
