/* Chitwan Kennel Club - Luxury Bright Dark Yellow & Obsidian Black Design System */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Main Color: Bright Dark Yellow (Warm Rich Golden Sunflower Amber) */
  --clr-bg-primary: #D97706;
  --clr-bg-dark: #78350F;
  --clr-bg-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 40%, #B45309 75%, #78350F 100%);

  /* Secondary Accent Color: Obsidian Black */
  --clr-terracotta: #0F172A;
  --clr-terracotta-dark: #000000;
  --clr-terracotta-light: rgba(15, 23, 42, 0.15);

  --clr-secondary: #0F172A;
  --clr-secondary-dark: #000000;
  --clr-secondary-light: rgba(0, 0, 0, 0.15);

  --clr-cream: #FFFDF5;
  --clr-gold: #FEF08A;
  --clr-accent-gold: #F59E0B;
  --clr-chocolate: #0F172A;
  --clr-white: #FFFFFF;
  --clr-muted: rgba(255, 255, 255, 0.92);
  --clr-muted-dark: #475569;

  /* Glassmorphism Tokens */
  --glass-bg-light: rgba(255, 255, 255, 0.18);
  --glass-bg-heavy: rgba(255, 255, 255, 0.95);
  --glass-bg-card: rgba(255, 255, 255, 0.2);
  --glass-border: 1px solid rgba(255, 255, 255, 0.35);
  --glass-border-heavy: 1px solid rgba(255, 255, 255, 0.85);
  --glass-blur: blur(20px);
  --glass-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  --glass-shadow-hover: 0 20px 45px rgba(0, 0, 0, 0.35);

  /* Fonts */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--clr-bg-gradient);
  color: var(--clr-white);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* Background Ambient Glow Lights */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}

body::before {
  width: 600px;
  height: 600px;
  background: rgba(245, 158, 11, 0.45);
  top: -100px;
  left: -100px;
}

body::after {
  width: 700px;
  height: 700px;
  background: rgba(15, 23, 42, 0.45);
  bottom: 5%;
  right: -150px;
}

/* Rich Background Floating Pet Graphics Layer */
.bg-pet-graphics-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-pet-graphic {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  font-size: 3.5rem;
  animation: floatPetGraphic 12s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

.pet-paw-1 { top: 8%; left: 3%; animation-duration: 9s; color: rgba(254, 240, 138, 0.3); font-size: 4rem; }
.pet-bone-1 { top: 22%; right: 4%; animation-duration: 14s; font-size: 4.5rem; color: rgba(15, 23, 42, 0.25); }
.pet-dog-1 { top: 48%; left: 2.5%; animation-duration: 11s; font-size: 4.8rem; color: rgba(255, 255, 255, 0.22); }
.pet-cat-1 { top: 65%; right: 3.5%; animation-duration: 13s; font-size: 4.2rem; color: rgba(254, 240, 138, 0.25); }
.pet-paw-2 { top: 82%; left: 5%; animation-duration: 10s; font-size: 4.2rem; color: rgba(254, 240, 138, 0.3); }
.pet-heart-1 { top: 38%; right: 8%; animation-duration: 15s; font-size: 3.5rem; color: rgba(239, 68, 68, 0.3); }
.pet-ball-1 { top: 16%; right: 18%; animation-duration: 8s; font-size: 2.8rem; color: rgba(34, 197, 94, 0.28); }
.pet-fish-1 { top: 76%; right: 14%; animation-duration: 16s; font-size: 3.6rem; color: rgba(254, 240, 138, 0.25); }
.pet-crown-1 { top: 32%; left: 12%; animation-duration: 12s; font-size: 3.2rem; color: rgba(254, 240, 138, 0.32); }
.pet-paw-3 { top: 58%; right: 16%; animation-duration: 11s; font-size: 3.8rem; color: rgba(15, 23, 42, 0.22); }
.pet-home-1 { top: 90%; right: 6%; animation-duration: 13s; font-size: 4rem; color: rgba(254, 240, 138, 0.25); }
.pet-paw-4 { top: 38%; left: 6%; animation-duration: 10.5s; font-size: 3.2rem; color: rgba(255, 255, 255, 0.25); }

@keyframes floatPetGraphic {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-24px) rotate(14deg) scale(1.1); }
  100% { transform: translateY(14px) rotate(-12deg) scale(0.92); }
}

/* Paw Canvas Overlay */
#pawCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: #78350F;
  color: var(--clr-white);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.paw-loader {
  display: flex;
  gap: 0.85rem;
}

.paw-step {
  width: 26px;
  height: 26px;
  color: var(--clr-terracotta);
  animation: pawWalk 1.2s infinite ease-in-out;
  opacity: 0.3;
}

.paw-step:nth-child(1) { animation-delay: 0s; }
.paw-step:nth-child(2) { animation-delay: 0.3s; }
.paw-step:nth-child(3) { animation-delay: 0.6s; }
.paw-step:nth-child(4) { animation-delay: 0.9s; }

@keyframes pawWalk {
  0%, 100% { opacity: 0.2; transform: translateY(0) scale(0.9); }
  50% { opacity: 1; transform: translateY(-8px) scale(1.15); }
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--clr-white);
}

/* Container */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================
 * Floating Luxury Glass Capsule Navigation
 * ========================================== */
.navbar {
  position: fixed;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 2.5rem), 1260px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 60px;
  padding: 0.42rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 1000;
  box-sizing: border-box;
  box-shadow: 0 20px 45px -10px rgba(11, 40, 82, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.85) inset, 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, top 0.35s ease, background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
  will-change: transform, opacity;
}

.navbar.scrolled {
  top: 0.6rem;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.38rem 1rem;
  box-shadow: 0 24px 50px -8px rgba(11, 40, 82, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.95) inset;
}

.navbar.nav-hidden {
  transform: translateX(-50%) translateY(-150%);
  opacity: 0;
  pointer-events: none;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--clr-chocolate);
  flex-shrink: 0;
}

.nav-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(235, 243, 255, 0.95));
  padding: 2px;
  box-shadow: 0 3px 10px rgba(11, 40, 82, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.nav-official-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
}

.nav-brand:hover .nav-logo-wrap {
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.25);
}

.nav-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1;
  color: #0F172A;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0.2rem;
  background: rgba(0, 0, 0, 0.035);
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: #475569;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.38rem 0.72rem;
  border-radius: 30px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-link:hover {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.nav-link.active {
  color: #FEF08A;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35);
  transform: translateY(-1px);
  border: 1px solid rgba(254, 240, 138, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.phone-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0F172A 0%, #020617 100%);
  color: #FFFFFF;
  padding: 0.45rem 1.05rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  border: 1px solid rgba(254, 240, 138, 0.2);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-icon-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(254, 240, 138, 0.22);
  color: #FEF08A;
  transition: transform 0.3s ease;
}

.phone-icon-pulse i {
  width: 12px;
  height: 12px;
}

.phone-quick-btn:hover {
  background: #000000;
  color: #FEF08A;
  border-color: #FEF08A;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

.phone-quick-btn:hover .phone-icon-pulse {
  transform: rotate(15deg) scale(1.1);
  background: rgba(254, 240, 138, 0.35);
}

.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #0F172A;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mobile-toggle:hover {
  background: rgba(15, 23, 42, 0.1);
  color: #0F172A;
}

/* Hero Section - Single Viewport Screen Fit */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4.8rem;
  padding-bottom: 1.25rem;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  color: #0F172A;
  padding: 0.32rem 0.95rem;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 0.55rem;
  box-shadow: var(--glass-shadow);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 2.85vw, 2.85rem);
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 0.55rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title span {
  color: #0F172A;
  position: relative;
}

.hero-title span::after {
  content: '🐾';
  font-size: 1.5rem;
  position: absolute;
  right: -1.8rem;
  top: -0.3rem;
  animation: wagTail 2s infinite ease-in-out;
}

@keyframes wagTail {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(18deg); }
}

.hero-description {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  color: var(--clr-muted);
  margin-bottom: 1rem;
  max-width: 500px;
  line-height: 1.45;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.45rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--tr-bounce);
}

.btn-primary {
  background: linear-gradient(135deg, #0F172A 0%, #020617 100%);
  color: var(--clr-white);
  border: 1px solid rgba(254, 240, 138, 0.25);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
  background: #000000;
  color: #FEF08A;
  border-color: #FEF08A;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
}

.btn-secondary {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  color: var(--clr-white);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.4);
  color: #FEF08A;
  border-color: #FEF08A;
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  width: 100%;
  box-sizing: border-box;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.6rem 0.75rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  position: relative;
  z-index: 5;
}

.hero-stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--clr-gold);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 800;
  color: var(--clr-gold);
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-stat-label {
  font-size: 0.72rem;
  color: #FFFFFF !important;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-top: 0.15rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.hero-media {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: clamp(330px, 47vh, 430px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.45), 0 0 35px rgba(254, 240, 138, 0.2);
  border: 4px solid rgba(254, 240, 138, 0.55);
  margin: 0 auto;
}

.hero-img-wrapper img,
.hero-img-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.hero-floating-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(254, 240, 138, 0.35);
  color: #FFFFFF;
  padding: 0.4rem 0.8rem;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 15;
  animation: floatAnim 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.card-top-left {
  top: 0.85rem;
  left: 0.85rem;
}

.card-top-right {
  top: 0.85rem;
  right: 0.85rem;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.floating-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #FEF08A, #F59E0B);
  color: #0F172A;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.floating-icon i {
  width: 16px;
  height: 16px;
}

.floating-text h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FEF08A;
  margin-bottom: 0.08rem;
  line-height: 1.15;
}

.floating-text p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  line-height: 1.15;
}

/* Section Header - Streamlined for Screen Fitting */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  color: var(--clr-gold);
  font-size: 0.82rem;
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  padding: 0.25rem 0.95rem;
  border-radius: 20px;
  margin-bottom: 0.4rem;
  box-shadow: var(--glass-shadow);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 2.5vw, 2.35rem);
  color: var(--clr-white);
  line-height: 1.18;
  margin-bottom: 0.35rem;
}

.section-subtitle {
  color: var(--clr-muted);
  font-size: 0.92rem;
}

/* About Us Section */
.about-section {
  padding: 4.5rem 0 1.5rem 0;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.25rem;
  align-items: center;
}

.about-img-container {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: clamp(300px, 44vh, 410px);
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.4);
}

.about-badge-location {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(254, 240, 138, 0.35);
  color: #FFFFFF;
  padding: 0.6rem 0.95rem;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
  max-width: 250px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 5;
}

.about-badge-location .badge-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #FEF08A, #F59E0B);
  color: #0F172A;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.35);
}

.about-badge-location .badge-icon i {
  width: 16px;
  height: 16px;
}

.about-badge-location h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: #FEF08A;
  margin-bottom: 0.08rem;
  line-height: 1.15;
}

.about-badge-location p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  line-height: 1.15;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.feature-box {
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  padding: 0.85rem 1rem;
  border-radius: 18px;
  box-shadow: var(--glass-shadow);
  transition: var(--tr-smooth);
}

.feature-box:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: var(--glass-shadow-hover);
}

.feature-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-box:hover .feature-icon-badge {
  transform: scale(1.1) rotate(-6deg);
}

.feature-icon-badge.hostel {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8A00 100%);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.feature-icon-badge.pedigree {
  background: linear-gradient(135deg, #FFC72C 0%, #F59E0B 100%);
  color: #000000;
  box-shadow: 0 6px 16px rgba(255, 199, 44, 0.4);
}

.feature-icon-badge.vet {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.feature-icon-badge.cat {
  background: linear-gradient(135deg, #A855F7 0%, #7C3AED 100%);
  box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4);
}

.feature-box h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--clr-gold);
  margin-bottom: 0.15rem;
}

.feature-box p {
  font-size: 0.8rem;
  color: var(--clr-muted);
  line-height: 1.35;
}

/* Puppies Section */
.puppies-section {
  padding: 4.5rem 0 1.5rem 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.filter-btn {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  color: var(--clr-white);
  padding: 0.42rem 1.05rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  transition: var(--tr-bounce);
  box-shadow: var(--glass-shadow);
}

.filter-btn:hover, .filter-btn.active {
  background-color: #0F172A;
  color: #FEF08A;
  border-color: #0F172A;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.puppies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.puppy-card {
  background: var(--glass-bg-heavy);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border-heavy);
  color: var(--clr-chocolate);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
  transition: var(--tr-bounce);
  position: relative;
  display: flex;
  flex-direction: column;
}

.puppy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
  border-color: #0F172A;
}

.puppy-card-img-wrap {
  position: relative;
  height: clamp(150px, 20vh, 190px);
  overflow: hidden;
}

.puppy-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.puppy-card:hover .puppy-card-img-wrap img {
  transform: scale(1.08);
}

.puppy-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #0F172A;
  backdrop-filter: blur(8px);
  color: #FEF08A;
  border: 1px solid rgba(254, 240, 138, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 12px;
}

.puppy-age-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #0F172A;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 12px;
}

.puppy-card-body {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.puppy-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.puppy-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  color: var(--clr-chocolate);
}

.puppy-gender {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0F172A;
  background: rgba(15, 23, 42, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
}

.puppy-desc {
  font-size: 0.82rem;
  color: var(--clr-muted-dark);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.puppy-specs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.spec-pill {
  background: #F1F5F9;
  font-size: 0.72rem;
  color: var(--clr-chocolate);
  padding: 0.2rem 0.55rem;
  border-radius: 10px;
  font-weight: 600;
}

.puppy-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.puppy-status {
  font-size: 0.8rem;
  font-weight: 700;
  color: #16A34A;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.puppy-status::before {
  content: '';
  width: 7px;
  height: 7px;
  background-color: #22C55E;
  border-radius: 50%;
  display: inline-block;
}

.inquire-btn {
  background: linear-gradient(135deg, #0F172A 0%, #020617 100%);
  color: var(--clr-white);
  border: 1px solid rgba(254, 240, 138, 0.25);
  padding: 0.45rem 0.95rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--tr-bounce);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.inquire-btn:hover {
  background: #000000;
  color: #FEF08A;
  border-color: #FEF08A;
  transform: scale(1.05);
}

/* Services Section */
.services-section {
  padding: 4.5rem 0 1.5rem 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1rem;
}

.service-card {
  background: var(--glass-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 1.15rem 1.25rem;
  transition: var(--tr-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
  border-color: #0F172A;
  box-shadow: var(--glass-shadow-hover);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.service-icon-box {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0F172A 0%, #020617 100%);
  color: #FEF08A;
  border: 1px solid rgba(254, 240, 138, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #FEF08A;
  margin-bottom: 0;
  line-height: 1.25;
}

.service-card p {
  font-size: 0.82rem;
  color: var(--clr-muted);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.service-card-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--tr-fast);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.service-card-btn:hover {
  color: #FEF08A;
  gap: 0.6rem;
}

/* Facebook & Video Section - Single Viewport Fit */
.fb-reels-section {
  padding: 4.5rem 0 1.5rem 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.fb-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--glass-bg-light);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  color: var(--clr-gold);
  padding: 0.28rem 0.95rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.fb-reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
  margin-top: 0.5rem;
}

.reel-card {
  position: relative;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.25);
  height: clamp(280px, 40vh, 370px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--tr-bounce);
}

.reel-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--clr-gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.reel-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reel-card:hover .reel-video-bg {
  transform: scale(1.08);
}

.reel-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 35%, transparent 60%, rgba(0,0,0,0.85) 100%);
}

.reel-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reel-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reel-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #0F172A;
  object-fit: cover;
}

.reel-author-name {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  color: var(--clr-white);
  line-height: 1.1;
}

.reel-author-name span {
  font-size: 0.68rem;
  color: #FEF08A;
  display: block;
}

.reel-badge-live {
  background: #E11D48;
  color: var(--clr-white);
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.reel-center-play {
  display: none !important;
}

.reel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.reel-caption-box {
  max-width: 78%;
}

.reel-caption {
  font-size: 0.8rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.25rem;
}

.reel-hashtags {
  font-size: 0.72rem;
  color: #FEF08A;
  font-weight: 600;
}

.reel-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.reel-action-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--clr-white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--tr-fast);
}

.reel-action-btn:hover {
  background: #0F172A;
  color: #FEF08A;
  transform: scale(1.1);
}

.reel-action-count {
  font-size: 0.66rem;
  font-weight: 700;
  margin-top: 2px;
}

.fb-cta-box {
  text-align: center;
  margin-top: 1rem;
  background: var(--glass-bg-card);
  backdrop-filter: blur(16px);
  padding: 1rem 1.75rem;
  border-radius: 20px;
  border: var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.fb-cta-box h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
  text-align: left;
}

.fb-cta-box p {
  color: var(--clr-muted);
  margin-bottom: 0;
  font-size: 0.85rem;
  text-align: left;
}

.btn-facebook {
  background-color: #0F172A;
  color: #FFFFFF;
  border: 1px solid rgba(254, 240, 138, 0.25);
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: var(--tr-bounce);
}

.btn-facebook:hover {
  background-color: #000000;
  color: #FEF08A;
  transform: translateY(-2px);
}

/* Gallery Section - Infinite Looping Slider */
.gallery-section {
  padding: 4.5rem 0 1.5rem 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.gallery-slider-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.gallery-marquee-container {
  overflow: hidden;
  width: 100%;
  padding: 0.75rem 0;
  cursor: grab;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.gallery-marquee-container:active {
  cursor: grabbing;
}

.gallery-marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
  animation: galleryInfiniteScroll 26s linear infinite;
  padding: 0.25rem 0;
}

.gallery-slider-wrapper:hover .gallery-marquee-track,
.gallery-marquee-track.is-paused {
  animation-play-state: paused;
}

@keyframes galleryInfiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.625rem));
  }
}

.gallery-item {
  flex: 0 0 clamp(260px, 22vw, 300px);
  width: clamp(260px, 22vw, 300px);
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: clamp(190px, 28vh, 260px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: var(--clr-white);
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  border-color: #0F172A;
  z-index: 10;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: #FFFFFF;
}

.gallery-caption p {
  font-size: 0.76rem;
  color: #FEF08A;
  font-weight: 600;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  color: #FEF08A;
  border: 1px solid rgba(254, 240, 138, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-nav-btn.prev {
  left: 0.5rem;
}

.gallery-nav-btn.next {
  right: 0.5rem;
}

.gallery-nav-btn:hover {
  background: #000000;
  color: #FEF08A;
  transform: translateY(-50%) scale(1.1);
  border-color: #FEF08A;
}

/* Testimonials Section - Single Viewport Fit */
.testimonials-section {
  padding: 4.5rem 0 1.5rem 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.testimonial-card-wrap {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.testimonial-card {
  background: var(--glass-bg-heavy);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border-heavy);
  color: var(--clr-chocolate);
  border-radius: 28px;
  padding: 2.25rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  text-align: center;
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.testimonial-card.slide-out-left {
  opacity: 0;
  transform: translateX(-35px) scale(0.97);
}

.testimonial-card.slide-out-right {
  opacity: 0;
  transform: translateX(35px) scale(0.97);
}

.testimonial-card.slide-in-left {
  opacity: 0;
  transform: translateX(35px) scale(0.97);
}

.testimonial-card.slide-in-right {
  opacity: 0;
  transform: translateX(-35px) scale(0.97);
}

.quote-icon {
  font-size: 2.5rem;
  color: #0F172A;
  line-height: 1;
  margin-bottom: 0.35rem;
  opacity: 0.8;
  font-family: Georgia, serif;
}

.testimonial-quote {
  font-size: 1.02rem;
  color: #0F172A;
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.55;
  font-weight: 500;
}

.testimonial-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.user-name {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  color: #0F172A;
}

.user-location {
  font-size: 0.78rem;
  color: var(--clr-muted-dark);
  font-weight: 600;
}

.stars {
  color: #F59E0B;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.testimonial-controls-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.testimonial-dot.active {
  width: 26px;
  background: #FEF08A;
  border-color: #FEF08A;
  box-shadow: 0 0 12px rgba(254, 240, 138, 0.65);
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(254, 240, 138, 0.35);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FEF08A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
  background-color: #000000;
  color: #FEF08A;
  border-color: #FEF08A;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Contact & Footer Section - Unified Single Viewport */
.contact-section {
  padding: 4.5rem 0 0 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
  z-index: 5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.75rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.contact-info-box {
  background: var(--glass-bg-heavy);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border-heavy);
  color: var(--clr-chocolate);
  padding: 1.5rem 1.75rem;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-tag {
  background: rgba(15, 23, 42, 0.08) !important;
  color: #0F172A !important;
  border: 1px solid rgba(15, 23, 42, 0.2) !important;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  box-shadow: none !important;
}

.contact-title {
  color: var(--clr-chocolate) !important;
  text-align: left !important;
  font-size: 1.65rem !important;
  margin-bottom: 0.85rem !important;
}

.contact-info-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0F172A 0%, #020617 100%);
  color: #FEF08A;
  border: 1px solid rgba(254, 240, 138, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-details h4 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: #0F172A;
  margin-bottom: 0.15rem;
  font-weight: 700;
}

.contact-details p {
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.35;
}

.contact-details p strong {
  color: var(--clr-chocolate);
  font-weight: 700;
}

.map-wrapper {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border: 2px solid #E2E8F0;
  height: 120px;
  margin-top: 0.65rem;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Glass Contact Form */
.contact-form-card {
  background: var(--glass-bg-heavy);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border-heavy);
  color: var(--clr-chocolate);
  padding: 1.5rem 1.75rem;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-group {
  margin-bottom: 0.75rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--clr-chocolate);
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--clr-chocolate);
  font-weight: 600;
  outline: none;
  position: relative;
  z-index: 2;
  transition: var(--tr-fast);
}

.form-control::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.form-control:focus {
  border-color: #0F172A;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 75px;
}

/* Footer */
.footer {
  background-color: #0F172A;
  color: var(--clr-cream);
  padding-top: 2rem;
  padding-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(254, 240, 138, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #FEF08A;
  margin-bottom: 0.4rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  margin-bottom: 0.85rem;
  max-width: 300px;
  line-height: 1.4;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #FEF08A;
  margin-bottom: 0.75rem;
}

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

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--tr-fast);
}

.footer-links a:hover {
  color: #FEF08A;
}

.newsletter-input-group {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.6rem 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--clr-white);
  outline: none;
  font-size: 0.84rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
  background: #FEF08A;
  color: #0F172A;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 18px;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  transition: var(--tr-bounce);
}

.newsletter-btn:hover {
  background: #FFFFFF;
  color: #000000;
}

.footer-official-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.65rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.footer-official-logo:hover {
  transform: scale(1.08);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

/* Floating WhatsApp Quick Action Widget */
.floating-quick-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 999;
}

.floating-chat-btn {
  background: #25D366;
  color: var(--clr-white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  transition: var(--tr-bounce);
}

.floating-chat-btn:hover {
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--tr-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--glass-bg-heavy);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border-heavy);
  color: var(--clr-chocolate);
  border-radius: 32px;
  max-width: 520px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: var(--tr-bounce);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #CBD5E1;
  background: var(--clr-white);
  color: var(--clr-chocolate);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr-fast);
}

.modal-close:hover {
  background: #0F172A;
  color: #FEF08A;
  border-color: #0F172A;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--clr-chocolate);
  margin-bottom: 0.5rem;
}

.modal-card p {
  color: #475569;
}

.nav-menu-admin-item {
  display: none;
}

/* Prevent horizontal overflow globally */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* ==========================================
 * Desktop Single-Page Viewport Rules (min-width: 992px)
 * ========================================== */
@media (min-width: 992px) {
  .hero,
  .about-section,
  .puppies-section,
  .services-section,
  .fb-reels-section,
  .gallery-section,
  .testimonials-section,
  .contact-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 4.5rem;
    padding-bottom: 1.5rem;
    box-sizing: border-box;
  }

  .hero {
    height: 100vh;
    padding-top: 4.5rem;
    padding-bottom: 1rem;
    overflow: hidden;
  }
}

/* 1. Large Screen & Laptops (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.75rem;
  }

  .nav-link {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }
}

/* 2. Tablets & Small Laptops (max-width: 1080px) */
@media (max-width: 1080px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu-admin-item {
    display: block;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 0.5rem;
  }

  .nav-menu {
    position: fixed;
    top: 4.8rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 1.25rem 1rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    flex-direction: column;
    gap: 0.4rem;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--tr-smooth);
    border: 1px solid rgba(255, 255, 255, 0.9);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    font-size: 0.95rem;
    color: var(--clr-chocolate);
    width: 100%;
    text-align: left;
    padding: 0.65rem 1rem;
    border-radius: 16px;
  }

  .nav-link:hover {
    background: rgba(15, 23, 42, 0.08);
  }

  .nav-link.active {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: #FEF08A;
    border: 1px solid rgba(254, 240, 138, 0.25);
  }

  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-title span::after {
    display: none;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-img-wrapper {
    max-width: min(100%, 480px);
    height: clamp(280px, 40vh, 350px);
    aspect-ratio: auto;
  }

  .hero-img-wrapper img {
    height: 100%;
    object-position: center 60%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .puppies-grid, .services-grid, .fb-reels-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* 3. Tablets Portrait & Large Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
    box-sizing: border-box;
    width: 100%;
  }

  .navbar {
    top: 0.75rem;
    width: calc(100% - 1.5rem);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
  }

  .nav-logo-wrap {
    width: 40px;
    height: 40px;
  }

  .nav-title {
    font-size: 0.98rem;
  }

  .hero {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: 2.25rem;
    line-height: 1.15;
    word-break: break-word;
  }

  .hero-description {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-img-wrapper {
    max-width: 100%;
    height: clamp(250px, 36vh, 320px);
    aspect-ratio: auto;
  }

  .hero-img-wrapper img {
    height: 100%;
    object-position: center 60%;
  }

  .hero-floating-card {
    padding: 0.38rem 0.65rem;
    border-radius: 12px;
    font-size: 0.75rem;
  }

  .card-top-left {
    top: 0.6rem;
    left: 0.6rem;
  }

  .card-top-right {
    top: 0.6rem;
    right: 0.6rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-stat-card {
    min-width: 0;
    padding: 0.65rem 0.35rem;
    border-radius: 14px;
  }

  .hero-stat-number {
    font-size: 1.35rem;
  }

  .hero-stat-label {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Horizontally scrollable category filters */
  .puppy-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.45rem;
    padding-bottom: 0.6rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .puppy-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.42rem 0.9rem;
    white-space: nowrap;
  }

  .puppies-grid, .services-grid, .fb-reels-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .puppy-card-img-wrap {
    height: 220px;
  }

  .about-img-main {
    height: 300px;
  }

  .contact-info-box, .contact-form-card, .testimonial-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .testimonial-quote {
    font-size: 0.95rem;
  }

  .floating-quick-widget {
    bottom: 1.15rem;
    right: 1.15rem;
  }

  .floating-chat-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .floating-admin-widget {
    bottom: 1.15rem;
    left: 1.15rem;
  }

  .floating-admin-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  }

  .floating-admin-btn .admin-label {
    display: none;
  }

  .floating-admin-btn .admin-icon-box {
    width: 100%;
    height: 100%;
    background: transparent;
  }

  .admin-floating-bar {
    bottom: 1rem;
    width: calc(100% - 1.5rem);
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }

  .admin-bar-text {
    display: none;
  }

  .modal-card {
    padding: 1.5rem 1.25rem;
    border-radius: 22px;
    max-width: 94vw;
  }

  .admin-manager-card {
    max-width: 95vw;
  }

  .manager-slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
}

/* 4. Compact Mobile Phones (max-width: 580px) */
@media (max-width: 580px) {
  .container {
    padding: 0 0.85rem;
  }

  .navbar {
    top: 0.6rem;
    width: calc(100% - 1rem);
    padding: 0.35rem 0.75rem;
  }

  .nav-title {
    font-size: 0.92rem;
  }

  .phone-quick-btn {
    padding: 0.45rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    justify-content: center;
  }

  .phone-quick-btn span:not(.phone-icon-pulse) {
    display: none;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    word-break: break-word;
  }

  .hero-description {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .hero-img-wrapper img {
    height: 270px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    width: 100%;
  }

  .hero-stat-card {
    min-width: 0;
    padding: 0.55rem 0.25rem;
    border-radius: 12px;
  }

  .hero-stat-number {
    font-size: 1.2rem;
  }

  .hero-stat-label {
    font-size: 0.64rem;
    line-height: 1.15;
  }

  .puppies-grid, .services-grid, .fb-reels-grid, .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .puppy-card-img-wrap {
    height: 240px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .newsletter-input-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  .newsletter-btn {
    width: 100%;
    border-radius: 12px;
    padding: 0.65rem;
  }

  .newsletter-input {
    width: 100%;
    border-radius: 12px;
  }

  .form-control, .newsletter-input, select, textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS safari */
  }

  .manager-slots-grid {
    grid-template-columns: 1fr;
  }
}

/* 5. Ultra-Compact Mobile Screens (max-width: 380px) */
@media (max-width: 380px) {
  .nav-title {
    font-size: 0.84rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-img-wrapper img {
    height: 240px;
  }

  .card-top-right, .card-bottom-left {
    display: none; /* Hide floating chips on ultra-narrow screens to keep focus on dog media */
  }

  .btn {
    font-size: 0.88rem;
    padding: 0.65rem 1.15rem;
  }

  .hero-stat-number {
    font-size: 1.05rem;
  }

  .hero-stat-label {
    font-size: 0.58rem;
  }
}

/* ==========================================
 * ADMIN SYSTEM & VISUAL MEDIA EDITOR STYLES
 * ========================================== */

/* Floating Bottom-Left Admin Portal Trigger */
.floating-admin-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 9999;
  animation: floatAdminIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes floatAdminIn {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.floating-admin-btn {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.94));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 0.55rem 1.15rem;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 0 15px rgba(255, 215, 0, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-admin-btn .admin-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.15);
  color: #FFD700;
  transition: all 0.3s ease;
}

.floating-admin-btn .admin-icon-box i {
  width: 15px;
  height: 15px;
}

.floating-admin-btn:hover {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #0F172A;
  border-color: #FFD700;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 30px rgba(255, 215, 0, 0.45);
}

.floating-admin-btn:hover .admin-icon-box {
  background: rgba(15, 23, 42, 0.2);
  color: #0F172A;
  transform: rotate(-10deg);
}

.floating-admin-btn.logged-in {
  background: linear-gradient(135deg, rgba(21, 128, 61, 0.95), rgba(34, 197, 94, 0.95));
  color: #FFFFFF;
  border-color: #22C55E;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}

.floating-admin-btn.logged-in .admin-icon-box {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

body.admin-mode-active .floating-admin-widget {
  display: none !important;
}

.admin-floating-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(254, 240, 138, 0.35);
  color: #FFFFFF;
  padding: 0.4rem 0.55rem 0.4rem 1.15rem;
  border-radius: 40px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(254, 240, 138, 0.12);
  max-width: min(92vw, 860px);
  animation: slideUpBar 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpBar {
  from { bottom: -60px; opacity: 0; }
  to { bottom: 1.5rem; opacity: 1; }
}

.admin-bar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.admin-badge {
  background: linear-gradient(135deg, #FEF08A, #F59E0B);
  color: #0F172A;
  padding: 0.32rem 0.85rem;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.admin-badge i {
  width: 14px;
  height: 14px;
}

.admin-bar-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  white-space: nowrap;
}

.admin-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-admin-manager {
  background: linear-gradient(135deg, #FEF08A 0%, #F59E0B 100%);
  color: #0F172A;
  border: 1px solid rgba(254, 240, 138, 0.3);
  padding: 0.42rem 1.05rem;
  border-radius: 25px;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-admin-manager:hover {
  background: #FFFFFF;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.4);
}

.btn-admin-logout {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.42rem 0.85rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-admin-logout:hover {
  background: #DC2626;
  border-color: #DC2626;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* In-place Editable Media Hover Overlays */
body.admin-mode-active [data-admin-media-id] {
  position: relative;
  cursor: pointer;
  transition: all 0.25s ease;
}

body.admin-mode-active [data-admin-media-id]:hover {
  outline: 2px solid #FFD700;
  outline-offset: 3px;
  border-radius: 12px;
}

.admin-media-edit-trigger {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.9);
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.6);
  padding: 0.36rem 0.78rem;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  z-index: 100;
  backdrop-filter: blur(8px);
  opacity: 0.92;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.admin-media-edit-trigger i {
  width: 14px;
  height: 14px;
}

.admin-media-edit-trigger:hover {
  background: #FFD700;
  color: #0F172A;
  border-color: #FFD700;
  transform: scale(1.05);
  box-shadow: 0 8px 22px rgba(255, 215, 0, 0.45);
}

.nav-logo-wrap[data-admin-media-id] .admin-media-edit-trigger {
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  font-size: 0;
}

.nav-logo-wrap[data-admin-media-id] .admin-media-edit-trigger span {
  display: none;
}

.nav-logo-wrap[data-admin-media-id] .admin-media-edit-trigger i {
  width: 13px;
  height: 13px;
}

/* Login Modal Specifics */
.admin-login-card {
  max-width: 440px;
  width: min(94vw, 440px);
}

.admin-login-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #0F172A, #000000);
  color: #FEF08A;
  border: 1px solid rgba(254, 240, 138, 0.35);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.admin-auth-tabs {
  display: flex;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.3rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  transition: var(--tr-fast);
}

.auth-tab-btn.active {
  background: #0F172A;
  color: #FEF08A;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.pin-input {
  text-align: center;
  letter-spacing: 12px;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
}

.admin-error-msg {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #DC2626;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
  text-align: center;
}

/* Admin Media Edit Modal Specifics */
.admin-media-card {
  max-width: 600px;
  width: min(94vw, 600px);
  max-height: 90vh;
  overflow-y: auto;
}

.media-modal-header {
  margin-bottom: 1.25rem;
}

.media-modal-badge {
  display: inline-block;
  background: rgba(15, 23, 42, 0.08);
  color: #0F172A;
  border: 1px solid rgba(15, 23, 42, 0.2);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.4rem;
}

.media-preview-container {
  position: relative;
  width: 100%;
  height: 230px;
  background: #0F172A;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 2px solid #E2E8F0;
}

.media-preview-container img,
.media-preview-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-preview-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #FEF08A;
  border: 1px solid rgba(254, 240, 138, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.media-preview-loading {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #FFF;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10;
}

.media-input-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.3rem;
  border-radius: 14px;
}

.media-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--tr-fast);
}

.media-tab-btn.active {
  background: #0F172A;
  color: #FEF08A;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.drop-zone {
  border: 2px dashed #94A3B8;
  border-radius: 16px;
  padding: 1.5rem 1.15rem;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.6);
  transition: var(--tr-fast);
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: #0F172A;
  background: rgba(15, 23, 42, 0.04);
}

.drop-zone-icon {
  width: 38px;
  height: 38px;
  color: #0F172A;
  margin-bottom: 0.4rem;
}

.drop-zone-text {
  font-size: 0.9rem;
  color: var(--clr-chocolate);
  margin-bottom: 0.25rem;
}

.drop-zone-hint {
  font-size: 0.76rem;
  color: #64748B;
  display: block;
}

.file-selected-info {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #15803D;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.6rem;
}

.admin-status-box {
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
  text-align: center;
}

.admin-status-box.success {
  background: rgba(34, 197, 94, 0.15);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.admin-status-box.error {
  background: rgba(220, 38, 38, 0.15);
  color: #991B1B;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.media-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Modal Action Button Styling with High Contrast */
.modal-card .btn-secondary,
#btnResetMedia {
  background: #F1F5F9 !important;
  color: #334155 !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 30px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.modal-card .btn-secondary i,
#btnResetMedia i {
  color: #475569 !important;
  width: 15px !important;
  height: 15px !important;
}

.modal-card .btn-secondary:hover,
#btnResetMedia:hover {
  background: #E2E8F0 !important;
  color: #0F172A !important;
  border-color: #94A3B8 !important;
  transform: translateY(-1px) !important;
}

.btn-outline,
.modal-card .btn-outline {
  background: #FFFFFF !important;
  color: #475569 !important;
  border: 1.5px solid #CBD5E1 !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.btn-outline:hover,
.modal-card .btn-outline:hover {
  background: #F8FAFC !important;
  color: #0F172A !important;
  border-color: #0F172A !important;
  transform: translateY(-1px) !important;
}

.modal-card .btn-primary {
  background: linear-gradient(135deg, #0F172A 0%, #000000 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(254, 240, 138, 0.3) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
  font-weight: 800 !important;
  padding: 0.6rem 1.45rem !important;
  border-radius: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.modal-card .btn-primary:hover {
  background: #000000 !important;
  color: #FEF08A !important;
  border-color: #FEF08A !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* Admin Media Manager Modal */
.admin-manager-card {
  max-width: 980px;
  width: min(95vw, 980px);
  max-height: 90vh;
  overflow-y: auto;
}

.manager-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.manager-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.15rem;
}

.manager-slot-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.manager-slot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-color: #0F172A;
}

.manager-slot-thumb {
  position: relative;
  width: 100%;
  height: 135px;
  background: #0F172A;
  overflow: hidden;
}

.manager-slot-thumb img,
.manager-slot-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manager-slot-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #FEF08A;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
}

.manager-slot-status {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(34, 197, 94, 0.95);
  color: #FFF;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
}

.manager-slot-status.default {
  background: rgba(100, 116, 139, 0.85);
}

.manager-slot-body {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.manager-slot-section {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0F172A;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
}

.manager-slot-name {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  color: var(--clr-chocolate);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.manager-slot-btn {
  margin-top: auto;
  width: 100%;
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid rgba(254, 240, 138, 0.2);
  padding: 0.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--tr-fast);
}

.manager-slot-btn:hover {
  background: #000000;
  color: #FEF08A;
}

/* Toast Notifications */
.admin-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  color: #FEF08A;
  padding: 0.75rem 1.4rem;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(254, 240, 138, 0.4);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.admin-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .admin-floating-bar {
    width: calc(100% - 1.5rem);
    bottom: 1rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.76rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: 30px;
    gap: 0.4rem;
  }

  .admin-bar-text {
    display: none;
  }

  .admin-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
  }

  .btn-admin-manager {
    font-size: 0.76rem;
    padding: 0.35rem 0.7rem;
  }

  .btn-admin-logout {
    font-size: 0.76rem;
    padding: 0.35rem 0.65rem;
  }

  .media-modal-actions {
    flex-direction: column-reverse;
    gap: 0.6rem;
    width: 100%;
  }

  .media-modal-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .media-modal-actions div {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 0 !important;
  }

  .manager-slots-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .manager-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

