@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #3e240d; /* Bootstrap primary blue, adjust if needed based on image */
  --secondary-color: #82490f;
  --dark-color: #0f172a;
  --navbar-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Outfit", sans-serif !important;
  /* padding-top: var(--navbar-height);  */
}

a {
    text-decoration: none !important;
    color: inherit;
}

.container {
  max-width: 1224px;
  margin: 0 auto;
}

.primary-text {
    color: var(--primary-color);
}

.secondary-text {
    color: var(--primary-color) !important;
}

.primary-bg {
    background-color: var(--primary-color);
    color: white !important;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    transition: all 0.4s ease;
    outline: none;
    border: none;
}

.primary-btn:hover {
    background-color: var(--secondary-color);
}

.secondary-btn {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    outline: none;
}

/* Header */
#header {
  background: #3e240d;
  padding: 8px 0;
}

/* Navbar Customization */
.custom-navbar {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  background-color: #fdf8f2;
}

.navbar-brand {
    width: 250px;
}

.navbar-brand img {
    width: 100%;
    object-fit: cover;
}

/*.navbar-brand .tracking-tight {*/
/*  letter-spacing: -0.5px;*/
/*  color: #1e293b !important;*/
/*}*/

/*.navbar-brand .letter-spacing-1 {*/
/*  letter-spacing: 0.5px;*/
/*  font-size: 0.75rem; */
/*  color: #475569 !important; */
/*}*/

.nav-link {
  font-size: 1.02rem !important;
  color: #746d67 !important; /* Slate 700 */
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.btn-custom {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 5px;
  background-color: var(--primary-color); /* Adjust to match the specific blue in the image */
  border-color: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

/*.btn-custom:hover {*/
/*  background-color: var(--primary-color);*/
/*  border: 1px solid #ffffff;*/
/*  color: var(--primary-color);*/
/*  transform: translateY(-1px);*/
/*  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);*/
/*}*/

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 1rem;
  }

  .btn-custom {
    width: 100%;
    margin-top: 1rem;
    margin-left: 0 !important;
  }
}

/* Hero Section */
.hero-section {
  background: #edd3c0;
  background: linear-gradient(90deg, rgba(237, 211, 192, 1) 0%, rgba(237, 211, 192, 1) 56%, rgba(250, 242, 231, 1) 100%);
}

.btn-custom-outline {
  border: 1px solid var(--secondary-color);
  border-radius: 10px;
  color: var(--primary-color);
  font-weight: 600;
}

.btn-custom-outline:hover {
  background-color: var(--primary-color);
  border-color: var(--secondary-color);
  color: var(--primary-color);
}

.object-fit-cover {
  object-fit: cover;
}

.display-3 {
  font-size: 3rem;
  letter-spacing: -1px;
}

@media (min-width: 992px) {
  .display-3 {
    font-size: 3.5rem;
  }
}

.fs-7 {
  font-size: 0.875rem;
}

.custom-shape-divider-bottom-1767613254 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1767613254 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 56px;
}

.custom-shape-divider-bottom-1767613254 .shape-fill {
  fill: #ffffff;
}

/* Features Highlights Section */
.features-highlights {
  border-bottom: 1px solid #f1f5f9;
}

.feature-item {
    /*background-color: var(--primary-color) !important;*/
    background-color: #82490f !important;
}

.icon-wrapper {
  width: 65px;
  height: 65px;
  background-color: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.feature-item:hover .icon-wrapper {
  transform: translateY(-5px);
}

.feature-item h6 {
  color: #ffffff;
  font-size: 0.95rem;
}

.feature-item p {
    color: #f2f2f2;
  font-size: 0.8rem;
}

/* Custom col for 5 items in a row on large screens */
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }
}


/* New Section */
.surgical-care-section{
    background:#f9f6f1;
}

/* Heading */

.section-heading span{
    color:#82490f;
    font-size:14px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
}

.section-heading h3{
    color:#3e240d;
    font-size:32px;
    font-weight:700;
    margin-top:5px;
}

/* Service Cards */

.service-card-new{
    background:#fff;
    border:1px solid #efe6dc;
    border-radius:12px;
    padding:18px 10px;
    text-align:center;
    height:100%;
    transition:.3s;
}

.service-card-new:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.service-card-new i{
    color:#82490f;
    font-size:24px;
    margin-bottom:10px;
    display:block;
}

.service-card-new span{
    font-size:13px;
    font-weight:600;
    color:#3e240d;
    line-height:1.4;
    display:block;
}

/* Appointment Box */

.appointment-box{
    background:#3e240d;
    border-radius:16px;
    padding:20px;
    color:#fff;
    height:100%;
}

.appointment-header{
    text-align:center;
    margin-bottom:15px;
}

.appointment-header h4{
    margin-bottom:4px;
    font-size:28px;
    font-weight:700;
}

.appointment-header p{
    margin:0;
    color:#f0d7b6;
    font-size:14px;
}

.appointment-features{
    background:#fff;
    border-radius:12px;
    display:flex;
    justify-content:space-between;
    margin-bottom:15px;
    overflow:hidden;
}

.feature-item-new{
    flex:1;
    text-align:center;
    padding:18px 10px;
    border-right:1px solid #eee;
}

.feature-item-new:last-child{
    border-right:none;
}

.feature-item-new i{
    color:#82490f;
    font-size:24px;
    margin-bottom:8px;
    display:block;
}

.feature-item-new span{
    color:#3e240d;
    font-size:13px;
    font-weight:600;
    display:block;
}

/* Buttons */

.appointment-buttons{
    display:flex;
    gap:12px;
}

.btn-book{
    flex:1;
    background:#fff;
    color:#3e240d;
    font-weight:600;
    border-radius:10px;
    padding:12px;
}

.btn-book:hover{
    background:#f3f3f3;
}

.btn-whatsapp{
    flex:1;
    background:#3e240d;
    color:#fff;
    font-weight:600;
    border-radius:10px;
    padding:12px;
}

.btn-whatsapp:hover{
    background:#3e240d;
    color:#fff;
}

/* Bottom Stats */

.stats-wrapper{
    background:#3e240d;
    border-radius:14px;
    overflow:hidden;
}

.stat-item{
    display:flex;
    align-items:center;
    gap:15px;
    padding:22px;
    border-right:1px solid rgba(255,255,255,.15);
    color:#fff;
    height:100%;
}

.stat-item i{
    font-size:30px;
    color:#f2d3a6;
}

.stat-item h4{
    margin:0;
    font-size:28px;
    font-weight:700;
}

.stat-item p{
    margin:0;
    font-size:14px;
    color:#f1e3d2;
}

@media(max-width:991px){

    .appointment-features{
        flex-wrap:wrap;
    }

    .appointment-buttons{
        flex-direction:column;
    }

    .stat-item{
        border-right:none;
        border-bottom:1px solid rgba(255,255,255,.1);
    }
}

/* About Section */
.about-section {
  background: #ffffff;
  background: linear-gradient(
    172deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(236, 245, 253, 0.93) 50%
  );
}

.feature-marker-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary-color); /* Emerald-500 */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.5rem;
}

.about-features h6 {
  font-size: 1rem;
}

.btn-link {
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}

.btn-link:hover {
  color: #004fb3;
}

.btn-link:hover i {
  transform: translateX(5px);
}

.transition-all {
  transition: all 0.3s ease;
}

.me-n4 {
  margin-right: -1.5rem !important;
}

.mb-n4 {
  margin-bottom: -1.5rem !important;
}

/* Services Section */
.services-section {
  /* background-color: #f0f9ff; */
  background-color: #ffffff;
}

.service-card {
  background: var(--primary-color);
  /*background: linear-gradient(90deg, rgba(76, 109, 145, 0.98) 0%, rgba(0, 74, 173, 0.93) 85%);*/
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

/* .service-icon-box {
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
} */

.service-img {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-banner-img {
  width: 80%;
  margin: 0 auto;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  padding: 10px;
}

.service-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.fs-10 {
  font-size: 0.65rem;
}

.link-hover-effect:hover {
  gap: 10px !important;
}

/* Why Choose Us Section */
.why-choose-us {
  background: #edd3c0;
  background: linear-gradient(90deg, rgba(237, 211, 192, 1) 0%, rgba(237, 211, 192, 1) 56%, rgba(250, 242, 231, 1) 100%);
}

.section-padding {
  padding: 80px 0;
}

.choose-card {
  background: var(--secondary-color);
  background: linear-gradient(
    304deg,
    var(--secondary-color) 0%,
    var(--primary-color) 50%
  );
  transition: all 0.3s ease;
}

.choose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.choose-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.choose-icon-box i {
  font-size: 2rem;
}

.bg-primary-soft {
  background-color: #eff6ff;
}
.bg-success-soft {
  background-color: #f0fdf4;
}
.bg-warning-soft {
  background-color: #fffbeb;
}
.bg-danger-soft {
  background-color: #fef2f2;
}
.bg-info-soft {
  background-color: #ecfeff;
}
.bg-dark-soft {
  background-color: #f8fafc;
}

.stats-bar {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-bar h3 {
  font-size: 2rem;
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* Location & Contact Section */
.location-contact {
  background-color: #f8fafc;
}

.contact-icon {
  transition: all 0.3s ease;
}

.location-info:hover .contact-icon {
  transform: scale(1.1);
}

.contact-form-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-control:focus,
.form-select:focus {
  background-color: #fff !important;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
  border: 1px solid var(--primary-color) !important;
}

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2) !important;
}

/* Custom form labels */
.form-label {
  margin-bottom: 0.5rem;
  letter-spacing: 0.025em;
}
/* FAQ Section */
.custom-faq .accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  overflow: hidden;
  transition: all 0.3s ease;
}

.custom-faq .accordion-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
  transform: translateY(-2px);
}

.custom-faq .accordion-button {
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  background-color: #fff;
  box-shadow: none;
}

.custom-faq .accordion-button:not(.collapsed) {
  background-color: #f0f7ff;
  color: var(--primary-color);
}

.custom-faq .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.custom-faq .accordion-button::after {
  background-size: 1rem;
  transition: transform 0.3s ease;
}

.custom-faq .accordion-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  background-color: #fff;
}

.custom-faq .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: var(--primary-color) !important;
}

.bg-light-blue {
  background-color: #f0f7ff;
}


.blog-banner {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.blog-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
}

/* Modal Styles */
.modal-content {
  border-radius: 15px;
  overflow: hidden;
}

.modal-body img {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.btn-close {
  z-index: 1;
  background-color: white;
  padding: 8px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-close:focus {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

.btn-blink {  
  width: fit-content;
  animation: blink 1.5s infinite;
}

@media (max-width: 767.98px) {
  .modal-body img {
    border-radius: 15px 15px 0 0;
  }
}

/* Footer Section */
.main-footer {
  background-color: var(--secondary-color); /* Deep Navy Blue */
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.emergency-card {
  background-color: #ff4d1c; /* Vibrant Orange */
}

.copyright-bar {
  background-color: rgba(0, 0, 0, 0.1);
}

.footer-bottom-links a:hover {
  color: #fff !important;
}

.x-small {
  font-size: 0.75rem;
}

/* Blogs & News Section */
.blogs-news-section {
  background-color: #f0f7ff;
  position: relative;
  overflow: hidden;
}

.blogs-news-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='92.38' viewBox='0 0 80 92.38'%3E%3Cg fill='none' stroke='%230d6efd' stroke-width='0.5' opacity='0.2'%3E%3Cpath d='M40 0L80 23.1v46.18L40 92.38 0 69.28V23.1L40 0Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100px auto;
  z-index: 0;
}

.blogs-news-section .container {
  position: relative;
  z-index: 1;
}

.blog-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.blog-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.08);
}

.blog-content h5 {
  line-height: 1.5;
  font-size: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
}

/* Breadcrumb Section */
.breadcrumb-section {
  background-color: var(--secondary-color);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.breadcrumb-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='92.38' viewBox='0 0 80 92.38'%3E%3Cg fill='none' stroke='%230d6efd' stroke-width='0.5' opacity='0.2'%3E%3Cpath d='M40 0L80 23.1v46.18L40 92.38 0 69.28V23.1L40 0Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100px auto;
  z-index: 0;
}

.breadcrumb-section .container {
  position: relative;
  z-index: 1;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.8rem;
  color: #fff;
  margin-top: 5px;
}

/* About Content Section */
:root {
  --teal-color: #00a79d;
}

.text-teal {
  color: #031d3c !important;
}
.bg-teal {
  background-color: var(--primary-color) !important;
}

.btn-teal {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-teal:hover {
  background-color: var(--dark-color);
  border-color: #ffffff;
  color: white;
}

.about-image-grid {
  padding: 20px;
}

.main-img-area {
  width: 85%;
  position: relative;
  z-index: 1;
}

.second-img-area {
  width: 60%;
  z-index: 3;
  margin-top: -30%; /* Adjust overlap */
}

.experience-badge {
  width: 110px;
  height: 110px;
  background-color: var(--primary-color);
  top: 55%;
  left: 42.5%;
  z-index: 5;
  border: 6px solid #fff;
  text-align: center;
}

.experience-badge h2 {
  font-size: 1.8rem;
  line-height: 1.2;
}

.how-works-area {
  top: 20%;
  right: -10px;
  z-index: 4;
  flex-direction: column;
  align-items: center;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.arrow-circle {
  width: 36px;
  height: 36px;
  border: 1.5px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-color);
  font-size: 0.75rem;
}

.check-icon-box {
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.decorative-circle {
  width: 140px;
  height: 140px;
  border: 12px solid var(--primary-color);
  border-radius: 50%;
  opacity: 0.1;
  top: -30px;
  left: -30px;
  z-index: 0;
}

@media (max-width: 991.98px) {
  .main-img-area {
    width: 100%;
    margin-bottom: 40px;
  }
  .second-img-area {
    width: 70%;
    position: static !important;
    margin-top: 20px;
  }
  .experience-badge {
    left: 50%;
    top: 40%;
  }
}

/* Mission & Vision Section */
/* .mission-vision-section {
    background: linear-gradient(to bottom, #ffffff, #f0f7ff);
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='92.38' viewBox='0 0 80 92.38'%3E%3Cg fill='none' stroke='%230d6efd' stroke-width='0.5' opacity='0.1'%3E%3Cpath d='M40 0L80 23.1v46.18L40 92.38 0 69.28V23.1L40 0Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 150px auto;
    z-index: 0;
} */

.mission-vision-section {
  background-color: #e0f2fe;
}

.mission-vision-section .container {
  position: relative;
  z-index: 1;
}

.mv-card {
  border: 1px solid rgba(0, 0, 0, 0.03) !important;
  border-bottom: 5px solid var(--primary-color) !important;
  padding-top: 60px !important;
}

.mv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.mv-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -30px;
  left: 40px;
  font-size: 1.5rem;
}

/* Final CTA Section */
.final-cta-section {
  background: var(--primary-bg);
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--primary-color) 85%
  );
  color: white;
}

.final-cta-section .btn-light {
  color: var(--primary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.final-cta-section .btn-light:hover {
  background-color: #f8fafc;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.final-cta-section .btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.cta-icon-box {
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-wave-bottom {
  line-height: 0;
}

/* Our Doctors Section */
.doctors-section {
  background: linear-gradient(to bottom, #ffffff, #f0f7ff);
  position: relative;
  overflow: hidden;
}

.doctors-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='92.38' viewBox='0 0 80 92.38'%3E%3Cg fill='none' stroke='%230d6efd' stroke-width='0.5' opacity='0.1'%3E%3Cpath d='M40 0L80 23.1v46.18L40 92.38 0 69.28V23.1L40 0Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px auto;
  z-index: 0;
}

.doctors-section .container {
  position: relative;
  z-index: 1;
}

.doctor-profile-card,
.doctor-details-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-profile-card:hover,
.doctor-details-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.doctor-image-container img {
  transition: transform 0.5s ease;
}

.doctor-profile-card:hover .doctor-image-container img {
  transform: scale(1.05);
}

.dot-circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.doctor-details-card h4 {
  position: relative;
  display: inline-block;
}

.doctor-details-card h4::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

/* ============================
   Gallery Page Styling
   ============================ */

/* Gallery Grid */
.gallery-section {
  background-color: #f9f9f9;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: block; /* Make anchor block */
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #fff;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-img-wrapper {
  position: relative;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  overflow: hidden;
}

.gallery-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img-wrapper img {
  transform: scale(1.1);
}

/* Hover Overlay */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 98, 181, 0.6); /* Primary color overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
  transform: scale(0);
  transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* Symptoms Section */
.symptom-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  background-color: var(--primary-color) !important;
}

.symptom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.symptom-icon-box {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.symptom-card:hover .symptom-icon-box {
  transform: scale(1.1) rotate(5deg);
}

/* Soft Backgrounds for Icons */
.bg-primary-soft {
  /*background-color: rgba(0, 74, 173, 0.1);*/
  background: white;
}
.bg-info-soft {
  /*background-color: rgba(13, 202, 240, 0.1);*/
  background: white;
}
.bg-success-soft {
  /*background-color: rgba(25, 135, 84, 0.1);*/
  background: white;
}
.bg-warning-soft {
  /*background-color: rgba(255, 193, 7, 0.1);*/
  background: white;
}
.bg-danger-soft {
  /*background-color: rgba(220, 53, 69, 0.1);*/
  background: white;
}
.bg-secondary-soft {
  /*background-color: rgba(108, 117, 125, 0.1);*/
  background: white;
}

/* Buttons in symptoms */
.symptom-card .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 10px 25px;
  font-size: 0.9rem;
}

.symptom-card .btn-primary:hover {
  background-color: #003a8c;
  border-color: #003a8c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 74, 173, 0.3);
}

/* Department Section */
.service-content {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.service-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
}

.feature-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  width: 55px;
  height: 55px;
  background: #ffffff;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.header-line {
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 10px;
}

.process-timeline {
  position: relative;
  padding: 20px 10px;
}

.timeline-item {
  position: relative;
  padding: 20px 0 20px 50px;
  border-left: 2px solid var(--primary-color);
}

.timeline-number {
  position: absolute;
  left: -20px;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-list li a {
  display: block;
  padding: 12px 0;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-list li a:hover {
  color: var(--primary-color);
  padding-left: 10px;
}

.widget {
  background: #fff;
  border-radius: 5px;
  padding: 25px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.widget-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
  font-weight: 700;
  color: var(--dark-color);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.contact-widget a {
  text-decoration: none;
}

.contact-widget .btn:hover {
  background: var(--secondary-color);
  color: white;
}

/* ============================
   Floating Action Buttons
   ============================ */

.floating-btn-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fab-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.fab-btn:hover {
  transform: scale(1.1);
  color: white;
}

.fab-btn.whatsapp {
  background-color: #25d366;
}

.fab-btn.phone {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #3e240d;
}

.fab-badge {
  position: absolute;
  top: -10px;
  right: -5px;
  background-color: #32cd32;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}
