

/* Outfit */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Outfit-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Outfit-Bold.ttf') format('truetype');
}

/* Playfair Display */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
}

/* Patrick Hand */
@font-face {
  font-family: 'Patrick Hand';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/PatrickHand-Regular.ttf') format('truetype');
}

/* Roboto */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/Roboto-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Roboto-Regular.ttf') format('truetype');
}

/* Lora */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Lora-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Lora-Bold.ttf') format('truetype');
}

/* Pacifico */
@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Pacifico-Regular.ttf') format('truetype');
}

/* Yellowtail */
@font-face {
  font-family: 'Yellowtail';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Yellowtail-Regular.ttf') format('truetype');
}

/* Sniglet */
@font-face {
  font-family: 'Sniglet';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Sniglet-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Sniglet';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/Sniglet-ExtraBold.ttf') format('truetype');
}

/* Poppins */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
}

/* Boldonse */
@font-face {
  font-family: 'Boldonse';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Boldonse-Regular.ttf') format('truetype');
}

/* Cal Sans */
@font-face {
  font-family: 'Cal Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/CalSans-Regular.ttf') format('truetype');
}

/* Bernard MT Condensed */
@font-face {
  font-family: 'Bernard MT Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/BernardMTCondensed-Regular.ttf') format('truetype');
}



/* tablet.css */
/*
  Happy Pets Taxi Service — Tablet / iPad stylesheet
  -------------------------------------------------
  Replace your existing style-tablet.css with this file.

  This file avoids one-off positional hacks and instead normalises:
  - margins / padding
  - font sizes
  - card sizing
  - layout & grids

  Target range:
  - iPad Mini/Air/Pro portrait+landscape and similar tablets.
*/


        .about-portrait-wrapper {
          display: flex !important;
          align-items: center !important;
          justify-content: flex-start !important;
          gap: 1rem !important;
          width: 45% !important;
          margin: 0 0rem 0 !important;
          float: none !important;
          text-align: center !important;
      }


      .about-puppy {
        position: absolute !important;
        bottom: 1%!important;
        right: 0!important;
        width: 695px!important;
        max-width: none !important;
        pointer-events: none !important;
        z-index: 1!important;
    }

    #safety .safety-carrier {
      position: absolute !important;
      top: 10% !important;
      right: -717px !important;
      width: 917px !important;
      max-width: none !important;
      pointer-events: none !important;
      z-index: 0!important;
      transform: translateY(-50%) scaleX(1)!important;
  }

  #hero {
    position: relative;   /* makes the absolute img anchor to the hero */
    overflow: visible;    /* allow it to spill down */
    min-height: 100vh;    /* optional but helps keep it predictable */
  }


  .hero-bottom-img{

    display: block !important;
    position: absolute;
    bottom: -108px;
    left: 50%;
    transform: translateX(-50%);
    width: 124%;
    max-width: 1999px;
    pointer-events: none;
    z-index: 2;
    
    }
  



    

    #about   { padding:1rem !important;}


    /* shrink the section title */
#about .section-title {
  font-size: clamp(1.8rem, 6vw, 2.2rem) !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.2;
  text-align: center;
}

/* reduce overall padding and center content */
#about .about-content {
  padding: 1rem !important;
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

/* tighter paragraph text */
#about p {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  margin-bottom: 1rem !important;
}







.about-portrait-wrapper{
  padding: .75rem 1rem;
}

/* core-values grid → single column + smaller items */
#about .about-values {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
          padding: 0 1rem;
          margin-top: 1rem;
}

#about .about-values li {
  background: var(--gold);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-family: var(--font-nav);
  color: var(--black);
}


/* ensure the paw-overlay stays subtle or hide it */
#about .paw-overlay {
  display: none !important;
}


/* mobile only: show button, hide the text until they click */


#read-journey-btn{
  
  display: none;

  }


#read-journey-btn-nd{
  background-color: rgba(250, 230, 197, 0.7);
  color: var(--black);
  border: 1px solid #ffd588;
  border-radius: 14px;
  box-shadow: none;
  padding: 0.75rem 1.5rem;
  font-family: 'Cal Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  /* letter-spacing: 0.05em; */
  cursor: pointer;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  width: 300px;
}


.about-content .about-text {
  display: none !important;
}

/* ABOUT: full-width, hidden overflow, truncated text + read-more */
#about .about-content {
  width: 100% !important;
  padding: 0 !important;    /* remove left/right gutter */
  max-width: none !important;
  box-sizing: border-box;
}

/* wrap all your paragraphs in .about-text to clamp */
#about .about-text {
  max-height: 5.5em;        /* show approx. 3–4 lines */
  overflow: hidden;
  position: relative;
  transition: max-height .4s ease;
}

/* button styling */
#about .read-more-btn {
  display: block;
  margin: 0.75rem auto 1.5rem;
  font-size: 0.9rem;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* when #about gets .expanded, show all text */
#about.expanded .about-text {
  max-height: none;
}


#reviews {  flex-direction:column; text-align:center; padding:0rem; overflow: visible; }

.reviews-graphic {
  position: absolute;
  bottom: 0;
  left: 24%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  pointer-events: none;
  z-index: -1;
}

.logo-hero {
  width: 150px;
  height: 150px;
  margin-bottom: 1rem;
}
.headline-rotate {
  font-size: 1.5rem;
  max-width: 90%;
  line-height: 1.2;
  margin: .5rem 0 1rem;
}
.hero-btn {
  margin-top: -3rem;
}

#hero {
  position: relative;
  overflow: visible;
  top: -5rem;
}



/* ─── SERVICES ──────────────────────────────────────────────────────── */
.services-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.services-cards .card {
  padding: 0.75rem;
  font-size: 0.9rem;
}
.services-cards .service-icon {
  font-size: 2rem;
}
.services-cards .card-title {
  font-size: 1.1rem;
}

/* ─── SAFETY ───────────────────────────────────────────────────────── */



/* ─── GALLERY ─────────────────────────────────────────────────────── */
#gallery .section-title {
  text-align: center;
  margin-bottom: 1rem;
}
.photo-stack-wrapper {
  max-width: 100%;
  margin: -230px auto;
}

.photo-stack-wrapper {
  position: absolute;
        max-width: 600px;
        margin: 0 auto;
        right: 30%;
        top: 30%;
        text-align: center;
}

.photo-stack {

  width: 400px;
  height: 400px;
  right: -199px;
}

/* ─── REVIEWS ─────────────────────────────────────────────────────── */

.qr-box img {
  width: 120px;
  height: 120px;
}
.cta-text p {
  font-size: 1rem;
  line-height: 1.4;
}



/* ─── CONTACT & PARTNERS ──────────────────────────────────────────── */
#contact .social-links {
  gap: 0.5rem;
}
#contact .social-link {
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}
#partners {
  display: none;
}




.reviews-graphic {
    position: absolute;
    bottom: 0;
    left: 24%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    pointer-events: none;
    z-index: 0;
}


#hero .hero-title-main {
    /* smaller min/max so no overflow */
    font-size: clamp(60px, 8vw, 60px) !important;
    line-height: 1.1 !important;
    white-space: normal;     /* allow wrapping if needed */
  }

  /* sub-headline under it */
  #hero .hero-title-sub {
    font-size: clamp(14px, 4vw, 20px) !important;
    line-height: 1.2 !important;
    white-space: normal;
    margin-top: 0.5rem;      /* tighten up spacing */
  }

  .hero-title-main .hero-paw {
    position: absolute;
    top: -8px;
    right: -23px;
    font-size: 22px;
    transform: rotate(20deg);
    color: #000;
}


#about   { padding:1rem !important;}


  /* shrink the section title */
#about .section-title {
font-size: clamp(1.8rem, 6vw, 2.2rem) !important;
margin-bottom: 0.75rem !important;
line-height: 1.2;
text-align: center;
}

/* reduce overall padding and center content */
#about .about-content {
padding: 1rem !important;
max-width: 90%;
margin: 0 auto;
text-align: center;
}

/* tighter paragraph text */
#about p {font-size: 0.98rem !important;line-height: 1.4 !important;margin-bottom: 1rem !important;}







.about-portrait-wrapper{
padding: .75rem 1rem;
}

/* core-values grid → single column + smaller items */
#about .about-values {
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 0.75rem;
        padding: 0 1rem;
        margin-top: 1rem;
}

#about .about-values li {background: var(--gold);padding: 1rem;border-radius: 14px;box-shadow: 0 2px 6px rgba(0,0,0,0.1);font-family: var(--font-body);color: var(--black);}


/* ensure the paw-overlay stays subtle or hide it */
#about .paw-overlay {
display: none !important;
}


/* mobile only: show button, hide the text until they click */

.about-content .about-text {
display: none !important;
}

/* ABOUT: full-width, hidden overflow, truncated text + read-more */
#about .about-content {
width: 100% !important;
padding: 0 !important;    /* remove left/right gutter */
max-width: none !important;
box-sizing: border-box;
}

/* wrap all your paragraphs in .about-text to clamp */
#about .about-text {
max-height: 5.5em;        /* show approx. 3–4 lines */
overflow: hidden;
position: relative;
transition: max-height .4s ease;
}

/* button styling */
#about .read-more-btn {
display: block;
margin: 0.75rem auto 1.5rem;
font-size: 0.9rem;
background: none;
border: none;
color: var(--gold);
cursor: pointer;
text-transform: uppercase;
letter-spacing: .05em;
}

/* when #about gets .expanded, show all text */
#about.expanded .about-text {
max-height: none;
}


/* SERVICES: shrink cards, tighter grid */
.services-cards {
gap: 1rem !important;
margin-top: 1rem !important;
}
.services-cards .card {
padding: 0.5rem !important;
font-size: 0.9rem !important;
margin: 0 !important;
}
.services-cards .service-icon {
font-size: 2rem !important;
}
.services-cards .card-title {
font-size: 1.1rem !important;
margin-bottom: 0.25rem !important;
}

.services-kittens {
position: absolute;
top: 50%;
left: -43px;
transform: translateY(-50%);
width: 800px;
max-width: none;
pointer-events: none;
z-index: 0;       /* behind everything in #services */
}

  .about-lanyard {
    position: absolute;
    top: -10%;
        left: -650px;
    width: 1387px;
    max-width: none;
    pointer-events: none;
    z-index: 1;
    transform: translate(-51px, 30px) rotate(252deg);
}

/* hide kitten bg and safety images on mobile */

.safety-hover-image {
  position: absolute;
  top: 0;
  right: 0px;
  width: 300px;
  pointer-events: none;
}


.review-cta {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}


/* keep only your “leave us a review” QR block */
.review-cta { display: flex !important; }


/* ─── Read-My-Journey Modal ───────────────────────────────────────────── */
#journey-modal {
display: none;
position: fixed; inset: 0;
background: rgba(0,0,0,0.8);
justify-content: center; align-items: center;
padding: 1rem; z-index: 2000;
}
#journey-modal.show {
display: flex;
}
.journey-content {
background: var(--black);
color: var(--gold);
border-radius: 8px;
max-width: 90%;
max-height: 80vh;
overflow-y: auto;
padding: 1.5rem;
position: relative;
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.close-journey {
position: absolute;
top: 0.5rem; right: 0.75rem;
font-size: 2.5rem; color: var(--gold);
cursor: pointer; line-height: 1;
}
/* Read button */
/* flat “Read My Journey” button */
.read-journey-btn {background-color: rgba(250, 230, 197, 0.7); /* 70% opacity */color: var(--black);               /* text in black */border: 1px solid #ffd588;    /* thin black outline */border-radius: 8px;                  /* sharp corners */box-shadow: none;                  /* no shadow */padding: 0.75rem 1.5rem;           /* adjust to taste */font-family: 'Cal Sans', sans-serif;     /* or whatever font you prefer */font-size: 2rem;font-weight: 700;/* letter-spacing: 0.05em; */                 /* adjust for readability */cursor: pointer;display: inline-block;text-align: center;text-decoration: none;             /* if it’s an <a> */width: 300px;}

/* example hover state, still flat */
.read-journey-btn:hover {
background-color:  #fae6c5;
color: var(--black);
border-color: var(--black);
}
/* Hide original about-text until modal opens */
.about-content .about-text { display: none; }

#about .section-title {
display: none;
}


#services .section-title {
font-size: 2rem;
margin-bottom: 1rem;
}

/* Stack cards in a single column, tighten spacing */
.services-cards {
display: grid;
grid-template-columns: 1fr;
gap: 0.75rem;
padding: 0 1rem;
margin-top: 1rem;
}

.services-cards .card {padding: 0.75rem;margin: 0;font-size: 0.9rem;border-radius: 14px;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);             /* flatter look on small */transition: transform 0.2s ease;}
.services-cards .card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Icon and title sizing */
.services-cards .service-icon {
font-size: 2rem;
margin-bottom: 0.5rem;
}
.services-cards .card-title {
font-size: 1.1rem;
margin-bottom: 0.5rem;
}
.services-cards .card p {
font-size: 0.85rem;
line-height: 1.4;
}

/* Hide any decorative kitten image on mobile */


/* A bit more breathing room under the section */
#services {
padding: 2rem 0;
}

/* ─── ICON + TEXT SIDE-BY-SIDE ───────────────────────────────────────────── */
.services-cards .card {
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: auto auto;
grid-template-areas:
  "icon title"
  "icon desc";
gap: 0rem 1rem;
align-items: start;
}

.services-cards .service-icon {
grid-area: icon;
font-size: 2rem;      /* adjust as needed */
margin: 0;  
margin-top: 1rem;
justify-self: center;     /* center horizontally in its column */
transform: translateX(5px); /* then bump right a bit */
}

.services-cards .card-title {
grid-area: title;
font-size: 1.1rem;
margin: 0;
}

.services-cards .card p {grid-area: desc;font-size: 0.98rem;line-height: 1.4;margin: 0;}








/* 1) Kill any background gradient the desktop sheet put on you */
.gallery-decor.decor1 {

    background-image: url('../images/bone.png');
  }
  
  /* second bone down in the bottom-right */
  .gallery-decor.decor2 {
  
    background-image: url('../images/camera2.png');
  }

  #regulated .safety-gslying{

    position: absolute;
    top: 80%;
    left: 100px;
    transform: translateY(-50%);
    width: 1029px;
    max-width: none;
    pointer-events: none;
    z-index: -1;
  
  }

  .faqs-sub {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
  
  #faqs .faqs-cat{

    position: absolute;
          top: 57%;
          right: -10px;
          transform: translateY(-50%);
          width: 520px;
          max-width: none;
          pointer-events: none;
          z-index: -1;
  
  
  }
  

/* 2) Force the deco pngs back on */
.gallery-decor {
  display: block !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  pointer-events: none !important;
  z-index: -1 !important;
}
.decor1 {
    top: 7% !important;
    left: 18% !important;
    width: 100%  !important;
    transform: rotate(13deg) !important;
  }
  .decor2 {
    bottom: 3% !important;
    right: 31% !important;
    width: 100%  !important;
    transform: rotate(10deg)  !important;
  }
  .decor3 {
    bottom: -20% !important;
    left: 41% !important;
    width: 100%  !important;
    transform: rotate(108deg) !important;
  }

  
  #safety .safety-rabbit {
    position: absolute;
    top: 38%;
    left: -550px;
    transform: translateY(-50%);
    width: 900px;
    max-width: none;
    pointer-events: none;
    z-index: -1;
}   




@media (max-width: 699px){
  .about-credits{
    height: auto;
    overflow: visible;
  }
  .about-credits::before,
  .about-credits::after{
    display:none;
  }
}



/* ─── TWEAK GALLERY TITLE & BUTTON ───────────────────────────────────────── */
#gallery .section-title {
  font-size: 2.5rem;
  text-align: left !important;
  margin-left: -7rem !important;
  margin-bottom: 4.5rem !important;
  max-width: 100% !important;
}

#gallery .view-all-btn {
  display: inline-block !important;
  margin: 3rem 0rem 1rem 14rem;

}

#estimate .section-title {
font-size: 1.5rem;
margin-bottom: 0.75rem;
}

#estimate {
padding: 0rem 1rem;
display: block;
}

.estimate-output {
margin-top: 0rem !important;
padding: 0.8rem;

}

.loader {
margin-top: 0 !important;
margin-bottom: 0 !important;
padding: 0.8rem !important;

}

#estimate .section-title {
font-size: 2rem;
}

.section-title .fa-bone {
margin: 0 0.25em;
vertical-align: middle;
font-size: 0.6em;            /* match your heading text size */
color: var(--black);       /* or whatever color fits */
}


#calculate-btn {
font-size: 1rem;
}

.estimate-form .form-col {

gap: 0rem;
}

.estimate-form {
grid-template-columns: 1fr;
gap: 0rem;

}

.estimate-box {
grid-template-columns: 1fr;
}


nav#navbar .close-menu {
display: none;
background: none;
border: none;
color:var(--gold);
font-size: 2rem;
position: absolute;
top: 1rem;
right: 1.2rem;
z-index: 1001;
}

nav#navbar.show .close-menu {
display: block;
}

nav#navbar .close-menu {
transition: opacity 0.3s ease;
opacity: 0;
}

nav#navbar.show .close-menu {
opacity: 1;
}



/* Make portrait + name/title sit side-by-side */
.about-portrait-wrapper{
display: flex !important;
align-items: center !important;
justify-content: flex-start !important;
gap: 1rem !important;
width: 100% !important;
margin: 0 0 1rem 0 !important;
float: none !important;
text-align: left !important;
}

/* Perfect circle without the padding-top trick on mobile */
.about-portrait{
flex: 0 0 auto !important;
width: 100px !important;
height: 100px !important;
padding-top: 0 !important;       /* IMPORTANT: removes the glitch */
border-radius: 50% !important;
overflow: hidden !important;
border: 4px solid var(--gold) !important;
box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
position: relative !important;
}

.about-portrait img{
position: absolute !important;
inset: 0 !important;
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
object-position: 50% 20% !important;
}

.portrait-info{
display: flex !important;
flex-direction: column !important;
justify-content: center !important;
text-align: left !important;
line-height: 1.2 !important;
}

.portrait-name{
margin: 0 !important;
font-weight: 800 !important;
color: var(--black) !important;
white-space: normal !important;   /* allow wrapping nicely */
}

.portrait-position{
margin: .25rem 0 0 0 !important;
opacity: .8 !important;
white-space: normal !important;
}

#mobile-portrait{

  display:none;
  
  }


  
#desktop-portrait{

  display: block;
}

/* =========================
   SAFETY SECTION – FINAL FIXES
   ========================= */

/* Overall layout */
#safety .safety-shell {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;  /* Two columns for safety-hero and safety content */
  gap: 28px;
  align-items: start;
}

/* Left section: Hero and animation */
#safety .safety-hero {
  display: grid;
  gap: 14px;
}

#safety .safety-animation {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto;
}

#safety .safety-animation svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

#safety .pulse {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  transform-origin: 50% 50%;
  opacity: 0;
}

#safety .pulse1 { animation: pulse 1.6s ease-out infinite; }
#safety .pulse2 { animation: pulse 1.6s ease-out infinite; animation-delay: 0.8s; }

@keyframes pulse {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

#safety .safety-paw {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.55;
  z-index: 2;
}

/* Right section: Content grid */
#safety .safety-content {
  position: relative;
}

/* Safety list (3-column layout) */
#safety .safety-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* 3 columns for safety items */
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#safety .safety-item {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.10);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr; /* Text-only layout */
  gap: 6px;
  border-radius: 16px;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
  outline: none;
}

#safety .safety-item:hover,
#safety .safety-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(218, 179, 93, 0.55);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.70);
}

#safety .safety-item.active {
  border-color: rgba(218, 179, 93, 0.75);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

#safety .safety-item-title {
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
}

#safety .safety-item-sub {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.25;
}

/* Safety hover image (moved to its own row below the list) */
#safety .safety-hover-image {
  grid-column: span 3;  /* Span all 3 columns */
  margin-top: 20px;
  text-align: center;
}

#safety .safety-hover-image img {
  max-width: 100%;
  height: 250px;  /* Consistent height */
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* RESPONSIVE STYLES */
  /* Switch to 1 column layout on tablets and below */
  #safety .safety-shell {
    grid-template-columns: 1fr;  /* Single column */
  }

  #safety .safety-list {
    grid-template-columns: 1fr;  /* 1 column for small screens */
  }

  #safety .safety-hover-image {
    display: none;  /* Hide hover image on small screens */
  }

  /* Center the pet carrier on small screens */
  #safety .safety-carrier {
    width: 80%;  /* Adjust size on smaller screens */
    top: 5%;
    right: 0;
    transform: translateY(-50%);
  }


  #safety .safety-shell {
    grid-template-columns: 1fr;  /* Single column for tablets */
  }

  #safety .safety-list {
    grid-template-columns: repeat(2, 1fr);  /* 2 columns on tablets */
    gap: 14px;
  }

  #safety .safety-item {
    padding: 1rem;
  }

  /* Adjusting title and spacing */
  #safety .section-title {
    font-size: clamp(2rem, 7vw, 2.4rem) !important;
    margin-bottom: 1rem !important;
  }

  /* Animation still visible but adjusted */
  #safety .safety-animation {
    display: block !important;
    margin: 0 auto;
  }

  #safety .safety-paw {
    font-size: 2rem !important;
  }

  /* Slight adjustments for hover image */
  #safety .safety-hover-image img {
    max-width: 80%;
  }


  #safety .section-title {
    font-size: 2.5rem;

}