
  /* ===============================
     THEME VARIABLES (safe defaults)
     =============================== */
  :root{
    --header-bg: #1b452c;        /* header + hero fallback 2a6a43 */
    --footer-bg: #1f254f;        /* footer background */
    --accent:    #3f4a9f;        /* brand accent (links, hovers)  old 3f4a9f */
    --banner-url: none;          /* set via inline style if you want an image */
  }

  /* ===============================
     GLOBAL BASE / ACCESSIBILITY
     =============================== */
  html { scroll-behavior: smooth; }
  body {
    background: #f5f7fb;
    color: #000;                 /* all text black by default */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  /* Ensure common Bootstrap text helpers don’t go gray */
  .lead, .card-text, .text-muted { color:#000 !important; }

  /* Links (site-wide) */
  a { color: var(--accent); text-decoration: none; }
  a:hover, a:focus { color: #323b82; text-decoration: underline; }

  /* ===============================
     PAGE SCAFFOLD
     =============================== */
  .page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
  main { flex: 1 0 auto; }
  footer { flex-shrink: 0; background: var(--footer-bg); color: #fff; }

  /* ===============================
     HEADER / NAVBAR / HERO
     =============================== */
  .site-header { background: var(--header-bg); }

  .navbar {
    background-color: #fff !important;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .navbar-brand img { height: 45px; width: auto; }
  .navbar .nav-link {
    color: #212529;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  .navbar .nav-link:hover,
  .navbar .nav-link:focus { color: var(--accent); }

  .navbar-toggler { border: none; }
  .navbar-toggler:focus { box-shadow: none; }

  /* Hero wrapper (color or image) */
  .hero {
    position: relative;
    overflow: hidden;
    background-color: var(--header-bg);
  }
  .hero--image {
    background-image: var(--banner-url);
    background-size: cover;
      background-position: center top;
   /* background-position: center;*/
    min-height: 240px;
  }
  .hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
  .hero__content {
    position: relative; z-index: 2;
    padding: 3.5rem 0;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
  }

  /* Force white text inside banner/hero areas only */
  .banner-text,
  .hero-text,
  .banner h1, .banner h2, .banner p,
  .hero h1,  .hero h2,  .hero p {
    color: #fff !important;
    text-shadow: 0 2px 5px rgba(0,0,0,.5);
  }

  /* ===============================
     CONTENT CARDS / IMAGES
     =============================== */
  .content-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    color: #000; /* keep text black inside cards */
  }
  .card { color:#000; }  /* extra safety for all cards */
  .card-img-top { height: 220px; object-fit: cover; }  /* services grid */
  .small-thumb  { height: 160px; object-fit: cover; }  /* puppies 4-up grid */
  .gallery-img  { height: 260px; width:100%; object-fit: cover; } /* obedience gallery */

  /* ===============================
     BUTTONS (brand)
     =============================== */
  .main-btn {
    background-color: #3f4a9f;
    color: #fff;
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex; align-items: center; justify-content: center;
    gap: .4rem;
  }
  .main-btn:hover,
  .main-btn:focus { background-color: #323b82; color:#fff; }
  .main-btn:focus-visible { outline: 2px solid #323b82; outline-offset: 2px; }

  /* Optional: brand-colored links that aren’t buttons */
  .main-link { color: var(--accent); font-weight: 500; }
  .main-link:hover { color:#323b82; text-decoration: underline; }

  /* ===============================
     FOOTER
     =============================== */
  .footer-link { color: rgba(255,255,255,.9); }
  .footer-link:hover { color: #fff; text-decoration: underline; }

  /* ===============================
     RESPONSIVE TWEAKS
     =============================== */
  @media (max-width: 575.98px){
    .hero__content { padding: 2rem 0; }
    .gallery-img { height: 200px; }
  }


/* --- Photo box keeps a portrait shape; adjusts on phones --- */
.dog-photo-box {
  aspect-ratio: 4 / 5;           /* tall portrait */
  background: #f5f5f7;            /* gentle backdrop if letterboxed */
  overflow: hidden;
  border-top-left-radius: .75rem;
  border-top-right-radius: .75rem;
}
/* Reduce image box height on smaller screens */
@media (max-width: 992px) {  /* tablets */
  .dog-photo-box { aspect-ratio: 3 / 4; }
}
@media (max-width: 768px) {  /* small tablets / landscape phones */
  .dog-photo-box { aspect-ratio: 3 / 5; }
}
@media (max-width: 576px) {  /* phones */
  .dog-photo-box { aspect-ratio: 2.8 / 5; }
}
@media (max-width: 768px) {
  .dog-card .card {
    transform: scale(.95);
  }
}
@media (max-width: 576px) {
  .dog-card .card {
    transform: scale(.9);
  }
}
/* --- Image fills box, but anchors to TOP so the head stays visible --- */
.dog-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;              /* consistent fill */
  object-position: 50% 10%;       /* <— key: favor the top (head) */
  display: block;
}

/* Cards */
.dog-card .card {
  border: 0;
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dog-card .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

.card-img-top {
  width: 100%;
  height: 300px;           /* or whatever height looks best */
  object-fit: contain;     /* show full icon */
  background-color: #f8f9fa;
  padding: 1rem;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero--solid {
    background: var(--header-bg);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px; /* change this for height 90 */
    display: block;
    z-index: 3;
}

/* ===== FOOTER ===== */
footer{
    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0.03),
            rgba(0,0,0,0.15)
        ),
        var(--footer-bg);

    border-top: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 -6px 20px rgba(0,0,0,0.25);

    position: relative;
}

footer .container{
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Footer Social Icons */
.social-icon{
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
     backdrop-filter: blur(4px);
     border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 5;
    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    font-size:1.6rem;

    text-decoration:none;

    transition:all .25s ease;
}

.social-icon:hover{
    transform:translateY(-4px) scale(1.08);

    background: var(--accent);

    color:#fff;

    box-shadow:0 6px 18px rgba(0,0,0,.35);
}

/* Footer Wave */
/* Footer Wave */
.footer-wave-wrap{
    line-height:0;
    margin-bottom:-1px;
}

.footer-wave{
    display:block;
    width:100%;
    height:60px;
}