/* ============================================
   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: #002169;
  --primary-dark: #001548;
  --primary-light: #1a56db;
  --secondary: #002169;
  --secondary-light: #1a56db;
  --accent-green: #001548;
  --accent-green-dark: #000e30;
  --light-bg: #f0f4ff;
  --section-bg: #e8eef9;
  --dark-bg: #001030;
  --darker-bg: #000820;
  --text-dark: #212529;
  --text-body: #555555;
  --text-muted: #888888;
  --border-color: #c7d3ee;
  --white: #ffffff;
  --shadow: 0 5px 30px rgba(0, 33, 105, 0.08);
  --shadow-hover: 0 10px 40px rgba(0, 33, 105, 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(0, 33, 105, 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(0, 33, 105, 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);
}

/* ---------- Brand name next to logo ---------- */
.navbar-brand .brand-name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  color: #002169;           /* default: blue (solid-bg pages) */
  transition: color 0.3s ease;
}

/* Home page: transparent header → white */
.page-home .main-header:not(.sticky) .navbar-brand .brand-name {
  color: #ffffff;
}

/* Home page: once sticky → back to blue */
.page-home .main-header.sticky .navbar-brand .brand-name {
  color: #002169;
}

.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(0, 33, 105, 0.1);
}

.hero-shape-2 {
  top: 50px;
  right: 100px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(0, 33, 105, 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(0, 33, 105, 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(0, 33, 105, 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(0, 33, 105, 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(0, 33, 105, 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;
  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(0, 33, 105, 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(0, 33, 105, 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(0, 33, 105, 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(0, 33, 105, 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(0, 33, 105, 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(0, 33, 105, 0.3);
}

/* ---------- Animations ---------- */
/* Fallback: if the IntersectionObserver never fires (e.g. element already
   in viewport on load), reveal after a short delay so content stays clickable */
@keyframes fade-up-fallback   { to { opacity: 1; transform: translateY(0); } }
@keyframes fade-left-fallback  { to { opacity: 1; transform: translateX(0); } }
@keyframes fade-right-fallback { to { opacity: 1; transform: translateX(0); } }

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  animation: fade-up-fallback 0s 0.8s forwards;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  animation: fade-left-fallback 0s 0.8s forwards;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
  animation: none;
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  animation: fade-right-fallback 0s 0.8s forwards;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
  animation: none;
}
}

/* ---------- 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;
  }
}


/* ============================================================
   Homepage Product Cards (4-up grid, one per category)
   ============================================================ */

.hp-prod-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 33, 105, 0.07);
  border: 1px solid rgba(0, 33, 105, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 33, 105, 0.13);
}

.hp-prod-img {
  height: 210px;
  overflow: hidden;
}
.hp-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hp-prod-card:hover .hp-prod-img img {
  transform: scale(1.05);
}

.hp-prod-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hp-prod-cat {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 8px;
}

.hp-prod-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.hp-prod-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.hp-prod-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease, color 0.2s ease;
}
.hp-prod-link:hover {
  gap: 9px;
  color: var(--primary-dark);
}


/* ============================================================
   Products Page — Accordion + Detail Panel Layout
   ============================================================ */

.products-page-section {
  background: #f8faff;
}

.products-page-layout {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 33, 105, 0.08);
  border: 1px solid rgba(0, 33, 105, 0.08);
  min-height: 520px;
}

/* ── Left accordion column ── */
.products-accordion-col {
  border-right: 1px solid rgba(0, 33, 105, 0.10);
  background: #fff;
}

.products-accordion {
  padding: 0;
}

.pac-item {
  border-bottom: 1px solid rgba(0, 33, 105, 0.08);
}
.pac-item:last-child {
  border-bottom: none;
}

.pac-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  transition: background 0.2s ease, color 0.2s ease;
  gap: 10px;
}
.pac-trigger:hover {
  background: var(--light-bg);
  color: var(--primary);
}
.pac-item.active > .pac-trigger {
  background: var(--primary);
  color: #fff;
}

.pac-icon {
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.pac-item.active > .pac-trigger .pac-icon {
  transform: rotate(45deg);
}

/* Sub-product list */
.pac-sublist {
  list-style: none;
  margin: 0;
  padding: 6px 0 10px 0;
  background: #f0f4ff;
  border-top: 1px solid rgba(0, 33, 105, 0.08);
}

.pac-sub-item {
  margin: 0;
}

.pac-sub-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 20px 8px 16px;
  font-size: 13px;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
  border-left: 3px solid transparent;
}
.pac-sub-link i {
  font-size: 16px;
  color: var(--primary);
  flex-shrink: 0;
}
.pac-sub-link:hover {
  color: var(--primary);
  padding-left: 20px;
  background: rgba(0, 33, 105, 0.04);
}
.pac-sub-item.selected .pac-sub-link {
  color: var(--primary);
  font-weight: 700;
  border-left-color: var(--primary);
  background: rgba(0, 33, 105, 0.06);
}

/* ── Right detail column ── */
.products-detail-col {
  padding: 36px 32px;
  background: #fff;
}

.product-detail-panel {
  animation: pdp-fade 0.25s ease;
}
@keyframes pdp-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pdp-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 33, 105, 0.10);
  aspect-ratio: 4/3;
}
.pdp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp-img-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: var(--radius);
  font-size: 48px;
  color: var(--primary);
  opacity: 0.4;
}

.pdp-cat-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 10px;
}

.pdp-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.pdp-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
}

.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .products-accordion-col {
    border-right: none;
    border-bottom: 1px solid rgba(0, 33, 105, 0.10);
  }
  .products-detail-col {
    padding: 24px 20px;
  }
  .pdp-name { font-size: 18px; }
}

/* ══════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE — Reference Layout & Aesthetics
   ══════════════════════════════════════════════════════════════════ */

/* Gallery Wrap */
.prd-gallery-wrap {
  position: sticky;
  top: 90px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.prd-gallery-flex {
  display: flex;
  gap: 14px;
  align-items: stretch;
  flex: 1;
}

/* Vertical Thumbnails on Left */
.prd-thumbs-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  width: 72px;
}
.prd-thumbs-vertical .prd-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  transition: all 0.2s ease;
  background: #f8fafc;
}
.prd-thumbs-vertical .prd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prd-thumbs-vertical .prd-thumb:hover {
  border-color: #93c5fd;
}
.prd-thumbs-vertical .prd-thumb.active {
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
}

/* Main Slider Column */
.prd-main-slider-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.prd-main-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  height: 100%;
  max-height: 500px;
  position: relative;
  border: 1px solid #e2e8f0;
}
.prd-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}

/* Slider nav arrows */
.prd-slide-prev,
.prd-slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
  color: #1e293b;
  font-size: 15px;
}
.prd-slide-prev { left: 12px; }
.prd-slide-next { right: 12px; }
.prd-slide-prev:hover,
.prd-slide-next:hover {
  background: #0d6efd;
  color: #ffffff;
  border-color: #0d6efd;
}

/* Dots below slider */
.prd-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
}
.prd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.2s ease;
}
.prd-dot.active {
  background: #0d6efd;
  width: 18px;
  border-radius: 4px;
}

/* Top Right Column */
.pdp-top-title {
  font-size: 26px;
  font-weight: 800;
  color: #002169;
  margin-bottom: 16px;
  line-height: 1.3;
}

/* Enquiry Card Box */
.prd-enquiry-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.prd-enquiry-box .eq-subtitle {
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}
.prd-enquiry-box .eq-product-name {
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.prd-enquiry-box .eq-price {
  font-size: 15px;
  font-weight: 700;
  color: #e51b24;
  margin-bottom: 18px;
}
.prd-enquiry-box .eq-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.prd-enquiry-box input,
.prd-enquiry-box select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.prd-enquiry-box input:focus,
.prd-enquiry-box select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

/* Quantity shortcut pills */
.prd-enquiry-box .eq-qty-btns {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.prd-enquiry-box .eq-qty-btn {
  padding: 6px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: #f1f5f9;
  color: #334155;
  transition: all 0.2s ease;
}
.prd-enquiry-box .eq-qty-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.prd-enquiry-box .eq-qty-btn.active {
  background: #ebf3fe;
  color: #0d6efd;
  border-color: #0d6efd;
  font-weight: 700;
}

/* Phone Row */
.prd-enquiry-box .eq-phone-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.prd-enquiry-box .eq-phone-code {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  white-space: nowrap;
}
.prd-enquiry-box .eq-phone-code img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

/* Red Submit Button matching reference */
.prd-enquiry-box .eq-submit-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #e51b24;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.prd-enquiry-box .eq-submit-btn:hover {
  background: #cc141c;
  transform: translateY(-1px);
}

/* Section Cards */
.prd-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
/* When used inside a Bootstrap h-100 column, the bottom margin would
   add extra space — suppress it so both side-by-side cards align cleanly */
.prd-section-card.h-100 {
  margin-bottom: 0;
}
.prd-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.prd-section-header .prd-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #0d6efd;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.prd-section-header .prd-badge-icon.is-circle {
  border-radius: 50%;
}
.prd-section-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #002169;
  margin: 0;
}

/* Specifications Table */
.prd-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  font-size: 13.5px;
}
.prd-spec-table td {
  padding: 9px 16px;
  border: 1px solid #e2e8f0;
  vertical-align: middle;
}
.prd-spec-table tr td:first-child {
  background: #f8fafc;
  font-weight: 600;
  color: #1e293b;
  width: 32%;
}
.prd-spec-table tr td:last-child {
  background: #ffffff;
  color: #334155;
}

/* Description Text */
.prd-desc-text {
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
}
.prd-desc-text p {
  margin-bottom: 12px;
}
.prd-desc-text p:last-child {
  margin-bottom: 0;
}

/* Trade / Instructions Bullets */
.prd-bullets-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.prd-bullets-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: #334155;
}
.prd-bullets-list li::before {
  content: "•";
  color: #0d6efd;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.3;
  flex-shrink: 0;
}

/* FAQ Accordion */
.prd-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prd-faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.prd-faq-item.open {
  border-color: #cbd5e1;
}
.prd-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.prd-faq-q:hover {
  color: #0d6efd;
}
.prd-faq-q .faq-chevron {
  font-size: 13px;
  color: #64748b;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.prd-faq-item.open .prd-faq-q {
  font-weight: 600;
  color: #002169;
}
.prd-faq-item.open .prd-faq-q .faq-chevron {
  transform: rotate(180deg);
  color: #0d6efd;
}
.prd-faq-a {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  background: #ffffff;
  border-top: 0px solid transparent;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.7;
  transition: max-height 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}
.prd-faq-item.open .prd-faq-a {
  max-height: 400px;
  padding: 12px 16px;
  border-top: 1px solid #e2e8f0;
}

/* No image placeholder */
.prd-no-image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 60px;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}

/* Responsive */
@media (max-width: 991px) {
  .prd-gallery-wrap { position: static; }
  .pdp-top-title { font-size: 22px; }
}
@media (max-width: 575px) {
  .prd-gallery-flex { flex-direction: column-reverse; }
  .prd-thumbs-vertical { flex-direction: row; width: 100%; overflow-x: auto; }
  .prd-enquiry-box .eq-row { flex-direction: column; }
}



/* ============================================================
   Contact Page — Map Cards
   ============================================================ */

.contact-map-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 33, 105, 0.08);
  border: 1px solid rgba(0, 33, 105, 0.08);
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-map-label {
  padding: 12px 18px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
}

.contact-map-frame {
  flex: 1;
  height: 380px;
}
.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-footer {
  padding: 12px 18px;
  background: var(--light-bg);
  border-top: 1px solid rgba(0, 33, 105, 0.08);
  font-size: 13px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-map-footer i {
  color: var(--primary);
  margin-right: 4px;
}

.contact-map-directions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s ease;
  white-space: nowrap;
}
.contact-map-directions:hover {
  gap: 8px;
  color: var(--primary-dark);
}

/* ============================================================
   About Page — Certificates Section
   ============================================================ */

.certs-section {
  background: var(--light-bg);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.cert-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 33, 105, 0.08);
  box-shadow: 0 2px 12px rgba(0, 33, 105, 0.06);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 33, 105, 0.12);
}

.cert-img-wrap {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.cert-img-wrap img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.cert-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}

.cert-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cert-pdf-links {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
}

.cert-pdf-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #dc3545;
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.22);
  border-radius: 20px;
  padding: 3px 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.cert-pdf-link-btn:hover {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

@media (max-width: 991px) {
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .certs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   About Page — Members Section
   ============================================================ */

.members-section {
  background: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
}

.member-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 33, 105, 0.08);
  box-shadow: 0 2px 12px rgba(0, 33, 105, 0.06);
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 33, 105, 0.12);
}

.member-logo-wrap {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.member-logo-wrap img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.member-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 6px;
}

.member-designation {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.4;
}
.customstyl2{
  background: #fff;
    padding: 50px 0;
    border-radius: 20px;
}

/* ============================================================
   Footer — Location Maps (stacked in 4th column)
   ============================================================ */

.footer-map-item {
  margin-bottom: 14px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-map-item:last-child {
  margin-bottom: 0;
}

.footer-map-label-bar {
  padding: 5px 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.3px;
}

.footer-map-frame {
  height: 120px;
  display: block;
}
.footer-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-map-dir-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(0, 33, 105, 0.5);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-map-dir-link:hover {
  background: var(--primary);
  color: #fff;
}

/* ---------- Mobile Header: logo left, hamburger right ---------- */
@media (max-width: 991.98px) {
  .main-header .navbar {
    flex-wrap: nowrap;
    min-height: 68px;
    gap: 12px;
  }

  .main-header .navbar-brand {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 0;
    padding: 10px 0;
  }

  .main-header .navbar-brand img {
    height: 46px;
    width: auto;
    flex-shrink: 0;
  }

  .main-header .navbar-brand .brand-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
  }

  .main-header .navbar-toggler {
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  /* The desktop menu is replaced by the drawer on mobile */
  .main-header .navbar-collapse {
    display: none !important;
  }
}

/* ---------- Mobile Drawer Navigation ---------- */
.mobile-drawer.offcanvas {
  --bs-offcanvas-width: min(320px, 86vw);
  --bs-offcanvas-bg: var(--white);
  border-left: none;
  border-radius: 20px 0 0 20px;
  box-shadow: -10px 0 40px rgba(0, 16, 48, 0.25);
  z-index: 1060;
}

.offcanvas-backdrop {
  background-color: var(--dark-bg);
  z-index: 1055;
}

.offcanvas-backdrop.show {
  opacity: 0.55;
}

.mobile-drawer .offcanvas-header {
  padding: 18px 18px 18px 20px;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-top-left-radius: 20px;
}

.mobile-drawer .drawer-brand {
  min-width: 0;
  color: var(--white);
  text-decoration: none;
}

.mobile-drawer .drawer-brand img {
  height: 42px;
  width: auto;
  border-radius: 8px;
  background: var(--white);
  flex-shrink: 0;
}

.mobile-drawer .drawer-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-drawer .drawer-close {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 16px;
  transition: var(--transition);
}

.mobile-drawer .drawer-close:hover,
.mobile-drawer .drawer-close:focus-visible {
  background: rgba(255, 255, 255, 0.32);
  outline: none;
}

.mobile-drawer .offcanvas-body {
  display: flex;
  flex-direction: column;
  padding: 14px 12px 20px;
}

.mobile-drawer .drawer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer .drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  text-transform: capitalize;
  transition: var(--transition);
}

.mobile-drawer .drawer-link i {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.mobile-drawer .drawer-link:hover,
.mobile-drawer .drawer-link:focus-visible {
  background: var(--light-bg);
  color: var(--primary-light);
  outline: none;
}

.mobile-drawer .drawer-link:hover i {
  transform: translateX(3px);
  color: var(--primary-light);
}

.mobile-drawer .drawer-link.active {
  background: var(--light-bg);
  color: var(--primary);
  box-shadow: inset 4px 0 0 var(--primary);
}

.mobile-drawer .drawer-link.active i {
  color: var(--primary);
}

.mobile-drawer .drawer-footer {
  margin-top: auto;
  padding: 18px 8px 0;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer .drawer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}

.mobile-drawer .drawer-contact i {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--primary);
}

.mobile-drawer .drawer-contact span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-drawer .drawer-social {
  display: flex;
  gap: 10px;
  padding-top: 6px;
}

.mobile-drawer .drawer-social:empty {
  display: none;
}

.mobile-drawer .drawer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 15px;
  transition: var(--transition);
}

.mobile-drawer .drawer-social a:hover {
  background: var(--primary-light);
}
