@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');




/* CSS Variables */
:root {
  --primary-rgb: 49, 151, 149; /* Axiscare Teal */
  --secondary-rgb: 26, 54, 93; /* Axiscare Deep Blue */
  --primary: rgb(var(--primary-rgb));
  --primary-hover: #287a78;
  --secondary: rgb(var(--secondary-rgb));
  --bg-light: #ffffff;
  --bg-section: #f7fafc;
  --text-dark: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --accent-orange: #38b2ac; /* Bright Turquoise Accent */
  
  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 4px rgba(var(--secondary-rgb), 0.05);
  --shadow-md: 0 10px 30px rgba(var(--secondary-rgb), 0.08);
  --shadow-lg: 0 15px 40px rgba(var(--secondary-rgb), 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 50px;
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--secondary);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* Buttons */
.btn-custom {
  background-color: var(--primary);
  color: var(--white) !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
}

.btn-custom:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--secondary) !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  background-color: var(--primary);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
}

/* Section Header */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 16px;
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--radius-pill);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 15px;
  position: relative;
}

.section-desc {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Header & Navigation */
.top-bar {
  background-color: var(--secondary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar a:hover {
  color: var(--primary);
}



.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  border-bottom: none !important;
  padding: 8px 0;
  transition: var(--transition);
  z-index: 1000;
}

.navbar.sticky-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 5px 0;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--secondary) !important;
  font-size: 1.4rem;
}

.navbar-brand span {
  color: var(--primary);
}

.nav-link {
  font-weight: 600;
  color: var(--secondary) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
  background-color: rgba(var(--primary-rgb), 0.08);
}



/* Hero Section */
.hero-section {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
  position: relative;
  overflow: hidden;
}

.hero-shapes .shape {
  position: absolute;
  pointer-events: none;
}

.hero-shapes .shape-1 {
  top: 10%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.35) 0%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  animation: float-slow 15s ease-in-out infinite alternate;
}

.hero-shapes .shape-2 {
  bottom: 5%;
  left: 40%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 138, 92, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  border-radius: 50%;
  animation: float-slow 20s ease-in-out infinite alternate-reverse;
}

.hero-shapes .shape-3 {
  top: 20%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25) 0%, transparent 70%);
  filter: blur(80px);
  border-radius: 50%;
  animation: float-slow 18s ease-in-out infinite alternate;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -40px) scale(1.1); }
}

.hero-content h1 {
  font-size: 3.8rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--secondary) !important;
}

.hero-content p {
  font-size: 1.18rem;
  color: var(--text-light) !important;
  margin-bottom: 35px;
  line-height: 1.7;
}

.hero-content .section-tag {
  color: var(--primary);
  background-color: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.hero-content .btn-custom {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--white) !important;
}

.hero-content .btn-custom:hover {
  background-color: #288e8a;
  border-color: #288e8a;
}

.hero-content .btn-outline-custom {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.hero-content .btn-outline-custom:hover {
  background-color: var(--primary);
  color: var(--white) !important;
}

.hero-image-wrapper {
  position: relative;
  display: inline-block;
}

.hero-image-wrapper img {
  border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%;
  border: 12px solid var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  object-fit: cover;
  background-color: var(--bg-section);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 20px;
  left: 20px;
  border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%;
  border: 3px dashed var(--primary);
  z-index: 1;
}

.floating-badge {
  position: absolute;
  background: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: badgeFloat 4s ease-in-out infinite alternate;
}

.badge-1 {
  top: 20%;
  left: -20px;
}

.badge-2 {
  bottom: 10%;
  right: -10px;
  animation-delay: 1.5s;
}

.floating-badge i {
  color: var(--primary);
  font-size: 1.5rem;
}

.floating-badge span {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
}

@keyframes badgeFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}



/* Counters Section */
.counter-section {
  background-color: transparent;
  padding: 0;
  position: relative;
  z-index: 10;
  margin-top: -65px; /* Overlap the hero section */
}

.counter-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  box-shadow: 0 15px 40px rgba(var(--secondary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}

@media (min-width: 768px) {
  .counter-card .row > div:not(:last-child) {
    border-right: 1px solid rgba(var(--primary-rgb), 0.12);
  }
}

.counter-item {
  text-align: center;
  padding: 10px 0;
}

.counter-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.counter-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dark);
}

/* About Showcase Section Styles */
.about-image-showcase {
  position: relative;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-shape-bg {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 80%;
  height: 85%;
  background-color: rgba(var(--primary-rgb), 0.08);
  border-radius: var(--radius-lg);
  z-index: 1;
}

.about-img-frame-1 {
  position: relative;
  width: 80%;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
  background: var(--white);
}

.about-img-frame-2 {
  position: absolute;
  bottom: -15px;
  left: 10px;
  width: 55%;
  z-index: 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  background: var(--white);
}

.about-trust-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--secondary);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-trust-badge i {
  font-size: 1.4rem;
  color: var(--accent-orange);
}

.about-trust-badge h5 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.about-trust-badge span {
  font-size: 0.75rem;
  opacity: 0.8;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(var(--secondary-rgb), 0.03);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-orange) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.15);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: var(--bg-section);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.service-img-wrapper {
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
  position: relative;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card .btn-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
}

.service-card .btn-link:hover {
  color: var(--primary-hover);
}





/* Editorial Numbered List Layout */
.why-choose-item {
  transition: var(--transition);
  padding: 15px;
}

.why-choose-item:hover {
  transform: translateX(10px);
}


.why-choose-number {
  font-family: var(--font-headings);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--secondary); /* Dark Navy */
  transition: var(--transition);
  text-shadow: 3px 3px 0px rgba(var(--primary-rgb), 0.2); /* Stylized Teal Shadow */
}

.why-choose-item:hover .why-choose-number {
  color: var(--primary);
  text-shadow: 3px 3px 0px rgba(var(--secondary-rgb), 0.15);
}
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.doctor-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 320px;
  background-color: var(--bg-section);
}

.doctor-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.doctor-card:hover .doctor-img-wrapper img {
  transform: scale(1.05);
}

.doctor-socials {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(transparent, rgba(var(--secondary-rgb), 0.9));
  transition: var(--transition);
}

.doctor-card:hover .doctor-socials {
  bottom: 0;
}

.doctor-socials a {
  width: 36px;
  height: 36px;
  background-color: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.doctor-socials a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.doctor-info {
  padding: 25px;
}

.doctor-spec {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.doctor-info h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.doctor-qual {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.doctor-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  padding-top: 15px;
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.doctor-meta span i {
  color: var(--primary);
  margin-right: 5px;
}

/* Gallery & Filter */

.gallery-section-wrapper {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  background-color: var(--white);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--secondary);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.gallery-filter-btn.active, .gallery-filter-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  height: 280px;
  cursor: pointer;
  background-color: var(--secondary);
}


.gallery-item img,
.gallery-item svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover svg {
  transform: scale(1.08);
}

.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.9) 0%, rgba(var(--primary-rgb), 0.8) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  padding: 20px;
  color: var(--white);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--primary);
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
  transform: translateY(0);
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--secondary-rgb), 0.95);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 85%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* Testimonials Section Redesign */
.testimonials-section {
  position: relative;
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
  border-top: 1px solid rgba(var(--primary-rgb), 0.08);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
}

.testimonial-card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(var(--secondary-rgb), 0.03);
  border: 1px solid rgba(var(--primary-rgb), 0.06);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(var(--secondary-rgb), 0.08);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.testimonial-quote-icon {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 3.5rem;
  color: rgba(var(--primary-rgb), 0.06);
  pointer-events: none;
}

.rating-stars {
  color: #FFB100;
  font-size: 1.05rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 25px;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #edf2f7;
  padding-top: 20px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-user h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 2px;
  font-family: var(--font-headings);
}

.patient-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(var(--primary-rgb), 0.06);
  color: var(--primary);
}

/* Testimonial Carousel Styles */
.testimonial-carousel-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
}

.testimonial-carousel {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .testimonial-slide {
    flex: 0 0 50%;
    width: 50%;
  }
}

@media (min-width: 992px) {
  .testimonial-slide {
    flex: 0 0 33.333333%;
    width: 33.333333%;
  }
}

.testimonial-carousel-container .carousel-control-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.testimonial-carousel-container .carousel-control-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.2);
}

.testimonial-carousel-container .prev-btn {
  left: 0;
}

.testimonial-carousel-container .next-btn {
  right: 0;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 35px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.25);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  width: 28px;
  border-radius: 5px;
  background: var(--primary);
}

@media (max-width: 768px) {
  .testimonial-carousel-container {
    padding: 0 15px;
  }
  .testimonial-carousel-container .carousel-control-btn {
    display: none;
  }
}


/* Blog styles Redesign */
.insights-section {
  background: linear-gradient(180deg, var(--white) 0%, rgba(49, 151, 149, 0.04) 50%, var(--white) 100%);
  position: relative;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(26, 54, 93, 0.04);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(var(--primary-rgb), 0.06);
  border-top: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26, 54, 93, 0.1);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.blog-img-wrapper {
  height: 220px;
  overflow: hidden;
  background-color: var(--bg-section);
  position: relative;
}

.blog-img-wrapper svg,
.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-img-wrapper svg,
.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.03);
}

.blog-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary);
  color: var(--white);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.blog-content h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--secondary);
  font-family: var(--font-headings);
  font-weight: 600;
  transition: var(--transition);
}

.blog-card:hover .blog-content h4 {
  color: var(--primary);
}

.blog-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
  line-height: 1.6;
}

.blog-content .btn-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: var(--transition);
}

.blog-content .btn-link i {
  transition: var(--transition);
}

.blog-card:hover .btn-link {
  color: var(--primary-hover);
}

.blog-card:hover .btn-link i {
  transform: translateX(5px);
}


/* Appointment Call-To-Action */
.appointment-cta {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.appointment-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.appointment-cta h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 15px;
}

.appointment-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Sidebar & Search in Blog Page */
.sidebar-widget {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}

.widget-title {
  font-size: 1.2rem;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
  margin-bottom: 20px;
}

.search-box-form .form-control {
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  border-color: rgba(var(--primary-rgb), 0.2);
  padding-left: 20px;
}

.search-box-form .form-control:focus {
  box-shadow: none;
  border-color: var(--primary);
}

.search-box-form .btn {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  padding: 0 20px;
}

.widget-categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-categories li a {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
  font-size: 0.95rem;
}

.widget-categories li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.widget-posts ul {
  list-style: none;
  padding: 0;
}

.widget-posts li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.widget-posts img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background-color: var(--bg-section);
}

.widget-posts-info h5 {
  font-size: 0.9rem;
  margin-bottom: 5px;
  line-height: 1.4;
}

.widget-posts-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Contact Page Form & Info */
.info-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  text-align: center;
}

.info-card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--bg-section);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.info-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.appointment-form-wrapper {
  background: var(--white);
  padding: 45px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.form-control, .form-select {
  border-radius: var(--radius-md);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  padding: 12px 18px;
  background-color: var(--bg-light);
  font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.15);
  background-color: var(--white);
}

/* Doctor Detail Modal */
.modal-content {
  border-radius: var(--radius-lg);
  border: none;
  overflow: hidden;
}

.modal-header-custom {
  background-color: var(--secondary);
  color: var(--white);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header-custom h5 {
  color: var(--white);
  margin-bottom: 0;
}

.modal-header-custom .btn-close-modal {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 30px;
}

.modal-doc-img {
  border-radius: var(--radius-md);
  height: 300px;
  object-fit: cover;
  width: 100%;
  background-color: var(--bg-section);
}

/* Footer Styles */
footer {
  background-color: var(--secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 20px;
  font-size: 0.95rem;
}

.footer-logo {
  font-weight: 800;
  color: var(--white) !important;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-widget h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 4px;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-icons a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.newsletter-form {
  margin-top: 15px;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 60px;
  padding-top: 20px;
  font-size: 0.85rem;
}

/* Toast/Alert custom style */
.toast-container-custom {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2050;
}
.toast-custom {
  background-color: var(--secondary);
  color: var(--white);
  padding: 15px 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease-out;
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* FAQ Section Styles */
.faq-section {
  position: relative;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.14) 0%, rgba(var(--secondary-rgb), 0.08) 50%, rgba(var(--primary-rgb), 0.04) 100%);
  border-top: 1px solid rgba(var(--primary-rgb), 0.12);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.12);
  overflow: hidden;
}

.faq-shapes .shape {
  position: absolute;
  pointer-events: none;
}

.faq-shapes .shape-1 {
  top: -15%;
  left: -8%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.4) 0%, transparent 70%);
  filter: blur(50px);
  border-radius: 50%;
  z-index: 1;
}

.faq-shapes .shape-2 {
  bottom: -15%;
  right: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 138, 92, 0.28) 0%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  z-index: 1;
}

.faq-section .container {
  position: relative;
  z-index: 2;
}

.faq-accordion .accordion-item {
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  border-radius: var(--radius-md) !important;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(var(--secondary-rgb), 0.02);
  overflow: hidden;
  transition: var(--transition);
  background-color: var(--white);
}

.faq-accordion .accordion-item:hover {
  box-shadow: 0 10px 30px rgba(var(--secondary-rgb), 0.06);
  border-color: rgba(var(--primary-rgb), 0.18);
}

.faq-accordion .accordion-button {
  font-family: var(--font-headings);
  font-weight: 600;
  color: var(--secondary);
  background-color: var(--white);
  padding: 22px 28px;
  font-size: 1.05rem;
  box-shadow: none !important;
  transition: var(--transition);
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: rgba(var(--primary-rgb), 0.03);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
}

.faq-accordion .accordion-button::after {
  background-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-accordion .accordion-body {
  padding: 22px 28px;
  color: var(--text-light);
  line-height: 1.75;
  font-size: 0.95rem;
  background-color: var(--white);
}

/* ==========================================
   CONSULTATION POPUP MODAL STYLING
   ========================================== */
.consultation-modal {
  border: none;
  border-radius: 24px;
  padding: 0;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  background: #ffffff;
  overflow: visible;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.35s;
}

.consultation-modal[open] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.consultation-modal::backdrop {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.consultation-modal[open]::backdrop {
  opacity: 1;
}

.consultation-modal-content {
  position: relative;
  padding: 40px 32px 32px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.consultation-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: rgba(0,0,0,0.04);
  color: var(--secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  z-index: 5;
}

.consultation-modal-close-btn:hover {
  background: rgba(0,0,0,0.08);
  color: var(--primary);
  transform: rotate(90deg);
}

.consultation-modal-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(83, 162, 182, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 24px;
  position: relative;
}

.consultation-modal-icon-wrapper::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(83, 162, 182, 0.4);
  animation: spin-dashed-circle 20s linear infinite;
}

@keyframes spin-dashed-circle {
  100% { transform: rotate(360deg); }
}

.consultation-modal h3 {
  font-family: var(--font-headings);
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.45rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.consultation-modal p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.consultation-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.consultation-modal-whatsapp-btn {
  background-color: #25d366;
  color: #ffffff !important;
  border: none;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
  font-size: 1rem;
  text-decoration: none;
}

.consultation-modal-whatsapp-btn:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(18, 140, 126, 0.3);
}

.consultation-modal-later-btn {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.consultation-modal-later-btn:hover {
  background-color: rgba(0, 0, 0, 0.03);
  color: var(--secondary);
  border-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 575.98px) {
  .consultation-modal-content {
    padding: 32px 20px 24px 20px;
  }
  .consultation-modal h3 {
    font-size: 1.25rem;
  }
  .consultation-modal p {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }
}

