/* ============================================================
   PHYSEO - Hero Section Styles
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* ---- Core Brand Colors (Derived from Logo) ---- */
  --primary: #e31e24; /* The bold Red from "DAREKAR" */
  --primary-dark: #b31419; /* Darker Red for button hovers */
  --secondary: #1d355e; /* The Deep Navy Blue from "HOSPITAL" */
  --accent: #00aeef; /* The bright Cyan/Blue from the spine/maternity icon */

  /* ---- Neutral & Background Colors ---- */
  --dark-teal: #1d355e; /* Swapped old Teal for Brand Navy */
  --dark: #0f1c31; /* Extra dark Navy for deep backgrounds */
  --white: #ffffff;
  --light-bg: #f1f4f8; /* Clean, medical off-white */
  --light-beige: #f1f4f8; /* Soft blue-tinted grey instead of beige */

  /* ---- Typography Colors ---- */
  --gray-text: #666666;
  --nav-text: #1d355e; /* Navy text for better brand consistency */

  /* ---- Fonts ---- */
  /* Montserrat or Poppins mimics the clean, bold sans-serif in your logo */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;

  /* ---- Helpers ---- */
  --transition: all 0.3s ease;
  --shadow-nav: 0 4px 20px rgba(29, 53, 94, 0.1); /* Navy-tinted shadow */
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--nav-text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.top-bar {
  background-color: var(--accent);
  padding: 10px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 255);
  position: relative;
  z-index: 1000;
}

.top-bar__left i {
  color: var(--primary);
  font-size: 14px;
}

.top-bar__center span {
  font-weight: 400;
  letter-spacing: 0.3px;
}

.top-bar__right {
  gap: 6px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  transition: var(--transition);
}

.social-icon:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* BREADCRUMB SECTION */
/* Breadcrumb Specific Styles */
.breadcrumb-area {
  height: 300px; /* Standard height for breadcrumb sections */
  background-color: var(--dark-teal); /* #0D2E2E */
  /* Use the pattern from your image - replace with your actual asset path */
  background-image:
    linear-gradient(rgba(29, 53, 94, 0.85), rgba(29, 53, 94, 0.85)),
    url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
  background-position: center;
  background-size: cover;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb-title {
  font-family: var(--font-heading); /* Playfair Display */
  letter-spacing: 1px;
}

.breadcrumb-item {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Link Styles */
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--primary); /* #1EBDB8 */
}

/* Active Page (Non-clickable) */
.breadcrumb-item.active {
  color: var(--white);
}

/* Custom Separator (The / symbol) */
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.4);
  padding: 0 15px;
}

/* Responsive Scaling */
@media (max-width: 768px) {
  .breadcrumb-area {
    height: 200px;
  }
  .breadcrumb-title {
    font-size: 1.2rem;
  }
  .breadcrumb-item {
    font-size: 0.95rem;
  }
}

@media (max-width: 991px) {
  /* .btn-appointment {
    margin-left: 12% !important;
  } */
  .top-bar__right {
    justify-content: center !important;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---- Background Image ---- */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-bg__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    105deg,
    rgba(29, 53, 94, 0.08) 0%,
    rgba(29, 53, 94, 0.08) 35%,
    rgba(29, 53, 94, 0.12) 55%,
    rgba(29, 53, 94, 0.06) 75%,
    transparent 100%
  );
}
/* ============================================================
   FLOATING NAVIGATION BAR
   ============================================================ */
.floating-nav {
  position: relative;
  z-index: 1500;
  background: var(--white);
  margin: 20px 30px 0;
  border-radius: 50px;
  padding: 8px 20px;
  box-shadow: var(--shadow-nav);
  transition: var(--transition);
}

.floating-nav.scrolled {
  position: fixed;
  top: 0% !important;
  left: 0;
  right: 0;
  margin: 0;
  border-radius: 0;
  padding: 5px 30px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Logo */
.brand-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  color: var(--dark);
  letter-spacing: 1px;
}

.logo-icon svg {
  display: block;
}

/* Nav Links */
.floating-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--nav-text);
  padding: 10px 18px !important;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.floating-nav .nav-link:hover,
.floating-nav .nav-link.active {
  color: var(--primary);
}

.floating-nav .nav-link.active {
  font-weight: 600;
}

/* Dropdown */
.floating-nav .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  margin-top: 10px;
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-nav .dropdown-item {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.floating-nav .dropdown-item:hover {
  background-color: rgba(30, 189, 184, 0.08);
  color: var(--primary);
  padding-left: 25px;
}

/* Appointment Button */
.btn-appointment {
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 10px 18px 10px 24px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  border: 2px solid var(--primary);
  white-space: nowrap;
  display: none;
}

.btn-appointment .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  color: var(--primary);
  font-size: 13px;
  transition: var(--transition);
}

.btn-appointment:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 189, 184, 0.35);
}

.btn-appointment:hover .btn-arrow {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateX(3px);
}

.app-content {
  flex-direction: column;
}

/* Mobile Toggler */
.navbar-toggler {
  border: 2px solid var(--primary);
  padding: 6px 10px;
  border-radius: 8px;
  transition: var(--transition);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(30, 189, 184, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231EBDB8' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   HERO CONTENT
   ============================================================ */
.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 140px;
}

/* Label */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeInRight 0.8s ease 0.3s forwards;
}

.hero-label__line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.hero-label__text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  color: var(--accent);
}

/* Headline */
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.5s forwards;
}

.hero-headline .text-accent {
  color: #0bc7ff;
}

/* Description */
.hero-description {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 35px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.7s forwards;
}

/* ---- Contact Buttons ---- */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s forwards;
  margin-top: 20px;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-contact--primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-contact--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 189, 184, 0.35);
}

.btn-contact--outline {
  background: var(--white);
  color: var(--nav-text);
  border: 2px solid var(--white);
}

.btn-contact--outline:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
  transition: var(--transition);
}

.btn-contact--primary .btn-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-icon--accent {
  background: var(--primary) !important;
  color: var(--white) !important;
}

/* ============================================================
   DOT NAVIGATION (Right Side)
   ============================================================ */
.dot-nav {
  position: absolute;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dot-nav__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.dot-nav__dot.active {
  background: var(--white);
  border-color: var(--white);
  width: 12px;
  height: 12px;
}

.dot-nav__dot:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   CURVED BOTTOM
   ============================================================ */
.hero-curve {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 20;
  line-height: 0;
}

.hero-curve svg {
  width: 100%;
  height: 100px;
  display: block;
}

/* ============================================================
   NEXT SECTION
   ============================================================ */
.next-section {
  background-color: var(--light-beige);
  padding: 60px 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */

/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
  .hero-headline {
    font-size: 64px;
  }
  .hero-content {
    padding-left: 20px;
  }
}

/* Large Screens (992px - 1199px) */
@media (max-width: 1199px) {
  .floating-nav {
    margin: 15px 20px 0;
  }

  .floating-nav .nav-link {
    padding: 10px 14px !important;
    font-size: 14px;
  }

  .btn-appointment span:first-child {
    font-size: 13px;
  }
}

/* Medium Screens / Tablets (768px - 991px) */
@media (max-width: 991px) {
  .floating-nav {
    margin: 15px 15px 0;
    border-radius: 20px;
    padding: 10px 16px;
  }

  .floating-nav .navbar-collapse {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-height: 70vh;
    overflow-y: auto;
  }

  .floating-nav .nav-link {
    padding: 12px 16px !important;
    border-bottom: 1px solid #f0f0f0;
  }

  .floating-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .floating-nav .dropdown-menu {
    box-shadow: none;
    border-radius: 8px;
    background: #f8f9fa;
    margin-top: 0;
  }

  /* Mobile Appointment Button inside menu */
  .btn-appointment-mobile {
    display: inline-flex !important;
    width: 100%;
    justify-content: center;
    margin-top: 15px;
  }

  .hero-section {
    min-height: 90vh;
  }

  .hero-content {
    padding-bottom: 120px;
  }

  .hero-headline {
    font-size: clamp(32px, 6vw, 48px);
  }

  .dot-nav {
    right: 20px;
  }
}

/* Small Screens / Phones (576px - 767px) */
@media (max-width: 767px) {
  .top-bar {
    padding: 8px 0;
    font-size: 12px;
  }

  .top-bar__center {
    text-align: center;
  }

  .top-bar__right {
    gap: 3px;
  }

  .social-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .floating-nav {
    margin: 10px 10px 0;
    border-radius: 16px;
    padding: 8px 14px;
  }

  .brand-text {
    font-size: 18px;
  }

  .logo-icon svg {
    width: 28px;
    height: 28px;
  }

  .hero-section {
    min-height: 85vh;
  }

  .hero-content {
    padding-top: 30px;
    padding-bottom: 100px;
  }

  .hero-headline {
    font-size: clamp(28px, 7vw, 40px);
  }

  .hero-description {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-contact {
    font-size: 13px;
    padding: 9px 12px 9px 18px;
    justify-content: space-between;
  }

  .hero-curve svg {
    height: 60px;
  }

  .dot-nav {
    right: 12px;
    gap: 8px;
  }

  .dot-nav__dot {
    width: 8px;
    height: 8px;
  }

  .dot-nav__dot.active {
    width: 10px;
    height: 10px;
  }
}

/* Extra Small Screens (< 400px) */
@media (max-width: 400px) {
  .top-bar .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }

  .floating-nav {
    margin: 8px 8px 0;
    padding: 6px 12px;
  }

  .hero-headline {
    font-size: 31px;
  }

  .hero-label__text {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .btn-contact span:first-child {
    font-size: 12px;
  }

  .hero-curve svg {
    height: 40px;
  }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero-content {
    padding-top: 20px;
    padding-bottom: 80px;
  }

  .hero-headline {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .hero-description {
    margin-bottom: 15px;
    font-size: 13px;
  }

  .hero-curve svg {
    height: 40px;
  }
}

/* ================= ABOUT SECTION ================= */

.about-section {
  background: var(--light-beige);
  border-radius: 80px 80px 0px 0px;
  position: relative;
  /* CHANGE 1: Use negative margin instead of bottom: 70px to remove ghost space */
  margin-top: -70px;
  /* CHANGE 2: Ensure it sits on top of the section above */
  z-index: 10;
}

.about-wrapper {
  padding: 60px 20px 40px; /* Added more top padding to balance the look */
}

/* ==== IMAGES ==== */

.about-images {
  position: relative;
  min-height: 480px; /* Increased slightly for better layout */
}

.about-img {
  position: absolute;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Added soft shadow for depth */
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Main */
.main-img {
  width: 55%;
  height: 100%;
  left: 0;
  top: 0;
}

/* Top */
.top-img {
  width: 40%;
  height: 45%;
  right: 0;
  top: 0;
}

/* Bottom */
.bottom-img {
  width: 40%;
  height: 45%;
  right: 0;
  bottom: 0;
}

/* Badge */
.experience-badge {
  position: absolute;
  left: 55%; /* Adjusted slightly to overlap more interestingly */
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--dark-teal);
  color: white;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 8px solid #dfe6e1; /* Matched to section background */
  text-align: center;
  z-index: 6;
}

.experience-badge span {
  font-size: 28px;
  font-weight: bold;
}

/* ==== RESPONSIVE ==== */

@media (max-width: 991px) {
  .about-section {
    margin-top: -50px; /* Reduced shift on mobile */
    border-radius: 40px 40px 0 0;
  }

  .about-images {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .main-img,
  .top-img,
  .bottom-img {
    position: relative;
    width: 100%;
    height: 250px;
    inset: auto !important; /* Resets absolute positions */
  }

  .experience-badge {
    position: absolute;
    left: 20%;
    top: 20%;
    width: 100px;
    height: 100px;
    border-width: 4px;
  }

  .experience-badge span {
    font-size: 20px;
  }
}

/* ================= PROCESS SECTION ================= */

.process-section {
  padding-top: 0px !important;
  background-color: var(--light-bg);
}

.process-title {
  font-family: var(--font-heading);
  font-size: 38px;
  margin-bottom: 20px;
}

.process-title span {
  color: var(--primary);
}

.process-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeInRight 0.8s ease 0.3s forwards;
}
/* --- Wave Animation --- */
.main-circle-img {
  width: 450px;
  height: 450px;
  z-index: 5;
  position: relative;
  border: 10px solid #ffffff;
}

.wave-circle {
  position: absolute;
  width: 450px;
  height: 450px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  animation: ripple 4s linear infinite;
  opacity: 0;
  z-index: 1;
}

.delayed-1 {
  animation-delay: 1.3s;
}
.delayed-2 {
  animation-delay: 2.6s;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* --- Steps Positioning --- */
.steps-overlay {
  position: absolute;
  inset: -100px;
  z-index: 10;
}

.step-item {
  position: absolute;
  width: 250px;
  transition: var(--transition);
}

.step-label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.step-pill {
  background-color: var(--dark-teal);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.step-pill.active,
.step-item:hover .step-pill {
  background-color: var(--primary);
}

/* Content visibility logic */
.step-content {
  background: white;
  padding: 15px;
  border-radius: 15px;
  margin-top: 10px;
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: none; /* Hidden by default */
  animation: fadeIn 0.3s ease;
}

.step-item:hover .step-content {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Positions (Adjust based on circle size) */
.step-tr {
  top: 10%;
  right: -4%;
}
.step-mr {
  top: 45%;
  right: -16%;
}
.step-br {
  bottom: 10%;
  right: -4%;
}
.step-bl {
  bottom: 10%;
  left: -4%;
}
.step-ml {
  top: 45%;
  left: -16%;
}
.step-tl {
  top: 10%;
  left: -4%;
}

/* Mobile fallback */
@media (max-width: 991px) {
  .main-circle-img {
    width: 300px;
    height: 300px;
  }
  .steps-overlay {
    position: static;
    margin-top: 50px;
    display: block;
  }
  .step-item {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    inset: auto !important;
  }
  .wave-circle {
    display: none;
  }
  .process-mob {
    display: flex;
    flex-direction: column;
  }
  .process-section {
    padding-bottom: 0px !important;
  }
}

/* HOME SERVICES CSS */
/* Custom Service Section Styles */
.text-teal {
  color: var(--primary) !important;
}
.italic {
  font-style: italic;
}
.letter-spacing-1 {
  letter-spacing: 1px;
}

.service-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s forwards;
  margin-top: 20px;
}

@media (min-width: 991.98px) {
  .service-buttons {
    display: none !important;
  }
}

.services-section {
  background-color: var(--light-bg);
}

/* Ensure the button wrapper doesn't shrink */
.action-btn-wrapper {
  padding: 0 20px;
  flex-shrink: 0;
}

.action-btn {
  background-color: var(--primary); /* Your primary color */
  height: 60px;
  width: 60px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background-color: #18a87e;
  transform: scale(1.1);
}

/* Maintain the arrow flip logic even though it's a sibling */
.service-item.active .action-btn i {
  transform: rotate(
    -90deg
  ); /* Adjust rotation based on your icon starting point */
}

.home-services-title {
  font-family: var(--font-heading);
  font-size: 38px;
  margin-bottom: 20px;
}

.home-services-title span {
  color: var(--primary);
}

.service-item {
  overflow: hidden;
  transition: var(--transition);
}

.icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
}
@media (min-width: 991.98px) {
  .service-btn {
    display: none !important;
  }
}

/* Accordion Logic */
.service-content {
  max-height: 0;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item.active .service-content {
  max-height: 800px; /* Large enough to fit image */
  opacity: 1;
}

.service-item.active .icon-box {
  background-color: var(--primary);
}

/* Transform Arrow when active */
.service-item.active .action-btn i {
  color: var(--primary);
}

.service-header:hover .service-title {
  color: var(--primary);
}

.img-wrapper img {
  transition: transform 0.6s ease;
}

.service-item.active .img-wrapper img {
  transform: scale(1.02);
}

/* Dark Mode support for icons if needed */
.service-item:not(.active) .icon-box {
  background-color: #2d3e3e;
}

/* TESTIMONIAL CSS */
.testimonial-section {
  min-height: 700px;
  background-color: var(--dark-teal);
  display: flex;
  align-items: center;
}

/* Fixed Background Image */
.testimonial-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
}

.testimonial-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Column with Gradient Overlay */
.testimonial-content-col {
  position: relative;
  z-index: 2;
  background: linear-gradient(to right, transparent 0%, var(--dark-teal) 15%);
  padding-left: 10%;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Responsive Fix for Mobile */
@media (max-width: 991.98px) {
  .testimonial-bg-image {
    width: 100%;
    opacity: 0.4;
  }
  .testimonial-content-col {
    background: rgba(13, 46, 46, 0.85);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ---- Traveling Animations ---- */

/* 1. Reset Bootstrap default transition to allow custom ones */
.carousel-item {
  transition:
    transform 0.8s ease,
    opacity 0.8s ease;
}

/* 2. Text rising from bottom */
/* .carousel-item.active .anim-up {
            animation: slideUpTravel 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
        } */

/* 3. User profile sliding from right */
/* .carousel-item.active .anim-right {
            animation: slideLeftTravel 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
        } */

@keyframes slideUpTravel {
  0% {
    transform: translateY(120px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideLeftTravel {
  0% {
    transform: translateX(150px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Custom Control Buttons */
.control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: white;
  color: var(--dark-teal);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* APPOINTMENT CSS */
.text-teal {
  color: var(--primary);
}
.italic {
  font-style: italic;
  font-family: "Playfair Display", serif;
}

.appointment-section {
  background-color: var(--light-bg);
}

/* Input Styling */
.custom-input {
  background-color: #f9fbfb !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-size: 0.9rem;
  color: #666;
}

.custom-input::placeholder {
  color: #999;
}

.btn-teal-full {
  background-color: var(--primary);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-teal-full:hover {
  background-color: #17a5a1;
  color: white;
  transform: translateY(-2px);
}

/* The Overlap Logic */
@media (min-width: 992px) {
  .appointment-floating-card {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-70%); /* Pulls it up significantly over the image */
    z-index: 10;
    padding: 24px;
    background-color: var(--light-bg);
  }

  .border-start-lg {
    border-left: 1px solid #ced4da !important;
  }
}

/* Mobile Adjustment */
@media (max-width: 991px) {
  .appointment-floating-card {
    margin-top: -100px; /* Pulls it up into the image area on mobile */
    padding: 0 20px;
  }
}

/* Remove default select arrow for custom look */
.form-select {
  background-image: none;
}

/* CARE CSS */
/* Card Core Styles */

.care-section {
  background-color: var(--dark-teal);
}

.care-card {
  position: relative;
  transition: 0.4s ease;
  height: 450px;
  background: #1a1a1a;
  cursor: pointer;
}

.care-title {
  font-family: var(--font-heading);
  font-size: 38px;
  margin-bottom: 20px;
  color: white;
}
.care-title span {
  color: var(--primary);
}

.image-zoom-wrapper {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.image-zoom-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  z-index: 2;
}

/* --- Hover Effects --- */
.care-card:hover .image-zoom-wrapper {
  transform: scale(1.1); /* Zoom Effect */
}

.text-content {
  transition: transform 0.4s ease;
  transform: translateY(20px); /* Initial position (pushed down) */

  hr {
    color: white;
    background-color: white;
  }
}

.subtitle {
  opacity: 0;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  transform: translateY(10px);
  color: white;
}

.care-card:hover .text-content {
  transform: translateY(0); /* Uplift Effect */
}

.care-card:hover .subtitle {
  opacity: 1; /* Fade in subtitle */
  transform: translateY(0);
}

/* Floating Icon Styles */
.action-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 20px;
  z-index: 3;
  transition: var(--transition);
}

.action-icon.white-icon {
  background: white;
  color: var(--dark-teal);
}

.care-card:hover .action-icon {
  background: var(--primary) !important;
  color: white !important;
}

.care-card:hover {
  .arrow {
    transform: rotate(-34deg);
    transition: var(--transition);
  }
}

.letter-spacing-1 {
  letter-spacing: 1px;
}
.italic {
  font-style: italic;
}

/* TICKER CSS */
.marquee-section {
  background-color: var(--dark-teal); /* From your global styles #0D2E2E */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  position: relative;
}

/* The actual scrolling container */
.marquee-container {
  width: fit-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
}

.marquee-item {
  color: white;
  font-size: 2.2rem;
  font-weight: 400;
  padding: 0 40px;
  letter-spacing: 0.5px;
}

.marquee-star {
  color: white;
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Smooth Infinite Loop Animation */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Optional: Pause on hover for better UX */
.marquee-section:hover .marquee-container {
  animation-play-state: paused;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
  .marquee-item {
    font-size: 2.1rem;
    padding: 0 20px;
  }
}

/* DOCTOR CSS */
/* Color Palette */

.doctor-section {
  background-color: var(--light-bg);
}

.btn-teal-pill {
  background-color: var(--primary);
  color: white;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
}
.btn-teal-pill:hover,
.btn-teal-pill.active {
  background-color: var(--accent);
  color: white;
}

/* Sidebar Styling */
.sidebar-card {
  background: linear-gradient(135deg, #1d355e 0%, #0f1c31 100%);
  background-image:
    url("https://www.transparenttextures.com/patterns/carbon-fibre.png"),
    linear-gradient(135deg, #1d355e 0%, #0f1c31 100%);
  position: sticky;
  top: 10%;
  bottom: 20%;
}

.schedule-list span {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.sidebar-input {
  background-color: white !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 12px 20px !important;
  font-size: 0.85rem;
}

/* UI Elements */
.social-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #0d2e2e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.social-circle:hover {
  background: #1ebdb8;
  color: white;
}

.stat-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0d2e2e;
  color: #1ebdb8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.doctor-main-img {
  height: 400px;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .doctor-main-img {
    height: 300px;
  }
  .stats-card {
    width: 100%;
    justify-content: space-between;
  }
  .btn-transparent {
    font-size: 0.8rem;
    padding: 10px 5px !important;
  }
}

/* DOCTOR SECTION */
/* Container & Background */
.bg-light-sage {
  background-color: var(--light-bg);
}

/* Image Containers */
.main-img-holder {
  height: 450px;
}
.benefit-img-holder {
  height: 350px;
}

/* Text Content */
.benefit-list li {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.benefit-list li i {
  font-size: 1.5rem;
  color: var(--primary); /* #1EBDB8 */
  margin-right: 5px;
}

/* Sidebar Dark Card */
.contact-sidebar {
  background: linear-gradient(135deg, #1d355e 0%, #0f1c31 100%);
  background-image:
    url("https://www.transparenttextures.com/patterns/carbon-fibre.png"),
    linear-gradient(135deg, #1d355e 0%, #0f1c31 100%);
}

.service-sidebar-list li {
  padding: 8px 0;
  font-size: 1.2rem;
  opacity: 0.8;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-sidebar-list li.active {
  color: var(--primary);
  opacity: 1;
  font-weight: 500;
}

.service-sidebar-list li:hover {
  padding-left: 10px;
  opacity: 1;
}

/* Video CTA Card */
.video-preview {
  height: 180px;
  cursor: pointer;
}

.play-circle {
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease;
}

.video-preview:hover .play-circle {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card-title {
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 20px;
}

.video-card-title span {
  color: var(--primary);
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .main-img-holder {
    height: 300px;
  }
  .benefit-img-holder {
    height: 250px;
  }
  .sidebar-wrapper {
    margin-top: 3rem;
    position: static !important;
  }
}

@media (max-width: 576px) {
  .h3 {
    font-size: 1.5rem;
  }
}

/* footer styles */

/* ================= FOOTER ================= */

.physeo-footer {
  position: relative;
  background:
    linear-gradient(rgba(224, 225, 227, 0.9), rgba(203, 205, 210, 0.9)),
    url("your-image.jpg") center/cover no-repeat;

  color: var(--white);
  font-size: 15px;
  z-index: 1;
}

/* ===== Instagram Gallery ===== */

.insta-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.insta-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: var(--transition);
}

.insta-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--primary);
  width: 35px;
  height: 35px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

/* ===== About ===== */

.footer-logo {
  font-family: var(--font-heading);
  font-size: 32px;
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-about p {
  color: #ffffff;
  line-height: 1.6;
}

/* ===== Social ===== */

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary);
}

/* ===== Titles ===== */

.footer-title {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* ===== Links ===== */

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

.footer-links li {
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-links li a {
  color: #ffffff;
}

.footer-links li a:hover {
  color: var(--primary);
}

/* ===== Newsletter ===== */

.newsletter-form input {
  width: 100%;
  padding: 10px;
  border-radius: 30px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.newsletter-form button {
  width: 100%;
  padding: 10px;
  border-radius: 30px;
  background: var(--primary);
  color: white;
  border: none;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

/* ===== Bottom Bar ===== */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

.footer-legal a {
  color: white;
  margin: 0 8px;
}

/* MOBILE BOTTOM CSS */
.mobile-bottom-bar {
  background: rgba(29, 53, 94, 0.85); /* Dark teal with opacity */
  backdrop-filter: blur(10px); /* Glassmorphism effect */
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1050; /* Above all content */
  height: 75px;
}

.btn-small {
  background-color: var(--accent);
}

/* Custom button styles to match your image */
.mobile-bottom-bar .btn-dark {
  background-color: var(--primary);
  border: none;
  transition: transform 0.2s ease;
}

.mobile-bottom-bar .btn-dark:active {
  transform: scale(0.95);
}

.whatsapp-btn {
  color: #25d366; /* WhatsApp Brand Color */
  transition: transform 0.2s ease;
}

/* Letter spacing for the quote button */
.letter-spacing-1 {
  letter-spacing: 1px;
}

/* Ensure page content doesn't get hidden behind the bar on mobile */
@media (max-width: 767.98px) {
  body {
    padding-bottom: 80px;
  }
}

/* BLOGS CSS */
/* Blog Listing Specific Styles */
.blog-listing {
  background-color: var((var(--light-bg)));
}

.blog-listing p {
  font-family: var(--font-body);
}

.blog-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.blog-img-wrapper {
  height: 220px;
}
.explore-link {
  font-family: var(--font-body);
}

.explore-link:hover {
  color: #1ebdb8 !important;
}

/* Sidebar Styling */
.sidebar-container {
  background: linear-gradient(135deg, #1d355e 0%, #0f1c31 100%);
  background-image:
    url(https://www.transparenttextures.com/patterns/carbon-fibre.png),
    linear-gradient(135deg, #1d355e 0%, #0f1c31 100%);
}

.category-list li {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: 0.3s;
  cursor: pointer;
}

.category-list li:hover {
  opacity: 1;
  color: #1ebdb8;
}

.recent-post-item h6 {
  line-height: 1.4;
  cursor: pointer;
}

.blog-title {
  font-size: 1.25rem;
  font-family: var(--font-heading);
}

.recent-post-item h6:hover {
  color: #1ebdb8;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .sidebar-container {
    margin-top: 2rem;
  }
}

/* BLOG DETAILS CSS */
/* --- Blog Details Custom Styles --- */
.border-teal {
  border-color: var(--secondary) !important;
}

.featured-img-holder {
  height: 500px;
}

.blog-details {
  p,
  span {
    font-family: var(--font-body);
  }
  background-color: var(--light-bg);
}

/* Blockquote Style */
.quote-container {
  background-color: #fff;
  line-height: 1.8;
}
.quote-icon i {
  transform: rotate(180deg);
  display: inline-block;
}

/* Sidebar Styling (Carbon Fiber Pattern) */
.sidebar-container {
  background: linear-gradient(135deg, #1d355e 0%, #0f1c31 100%);
  background-image:
    url(https://www.transparenttextures.com/patterns/carbon-fibre.png),
    linear-gradient(135deg, #1d355e 0%, #0f1c31 100%);
}

.category-list li {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: 0.3s;
  cursor: pointer;
}
.category-list li:hover {
  color: #1ebdb8;
  opacity: 1;
}

/* Social Share Links */
.social-dot {
  width: 35px;
  height: 35px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: 0.3s;
}
.social-dot:hover {
  background: #1ebdb8;
  color: white;
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .featured-img-holder {
    height: 350px;
  }
  .sidebar-container {
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .display-6 {
    font-size: 1.8rem;
  }
}

/* APPOINTMENT FORM CSS */
/* --- Modal Custom Styles --- */
.italic {
  font-family: "Playfair Display", serif;
  font-style: italic;
}

/* Desktop Rounded Corners */
@media (min-width: 576px) {
  .rounded-5-desktop {
    border-radius: 2rem !important;
  }
}

/* Form Input Styling */
.custom-input {
  background-color: #f9fbfb !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-size: 0.95rem;
  color: #444;
  transition: all 0.3s ease;
}

.custom-input:focus {
  background-color: #fff !important;
  border-color: #1ebdb8 !important;
  box-shadow: 0 0 0 0.25rem rgba(30, 189, 184, 0.1) !important;
}

/* Button Styling */
.btn-teal-full {
  background-color: var(--primary);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn-teal-full:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

/* Clean Select Arrow */
.form-select {
  background-image: none;
}

/* Ensure icons don't block clicks */
.position-relative i {
  pointer-events: none;
}

#appointmentModal input {
  border: 1px solid var(--primary-dark);
}

/* VIDEO CSS */
.video-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease;
}

.video-thumb {
  position: relative;
  cursor: pointer;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumb img {
  transition: 0.5s ease;
  opacity: 0.8;
}

.video-thumb:hover img {
  opacity: 0.5;
  transform: scale(1.1);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  transition: 0.3s ease;
  z-index: 5;
}

.video-thumb:hover .play-btn {
  background: var(--primary); /* Red #E31E24 */
  border-color: var(--primary);
}

.video-info {
  position: relative;
  z-index: 10;
  margin-top: -40px; /* This creates the overlap */
  margin-left: 15px;
  margin-right: 15px;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.video-info h5 {
  font-size: 1.1rem;
  color: var(--secondary); /* Navy Blue #1D355E */
}

/* SUCCESS STORIES CSS */
/* ================= SUCCESS STORIES ================= */

.success-stories {
  background-color: #fdfdfd;
}

.story-card {
  background: #fff;
  border-radius: 20px;
  height: 100%;
  transition: var(--transition);
  position: relative;
}

.story-card--blue {
  border-bottom: 5px solid var(--accent);
}
.story-card--red {
  border-bottom: 5px solid var(--primary);
}

.story-card:hover {
  transform: translateY(-10px);
}

/* IMAGE SHAPES */
.story-image-wrapper {
  position: relative;
  display: inline-block;
}

.story-shape {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  border: 3px solid transparent;
  border-radius: 50%;
  z-index: 1;
}

/* Blue Arc (Navy to Cyan) */
.story-shape--left {
  border-left-color: #007bff;
  border-top-color: #007bff;
  transform: rotate(-15deg);
}

/* Red Arc */
.story-shape--right {
  border-right-color: var(--primary);
  border-top-color: var(--primary);
  transform: rotate(15deg);
}

.story-image-wrapper img {
  position: relative;
  z-index: 2;
  background: #eee;
}

/* BUTTONS */
.btn-blue-gradient {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-red-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.btn-blue-gradient:hover,
.btn-red-gradient:hover {
  color: white;
  filter: brightness(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .story-card {
    padding: 30px 20px !important;
  }
  .story-shape {
    display: none;
  } /* Hide complex shapes on small mobile for cleaner look */
}

/* HOME BLOG CSS */
/* ================= BLOG SECTION ================= */

.home-blog-card {
  height: 350px;
  transition: transform 0.3s ease;
}

.home-blog-card:hover {
  transform: translateY(-10px);
}

.home-blog-image {
  position: relative;
  height: 100%;
}

/* Gradient Overlay to ensure text readability */
.home-blog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(29, 53, 94, 0) 0%,
    rgba(29, 53, 94, 0.95) 100%
  );
  z-index: 1;
}

.home-blog-content {
  z-index: 2;
}

.home-blog-content h5 {
  line-height: 1.4;
  font-size: 1.15rem;
}

.home-blog-content h5 a:hover {
  color: var(--accent) !important; /* Cyan hover color */
}

.blog-buttons {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 15px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.9s forwards;
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .home-blog-card {
    height: 300px;
  }
}

@media (max-width: 575px) {
  .home-blog-section h2 {
    font-size: 1.75rem;
  }
  .home-blog-card {
    height: 320px;
  }
}

/* Custom Wide Container for Hero Section */

/* Small devices (576px and up) */
@media (min-width: 576px) {
  .container {
    max-width: 540px !important;
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 750px !important;
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 970px !important;
  }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1180px !important;
  }
}

/* Extra extra large (1400px and up) - This is likely where yours feels small */
@media (min-width: 1400px) {
  .container {
    max-width: 1380px !important; /* Default is 1320px */
  }
}

/* Ultrawide Screens (Optional addition) */
@media (min-width: 1600px) {
  .container {
    /* max-width: 1550px !important; */
    max-width: 84% !important;
  }
}
.logo img {
  height: 80px; /* increase logo size */
}

.header-area {
  padding-top: 0px;
  padding-bottom: 0px;
}
.navbar-brand img {
  height: 80px;
}
.navbar {
  padding-top: 0;
  padding-bottom: 0;
}
.doctor-name-mobile {
  display: none;
  font-weight: 600;
}



/* Show only on mobile */
@media (max-width: 768px) {
  .doctor-name-mobile {
    display: block;
  }
}
@media (max-width: 768px) {
  /* Section ka top gap remove */
  .about-section {
    padding-top: 0 !important;
    margin-top: -20px; /* adjust if needed */
  }

  /* Doctor name ke niche ka gap kam karo */
  .doctor-name-mobile {
    margin-bottom: 10px !important;
  }

  /* Image wrapper ka extra space remove */
  .about-images {
    margin-top: 0 !important;
  }
}
@media (max-width: 768px) {
  /* Section ka top gap remove */
  .about-section {
    padding-top: 0 !important;
    margin-top: -20px; /* adjust if needed */
  }

  /* Doctor name ke niche ka gap kam karo */
  .doctor-name-mobile {
    margin-bottom: 10px !important;
  }

  /* Image wrapper ka extra space remove */
  .about-images {
    margin-top: 0 !important;
  }
}
.faq-section {
  background: linear-gradient(135deg, #f4f8ff, #ffffff);
}

.custom-faq .accordion-item {
  border: none;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.custom-faq .accordion-item:hover {
  transform: translateY(-3px);
}

.custom-faq .accordion-button {
  background: #fff;
  font-weight: 600;
  color: #000000;
  padding: 18px;
  border: none;
  box-shadow: none;
}

.custom-faq .accordion-button i {
  color: #0d6efd;
}

.custom-faq .accordion-button:not(.collapsed) {
  background: #e90b0b;
  color: #fff;
}

.custom-faq .accordion-button:not(.collapsed) i {
  color: #fff;
}

.custom-faq .accordion-body {
  background: #f9fbff;
  color: #555;
  line-height: 1.6;
  animation: fadeIn 0.4s ease;
}

/* Smooth fade animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.gallery-section {
  background: #f8fbff;
}

/* Image Card */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;

  object-fit: cover;
  transition: 0.4s ease;
  border-radius: 15px;
}

/* Hover Effect */
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.8);
}

/* Overlay Icon */

.gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding: 40px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
  animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}
.lightbox {
  display: none;
  justify-content: center;
  align-items: center;
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}
.footer-logo {
  max-width: 250px;
  height: auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.zoom-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: red;
  color: #fff;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.zoom-icon i {
  font-size: 14px;
}
.physeo-footer {
  position: relative;
  background: url("assets/images/roboticjointreplacement.avif") center/cover
    no-repeat;
  color: var(--white);
  font-size: 15px;
  z-index: 1;
}

.physeo-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(237, 237, 237, 0.9),
    rgba(0, 0, 0, 0.9)
  );
  z-index: -1;
}
.service-sidebar-list a {
  color: #ffffff !important;
  text-decoration: none;
}

.service-sidebar-list a:hover {
  color: #e63946 !important; /* optional hover effect */
}
.video-thumb {
  position: relative;
  overflow: hidden;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* PERFECT CIRCLE */
.play-circle {
  width: 70px;
  height: 70px;
  min-width: 70px;
  min-height: 70px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  display: block;
}

/* hover optional */
.video-thumb:hover .play-circle {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}
.play-circle {
  aspect-ratio: 1/1;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.play-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;
}

.play-circle i {
  color: #fff;
  font-size: 26px;
  margin-left: 3px; /* perfect triangle center */
}

.video-thumb:hover .play-circle {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.35);
}
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: #000;
}
.btn-google-view {
  background: #e71d2b;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
  margin-left: 15px;
}

.btn-google-view:hover {
  background: #c41622;
  color: #fff;
}







/* Target only mobile view (Bootstrap's lg breakpoint is 992px) */
@media (max-width: 991.98px) {
    #navbarContent .navbar-nav {
        text-align: left !important;
        align-items: flex-start !important;
    }

    #navbarContent .nav-link {
        width: 100%; /* Ensures the clickable area spans the width */
        border-bottom: 1px solid #f0f0f0; /* Optional: keeps the clean look from your image */
        padding: 12px 0;
    }

    /* Keep the Appointment button centered or full width if desired */
    #navbarContent .btn-appointment {
        margin-top: 15px;
        justify-content: center;
        width: 100%; 
    }

	.navbar-nav .nav-link{
		text-align: left !important;
	}
}