:root {
  --primary-color: #19a974;
  --secondary-color: #5ad6b9;
}
a {
  text-decoration: none !important;
}
body {
  font-family: "Inter", sans-serif !important;
  font-display: swap !important;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}

/* Scoped CSS for ORTHOC Hero Section */
.orthoc-hero-section {
  position: relative;
  background: linear-gradient(135deg, #35498a 0%, #0c7361 100%);
  min-height: 95vh;
  overflow: hidden;
  padding-top: 100px;
}

/* Navbar Styles */
.navbar-section .navbar {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.navbar-section .navbar-brand {
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.navbar-section .nav-link {
  color: rgba(90, 9, 9, 0.9) !important;
  margin: 0 10px;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-section .nav-link:hover,
.navbar-section .nav-link.active {
  color: #780505 !important;
}

/* Hero Content Styles */
.orthoc-hero-section .hero-content {
  padding-top: 40px;
  padding-bottom: 120px;
  position: relative;
  z-index: 2;
}

.orthoc-hero-section h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.orthoc-hero-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 600px;
}

.orthoc-hero-section .btn {
  border-radius: 4px;
  font-weight: 500;
  color: #26b99a;
  transition: all 0.3s;
}

.orthoc-hero-section .btn:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Doctor Image */
.orthoc-hero-section .doctor-image {
  width: 675px;
  height: 500px;
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  position: relative;
}

.doctor-image-img {
  width: 675px;
  height: 500px;
  object-fit: contain;
  object-position: right center;
  position: relative;
}
/* Wave Shape at Bottom */
.orthoc-hero-section .wave-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L80,106.7C160,117,320,139,480,138.7C640,139,800,117,960,117.3C1120,117,1280,139,1360,149.3L1440,160L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .orthoc-hero-section {
    min-height: 70vh !important;
    padding-top: 120px;
  }

  .orthoc-hero-section h1 {
    font-size: 2.5rem;
  }

  .orthoc-hero-section .hero-content {
    padding-top: 40px;
    padding-bottom: 100px;
    text-align: center;
  }

  .orthoc-hero-section p {
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .orthoc-hero-section h1 {
    font-size: 2rem;
  }

  .orthoc-hero-section .wave-shape {
    height: 100px;
  }
}

@media (max-width: 575.98px) {
  .orthoc-hero-section .navbar-brand {
    font-size: 1.5rem;
  }

  .orthoc-hero-section h1 {
    font-size: 1.8rem;
  }

  .orthoc-hero-section p {
    font-size: 1rem;
  }
}

/* Departments Section */
.orthoc-departments {
  padding: 80px 0;
  background-color: #ffffff;
}

.orthoc-departments .section-subtitle {
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Department Card Styles */
.orthoc-departments .department-card {
  /* padding: 30px 20px; */
  transition: all 0.3s ease;
  height: 100%;
}

.orthoc-departments .department-card:hover {
  transform: translateY(-5px);
}

/* Icon Styles */
.orthoc-departments .icon-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.orthoc-departments .icon-wrapper i {
  font-size: 40px;
  color: white;
}

.orthoc-departments .department-card:hover .icon-wrapper {
  background-color: #26b99a;
  transform: scale(1.05);
}

/* Department Title Styles */
.orthoc-departments .department-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

/* Department Text Styles */
.orthoc-departments .department-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* View All Button Styles */
.orthoc-departments .btn-view-all {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 30px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
}

.orthoc-departments .btn-view-all:hover {
  background-color: #26b99a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .orthoc-departments {
    padding: 60px 0;
  }

  .orthoc-departments .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 767.98px) {
  .orthoc-departments {
    padding: 50px 0;
  }

  .orthoc-departments .section-title {
    font-size: 2rem;
  }

  .orthoc-departments .icon-wrapper {
    width: 100px;
    height: 100px;
  }

  .orthoc-departments .icon-wrapper i {
    font-size: 35px;
  }
}

@media (max-width: 575.98px) {
  .orthoc-departments {
    padding: 40px 0;
  }

  .orthoc-departments .section-title {
    font-size: 1.8rem;
  }

  .orthoc-departments .section-subtitle {
    font-size: 1rem;
  }

  .orthoc-departments .department-title {
    font-size: 1.2rem;
  }
}

/* About Section */

.about-img {
  margin-top: 33px;
  border-radius: 20px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-section {
  padding: 60px 20px;
}

.read-more-btn {
  background-color: var(--primary-color);
  border: none;
  color: white;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 8px;
  transition: 0.3s ease-in-out;
}

.read-more-btn:hover {
  background-color: #3cc09a;
}

/* .about-doctor-content {
  max-width: 600px;
} */
@media (max-width: 768px) {
  .about-section {
    text-align: center;
    padding-top: 30px;
  }

  .about-img {
    margin-bottom: 16px;
  }

  .about-content {
    margin-top: 30px;
  }
}

/* Contact section */

/* Scoped Contact Section Styles */
.contact-section .contact-heading {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

/* Form styling */
.contact-section .form-control {
  border: none;
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: rgb(242 242 243) !important;
}

.contact-section .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
  border-color: #198754;
}

/* Map container styling */
.contact-section .map-container {
  position: relative;
  height: 480px;
  border-radius: 0.375rem;
  overflow: hidden;
}

.contact-section #map {
  border-radius: 0.375rem;
}

.contact-section .map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
  cursor: pointer;
}

/* Button styling */
.contact-section .btn-success {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}

.contact-section .btn-success:hover {
  background-color: #168f61;
  border-color: #168f61;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .contact-section .contact-heading {
    font-size: 2rem;
    text-align: center;
  }

  .contact-section .map-container {
    height: 300px;
    margin-top: 1rem;
  }
}

@media (max-width: 575.98px) {
  .contact-section .contact-heading {
    font-size: 1.75rem;
  }
}

/* Footer Section */

/* Scoped Footer Styles - These styles only affect elements within #custom-footer */
#custom-footer {
  background-color: var(--primary-color);
  color: #ffffff;
  font-family: Arial, sans-serif;
}

#custom-footer .footer-heading {
  font-size: 1.5rem;
  font-weight: 500;
  color: #ffffff;
}

#custom-footer .footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#custom-footer .footer-contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

#custom-footer .footer-contact-list i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

#custom-footer .footer-social {
  display: flex;
  gap: 15px;
}

#custom-footer .footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

#custom-footer .footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

#custom-footer .footer-text {
  line-height: 1.6;
  opacity: 0.9;
}

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

#custom-footer .footer-links li {
  margin-bottom: 0.75rem;
}

#custom-footer .footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.9;
}

#custom-footer .footer-links a:hover {
  opacity: 1;
  padding-left: 5px;
}

#custom-footer .form-control {
  background-color: #ffffff;
  border: none;
  padding: 0.75rem;
  height: auto;
}

#custom-footer .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

#custom-footer .btn-subscribe {
  background-color: #7fd3b9;
  color: white;
  border: none;
  padding: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

#custom-footer .btn-subscribe:hover {
  background-color: #ffffff;
  color: #7fd3b9;
}

#custom-footer .footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

#custom-footer .footer-copyright p {
  margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  #custom-footer .footer-heading {
    font-size: 1.3rem;
  }
}

@media (max-width: 767.98px) {
  #custom-footer .footer-social {
    margin-bottom: 2rem;
  }
}

/* Testimonial Section */
/* Testimonial Section Styles */
.testimonial-section {
  padding: 80px 0;
}

.testimonial-section h6 {
  color: #475569;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
}

.testimonial-section h1 {
  color: #1e293b;
  font-weight: 800;
  margin-bottom: 60px;
}

.testimonial-section .testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  color: #64748b;
  font-weight: 400;
  max-width: 1000px;
  margin: 0 auto 40px;
  font-style: italic;
}

.testimonial-section .testimonial-author img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 4px solid #f8fafc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-section .author-name {
  font-weight: 600;
  color: #1e293b;
  margin-top: 10px;
}

/* Custom Carousel Indicators */
.testimonial-section .carousel-indicators {
  bottom: -50px;
}

.testimonial-section .carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background-color: #e2e8f0 !important;
  border: none !important;
  margin: 0 6px !important;
  opacity: 1 !important;
}

.testimonial-section .carousel-indicators button.active {
  background-color: #1e293b !important;
  transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .testimonial-section h1 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .testimonial-section .testimonial-text {
    font-size: 16px;
    padding: 0 15px;
  }

  .testimonial-section .testimonial-author img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 576px) {
  .testimonial-section {
    padding: 50px 0;
  }

  .testimonial-section h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .testimonial-section .testimonial-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .testimonial-section .testimonial-author img {
    width: 60px;
    height: 60px;
  }

  .testimonial-section .author-name {
    font-size: 16px;
  }
}

/* Breadcrumb Section */

/* === Scoped Breadcrumb Section === */
.breadcrumb-section {
  background: url("/images/bg-blur.jpg") center center/cover no-repeat;
  min-height: 220px;
  padding: 60px 0;
  color: #ffffff;
}

.breadcrumb-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* Semi-transparent overlay */
  z-index: 1;
}

.breadcrumb-section .container {
  position: relative;
  z-index: 2;
}

.breadcrumb-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.breadcrumb-subtitle {
  font-size: 1rem;
  color: #dcdcdc;
}

.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-item.active {
  color: #dcdcdc;
}

/* Blog Section */

/* === Scoped CSS for Latest Blog Section === */
.latest-blog {
  background-color: #ffffff;
}

.blog-heading {
  font-size: 2.5rem;
  font-weight: 600;
  color: #123d0f;
}

.blog-card {
  padding: 0 10px;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1e3922;
  margin-bottom: 0.5rem;
}

.blog-text {
  color: #4f4f4f;
  font-size: 1rem;
  line-height: 1.6;
}

.blog-card img {
  border-radius: 1.5rem;
  object-fit: cover;
  max-height: 250px;
}

/* Blog Page */

/* Scoped CSS for Blog Layout Section */
.blog-section {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding: 3rem 0;
  background-color: #f8f9fa;
}

.blog-section .article-card {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
}

.blog-section .article-card:hover {
  transform: translateY(-5px);
}

.blog-section .article-image {
  position: relative;
  overflow: hidden;
  height: 450px;
}

.blog-section .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-section .article-card:hover .article-image img {
  transform: scale(1.05);
}

.blog-section .date-badge {
  position: absolute;
  left: 20px;
  bottom: -20px;
  width: 60px;
  height: 60px;
  background-color: #4caf50;
  color: white;
  text-align: center;
  padding: 8px 0;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.blog-section .date-badge .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}

.blog-section .date-badge .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.blog-section .article-content {
  padding: 1.5rem;
  padding-top: 2rem;
}

.article-meta-top {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.article-meta-top span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-main-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111;
}

.blog-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.article-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.2rem;
}

.article-content blockquote {
  border-left: 4px solid #e53935;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #003366;
  background: #f9f9f9;
}

.article-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-btn {
  padding: 0.4rem 0.8rem;
  background-color: #f1f1f1;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.tag-btn:hover {
  background-color: #d0d0d0;
}

.share-icons {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #555;
}

.share-icons i {
  cursor: pointer;
  transition: color 0.3s;
}

.share-icons i:hover {
  color: #4caf50;
}

/* Responsive Enhancements */
@media (max-width: 767.98px) {
  .blog-main-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .article-content {
    padding: 0.5rem !important;
  }
  .blog-subtitle {
    font-size: 1rem;
  }

  .article-content p,
  blockquote {
    font-size: 0.95rem;
  }

  .article-tags {
    flex-direction: row;
    align-items: flex-start;
  }

  .share-icons {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* Recent Posts Sidebar */
.blog-section .recent-posts {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.blog-section .recent-posts-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
  color: #333;
}

.blog-section .recent-post-item {
  display: flex;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.blog-section .recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.blog-section .recent-post-image {
  width: 80px;
  height: 60px;
  margin-right: 15px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-section .recent-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-section .recent-post-content {
  flex-grow: 1;
}

.blog-section .recent-post-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-section .recent-post-item:hover .recent-post-title {
  color: #4caf50;
}

.blog-section .recent-post-date {
  font-size: 0.8rem;
  color: #888;
}

/* Media Queries for Responsiveness */
@media (max-width: 991.98px) {
  .blog-section .recent-posts {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .blog-section .article-image {
    height: 200px;
  }

  .blog-section .article-title {
    font-size: 1.2rem;
  }

  .blog-section .date-badge {
    width: 50px;
    height: 50px;
    padding: 5px 0;
  }

  .blog-section .date-badge .day {
    font-size: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .blog-section .article-meta span {
    margin-right: 1rem;
  }

  .blog-section .recent-post-image {
    width: 70px;
    height: 50px;
  }
}

/* Video Testimonial Section */

/* Scoped CSS for Video Testimonial Section */
.video-testimonial-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.video-testimonial-section .section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.video-testimonial-section .section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.video-testimonial-section .section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.video-testimonial-section .video-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.video-testimonial-section .video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-testimonial-section .video-thumbnail {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.video-testimonial-section .video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-testimonial-section .video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-testimonial-section .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.video-testimonial-section .play-button:hover {
  background-color: #45a049;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-testimonial-section .play-button i {
  color: white;
  font-size: 2rem;
  margin-left: 5px; /* Slight adjustment for play icon */
}

.video-testimonial-section .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.4)
  );
  z-index: 1;
}

.video-testimonial-section .video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 2;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.video-testimonial-section .video-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.video-testimonial-section .video-meta {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.video-testimonial-section .video-meta span {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.video-testimonial-section .video-meta i {
  margin-right: 5px;
}

/* Video Modal Styles */
.video-modal .modal-content {
  background-color: transparent;
  border: none;
}

.video-modal .modal-header {
  border: none;
  padding: 0.5rem;
  position: relative;
  z-index: 10;
}

.video-modal .btn-close {
  background-color: white;
  opacity: 1;
  padding: 0.5rem;
  margin: 0;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.video-modal .modal-body {
  padding: 0;
}

.video-modal .ratio {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Testimonial Info Section */
.video-testimonial-section .testimonial-info {
  padding: 2rem;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-testimonial-section .testimonial-info h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
}

.video-testimonial-section .testimonial-info p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.video-testimonial-section .testimonial-cta {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.video-testimonial-section .testimonial-cta:hover {
  background-color: #45a049;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.video-testimonial-section .testimonial-stats {
  display: flex;
  margin-top: 2rem;
}

.video-testimonial-section .stat-item {
  margin-right: 2.5rem;
}

.video-testimonial-section .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.video-testimonial-section .stat-label {
  font-size: 0.9rem;
  color: #666;
}

/* Media Queries for Responsiveness */
@media (max-width: 991.98px) {
  .video-testimonial-section .testimonial-info {
    margin-top: 2rem;
    padding: 1rem;
  }

  .video-testimonial-section .section-title h2 {
    font-size: 2.2rem;
  }
  .testimonial-info h3,
  p {
    text-align: center;
  }
  .video-testimonial-section .testimonial-stats {
    display: flex;
    margin-top: 2rem;
    justify-content: center;
  }
  .video-testimonial-section .stat-item {
    text-align: center;
  }
  .video-testimonial-section {
    padding-bottom: 0px !important;
  }
}

@media (max-width: 767.98px) {
  .video-testimonial-section {
    padding: 3rem 0;
  }

  .video-testimonial-section .section-title h2 {
    font-size: 2rem;
  }

  .video-testimonial-section .play-button {
    width: 60px;
    height: 60px;
  }

  .video-testimonial-section .play-button i {
    font-size: 1.5rem;
  }

  .video-testimonial-section .video-title {
    font-size: 1.2rem;
  }

  .video-testimonial-section .testimonial-info h3 {
    font-size: 1.8rem;
  }

  .video-testimonial-section .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .video-testimonial-section .section-title h2 {
    font-size: 1.8rem;
  }

  .video-testimonial-section .video-info {
    padding: 1rem;
  }

  .video-testimonial-section .testimonial-stats {
    flex-wrap: wrap;
  }

  .video-testimonial-section .stat-item {
    margin-right: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* Gallery Section */

.my-gallery-container {
  padding: 40px 0;
  max-width: 1200px;
}

.my-gallery-header {
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.my-gallery-title {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
  font-size: 2.5rem;
}

.my-gallery-subtitle {
  color: #718096;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 30px;
}

.my-gallery-divider {
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  margin: 0 auto 30px;
  border-radius: 3px;
}

.my-gallery-grid {
  margin-top: 20px;
}

.my-gallery-item {
  margin-bottom: 30px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
  background-color: white;
}

.my-gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.my-gallery-item-inner {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.my-gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
  border-radius: 12px;
}

.my-gallery-item:hover img {
  transform: scale(1.08);
}

.my-gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border-radius: 12px;
}

.my-gallery-item:hover .my-gallery-item-overlay {
  opacity: 1;
}

.my-gallery-item-text {
  color: white;
  font-weight: 500;
  font-size: 1.1rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.my-gallery-item:hover .my-gallery-item-text {
  transform: translateY(0);
}

.my-gallery-item-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.my-gallery-item:hover .my-gallery-item-icon {
  opacity: 1;
  transform: translateY(0);
}

.my-gallery-item-icon svg {
  width: 20px;
  height: 20px;
  color: #4f46e5;
}

/* Lightbox styles */
.my-lightbox {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 24, 39, 0.95);
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.my-lightbox-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.my-lightbox img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s ease;
}

.my-lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1060;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.my-lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.my-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  cursor: pointer;
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1060;
  transition: all 0.2s ease;
}

.my-lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.my-lightbox-prev {
  left: 20px;
}

.my-lightbox-next {
  right: 20px;
}

.my-lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 20px;
  z-index: 1060;
}

.my-lightbox-caption {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 18px;
  text-align: center;
  max-width: 80%;
  z-index: 1060;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .my-gallery-title {
    font-size: 2rem;
  }

  .my-gallery-item img {
    height: 250px;
  }
}

@media (max-width: 767px) {
  .my-gallery-container {
    padding: 30px 0;
  }

  .my-gallery-title {
    font-size: 1.8rem;
  }

  .my-gallery-item img {
    height: 220px;
  }

  .my-lightbox-nav {
    width: 45px;
    height: 45px;
  }

  .my-lightbox-close {
    width: 40px;
    height: 40px;
    top: 15px;
    right: 15px;
  }
}

@media (max-width: 575px) {
  .my-gallery-item img {
    height: 200px;
  }
}

/* Cause Box Wrapper Section */
.cause-box-wrapper {
  padding: 2rem 1rem;
}

.cause-box-wrapper .cause-box {
  background-color: var(--primary-color);
  border-radius: 80px;
  position: relative;
  overflow: hidden;
}

.cause-box-wrapper .cause-content {
  color: white;
}

.cause-box-wrapper .btn {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cause-box-wrapper .wave {
  position: absolute;
  width: 500px;
  height: 60px;
}

.cause-box-wrapper .wave.top-left {
  top: 5rem;
  left: -15rem;
  transform: rotate(160deg);
}

.cause-box-wrapper .wave.top-right {
  top: 5rem;
  right: -16rem;
  transform: rotate(336deg);
}

/* About Page CSS */

.doctor-about-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.doctor-image {
  border-radius: 20px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.doctor-about-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.doctor-description p {
  font-size: 1.125rem;
  line-height: 1.6;
}

.doctor-specialties-list ul {
  font-size: 1rem;
  margin-top: 20px;
}

.doctor-specialties-list ul li {
  margin-bottom: 15px;
}

.doctor-expertise-title {
  font-weight: 600;
}

.doctor-philosophy-text {
  font-style: italic;
  color: #6c757d;
}

.doctor-read-more-btn {
  background-color: #5cb85c;
  border: none;
  color: white;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 8px;
  transition: 0.3s ease-in-out;
}

.doctor-read-more-btn:hover {
  background-color: #3cc09a;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .doctor-about-section {
    text-align: center;
    padding-top: 30px;
  }

  .doctor-image {
    margin-bottom: 16px;
  }

  .doctor-about-description {
    margin-top: 30px;
  }
  .doctor-expertise-title {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .doctor-about-header h1 {
    font-size: 1.75rem;
  }

  .doctor-description p {
    font-size: 1rem;
  }

  .doctor-read-more-btn {
    font-size: 14px;
    padding: 8px 20px;
  }
}

/* Service Details CSS */

.service-details .info-section {
  margin-top: 30px;
}

.service-details .service-sidebar {
  border-left: 1px solid #ddd;
  padding-left: 20px;
}

.service-details .icon-text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.modal-img {
  max-width: 100%;
  height: auto;
}

.thumbnail-img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.thumbnail-img:hover {
  transform: scale(1.05);
}

/* Mobile Footer Styling */

/* Mobile sticky footer */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: none;
}

.sticky-footer .footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px; /* Remove padding to align items properly */
  height: 100%;
}

.sticky-footer .footer-nav > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--secondary-color);
  flex-grow: 1; /* Ensure all items grow equally */
  text-align: center;
  height: 100%;
}

/* Appointment div styling (col-sm-4) */
.sticky-footer .footer-nav > .col-sm-4 {
  flex-grow: 2; /* Make it twice as wide as other divs */
  height: 100%;
}

/* Navigation links */
.sticky-footer .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.sticky-footer .nav-item img {
  margin-bottom: 5px;
  height: 24px;
}

.sticky-footer .nav-item:hover {
  color: var(--secondary-color);
}

/* Responsive behavior for mobile screens */
@media (max-width: 767px) {
  .sticky-footer {
    display: block; /* Display sticky footer on mobile */
  }
}

/* Sidebar styling */
/* Sidebar styles */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px; /* Initially hidden off-screen */
  width: 300px;
  height: 100%;
  background-color: #ffffff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  overflow-y: auto;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.sidebar.open {
  left: 0; /* Slide the sidebar into view */
}

/* Close button for the sidebar */
.sidebar .close-btn {
  font-size: 24px;
  color: #333;
  border: none;
  background: none;
  align-self: flex-end;
  cursor: pointer;
}

/* Overlay behind the sidebar */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  z-index: 1500; /* Behind the sidebar */
  display: none; /* Initially hidden */
  transition: opacity 0.3s ease;
}

.sidebar-overlay.visible {
  display: block; /* Show the overlay */
  opacity: 1; /* Fully visible */
}

/* modal form styles */

/* Modal Background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

/* Modal Content */
.modal-content {
  position: relative;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #333;
  border: none;
  background: none;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 576px) {
  .modal-content {
    width: 95%;
  }
}

@media (max-width: 768px) {
  .cause-box-wrapper .wave.top-right {
    top: 10rem;
    right: -16rem;
    transform: rotate(336deg);
  }
}

.apt-btn {
  padding: 12px;
  background-color: var(--primary-color);
  font-weight: 500;
  color: white;
  border: none;
  border-radius: 8px;
  position: fixed;
  top: calc(50% - 60px); /* Assuming button width after rotation is ~120px */
  right: -3.5rem;
  transform: rotate(270deg);
  transform-origin: center;
  z-index: 999; /* Optional: keeps it on top */
}
.faq-section {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}

.faq-question {
  cursor: pointer;
  position: relative;
  font-weight: bold;
  color: #444;
  padding-right: 25px;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  color: #888;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
  color: #d9534f;
}

.faq-answer {
  display: none;
  padding-top: 10px;
  color: #555;
  line-height: 1.6;
}

.faq-answer.show {
  display: block;
}