/* ============================================
   VETMEDIC - Pet Care & Veterinary Clinic
   Custom Stylesheet
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary: #e04503;
  --primary-dark: #e04503;
  --primary-light: #e04503;
  --secondary: #e04503;
  --secondary-light: #e04503;
  --accent-green: #950100;
  --accent-green-dark: #700100;
  --light-bg: #fff7f7;
  --section-bg: #fdf2f2;
  --dark-bg: #2b0202;
  --darker-bg: #1a0000;
  --text-dark: #212529;
  --text-body: #555555;
  --text-muted: #888888;
  --border-color: #f2d6d6;
  --white: #ffffff;
  --shadow: 0 5px 30px rgba(149, 1, 0, 0.08);
  --shadow-hover: 0 10px 40px rgba(149, 1, 0, 0.15);
  --transition: all 0.3s ease;
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 10px;
  --radius-sm: 5px;
  --radius-pill: 50px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 15px;
}

h1 {
  font-size: 52px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 22px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

p {
  margin-bottom: 15px;
  color: var(--text-body);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

section {
  position: relative;
  overflow: hidden;
}

/* ---------- Utility Classes ---------- */
.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 70px 0;
}

.bg-light-orange {
  background-color: var(--light-bg);
}

.bg-section {
  background-color: var(--section-bg);
}

.bg-dark-navy {
  background-color: var(--dark-bg);
}

.bg-darker-navy {
  background-color: var(--darker-bg);
}

.text-primary-custom {
  color: var(--primary) !important;
}

.text-secondary-custom {
  color: var(--secondary) !important;
}

/* ---------- Section Title ---------- */
.section-title {
  margin-bottom: 50px;
}

.section-title .subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title .subtitle i {
  font-size: 20px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-body);
  max-width: 600px;
}

.section-title.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
  text-transform: capitalize;
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(149, 1, 0, 0.35);
}

.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background-color: var(--secondary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--secondary);
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary-custom:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(43, 2, 2, 0.35);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background-color: transparent;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-custom:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(149, 1, 0, 0.35);
}

.btn-white-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background-color: var(--white);
  color: var(--secondary);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--white);
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
}

.btn-white-custom:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm-custom {
  padding: 10px 24px;
  font-size: 14px;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background-color: var(--secondary);
  padding: 10px 0;
  font-size: 13px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
  color: #ffffff;
  transition: var(--transition);
}

.top-bar a:hover {
  color: var(--primary);
}

.top-bar .top-info {
  display: flex;
  align-items: center;
  gap: 25px;
}

.top-bar .top-info li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar .top-info li i {
  color: #ffffff;
  font-size: 14px;
}

.top-bar .top-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.top-bar .top-social a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  transition: var(--transition);
}

.top-bar .top-social a:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* ---------- Main Header / Navbar ---------- */
.main-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  animation: slideDown 0.3s ease;
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* ---- Transparent header on home page (overlaps the hero) ---- */
.page-home .main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  box-shadow: none;
}

/* Header Social Media Buttons */
.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-social a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.06);
  color: var(--secondary);
  font-size: 14px;
  transition: var(--transition);
}

.header-social a:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* White nav links & social buttons on transparent header */
.page-home .main-header:not(.sticky) .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.92);
}

.page-home .main-header:not(.sticky) .navbar-nav .nav-link:hover,
.page-home .main-header:not(.sticky) .navbar-nav .nav-link.active {
  color: #ffffff;
}

.page-home .main-header:not(.sticky) .header-social a {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.page-home .main-header:not(.sticky) .header-social a:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.page-home .main-header:not(.sticky) .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.7);
}

.page-home .main-header:not(.sticky) .navbar-toggler-icon,
.page-home .main-header:not(.sticky) .navbar-toggler-icon::before,
.page-home .main-header:not(.sticky) .navbar-toggler-icon::after {
  background-color: #ffffff;
}

/* Sticky restores solid white bg + dark nav links */
.page-home .main-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.3s ease;
}

.page-home .main-header.sticky .navbar-nav .nav-link {
  color: var(--secondary);
}

.page-home .main-header.sticky .navbar-nav .nav-link:hover,
.page-home .main-header.sticky .navbar-nav .nav-link.active {
  color: var(--primary);
}

.page-home .main-header.sticky .header-social a {
  background-color: rgba(0, 0, 0, 0.06);
  color: var(--secondary);
}

.page-home .main-header.sticky .header-social a:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.page-home .main-header.sticky .navbar-toggler {
  border-color: var(--primary);
}

.page-home .main-header.sticky .navbar-toggler-icon,
.page-home .main-header.sticky .navbar-toggler-icon::before,
.page-home .main-header.sticky .navbar-toggler-icon::after {
  background-color: var(--primary);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.navbar {
  padding: 0;
}

.navbar-brand {
  padding: 15px 0;
}

.navbar-brand img {
  height: 57px;
  border-radius: 9px;
}

.navbar-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--secondary);
}

.navbar-brand .logo-text span {
  color: var(--primary);
}

.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  padding: 30px 16px !important;
  transition: var(--transition);
  text-transform: capitalize;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-nav .nav-link i {
  font-size: 10px;
  margin-left: 4px;
}

/* Dropdown Menu */
.navbar-nav .dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 15px 0;
  min-width: 220px;
  margin-top: 0;
  border-top: 3px solid var(--primary);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-nav .dropdown-menu .dropdown-item {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  padding: 8px 25px;
  transition: var(--transition);
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: var(--light-bg);
  color: var(--primary);
  padding-left: 30px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-toggler {
  border: 2px solid var(--primary);
  padding: 0;
  width: 44px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background-color: transparent;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  position: relative;
  display: block;
  transition: var(--transition);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  left: 0;
  transition: var(--transition);
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

/* ---------- Hero Section / Slider ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* On home: pull hero up behind the absolute top-bar + header */
.page-home .hero-section {
  /* margin-top: -127px;  top-bar (~40px) + main-header (~87px) */
  width: 100%;
  left: 0;
  right: 0;
}

/* Ensure swiper and its children stretch full width */
.hero-section .hero-slider,
.hero-section .swiper-wrapper,
.hero-section .swiper-slide {
  width: 100% !important;
  max-width: 100%;
}

.hero-slide {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  /* Hide zoomed background overflow */
}

/* Give hero content enough top clearance so it's below the full chrome */
.page-home .hero-slide .container {
  padding-top: 160px;
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  animation: zoomInBg 15s ease infinite alternate;
}

@keyframes zoomInBg {
  0% {
    transform: scale(1.0);
  }

  100% {
    transform: scale(1.15);
  }
}

.hero-overlay-diagonal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  /* Uniform black overlay across the entire image */
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding-left: 15px;
  /* Add some padding so it doesn't touch the edge */
}

.hero-content .hero-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 25px;
  line-height: 1.1;
  text-transform: capitalize;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-shape {
  position: absolute;
  z-index: 1;
}

.hero-shape-1 {
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(149, 1, 0, 0.1);
}

.hero-shape-2 {
  top: 50px;
  right: 100px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(149, 1, 0, 0.3);
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--white);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
}

.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.hero-section .swiper-button-next:hover,
.hero-section .swiper-button-prev:hover {
  background: var(--primary);
}

.hero-section .swiper-button-next::after,
.hero-section .swiper-button-prev::after {
  font-size: 18px;
}

/* ---------- Hero Image Wrapper & Styling ---------- */
.hero-image-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-pet-img {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  /* Organic morphing shape */
  border: 8px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  animation: floatImage 6s ease-in-out infinite;
  transition: var(--transition);
  max-width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-pet-img:hover {
  border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  border-color: rgba(149, 1, 0, 0.4);
  transform: scale(1.02);
}

@keyframes floatImage {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 991.98px) {
  .hero-pet-img {
    height: 320px;
    margin-top: 30px;
  }
}

/* ---------- Services Section ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 50%;
  transition: var(--transition);
}

.service-card .icon-box i {
  font-size: 36px;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .icon-box {
  background: var(--primary);
}

.service-card:hover .icon-box i {
  color: var(--white);
}

.service-card h5 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  margin-bottom: 20px;
}

.service-card .read-more {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-card .read-more i {
  transition: var(--transition);
}

.service-card:hover .read-more i {
  transform: translateX(5px);
}

/* ---------- About Section ---------- */
.about-img-wrapper {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.about-img-wrapper .main-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
}

.about-img-wrapper .main-img img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-img-wrapper .experience-badge {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background: var(--primary);
  color: var(--white);
  padding: 25px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 30px rgba(149, 1, 0, 0.3);
}

.about-img-wrapper .experience-badge .number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.about-img-wrapper .experience-badge span {
  font-size: 14px;
  font-weight: 600;
}

.about-img-wrapper .small-img {
  position: absolute;
  top: 50px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow);
}

.about-img-wrapper .small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .feature-list {
  margin: 25px 0;
}

.about-content .feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary);
  font-size: 15px;
}

.about-content .feature-list li i {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  color: var(--primary);
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
}

/* ---------- Mission & Vision Cards ---------- */
.mission-vision-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 35px 30px;
  background: var(--light-bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
  height: 100%;
}

.mission-vision-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  background: var(--white);
}

.mission-vision-card .mv-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 50%;
  transition: var(--transition);
}

.mission-vision-card .mv-icon i {
  font-size: 26px;
  color: var(--white);
}

.mission-vision-card:hover .mv-icon {
  background: var(--secondary);
}

.mission-vision-card .mv-content h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--secondary);
}

.mission-vision-card .mv-content p {
  font-size: 14px;
  margin-bottom: 0;
  color: var(--text-body);
  line-height: 1.7;
}

/* ---------- Why Choose Us ---------- */
.feature-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: var(--radius);
  transition: var(--transition);
  height: 100%;
}

.feature-box:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-box .icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-box .icon i {
  font-size: 32px;
  color: var(--primary);
  transition: var(--transition);
}

.feature-box:hover .icon {
  background: var(--primary);
}

.feature-box:hover .icon i {
  color: var(--white);
}

.feature-box h5 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 14px;
  margin-bottom: 0;
}

.why-choose-img-wrapper {
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.why-choose-img-wrapper .why-choose-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ---------- Our Suppliers Section ---------- */
.suppliers-section {
  background-color: #e05c24;
  padding: 60px 0 60px 0;
}

.suppliers-header {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
  padding: 0 20px;
}

.suppliers-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.suppliers-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.2;
}

.suppliers-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin: 0 auto;
}

/* Grid — 4 columns on desktop, narrows on smaller screens */
.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  /* background-color: #cc0000; */
  /* red shows through gaps as gridlines */
}

.supplier-tile {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  min-height: 110px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.supplier-tile:hover {
  background: #f5f5f5;
  box-shadow: inset 0 0 0 2px #d94100;
  z-index: 1;
  position: relative;
}

.supplier-tile img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: none;
  transition: transform 0.2s ease;
}

.supplier-tile:hover img {
  transform: scale(1.06);
}

.suppliers-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px;
  font-size: 15px;
}

/* Responsive breakpoints */
@media (max-width: 1199px) {
  .suppliers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .suppliers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .suppliers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .supplier-tile {
    min-height: 90px;
    padding: 16px 12px;
  }

  .supplier-tile img {
    max-height: 48px;
  }
}

@media (max-width: 480px) {
  .suppliers-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ---------- Counter / Stats Section ---------- */
.counter-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.counter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.03)"/><circle cx="60" cy="30" r="1.5" fill="rgba(255,255,255,0.03)"/></svg>');
}

.counter-item {
  text-align: center;
  padding: 30px 15px;
  position: relative;
}

.counter-item .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.counter-item .icon i {
  font-size: 36px;
  color: var(--white);
}

.counter-item .count {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-item .count span {
  color: var(--white);
}

.counter-item .label {
  font-size: 15px;
  color: var(--white);
  font-weight: 600;
}

/* ---------- Doctors / Veterinarians ---------- */
.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.doctor-card .doctor-img {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.doctor-card .doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.doctor-card:hover .doctor-img img {
  transform: scale(1.05);
}

.doctor-card .doctor-social {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  transition: var(--transition);
  opacity: 0;
}

.doctor-card:hover .doctor-social {
  bottom: 20px;
  opacity: 1;
}

.doctor-card .doctor-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--secondary);
  border-radius: 50%;
  font-size: 14px;
  transition: var(--transition);
}

.doctor-card .doctor-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.doctor-card .doctor-info {
  padding: 25px;
  text-align: center;
}

.doctor-card .doctor-info h5 {
  font-size: 20px;
  margin-bottom: 5px;
}

.doctor-card .doctor-info .specialty {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Appointment Section ---------- */
.appointment-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  position: relative;
}

.appointment-section .appointment-img {
  position: relative;
}

.appointment-section .appointment-img img {
  border-radius: var(--radius);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.appointment-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-hover);
}

.appointment-form .form-control,
.appointment-form .form-select {
  border: 1px solid #ced4da;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 14px;
  color: var(--text-body);
  background-color: var(--section-bg);
  transition: var(--transition);
  height: auto;
}

.appointment-form .form-control:focus,
.appointment-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(149, 1, 0, 0.15);
}

.appointment-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.appointment-form label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}

/* ---------- Emergency CTA ---------- */
.emergency-section {
  background: var(--primary);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.emergency-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.emergency-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.emergency-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.emergency-content h3 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 5px;
}

.emergency-content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  font-size: 16px;
}

.emergency-phone {
  display: flex;
  align-items: center;
  gap: 15px;
}

.emergency-phone .phone-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

.emergency-phone .phone-icon i {
  font-size: 24px;
  color: var(--white);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.emergency-phone .phone-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
}

.emergency-phone .phone-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
  position: relative;
  margin: 10px;
  height: 100%;
}

.testimonial-card .quote-icon {
  font-size: 40px;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  right: 25px;
}

.testimonial-card .rating {
  display: flex;
  gap: 3px;
  margin-bottom: 15px;
}

.testimonial-card .rating i {
  color: #FFC107;
  font-size: 14px;
}

.testimonial-card .testimonial-text {
  font-size: 15px;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 25px;
  line-height: 1.8;
}

.testimonial-card .client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-card .client-info img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--light-bg);
}

.testimonial-card .client-info h6 {
  font-size: 16px;
  margin-bottom: 3px;
}

.testimonial-card .client-info span {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Pricing Section ---------- */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 35px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card .popular-badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(45deg);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card .pricing-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 50%;
}

.pricing-card .pricing-icon i {
  font-size: 36px;
  color: var(--primary);
}

.pricing-card h4 {
  font-size: 22px;
  margin-bottom: 5px;
}

.pricing-card .plan-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-card .price {
  margin-bottom: 25px;
}

.pricing-card .price .currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  vertical-align: super;
}

.pricing-card .price .amount {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}

.pricing-card .price .period {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-card .features-list {
  text-align: left;
  margin-bottom: 30px;
}

.pricing-card .features-list li {
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-card .features-list li:last-child {
  border-bottom: none;
}

.pricing-card .features-list li i {
  color: var(--accent-green);
  font-size: 14px;
}

.pricing-card .features-list li.disabled {
  color: var(--text-muted);
}

.pricing-card .features-list li.disabled i {
  color: var(--text-muted);
}

/* ---------- Blog Section ---------- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.blog-card .blog-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.blog-card .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-card .blog-img .date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.2;
}

.blog-card .blog-img .date-badge .day {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  display: block;
}

.blog-card .blog-img .date-badge .month {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card .blog-content {
  padding: 25px;
}

.blog-card .blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.blog-card .blog-meta a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card .blog-meta a:hover {
  color: var(--primary);
}

.blog-card .blog-meta a i {
  color: var(--primary);
  font-size: 12px;
}

.blog-card .blog-content h5 {
  font-size: 20px;
  margin-bottom: 12px;
}

.blog-card .blog-content h5 a {
  color: var(--secondary);
}

.blog-card .blog-content h5 a:hover {
  color: var(--primary);
}

.blog-card .blog-content p {
  font-size: 14px;
  margin-bottom: 15px;
}

.blog-card .read-more-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card .read-more-link i {
  transition: var(--transition);
}

.blog-card:hover .read-more-link i {
  transform: translateX(5px);
}

/* ---------- Partners / Brands ---------- */
.partners-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0.4;
  transition: var(--transition);
  filter: grayscale(100%);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.partner-logo img {
  max-height: 50px;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--white);
  background-image: radial-gradient(circle, rgba(149, 1, 0, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text-body);
  border-top: 3px solid var(--primary);
  position: relative;
}

.footer-top {
  padding: 80px 0 50px;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-widget .footer-logo {
  margin-bottom: 20px;
}

.footer-widget .footer-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--secondary);
}

.footer-widget .footer-logo .logo-text span {
  color: var(--primary);
}

.footer-widget p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}

.footer-widget h5 {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-widget h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links li {
  padding: 6px 0;
}

.footer-links li a {
  color: var(--text-body);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links li a::before {
  content: '\f285';
  font-family: 'bootstrap-icons';
  font-size: 10px;
  color: var(--primary);
}

.footer-links li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-body);
}

.footer-contact li a {
  color: var(--text-body);
  transition: var(--transition);
}

.footer-contact li a:hover {
  color: var(--primary);
}

.footer-contact li i {
  color: var(--primary);
  font-size: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--section-bg);
  color: var(--secondary);
  border-radius: 50%;
  font-size: 15px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.footer-gallery a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.footer-gallery a::before {
  content: '\f52a';
  font-family: 'bootstrap-icons';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 18px;
  z-index: 2;
  opacity: 0;
  transition: var(--transition);
}

.footer-gallery a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(149, 1, 0, 0.7);
  opacity: 0;
  transition: var(--transition);
}

.footer-gallery a:hover::before,
.footer-gallery a:hover::after {
  opacity: 1;
}

.footer-gallery a img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.footer-bottom {
  background: #000000;
  color: rgba(255, 255, 255, 0.8);
  padding: 25px 0;
  font-size: 14px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ---------- Page Banner / Breadcrumb ---------- */
.page-banner {
  background: var(--secondary);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-banner.has-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner.has-bg-image::before {
  background: rgba(0, 0, 0, 0.65);
  /* dark overlay tint */
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="150" cy="50" r="80" fill="rgba(255,107,53,0.05)"/><circle cx="30" cy="150" r="60" fill="rgba(255,107,53,0.03)"/></svg>');
  background-size: cover;
}

.page-banner .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner h2 {
  color: var(--white);
  font-size: 44px;
  margin-bottom: 15px;
}

.page-banner .breadcrumb {
  justify-content: center;
  margin-bottom: 0;
  background: none;
  padding: 0;
}

.page-banner .breadcrumb-item {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.page-banner .breadcrumb-item a:hover {
  color: var(--primary);
}

.page-banner .breadcrumb-item.active {
  color: var(-white);
}

.page-banner .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
  content: '/';
}

/* ---------- Gallery ---------- */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 25px;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(149, 1, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item .gallery-overlay a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 20px;
  transform: scale(0.5);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay a {
  transform: scale(1);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter .filter-btn {
  padding: 8px 24px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-pill);
  background: none;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter .filter-btn:hover,
.gallery-filter .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ---------- FAQ ---------- */
.faq-section .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius) !important;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-section .accordion-button {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  padding: 18px 25px;
  background: var(--white);
  box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
  background: var(--primary);
  color: var(--white);
}

.faq-section .accordion-button::after {
  background-image: none;
  content: '\f4fe';
  font-family: 'bootstrap-icons';
  font-size: 18px;
  transition: var(--transition);
}

.faq-section .accordion-button:not(.collapsed)::after {
  content: '\f2ea';
  color: var(--white);
  transform: none;
}

.faq-section .accordion-body {
  padding: 20px 25px;
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- Contact Page ---------- */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.contact-info-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 50%;
}

.contact-info-card .icon i {
  font-size: 28px;
  color: var(--primary);
}

.contact-info-card h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-info-card p {
  font-size: 14px;
  margin-bottom: 5px;
}

.contact-info-card a {
  color: var(--text-body);
}

.contact-info-card a:hover {
  color: var(--primary);
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid #ced4da;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  background-color: var(--section-bg);
  transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(149, 1, 0, 0.15);
}

.contact-form textarea.form-control {
  min-height: 150px;
}

.map-section {
  position: relative;
}

.map-section iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 0;
}

/* ---------- Blog Details ---------- */
.blog-detail-content {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-detail-content .blog-detail-img {
  height: 400px;
  overflow: hidden;
}

.blog-detail-content .blog-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-content .blog-detail-body {
  padding: 35px;
}

.blog-detail-content .blog-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
}

.blog-detail-content .blog-tags a {
  padding: 5px 15px;
  background: var(--section-bg);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-body);
}

.blog-detail-content .blog-tags a:hover {
  background: var(--primary);
  color: var(--white);
}

.blog-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-share a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--section-bg);
  color: var(--secondary);
  font-size: 14px;
  transition: var(--transition);
}

.blog-share a:hover {
  background: var(--primary);
  color: var(--white);
}

/* Sidebar */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.sidebar-widget h5 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.sidebar-widget h5::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
}

.sidebar-widget .search-form {
  display: flex;
}

.sidebar-widget .search-form .form-control {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border: 1px solid #ced4da;
  padding: 12px 15px;
  font-size: 14px;
}

.sidebar-widget .search-form .btn {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 18px;
}

.sidebar-widget .categories li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-widget .categories li:last-child {
  border-bottom: none;
}

.sidebar-widget .categories li a {
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
}

.sidebar-widget .categories li a:hover {
  color: var(--primary);
}

.sidebar-widget .categories li span {
  background: var(--light-bg);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

.sidebar-widget .recent-post {
  display: flex;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-widget .recent-post:last-child {
  border-bottom: none;
}

.sidebar-widget .recent-post img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.sidebar-widget .recent-post .post-date {
  font-size: 12px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.sidebar-widget .recent-post h6 {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 0;
}

.sidebar-widget .recent-post h6 a {
  color: var(--secondary);
}

.sidebar-widget .recent-post h6 a:hover {
  color: var(--primary);
}

.sidebar-widget .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-widget .tag-cloud a {
  padding: 6px 16px;
  background: var(--section-bg);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-body);
  transition: var(--transition);
}

.sidebar-widget .tag-cloud a:hover {
  background: var(--primary);
  color: var(--white);
}

/* Comments */
.comments-section {
  margin-top: 40px;
}

.comment-item {
  display: flex;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border-color);
}

.comment-item .comment-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-item .comment-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
}

.comment-item .comment-meta h6 {
  margin-bottom: 0;
  font-size: 16px;
}

.comment-item .comment-meta .date {
  font-size: 13px;
  color: var(--text-muted);
}

.comment-item .reply-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.comment-reply {
  margin-left: 90px;
}

/* ---------- Doctor Details ---------- */
.doctor-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
}

.doctor-detail-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.doctor-detail-info h3 {
  margin-bottom: 5px;
}

.doctor-detail-info .specialty {
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 20px;
  display: block;
}

.doctor-detail-info .info-list li {
  display: flex;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.doctor-detail-info .info-list li strong {
  min-width: 120px;
  color: var(--secondary);
  font-family: var(--font-heading);
}

.doctor-progress .progress-item {
  margin-bottom: 20px;
}

.doctor-progress .progress-item .label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--secondary);
}

.doctor-progress .progress {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--section-bg);
}

.doctor-progress .progress-bar {
  background: var(--primary);
  border-radius: var(--radius-pill);
}

/* ---------- 404 Page ---------- */
.error-section {
  padding: 120px 0;
  text-align: center;
}

.error-section .error-code {
  font-family: var(--font-heading);
  font-size: 180px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 5px 5px 0 rgba(149, 1, 0, 0.15);
}

.error-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.error-section p {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 30px;
}

/* ---------- Service Detail ---------- */
.service-detail-sidebar .service-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-detail-sidebar .service-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.service-detail-sidebar .service-list li:last-child a {
  border-bottom: none;
}

.service-detail-sidebar .service-list li a:hover,
.service-detail-sidebar .service-list li a.active {
  background: var(--primary);
  color: var(--white);
}

.service-detail-sidebar .cta-box {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 35px;
  text-align: center;
  color: var(--white);
  margin-top: 30px;
}

.service-detail-sidebar .cta-box i {
  font-size: 50px;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-detail-sidebar .cta-box h5 {
  color: var(--white);
  font-size: 20px;
}

.service-detail-sidebar .cta-box .phone {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  display: block;
  margin-top: 10px;
}

/* ---------- Working Hours ---------- */
.working-hours {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.working-hours h5 {
  margin-bottom: 20px;
}

.working-hours li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 14px;
}

.working-hours li:last-child {
  border-bottom: none;
}

.working-hours li .day {
  font-weight: 700;
  color: var(--secondary);
}

.working-hours li .time {
  color: var(--text-body);
}

.working-hours li.closed .time {
  color: #dc3545;
  font-weight: 600;
}

/* ---------- Scroll To Top ---------- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  box-shadow: 0 5px 15px rgba(149, 1, 0, 0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: var(--transition);
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Pagination ---------- */
.custom-pagination .page-item .page-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  margin: 0 5px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.custom-pagination .page-item .page-link:hover,
.custom-pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(149, 1, 0, 0.3);
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Clients / Logos Section ---------- */
.clients-section {
  background: #f9f9f9;
}

.client-logo-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.03);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
  overflow: hidden;
  min-width: 0;
}

.client-logo-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.client-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Custom positioning for clients pagination */
.clients-slider .clients-pagination {
  bottom: 0px;
}

.clients-slider .clients-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
}

@media (max-width: 575.98px) {
  .client-logo-item {
    height: 80px;
    padding: 12px 10px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .section-title h2 {
    font-size: 34px;
  }
}

@media (max-width: 991.98px) {
  .top-bar {
    display: none;
  }

  .navbar-nav .nav-link {
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--border-color);
  }

  .navbar-collapse {
    max-height: 400px;
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
  }

  .header-cta {
    display: none;
  }

  .hero-slide {
    min-height: 550px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .section-padding {
    padding: 70px 0;
  }

  .about-img-wrapper {
    min-height: 350px;
    margin-bottom: 20px;
  }

  .about-img-wrapper .main-img img {
    min-height: 350px;
  }

  .why-choose-img-wrapper {
    min-height: 350px;
    height: 350px;
    margin-bottom: 20px;
  }

  .about-img-wrapper .experience-badge {
    right: 10px;
    bottom: 10px;
  }

  .about-img-wrapper .small-img {
    display: none;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  .emergency-content {
    justify-content: center;
    text-align: center;
  }

  .page-banner {
    padding: 80px 0 60px;
  }

  .page-banner h2 {
    font-size: 34px;
  }

  .error-section .error-code {
    font-size: 120px;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    margin-bottom: 35px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .hero-slide {
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .counter-item .count {
    font-size: 36px;
  }

  .emergency-phone .phone-number {
    font-size: 22px;
  }

  .page-banner h2 {
    font-size: 28px;
  }

  .error-section .error-code {
    font-size: 80px;
  }

  .blog-detail-content .blog-detail-img {
    height: 250px;
  }

  .doctor-detail-img img {
    height: 350px;
  }

  .appointment-form {
    padding: 25px;
  }

  .footer-top {
    padding: 50px 0 30px;
  }
}

@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .btn-primary-custom,
  .btn-secondary-custom,
  .btn-outline-custom,
  .btn-white-custom {
    padding: 12px 24px;
    font-size: 14px;
  }

  .gallery-item img {
    height: 200px;
  }

  .contact-info-card {
    padding: 25px;
  }
}