/* style.css - Modern Veterinary Website Styles (Merged & Updated) */

/* Base Styles & Variables */
:root {
  --primary-color: #2a6e3f;
  --primary-light: #3d8c55;
  --primary-dark: #1d4d2a;
  --secondary-color: #f9a826;
  --secondary-light: #fbbf5e;
  --accent-color: #3a86ff;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --white: #ffffff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
  --border-radius: 10px;
  --border-radius-sm: 5px;
  --container-width: 1200px;
  --header-height: 80px; /* fallback default */
  --topstrip-height: 36px; /* fallback default */
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
html, body {
  overflow-x: hidden;
}


body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}
p {
  margin-bottom: 1.5rem;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  /* padding: 0 20px; */
}

/* Sections & titles */
.section {
  padding: 40px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  display: inline-block;
  margin-bottom: 15px;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-color);
  max-width: 700px;
  margin: 0 auto;
}
.highlight {
  color: var(--primary-color);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  text-align: center;
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}
.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}
.btn-large {
  padding: 15px 35px;
  font-size: 1.1rem;
}
.btn-block {
  display: block;
  width: 100%;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 12px 25px;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Animations (unchanged) */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards;
}
.animate-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeLeft 0.8s forwards;
}
.animate-fade-right {
  opacity: 0;
  transform: translateX(30px);
  animation: fadeRight 0.8s forwards;
}
.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  animation: scaleUp 0.8s forwards;
}
.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 0.8s forwards;
}
.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleUp {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -----------------------------
   Top contact strip (fixed)
   ----------------------------- */
.top-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topstrip-height);
  background: #33643d; /* matches navbar background request */
  color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  z-index: 1200;
  display: flex;
  align-items: center;
}
.top-strip .top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 20px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.top-strip .top-contact span {
  margin-left: 20px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.top-strip a {
  color: #fff !important;
  text-decoration: none;
}

/* Header & Navigation (fixed below top-strip) */
.header {
  position: fixed;
  top: calc(var(--topstrip-height));
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 1150;
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 0 20px; */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /* background-color: yellow; */
}
.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
}
.logo-icon img {
  background-color: var(--primary-color);
  color: var(--white);
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 6px;
}
.logo-highlight {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  min-width: 0;
  align-items: center;
  z-index: 1160;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;                /* 🔥 KEY FIX */
}

.nav-link {
  padding: 8px 20px;
  font-weight: 500;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1180;
  background: transparent;
  border: none;
  padding: 6px;
}
.mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Dropdown */
.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}
.drop-btn {
  background: transparent;
  border: 0;
  font-size: 14px;
  cursor: pointer;
  color: inherit;
  padding: 6px 8px;
  border-radius: 6px;
}
.drop-btn:focus {
  outline: 2px solid rgba(42, 110, 63, 0.15);
}

.dropdown {
  position: absolute;
  top:100%;
  left: 0;
  display: none;
  min-width: 270px;
  background: #fff;
  color: #222;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 8px;
  z-index: 60;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  max-height: 700px;
}
.has-dropdown:hover .dropdown {
  display: flex;
}
.has-dropdown .dropdown.open {
  display: flex !important;
}

.dropdown-link {
  display: block;
  padding: 10px 12px;
  color: #333;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}
.dropdown-link + .dropdown-link {
  margin-top: 6px;
}
.dropdown-link:hover {
  background: rgba(42, 110, 63, 0.04);
  color: var(--primary-color);
}

.dropdown::-webkit-scrollbar {
  width: 6px;
}

.dropdown::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

.dropdown::-webkit-scrollbar-track {
  background: transparent;
}


   /* =========================
   NAVBAR CTA BUTTONS
   ========================= */

.cta-button1 {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: nowrap; /* ✅ PREVENTS LINE BREAK */
}

 .btn1{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  min-width: max-content;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(42,110,63,0.22);
}

.btn1:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(42,110,63,0.32);
}

.cta-button1 .btn1:last-child {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.cta-button1 .btn1:last-child:hover {
  background: var(--primary-color);
  color: #fff;
}


/* -----------------------------
   Slider (natural flow, full-bleed)
   ----------------------------- */

/* Full-bleed trick without absolute positioning:
   width: 100vw and a calculated negative margin to center on the viewport.
   This avoids position:absolute hacks while keeping slider in normal flow.
*/
.fullscreen-slider {
  width: 100vw;
  overflow: hidden;
}


/* the .slider element's height will be set dynamically by JS to:
   slider.style.height = `${window.innerHeight - headerTotal}px`
   This ensures the slider occupies the available viewport under the fixed top bar + header.
*/
.slider {
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  width: 100vw;
  /* height: 900px; fallback; overridden by JS on load & resize */
}

/* slides (full-bleed backgrounds) */
.slider .slide {
  position: absolute;
  inset: 0;
  width: 100vw;
  background-size: 100% 100%;               /* fill container */
  background-position: center;   /* ✅ REQUIRED */
  background-repeat: no-repeat;         /* ✅ REQUIRED */
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.slider .slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slider .slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeIn 0.6s ease;
  
}
/* slide overlay wrapper uses .container so overlay aligns with layout */
.slide-overlay-wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.slider .slide-overlay {
  background: rgba(255, 255, 255, 0.38);
  color: #000000;
  padding: 16px 18px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  max-width: 520px;
  margin-bottom: 24px;
}
.slider .slide-overlay h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}
.slider .slide-overlay p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

/* controls */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 40;
}
.slider-prev {
  left: 12px;
}
.slider-next {
  right: 12px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* -----------------------------
   Hero Section
   ----------------------------- */
.hero {
  padding-top: 40px; /* smaller gap under the slider */
  padding-bottom: 80px;
  background: linear-gradient(135deg, #f8fff9 0%, #e8f5e9 100%);
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-text {
  flex: 1;
}
.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray-color);
  margin-bottom: 25px;
}
.hero-badge {
  background-color: var(--secondary-light);
  border-left: 4px solid var(--secondary-color);
  padding: 15px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge {
  background: var(--secondary-color);
  color: var(--dark-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* image placeholders */
.image-placeholder {
  width: 100%;
  /* height: auto; */
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-color);
  border: 2px dashed #ced4da;
  transition: var(--transition);
  overflow: hidden;
}
.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-placeholder:hover {
  border-color: var(--primary-color);
  background-color: #f1f3f4;
}

/* hero-cover helper */
.hero-cover {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
}
.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* -----------------------------
   About, Animals, Products, Services, Features, Contact
   (kept largely as you provided, with minor fixes)
   ----------------------------- */
.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}
.about-image {
  flex: 1;
}
.about-text {
  flex: 1;
}

.mission-card {
  background-color: var(--light-color);
  padding: 25px;
  border-radius: var(--border-radius);
  border-left: 5px solid var(--primary-color);
  margin-top: 30px;
}
.mission-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
}
.mission-card i {
  color: var(--secondary-color);
}

/* Animals */
.animals {
  background-color: #f8fcf9;
}
.animals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.animal-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.animal-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.animal-image {
  height: 200px;
  width: 100%;
  overflow: hidden;
}
.animal-image .image-placeholder {
  height: 200px;
  border-radius: 0;
  background-position: center;
  background-size: cover;
}
.animal-content {
  padding: 18px 20px;
  background: transparent;
}
/* IMPORTANT FIX */
.animal-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;   /* 🔥 fills left & right */
  display: block;
}

/* blurred text overlay */
.blurred-text {
  background: rgba(255, 255, 255, 0.75);
  padding: 14px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.animal-content h3 {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.animal-tag {
  font-size: 0.9rem;
  background-color: var(--light-gray);
  color: var(--gray-color);
  padding: 3px 10px;
  border-radius: 20px;
}

/* Products */
.product-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* SECTION */
.product-categories-section {
  padding: 20px 0;
  background: #f8f9fa;
}

/* GRID */
.product-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* CARD */
.category-card {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* IMAGE — NO GAP EVER */
.category-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* TEXT */
.category-inner {
  padding: 20px;
  background: #fff;
  flex-grow: 1;
}

.category-inner h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.category-inner p {
  color: var(--gray-color);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ICON */
.category-icon {
  width: 56px;
  height: 56px;
  background: rgba(42, 110, 63, 0.12);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.4rem;
}

/* HOVER */
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .product-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-categories {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* Products showcase */
.products-showcase {
  margin-top: 60px;
}
.showcase-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 40px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.product-image {
  height: 180px;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-content {
  padding: 25px;
  flex: 1;
}
.product-content h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.product-description {
  color: var(--gray-color);
  font-size: 0.95rem;
  margin-bottom: 15px;
  min-height: 60px;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--light-gray);
}
.product-price {
  font-weight: 600;
  color: var(--primary-color);
}

/* Show more */
.show-more {
  text-align: center;
  margin-top: 18px;
}
.view-all {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  transition: var(--transition);
}
.view-all:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 5px solid var(--primary-color);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.service-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(42, 110, 63, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 1.5rem;
}
.service-list {
  margin-top: 20px;
}
.service-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--light-gray);
  display: flex;
  align-items: center;
}
.service-list li:before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 10px;
}
.service-list li:last-child {
  border-bottom: none;
}

/* Features */
.features {
  background-color: #f8fcf9;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.feature-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(42, 110, 63, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background-color: var(--primary-color);
  color: var(--white);
}
.about-content img {
  object-fit: contain;
}

/* Contact */
.contact-content {
  display: flex;
  gap: 60px;
}
.contact-form {
  flex: 1;
  background: var(--white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 30px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(42, 110, 63, 0.1);
}
.contact-info {
  flex: 1;
}
.info-item {
  display: flex;
  margin-bottom: 30px;
}
.info-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(42, 110, 63, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.info-content h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
}
.whatsapp-contact {
  margin-top: 40px;

}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 60px 0 20px;
}
.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 420px;
  gap: 28px;
  margin-bottom: 40px;
  align-items: start;
  
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 15px;
  color: #fff;
}
.footer-brand a {
  color: #fff;
  gap: 1rem;
  /* display: flex; */
  /* align-items: center; */
}
.social-links {
  display: flex;
  margin-top: 20px;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.social-links .ab {
  width: 40px;
  height: 40px;
  background: #343a40;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}




.footer-links h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.footer-links h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
}
.footer-links ul li {
  margin-bottom: 12px;
}
.footer-links ul li a {
  color: #adb5bd;
  transition: var(--transition);
}
.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}
.footer-map h3 {
  color: #fff;
  margin-bottom: 10px;
}
.footer-map .contact-info.small li {
  color: #e6e6e6;
  margin-bottom: 8px;
}
.map-wrap {
  margin-top: 12px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #343a40;
  color: #adb5bd;
  font-size: 0.9rem;
}

/* Utilities */
.show-more {
  text-align: center;
}
.view-all {
  text-decoration: none;
}

/* -----------------------------
   Responsive
   ----------------------------- */

@media (max-width: 1100px) {
  .dropdown {
    min-width: 220px;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr 320px;
  }
}

@media (max-width: 992px) {
  .hero-content,
  .about-content,
  .contact-content {
    flex-direction: column;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 900px) {
  .has-dropdown:hover .dropdown {
    display: none;
  }
  .drop-btn {
    display: inline-block;
  }

  .dropdown {
    position: static;
    min-width: auto;
    display: none;
    box-shadow: none;
    padding: 8px 0;
    background: transparent;
  }
  .dropdown.open {
    display: block;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }

  .dropdown-link {
    padding: 8px 12px;
  }

  /* mobile nav: ensure it sits below fixed top strips */
  .nav-menu {
    position: fixed;
    top: calc(var(--topstrip-height) + var(--header-height));
    /* left: -100%; */
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1190;
    pointer-events: auto;
  }
  /* .nav-menu.active {
    left: 0;
  } */

  .nav-list {
    flex-direction: column;
    margin-right: 0;
    margin-bottom: 30px;
    gap: 0;
  }
  

  .slider .slide-overlay {
    max-width: 100%;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
  /* .social-links {
    justify-content: center;

  } */
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .cta-button1{
    flex-direction: column;
    margin-top: 1rem;
  }
  .section {
  padding: 20px 0;
}
.top-slider{
    margin-top: 5rem !important;
    padding-bottom: 0;
  }
}

/* small screens */
@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .product-categories,
  .animals-grid,
  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .slider {
    width: 100vw;
    border-radius: 0;
    height: 50vw !important;
  }
  .slide-overlay{
    display: none;
  }
}

/* Small tweak for Hindi text styling (restored / reference-like) */
.section-quote h3,
.hindi-text {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary-color);
  line-height: 1.35;
}

/* End of CSS */


/* ============================
   FIXED: Modern Mobile Side Panel
   ============================ */

/* Overlay behind side menu */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1185;
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Right-side slide panel nav */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed !important;
    top: calc(var(--topstrip-height) + var(--header-height));
    /* right: -280px;
    width: 280px;
    height: calc(100vh - (var(--topstrip-height) + var(--header-height))); */
    background: #fff;
    flex-direction: column;
    /* align-items: flex-start !important; */
    padding: 40px 20px;
    box-shadow: -4px 0 18px rgba(0,0,0,0.12);
    transition: var(--transition);
    overflow-y: auto;
  }

  /* .nav-menu.active {
    right: 0;
  } */

  .nav-list {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav-link {
    width: 100%;
    padding: 12px 10px;
    border-radius: 6px;
  }
}


/* ============================
   THEMED HINDI QUOTE STYLING
   ============================ */

.hindi-text {
  background: rgba(42, 110, 63, 0.28);
  border-left: 6px solid var(--primary-color);
  padding: 18px 20px;
  border-radius: 10px;
  font-size: 1.3rem;
  text-align: center;
  max-width: 750px;
  margin: 50px auto;
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.top-slider{
  margin-top: 7.5rem;
}


/* ============================================================
   CLEAN RESPONSIVE MOBILE NAVBAR (Fix padding, alignment, UI)
   ============================================================ */

@media (max-width: 900px) {
  /* Mobile menu container */
  .nav-menu {
    position: fixed !important;
    top: calc(var(--topstrip-height) + var(--header-height));
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    z-index: 1500;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  /* Align links properly */
  .nav-list {
    width: 100%;
    padding: 0;
    margin: 0;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 1.05rem;
    width: 100%;
    text-align: center;
    border-radius: 6px;
  }

  .nav-link:hover {
    background: rgba(42,110,63,0.08);
  }

  /* Dropdown inside mobile */
  .has-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .drop-btn {
    font-size: 14px;
    margin-left: 4px;
  }

  .dropdown {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 12px 0;
    text-align: center;
    display: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }

  .dropdown.open {
    display: block;
  }

  .dropdown-link {
    padding: 10px;
    display: block;
    font-size: 1rem;
  }
}


@media (max-width: 600px) {
  :root {
    --topstrip-height: 48px;
  }

  .top-strip .top-contact {
    font-size: 13px;
    gap: 10px;
  }

}


.product-image {
  height: 180px;
  overflow: hidden;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* fallback if image fails */
.product-image.no-image::after {
  content: "No Image";
  color: #777;
  font-size: 14px;
}



.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* or cover */
}


/* ==========================================================
   FIX: Navbar visibility between 768px and 900px (ADD-ONLY)
   ========================================================== */

/* Ensure hamburger is visible from 768px up to 900px */
@media (max-width: 900px) {
  .mobile-toggle {
    display: flex !important;
  }
}

/* Ensure nav-menu is not hidden when hamburger is visible */
@media (min-width: 768px) and (max-width: 900px) {
  .nav-menu {
    transform: translateY(-120%);
    pointer-events: auto;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

}


/* ===== Varha Vet – Video Embed Section ===== */
.video-section {
  padding: 20px 0;
  background: #fff; /* change if your site uses a different block color */
}

.video-section .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 2px solid #e5e5e5;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Optional: Center align content & button spacing */
.video-section .btn {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 28px;
  background: #1a73e8;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
}

.video-section .btn:hover {
  background: #1558b0;
}



/* FORCE navbar CTA button styling */
.nav-menu .cta-button1 .btn1 {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  border-radius: 8px;
}
.nav-menu .btn1 {
  color: #fff;
}
/* Reset anchor inheritance ONLY for buttons */
.btn1 {
  color: #fff;
  text-decoration: none;
}
/* ===================================================
   FINAL FIX: FORCE NAVBAR INTO ONE STRAIGHT LINE
   (DESKTOP ONLY – NO DESIGN CHANGE)
   =================================================== */

@media (min-width: 901px) {

  /* Lock navbar into single row */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  /* Nav menu must NOT wrap */
  .nav-menu {
    display: flex;
    align-items: center;
    /* flex-wrap: nowrap; */
    gap: 15px;
    margin-left: 60px;
  }

  /* 🔥 STOP nav links from pushing CTA buttons */
  .nav-list {
    flex: 0 0 auto !important;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
  }

  /* Keep CTA buttons fixed on one line */
  .cta-button1 {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .cta-button1 .btn1 {
    white-space: nowrap;

  }

}

/* ==========================================
   FINAL MEDIUM SCREEN FIX (NO BEHAVIOR CHANGE)
   Targets ~1024px–1100px exactly
   ========================================== */

@media (max-width: 1150px) and (min-width: 901px) {

  /* Reduce logo → nav distance */
  .nav-menu {
    margin-left: 20px;   /* was too large before */
    gap: 2px;
  }

  /* Reduce nav item horizontal padding */
  .nav-link {
    padding: 4px 8px;   /* IMPORTANT */
    font-size: 0.95rem;
  }

  /* Tighten CTA buttons more */
  .cta-button1 {
    gap: 6px;
  }

  .cta-button1 .btn1 {
    padding: 9px 16px;   /* FINAL SAFE SIZE */
    font-size: 0.92rem;
  }
}


/* ==================================================
   MOBILE DROPDOWN – FORCE DESKTOP SCROLLBAR STYLE
   ================================================== */

@media (max-width: 900px) {

  .dropdown {
    max-height: 60vh;           /* safe height for mobile */
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  /* Scrollbar styling (WebKit: Chrome, Edge, Safari) */
  .dropdown::-webkit-scrollbar {
    width: 6px;
  }

  .dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
  }

  .dropdown::-webkit-scrollbar-track {
    background: transparent;
  }

  /* Firefox support */
  .dropdown {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.35) transparent;
  }
  .products-showcase {
  margin-top: 10px;
}
.whatsapp-contact {
  text-align: center;
}
}


.contact-image {
  width: 100%;
  height: 400px !important;
  object-fit: cover;
  height: auto;
  margin-top: 1.6rem;
}


