/********** Template CSS **********/
:root {
    --primary: #7AB730;
    --secondary: #FFD33C;
    --light: #F3F3F3;
    --dark: #212121;
}

[class^=flaticon-]:before,
[class*=" flaticon-"]:before,
[class^=flaticon-]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}

.btn {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 7px;
        top: -4px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        width: 100%;
        height: 1px;
        top: -1px;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background-image: url(../img/Shari-Dogs-May2023-62-768x549.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right; /* Desktop */
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .hero-header {
        background-size: cover; /* Ensure full coverage */
        background-position: center center; /* Center image on small screens */
        min-height: 100vh; /* Make it fill full screen height */
    }
}
.hero-header {
    position: relative;
}

    .hero-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.45); /* darkness level — adjust 0.45 to your taste */
        z-index: 1;
    }

    .hero-header * {
        position: relative;
        z-index: 2;
    }

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.service-item a i {
    position: relative;
    padding-left: 20px;
    transition: .3s;
}

.service-item a:hover i {
    padding-left: 50px;
}

.service-item a i::after {
    position: absolute;
    content: "";
    width: 20px;
    height: 2px;
    top: 50%;
    left: 10px;
    margin-top: -1px;
    background: var(--primary);
    transition: .3s;
}

.service-item a:hover i::after {
    width: 50px;
}

.product-item {
    padding: 30px;
}

.product-item .btn-action {
    position: absolute;
    width: 100%;
    bottom: -40px;
    left: 0;
    opacity: 0;
    transition: .5s;
}

.product-item:hover .btn-action {
    bottom: -20px;
    opacity: 1;
}

.product-carousel .owl-nav {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 55px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.bg-offer {
    background: url(../img/Starlight-Dogs-23-1062x531.jpeg) top right no-repeat;
    background-size: cover;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.team-carousel .owl-nav {
    position: absolute;
    width: 50px;
    height: 160px;
    top: calc(50% - 80px);
    right: 0;
    z-index: 1;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-item .team-overlay {
    position: absolute;
    top: 45px;
    right: 45px;
    bottom: 45px;
    left: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(122, 183, 48, .8);
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
}

.bg-testimonial {
    background: url(../img/testimonial.jpg) top left no-repeat;
    background-size: cover;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 46px;
    top: calc(50% - 23px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

@media (min-width: 576px) {
    .blog-item .row {
        height: 300px;
    }
}

.blog-item a i {
    position: relative;
    padding-left: 20px;
    transition: .3s;
}

.blog-item a:hover i {
    padding-left: 50px;
}

.blog-item a i::after {
    position: absolute;
    content: "";
    width: 20px;
    height: 2px;
    top: 50%;
    left: 10px;
    margin-top: -1px;
    background: var(--primary);
    transition: .3s;
}

.blog-item a:hover i::after {
    width: 50px;
}








:root {
    --primary-color: #7AB730;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply staggered delays */
.fade-delay-1 {
    animation-delay: 0.1s;
}

.fade-delay-2 {
    animation-delay: 0.2s;
}

.fade-delay-3 {
    animation-delay: 0.3s;
}

.fade-delay-4 {
    animation-delay: 0.4s;
}

.fade-delay-5 {
    animation-delay: 0.5s;
}

.fade-delay-6 {
    animation-delay: 0.6s;
}

/* Puppy cards */
.puppy-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

    .puppy-card:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

/* Section title */
.section-title {
    font-weight: 600;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Uniform media size */
.media-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Grid system */
.puppy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .btn-primary:hover {
        background-color: #689e28;
        border-color: #689e28;
    }

/* Responsive grid */
.puppy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* smaller min size */
    gap: 15px;
}

/* For very small devices like iPhone SE */
@media (max-width: 400px) {
    .puppy-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}


/* Uniform media size */
.media-item {
    width: 100%;
    height: 250px; /* default height for desktop */
    object-fit: cover;
    border-radius: 10px;
}

/* For tablets and medium phones */
@media (max-width: 768px) {
    .media-item {
        height: 200px;
    }
}

/* For small phones like iPhone SE */
@media (max-width: 400px) {
    .puppy-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* 2 per row */
    }

    .media-item {
        height: 150px; /* smaller height */
    }
}





/* Animate carousel items on hover */
.testimonial-item {
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Image hover zoom */
.testimonial-item img {
    transition: transform 0.3s;
}

    .testimonial-item img:hover {
        transform: scale(1.05);
    }

/* Animate overlay icons */
.testimonial-item i {
    transition: transform 0.3s;
}

.testimonial-item:hover i {
    transform: scale(1.2);
}

/* Floating paw prints background */
.paw-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

    .paw-background .paw {
        position: absolute;
        font-size: 1.5rem;
        color: rgba(122, 183, 48, 0.3); /* primary color with transparency */
        animation: floatPaw 10s linear infinite;
    }

        /* Random positions */
        .paw-background .paw:nth-child(1) {
            top: 10%;
            left: 20%;
            animation-delay: 0s;
        }

        .paw-background .paw:nth-child(2) {
            top: 30%;
            left: 70%;
            animation-delay: 2s;
        }

        .paw-background .paw:nth-child(3) {
            top: 50%;
            left: 40%;
            animation-delay: 4s;
        }

        .paw-background .paw:nth-child(4) {
            top: 70%;
            left: 10%;
            animation-delay: 6s;
        }

        .paw-background .paw:nth-child(5) {
            top: 80%;
            left: 60%;
            animation-delay: 8s;
        }

@keyframes floatPaw {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) rotate(15deg);
        opacity: 0.6;
    }

    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
}





/* Blog hover animation */
.blog-hover-scale:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Image zoom on hover */
.blog-hover-scale img {
    transition: transform 0.3s;
}

.blog-hover-scale:hover img {
    transform: scale(1.05);
}

/* Floating paw prints animation */
.paw-print {
    position: absolute;
    width: 30px;
    height: 30px;
    background: url('img/paw.png') no-repeat center center / contain;
    opacity: 0.3;
    animation: float 10s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-50px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}




/* Attention animation */
.fade-in {
    animation: fadeInScale 1s ease-in-out forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


to {
    opacity: 1;
    transform: scale(1);
}



<!-- Include Poppins (optional) -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&display=swap" rel="stylesheet" >
<!-- Inline SVG logo: place this where your current brand markup is -->
<a href="index.html" class="navbar-brand ms-lg-5 d-flex align-items-center" id="puppy-logo-link" aria-label="PuppyNest home" >
<!-- SVG Icon + Text -->
<svg id="puppylogo-horizontal" width="220" height="48" viewBox="0 0 480 96" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="puppyTitle puppyDesc" >
<title id="puppyTitle" > PuppyNest</title >
<desc id="puppyDesc" > Puppy nest logo: puppy face inside a cozy nest beside the word PuppyNest.</desc >
<!-- Background circle for icon (transparent) -->
<g transform="translate(8,8)" >
<!-- Nest curve -->
<path d="M20 72 C40 52, 80 44, 120 56 C160 68, 200 72, 240 56" fill="none" stroke="#DADFD2" stroke-width="8" stroke-linecap="round"/ >
<!-- Nest bowl (soft) -->
<ellipse cx="120" cy="64" rx="110" ry="22" fill="#F6F8F4"/ >
<!-- Puppy head -->
<g id="puppy-face" transform="translate(80,6)" >
<!-- head circle -->
<circle cx="64" cy="36" r="28" fill="#FFF7F0" stroke="#E6D7C2" stroke-width="2"/ >
<!-- left ear -->
<path d="M46 20 C34 12, 28 28, 44 36" fill="#ECD9C7" stroke="#E6D7C2" stroke-width="1"/ >
<!-- right ear -->
<path d="M82 20 C94 12, 100 28, 84 36" fill="#ECD9C7" stroke="#E6D7C2" stroke-width="1"/ >
<!-- eyes (group for blink) -->
<g id="eyes" >
<circle cx="54" cy="36" r="3.2" fill="#333"/ >
<circle cx="74" cy="36" r="3.2" fill="#333"/ >
</g >
<!-- nose -->
<path d="M64 44 Q66 46, 64 48 Q62 46, 64 44 Z" fill="#4A3426"/ >
<!-- mouth -->
<path d="M60 50 Q64 54, 68 50" stroke="#4A3426" stroke-width="1.5" fill="none" stroke-linecap="round"/ >
<!-- tail (small curve) -->
<path id="tail" d="M18 56 C6 48, 6 36, 22 34" stroke="#ECD9C7" stroke-width="6" stroke-linecap="round" fill="none" transform="rotate(12 20 46)"/ >
</g >
</g >
<!-- Text: PuppyNest -->
<g transform="translate(260,56)" >
<!-- Puppy (dark) -->
<text x="0" y="-4" font-family="Poppins, Arial, sans-serif" font-weight="600" font-size="28" fill="#333" > Puppy</text >
<!-- Nest (green) -->
<text x="86" y="-4" font-family="Poppins, Arial, sans-serif" font-weight="700" font-size="28" fill="#7AB730" > Nest</text >
</g >
<!-- small paw accent -->
<g transform="translate(380,26)" >
<circle cx="0" cy="0" r="6" fill="#7AB730"/ >
<circle cx="-8" cy="-6" r="3.2" fill="#7AB730"/ >
<circle cx="8" cy="-6" r="3.2" fill="#7AB730"/ >
<circle cx="-5" cy="-12" r="2.8" fill="#7AB730"/ >
</g >
</svg >
</a >
<!-- Styling and animation for the inline SVG -->










/* Make logo align and responsive */
#puppylogo-horizontal {
    display: block;
    max-width: 100%;
    height: auto;
}

#puppy-logo-link {
    text-decoration: none;
}

    /* Hover: text color change and subtle scale */
    #puppy-logo-link:hover svg {
        transform: translateY(-2px);
        transition: transform .25s ease;
    }

    #puppy-logo-link text {
        transition: fill .2s ease;
    }

    /* On hover, make 'Nest' slightly darker green */
    #puppy-logo-link:hover text:nth-of-type(2) {
        fill: #6DA92A !important;
    }

/* Blink animation (keyframes) */
@keyframes blink {
    0%, 90%, 100% {
        transform: scaleY(1);
        transform-origin: center;
    }

    92%, 98% {
        transform: scaleY(0.14);
        transform-origin: center;
    }
}

/* Tail wag animation */
@keyframes wag {
    0% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(-12deg);
    }

    100% {
        transform: rotate(10deg);
    }
}

/* Apply animations */
#puppylogo-horizontal #eyes {
    animation: blink 6s infinite;
    transform-origin: center;
}

#puppylogo-horizontal #tail {
    transform-origin: 18px 46px;
    animation: wag 3.6s infinite ease-in-out;
}

/* Accessibility: focus style */
#puppy-logo-link:focus {
    outline: 3px solid rgba(122,183,48,0.25);
    border-radius: 6px;
}


.review-pill {
    background-color: #7AB730; /* your green */
    color: #fff;
    font-size: 0.95rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.review-pill .text-warning i {
    color: #FFD700; /* gold stars */
}

.review-pill .review-count {
    color: #f0f0f0; /* light gray/white for better visibility */
    font-weight: 500;
}

.trust-box {
    background-color: #f8f9fa;
    transition: transform 0.3s, box-shadow 0.3s;
}

.trust-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.trust-box h3 {
    color: #7AB730;
    font-weight: 700;
}

.trust-box p {
    font-size: 1rem;
    color: #555;
}

/* Card hover effect */
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 5;
}

/* Buttons glow on hover */
.btn-primary:hover {
    box-shadow: 0 0 8px 3px rgba(13, 110, 253, 0.7);
    transition: box-shadow 0.3s ease;
}

/* Animated section header underline */
.section-header h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

    .section-header h1::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        height: 4px;
        width: 60%;
        background: #0d6efd; /* Bootstrap primary */
        border-radius: 4px;
        animation: slideIn 1s ease forwards;
        opacity: 0;
    }

@keyframes slideIn {
    to

{
    opacity: 1;
    width: 60%;
}

from {
    opacity: 0;
    width: 0;
}

}
/* Animation for hover effect */
.team-hover-scale img {
    transition: transform 0.3s ease;
}

.team-hover-scale:hover img {
    transform: scale(1.05);
}

/* Overlay effect */
.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(122, 183, 48, 0.7); /* primary color with opacity */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-hover-scale:hover .team-overlay {
    opacity: 1;
}

/* Center social buttons */
.team-overlay a {
    font-size: 1.2rem;
}

/* Fade-in animation for all sections */
#puppy-history, #why-adopt, #convince-partner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    #puppy-history.visible, #why-adopt.visible, #convince-partner.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Paw icon hover effect */
ul li i.fas.fa-paw {
    transition: transform 0.3s;
}

    ul li i.fas.fa-paw:hover {
        transform: scale(1.3) rotate(10deg);
    }



/* Shared grid layout for gallery and parents */
.puppy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.2rem;
}

/* Card styling */
.puppy-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .puppy-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

/* Images */
.media-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid #7AB730;
}

/* Section titles */
.section-title {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}







.puppy-gallery-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap; /* Stacks on smaller screens */
    align-items: flex-start;
}

.puppy-gallery-left {
    flex: 1 1 400px;
}

.puppy-gallery-right {
    flex: 1 1 350px;
}

.puppy-main-display img {
    width: 100%;
    max-width: 700px; /* Smaller main image */
    max-height: 650px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.puppy-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

    .puppy-thumbnails img {
        width: 155px;
        height: 90px;
        object-fit: cover;
        cursor: pointer;
        border-radius: 5px;
        transition: transform 0.2s, border 0.2s;
    }

        .puppy-thumbnails img:hover {
            transform: scale(1.1);
            border: 2px solid #007bff;
        }

/* Responsive layout */
@media (max-width: 768px) {
    .puppy-gallery-container {
        flex-direction: column;
        align-items: center;
    }

    .puppy-gallery-left, .puppy-gallery-right {
        flex: 1 1 100%;
    }

    .puppy-main-display img {
        max-width: 90%;
        max-height: 300px;
    }
}






/* Floating Button */
/* Floating Chat Button */
.chat-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #7AB730, #5c8c27);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-family: 'Segoe UI', sans-serif;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 1050;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

    .chat-floating-btn i {
        font-size: 28px;
        margin-right: 12px;
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

    .chat-floating-btn:hover {
        transform: scale(1.12) translateY(-2px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.45);
    }

        .chat-floating-btn:hover i {
            transform: rotate(-20deg) scale(1.25);
        }

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(122,183,48,0.5);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 20px rgba(122,183,48,0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(122,183,48,0.5);
    }
}

/* ===== Remove all mobile overrides ===== */
/* No changes for mobile — button stays exactly like desktop */

/* Modal */
.modal-dialog-bottom {
    position: fixed;
    bottom: 80px;
    right: 20px;
    margin: 0;
    width: auto;
    max-width: 360px;
}

.chat-modal-content {
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
}

/* Chat Header */
.chat-header {
    background-color: #7AB730;
    color: white;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
}

.header-user-name {
    font-weight: bold;
    font-size: 16px;
}

.user-status {
    display: flex;
    align-items: center;
    font-size: 13px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    background-color: #00e676;
}

/* Chat Messages */
.chat-messages {
    height: 350px;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.message {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 12px;
    margin: 8px 0;
    word-wrap: break-word;
    font-size: 14px;
}

.sender {
    background-color: #dcf8c6;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.receiver {
    background-color: #f1f0f0;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

/* Input Container */
.chat-input-container {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
}

.message-input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
}

.send-button {
    background-color: #7AB730;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .send-button:hover {
        background-color: #689f2e;
    }

/* Mobile Adjustments */
@media (max-width: 576px) {
   /* .chat-floating-btn {
        width: 55px;
        height: 55px;
        padding: 0 12px;
        font-size: 14px;
    }

        .chat-floating-btn i {
            font-size: 22px;
            margin-right: 8px;
        }
*/
    .modal-dialog-bottom {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
    }

    .chat-modal-content {
        border-radius: 16px 16px 0 0;
        height: 90vh;
        max-width: 100%;
    }

    .chat-messages {
        height: calc(100vh - 160px);
    }
}


.nav-item.nav-link.active {
    color: #7AB730 !important;
    font-weight: 600;
    border-bottom: 2px solid #7AB730;
    transition: all 0.3s ease;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
}

.chat-header {
    background-color: #7AB730;
    padding: 16px;
    color: white;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.header-user-info {
    display: flex;
    flex-direction: column;
}

.header-user-name {
    font-size: 18px;
    font-weight: bold;
}

.user-status {
    display: flex;
    align-items: center;
    margin-top: 4px;
    font-size: 14px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    background-color: #bbb;
}

    .status-indicator.online {
        background-color: #00e676;
    }

    .status-indicator.offline {
        background-color: #bbb;
    }

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

.message {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 12px;
    margin: 8px 0;
    word-wrap: break-word;
    position: relative;
    font-size: 15px;
}

.sender {
    background-color: #dcf8c6;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.receiver {
    background-color: #f1f0f0;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.timestamp {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
    text-align: right;
}

.date-divider {
    align-self: center;
    background-color: #7AB730;
    color: white;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 16px;
    margin: 10px 0;
}

.chat-input-container {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
}

.input-actions {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

    .input-actions button {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        margin-right: 8px;
    }

.message-input {
    flex: 1;
    resize: none;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

.send-button {
    background-color: #7AB730;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

    .send-button:hover {
        background-color: #689f2e;
    }

.media-preview {
    max-width: 100%;
    margin-top: 8px;
    border-radius: 8px;
}

.emoji-picker {
    position: absolute;
    bottom: 70px;
    left: 20px;
    z-index: 100;
}

/* Custom Modal Styling */
/* Custom Modal Styling */
.custom-modal-dialog {
    max-width: 400px; 
    width: 90%; 
    max-height: 80vh; 
    overflow: hidden; 
}

/* For very small screens, adjust further */
@media (max-width: 576px) {
    .custom-modal-dialog {
        max-width: 80%; 
        width: 80%;
        max-height: 70vh; 
    }
}

/* For even smaller screens (portrait phones) */
@media (max-width: 400px) {
    .custom-modal-dialog {
        max-width: 90%; 
        width: 90%;  */
        max-height: 60vh; 
    }
}

/* Ensure the modal content fits well and looks clean */
.chat-modal-content {
    padding: 15px; 
    border-radius: 8px; 
    height: 100%; 
    display: flex;
    flex-direction: column;
}

/* Ensure the chat body is scrollable if the content overflows */
.chat-body {
    flex: 1; 
    overflow-y: auto; 
    margin-bottom: 15px; 
}

/* Ensure button and input fields are responsive */
#submitName, #userNameInput {
    width: 100%; 
    padding: 10px;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.media-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}


.ribbon {
    top: 10px;
    left: -10px;
    transform: rotate(-10deg);
    font-size: 0.85rem;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 20px rgba(122, 183, 48, 0.25);
    }

.summary-text {
    font-style: italic;
    transition: color 0.3s ease;
}

    .summary-text:hover {
        color: #7AB730;
    }

.add-to-cart-btn {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .add-to-cart-btn:hover {
        background-color: #6AA42D;
        transform: scale(1.05);
    }

.animate-img {
    transition: transform 0.4s ease;
}

    .animate-img:hover {
        transform: scale(1.07);
    }

.pagination .active .page-link {
    background-color: #7AB730;
    border-color: #7AB730;
}

.btn-outline-success:hover {
    background-color: #7AB730;
    color: white !important;
}

.nav-item.nav-link.active {
    color: #7AB730 !important;
    font-weight: 600;
    border-bottom: 2px solid #7AB730;
    transition: all 0.3s ease;
}

.other-puppies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.other-puppy-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .other-puppy-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .other-puppy-card img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

.cart-table {
    border-radius: 15px;
    overflow: hidden;
}

.cart-table th {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cart-row {
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

    .cart-row:hover {
        transform: scale(1.02);
        box-shadow: 0 6px 12px rgba(122, 183, 48, 0.15);
    }

.update-quantity {
    transition: all 0.3s ease;
}

    .update-quantity:hover {
        background-color: #7AB730;
        color: white;
        transform: scale(1.1);
    }

.delete-item-btn {
    transition: all 0.3s ease;
}

    .delete-item-btn:hover {
        transform: scale(1.1);
        background-color: #dc3545;
        color: white;
    }

.checkout-btn {
    transition: all 0.3s ease;
    border-radius: 12px;
}

    .checkout-btn:hover {
        background-color: #6AA42D;
        transform: scale(1.05);
    }

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input {
    -moz-appearance: textfield;
}

@media (max-width: 768px) {
    .table thead

{
    display: none;
}

.table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 10px;
}

.table tbody td {
    display: flex;
    justify-content: space-between;
    text-align: right;
    border: none;
    padding: 8px 10px;
}

    .table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
        color: #7AB730;
    }

.checkout-btn {
    width: 100%;
    text-align: center;
}

}
.payment-button-container {
    text-align: right;
    margin-top: 20px;
}

.payment-button-container .btn {
    margin-right: 30px; /* Optional, adds space from the edge */
}

/* Card Styles */
.login-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* Decorative Lock Icon */
.lock-icon i {
    font-size: 80px;
    color: #7AB730;
    margin-bottom: 20px;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    0%

{
    transform: translateY(0);
}

100% {
    transform: translateY(-10px);
}

}

/* Label icons */
label i {
    color: #7AB730;
    font-size: 18px;
    margin-right: 8px;
}

/* Password toggle */
.password-toggle {
    cursor: pointer;
    color: #7AB730;
    transition: color 0.3s ease;
}

    .password-toggle:hover {
        color: #5C8C24;
    }

/* Input fields */
.form-control {
    border-radius: 10px;
}

/* Button */
.btn-success {
    background-color: #7AB730;
    border: none;
}

    .btn-success:hover {
        background-color: #5C8C24;
    }

<!-- Animate.css for fade-in -->


.login-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.lock-icon {
    font-size: 80px;
    color: #7AB730;
    animation: bounce 1s infinite alternate;
}

.password-toggle {
    cursor: pointer;
    color: #7AB730;
    transition: color 0.3s ease;
}

    .password-toggle:hover {
        color: #ffa533;
    }

@keyframes bounce {
    0%

{
    transform: translateY(0);
}

100% {
    transform: translateY(-10px);
}

}

.form-control {
    border-radius: 10px;
}

.btn-warning {
    background-color: #7AB730;
    border: none;
}

    .btn-warning:hover {
        background-color: #7AB730;
    }

.video-thumb-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.puppy-thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Prevents video controls from appearing in thumbnail */
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.video-thumb-container:hover .video-play-icon {
    opacity: 1;
}

.video-thumb-container .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
}

.puppy-thumb.active {
    border: 3px solid #007bff;
    opacity: 1;
}

.pending-video-placeholder {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #6c757d;
}

.failed-video-placeholder {
    width: 100%;
    height: 100%;
    background: #f8d7da;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #dc3545;
}

.video-thumb-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    width: 100px;
    height: 75px;
}


