/* Breadcurmb */
.center {
  display: flex;
  justify-content: center;
  text-align: center;
  /* z-index: 9999; */
}

/* Banner */
.video-banner {
  position: relative;
  width: 100%;
  height: 85vh;
  /* Full screen banner */
  overflow: hidden;
}

.banner-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Dark overlay for text readability */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.banner-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.banner-content h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 25px;
}

.banner-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #9007c4;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.banner-btn:hover {
  background: #74059d;
}

@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 34px;
  }

  .banner-content p {
    font-size: 16px;
  }
}

/* CUSTOM HEALTH BLOG – UNIQUE UI */
.custom-health-blog .rr-blog-item {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.custom-health-blog .rr-blog-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* IMAGE */
.custom-health-blog .rr-blog-thumb {
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.custom-health-blog .rr-blog-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.custom-health-blog .rr-blog-item:hover .rr-blog-thumb img {
  transform: scale(1.08);
}

/* CONTENT */
.custom-health-blog .rr-blog-content {
  padding: 25px 25px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* TITLE */
.custom-health-blog .rr-blog-title a {
  font-size: 20px;
  font-weight: 600;
  color: #0a2540;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.custom-health-blog .rr-blog-title a:hover {
  color: #4f46e5;
}

/* DESCRIPTION */
.custom-health-blog .rr-blog-text p {
  font-size: 15px;
  color: #5f6c7b;
  line-height: 1.7;
  margin-top: 10px;
}

/* FOOTER */
.custom-health-blog .rr-blog-wrap {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eef1f6;
}

/* READ MORE */
.custom-health-blog .rr-blog-link a {
  font-size: 15px;
  font-weight: 500;
  color: #4f46e5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.custom-health-blog .rr-blog-link a:hover {
  color: #1e40af;
  gap: 10px;
}

/* GRID FIX */
.custom-health-blog .col-xl-4 {
  display: flex;
}

/* About Section */
/* GLOBAL */
#primary {
  background: #f8fafc;
  font-family: "Inter", "Poppins", sans-serif;
}

p {
  color: #4b5563;
  line-height: 1.7;
  font-size: 15px;
}

.rr-item-text {
  font-weight: 600;
  color: #1f2937;
}

/* LEFT PROFILE CARD */
.rr-item-about-team {
  background: #c4c9ffb8;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.rr-item-about-team:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.rr-item-about-team img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  transition: transform 0.4s ease;
}

.rr-item-about-team:hover img {
  transform: scale(1.03);
}

.rr-item-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 15px;
}

.rr-item-ctg {
  font-size: 14px;
  color: #6b7280;
}

.rr-item-designation {
  display: inline-block;
  font-size: 13px;
  color: #2563eb;
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 6px;
}

/* PERSONAL INFO CARD */
.rr-item-team-contact {
  background: #c4c9ffb8;
  margin-top: 25px;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.rr-item-team-contact:hover {
  transform: translateY(-4px);
}

.rr-item-team-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rr-item-team-contact ul li {
  font-size: 14px;
  padding-bottom: 8px;
  margin-bottom: 10px;
  color: #374151;
  border-bottom: 1px dashed #e5e7eb;
}

.rr-item-team-contact ul li:last-child {
  border-bottom: none;
}

.rr-item-team-contact a {
  color: #2563eb;
  text-decoration: none;
}

/* SOCIAL ICONS */
.rr-item-social {
  /* display: flex; */
  /* gap: 10px; */
  margin-left: 10px;
}

.rr-item-social li {
  list-style: none;
}

.rr-item-social svg {
  width: 24px;
  height: 24px;
  /* filter: grayscale(100%); */
  opacity: 0.7;
  transition: all 0.3s ease;
}

.rr-item-social svg:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.15);
}

/* RIGHT CONTENT BOX */
.rr-team-detail-box-layout1 {
  background: #c4c9ffb8;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.rr-single-item {
  margin-bottom: 35px;
}

/* TABLE */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.table thead {
  background: #9007c4;
  color: #fff;
}

.table th {
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  border: none;
}

.table td {
  padding: 12px;
  font-size: 14px;
  border-top: 1px solid #e5e7eb;
}

.table tbody tr:hover {
  background: #f9fafb;
}

/* BUTTON */
.rr-doctors-button-2 {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rr-doctors-button-2:hover {
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .rr-team-detail-box-layout1 {
    padding: 20px;
  }
}

/* TABLET & BELOW */
@media (max-width: 991px) {
  .rr-item-about-team,
  .rr-item-team-contact,
  .rr-team-detail-box-layout1 {
    margin-bottom: 25px;
  }

  .rr-item-content h3 {
    font-size: 20px;
  }

  .rr-item-designation {
    font-size: 12px;
  }

  .rr-team-detail-box-layout1 {
    padding: 25px;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .rr-item-about-team img {
    height: auto;
  }

  .rr-item-content h3 {
    font-size: 18px;
  }

  .rr-item-designation {
    font-size: 11px;
  }

  .rr-item-team-contact ul li {
    font-size: 13px;
  }

  .rr-team-detail-box-layout1 {
    padding: 20px;
  }

  .table th,
  .table td {
    font-size: 13px;
    padding: 10px;
  }

  .rr-doctors-button-2 {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .rr-item-content h3 {
    font-size: 17px;
  }

  .rr-item-designation {
    display: block;
    margin-top: 6px;
    text-align: center;
  }

  .rr-item-social {
    margin-left: 0;
    margin-top: 6px;
  }

  .table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* feature Section */

/* Make feature box take full height */
.rr-features-3 {
  width: 100%;
  height: 80%;
}

/* Optional: ensure inner item stretches nicely */
.rr-features-3-item {
  height: 100%;
}

/* Gallery Section */
/* ===== Gallery Section ===== */

.rr-gallery-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.rr-gallery-card:hover {
  transform: translateY(-10px);
}

.rr-gallery-thumb {
  position: relative;
  overflow: hidden;
}

.rr-gallery-thumb img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rr-gallery-card:hover img {
  transform: scale(1.08);
}

/* Overlay */
.rr-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.75)
  );
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rr-gallery-thumb:hover .rr-gallery-overlay {
  opacity: 1;
  visibility: visible;
}

/* Overlay Content */
.rr-gallery-content h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.rr-gallery-btn {
  width: 50px;
  height: 50px;
  background: #6a4cff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}

.rr-gallery-btn:hover {
  background: #fff;
  color: #6a4cff;
}

/* Button */
.rr-btn {
  padding: 14px 34px;
  background: #6a4cff;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}

.rr-btn:hover {
  background: #4b32e3;
  color: #fff;
}

/* video Section */
/* Video gallery wrapper */
.rr-video-gallery {
  margin-top: 30px;
}

/* Card */
.rr-video-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  background: #fff;
}

.rr-video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Video thumb */
.rr-video-thumb {
  position: relative;
  padding-top: 56.25%; /* 16:9 ratio */
}

.rr-video-thumb iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Overlay */
.rr-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.rr-video-card:hover .rr-video-overlay {
  opacity: 1;
}

/* Play icon */
.rr-play-icon {
  width: 70px;
  height: 70px;
  background: #7b3fe4;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* Contact Info */
@media (max-width: 767px) {
  .rr-contat-box-info {
    margin-bottom: 25px;
  }
}

/* Contact Map */
.rr-location-area {
  background: #f8f9fc;
}

.rr-location-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.rr-location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.rr-location-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.rr-location-header i {
  font-size: 20px;
  color: #fff;
}

.rr-location-header h4 {
  margin: 0;
  font-size: 18px;
  color: #fff;
  font-weight: 600;
}

.rr-location-map iframe {
  width: 100%;
  height: 380px;
  border: none;
}
