:root{
  --bg: #0b1220;
  --paper: #f7fafc;
  --paper-2: #eef3f7;

  --primary: #16c2a8;     /* teal */
  --accent:  #ff6b6b;     /* coral accent */

  --radius: 18px;
  --shadow: 0 18px 50px rgba(10, 20, 40, .14);
  --shadow-soft: 0 10px 25px rgba(10, 20, 40, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--paper);
  color: #101828;
}

/* Helpers */
.fw-800{ font-weight: 800; }
.text-white-75{ color: rgba(255,255,255,.75) !important; }
.section{ padding: 80px 0; }
.section-light{ background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.section-title{
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.section-subtitle{
  margin: 0;
  color: #475467;
  font-size: 1.05rem;
  max-width: 70ch;
}
.soft-divider{
  height: 1px;
  background: rgba(255,255,255,.12);
  border-radius: 99px;
}
.soft-divider-dark{
  height: 1px;
  background: rgba(16,24,40,.10);
  border-radius: 99px;
}

/* Topbar */
.topbar{
  background: rgba(11, 18, 32, .92);
  color: rgba(255,255,255,.82);
}
.topbar-item{ font-size: .92rem; }
.topbar-link{
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .92rem;
}
.topbar-link:hover{ color: #fff; }

/* Brand */
.brand-mark{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 10px 25px rgba(22,194,168,.22);
}
.brand-name{
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Navbar */
.main-nav{
  background: rgba(11, 18, 32, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar .nav-link{
  color: rgba(255,255,255,.84);
  font-weight: 600;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus{
  color: #fff;
}
.btn-cta{
  border-radius: 14px;
  padding: .72rem 1rem;
  box-shadow: 0 14px 30px rgba(22,194,168,.18);
}

/* Buttons */
.btn-primary{
  background: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover{
  background: #12b79f;
  border-color: #12b79f;
}
.btn-outline-primary{
  border-color: rgba(22,194,168,.45);
  color: #0b7f6f;
}
.btn-outline-primary:hover{
  background: rgba(22,194,168,.12);
  border-color: rgba(22,194,168,.65);
  color: #0b7f6f;
}

/* Hero */
.hero-slide{
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  padding: 78px 0 64px;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 20% 20%, rgba(22,194,168,.25), transparent 55%),
    radial-gradient(800px 500px at 80% 40%, rgba(255,107,107,.25), transparent 60%),
    linear-gradient(180deg, rgba(6,10,20,.62) 0%, rgba(6,10,20,.78) 100%);
}
.hero-content{ position: relative; z-index: 2; }
.hero-chip{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 600;
  font-size: .92rem;
}

.glass-card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
  padding: 18px;
}
.icon-bubble{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
}
.icon-bubble-lg{
  width: 54px;
  height: 54px;
  border-radius: 18px;
}
.mini-avatar{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.18);
}
.hero-stat-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.stat-card{ padding: 16px; }
.stat-number{
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
}
.stat-label{
  color: rgba(255,255,255,.75);
  font-size: .92rem;
}

/* Trust row */
.trust-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: .55rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.84);
  font-weight: 600;
}

/* Soft card */
.card-soft{
  border-radius: var(--radius);
  border: 1px solid rgba(16,24,40,.08);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(8px);
}

/* Puppies */
.puppy{
  border-radius: var(--radius);
  border: 1px solid rgba(16,24,40,.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
  background: #fff;
}
.puppy:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img-wrap{
  position: relative;
  height: 190px;
  overflow: hidden;
}
.card-img-top{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .25s ease;
}
.puppy:hover .card-img-top{ transform: scale(1.08); }

.img-badges{
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge-soft{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(16,24,40,.10);
  color: #101828;
  border-radius: 999px;
  padding: .35rem .6rem;
  font-weight: 600;
}

/* Status pill */
.status-pill{
  position: absolute;
  top: 12px;
  right: 12px;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .78rem;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  color: #fff;
}
.status-available{ background: rgba(22,194,168,.88); }
.status-reserved{ background: rgba(245, 158, 11, .90); } /* amber */
.status-sold{ background: rgba(239, 68, 68, .90); }     /* red */

.tag{
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .25rem .55rem;
  font-weight: 700;
  font-size: .78rem;
}
.tag-primary{
  background: rgba(22,194,168,.14);
  color: #0b7f6f;
  border: 1px solid rgba(22,194,168,.22);
}

/* Adopted */
.tag-warning{
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.25);
  color: #92400e;
}

/* Reserved */
.tag-danger{
  background: rgba(239,68,68,.12);
  border-color: rgba(239,68,68,.25);
  color: #991b1b;
}

.meta{
  display: grid;
  gap: 8px;
  color: #475467;
  font-size: .92rem;
}
.meta i{ color: rgba(22,194,168,.95); }

/* Parents */
.parent-photo{
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  height: 220px;
  border: 1px solid rgba(16,24,40,.08);
}
.parent-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.role-badge{
  background: rgba(22,194,168,.14);
  color: #0b7f6f;
  border: 1px solid rgba(22,194,168,.22);
  border-radius: 999px;
  padding: .35rem .6rem;
  font-weight: 800;
}
.parent-features{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pf{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .45rem .6rem;
  border-radius: 999px;
  background: rgba(16,24,40,.04);
  border: 1px solid rgba(16,24,40,.06);
  color: #344054;
  font-weight: 600;
  font-size: .9rem;
}
.pf i{ color: #0b7f6f; }

.mini-gallery{
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(16,24,40,.08);
  box-shadow: var(--shadow-soft);
  height: 140px;
}
.mini-gallery img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.mini-gallery:hover img{ transform: scale(1.06); }

/* Steps */
.step-icon{
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(22,194,168,.14);
  border: 1px solid rgba(22,194,168,.18);
  color: #0b7f6f;
  font-size: 1.2rem;
}

/* Testimonials */
.avatar{
  width: 52px;
  height: 52px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(16,24,40,.08);
}
.stars i{ color: #f4c542; margin-right: 2px; }

/* Accordion */
.accordion-modern .accordion-item{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(16,24,40,.08);
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
  background: #fff;
}
.accordion-modern .accordion-button{
  font-weight: 800;
}
.accordion-modern .accordion-button:focus{ box-shadow: none; }
.accordion-modern .accordion-button:not(.collapsed){
  background: rgba(22,194,168,.10);
  color: #0b7f6f;
}

/* CTA Banner */
.cta-banner{
  padding: 60px 0;
  background:
    radial-gradient(800px 400px at 20% 30%, rgba(22,194,168,.30), transparent 60%),
    radial-gradient(800px 500px at 80% 40%, rgba(255,107,107,.26), transparent 65%),
    linear-gradient(135deg, rgba(11,18,32,.98) 0%, rgba(11,18,32,.92) 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before{
  content:"";
  position: absolute;
  inset: -50px;
  background-image: radial-gradient(circle at 10px 10px, rgba(255,255,255,.09) 2px, transparent 3px);
  background-size: 32px 32px;
  opacity: .35;
  transform: rotate(7deg);
}
.cta-inner{
  position: relative;
  z-index: 2;
  border-radius: calc(var(--radius) + 6px);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

/* Contact layout improvements */
.contact-grid{
  display: grid;
  gap: 14px;
}

.contact-item{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(16,24,40,.08);
  background: rgba(16,24,40,.02);
}

.contact-link{
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.contact-link:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  background: rgba(22,194,168,.06);
}

.contact-icon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(22,194,168,.14);
  border: 1px solid rgba(22,194,168,.18);
  color: #0b7f6f;
  flex: 0 0 auto;
  font-size: 1.05rem;
}

.contact-body{
  min-width: 0; /* prevents overflow */
}
.contact-label{
  font-weight: 800;
  color: #101828;
  margin-bottom: 2px;
}
.contact-value{
  color: #475467;
  font-weight: 600;
  word-break: break-word;
}

.contact-action{
  margin-left: auto;
  color: rgba(16,24,40,.45);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(16,24,40,.08);
  background: rgba(255,255,255,.6);
}

/* Contact map */
.map-embed{
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(16,24,40,.08);
}
.map-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer{
  background: rgba(11, 18, 32, 1);
  color: #fff;
}
.footer-title{ font-weight: 800; margin-bottom: 10px; }
.footer-links{ list-style: none; padding: 0; margin: 0; }
.footer-links li{ margin-bottom: 10px; }
.footer-links a{
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.footer-links a:hover{ color: #fff; }
.footer-contact{
  color: rgba(255,255,255,.75);
  display: grid;
  gap: 8px;
}
.footer-mini-note{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: .55rem .75rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
}
.social{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}
.social:hover{ background: rgba(255,255,255,.14); }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,.10); }

/* Back to top */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 0;
  background: #fff;
  color: #101828;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 999;
}
.back-to-top.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Reveal animations */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.show{
  opacity: 1;
  transform: translateY(0);
}

/* Modal styling */
.modal-soft{
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(16,24,40,.08);
  box-shadow: var(--shadow);
}
.modal-header{
  border-bottom: 1px solid rgba(16,24,40,.08);
}
.modal-footer{
  border-top: 1px solid rgba(16,24,40,.08);
}



/* Puppy detail page */
.detail-gallery .detail-main{
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(16,24,40,.08);
  height: 430px;
}
.detail-gallery .detail-main img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-status{
  position: absolute;
  top: 12px;
  right: 12px;
}

.detail-thumbs{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
.detail-thumbs .thumb{
  padding: 0;
  border: 1px solid rgba(16,24,40,.10);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  height: 86px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.detail-thumbs .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-thumbs .thumb:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.detail-thumbs .thumb.active{
  outline: 2px solid rgba(22,194,168,.65);
  border-color: rgba(22,194,168,.35);
}

.detail-stats{
  display: grid;
  gap: 10px;
}
.statline{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: .65rem .75rem;
  border-radius: 16px;
  background: rgba(16,24,40,.03);
  border: 1px solid rgba(16,24,40,.06);
}
.statline .k{
  color: #344054;
  font-weight: 700;
}
.statline .k i{ color: rgba(22,194,168,.95); }
.statline .v{
  color: #475467;
  font-weight: 600;
}

.detail-tabs .nav-link{
  border-radius: 999px;
  font-weight: 800;
  background: rgba(16,24,40,.04);
  border: 1px solid rgba(16,24,40,.06);
  color: #344054;
}
.detail-tabs .nav-link.active{
  background: rgba(22,194,168,.12);
  border-color: rgba(22,194,168,.25);
  color: #0b7f6f;
}

.testimonial-big {
  max-width: 720px;
  border-radius: 18px;
}

.testimonial-avatar {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #f3f3f3;
  margin: 0 auto;
}


@media (max-width: 991px){
  .detail-gallery .detail-main{ height: 340px; }
}
@media (max-width: 575px){
  .detail-gallery .detail-main{ height: 280px; }
  .detail-thumbs{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Responsive tweaks */
@media (max-width: 991px){
  .hero-slide{ min-height: auto; padding: 70px 0 56px; }
  .section{ padding: 68px 0; }
}
@media (max-width: 575px){
  .card-img-wrap{ height: 175px; }
  .trust-item{ width: 100%; justify-content: center; }
  .mini-gallery{ height: 120px; }
}
