/* Apply small paw cursor */
body,
* {
    cursor: url('../images/svgs/paw.png') 16 16, auto !important;
}

a,
button {
    cursor: url('../images/svgs/paw.png') 16 16, pointer !important;
}

input,
textarea,
select {
    cursor: url('../images/svgs/paw.png') 16 16, text !important;
}



.hero-section {
    background: url('../images/testimonial bg.png') center/cover no-repeat;
    padding-top: 90px;
    /* approximate height of navbar */
}

/* Navbar Background and Sticky */
.navbar.fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

body {
    padding-top: 90px;
    /* Adjust this to match navbar height */
}


/* Title font-size (since Bootstrap doesn’t provide 2.4rem by default) */
.hero-title {
    /* font-size: 2.4rem; */
    font-size: 3.1rem;
    color: #0B3B2E;
}

/* Highlight spans */
.highlight {
    color: #E7A326;
}

/* Divider style */
.hero-divider {
    width: 110px;
    height: 4px;
    background: #1B4D3E;
    border: none;
    opacity: 1;
}

/* Paragraph default styling */
.hero-desc {
    font-size: 1rem;
    color: #444;
    max-width: 520px;
}

/* Button customizations */
.hero-btn {
    background-color: #0F4C39;
    color: #fff;
    padding: 0.875rem 1.625rem;
    /* 14px 26px approx */
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
}

/* Hover effect */
.hero-btn:hover {
    background-color: #0c3c2d;
    /* Slightly darker green */
    color: #fff;
    transform: translateY(-3px);
    /* Lift effect */
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Paw icon size */
.paw-icon {
    width: 28px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Video max width and shape */
.hero-video {
    /* max-width: 480px; */
    max-width: 480px;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 30px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-video {
        border-radius: 20px;
    }
}

.card-hover {
    transition: transform 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
}

.stakeholder-pill {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.stakeholder-pill.show {
    opacity: 1;
}

.tagline-section {
    background-image: url('../images/testimonial\ bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Heading Styling */
.tagline-heading {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0B3B2E;
}

.highlight-text {
    color: #E7A326;
}

/* Floating Image Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.dog-float {
    animation: float 2s ease-in-out infinite;
}


.community-card {
    border-right: 5px solid #0B3B2E;
    border-bottom: 5px solid #0B3B2E;
    border-top: none;
    border-left: none;
    transition: transform 0.3s;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px 2px rgba(11, 59, 46, 0.5);
    /* subtle uniform glow */
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e5e5e5;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    /* allows text to stretch naturally */
    height: 100%;
    /* forces equal height */
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 12px rgba(11, 59, 46, 0.25);
}

.testimonial-name {
    font-weight: 600;
    color: #0B3B2E;
}

.testimonial-role {
    font-size: 0.95rem;
    color: #555;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
}

.community-card {
    position: relative;
    background: #ffffff;
    border-bottom: 7px solid #0F4C39;
    border-right: 7px solid #0F4C39;
    border-radius: 22px;
    padding: 35px 24px 40px;
    text-align: center;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);

    /* same width for all cards */
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}


/* image spacing inside cards */
.community-card img {
    width: 70px;
    height: auto;
    margin: 0 auto 18px auto;
}

/* stakeholders section css */
.stakeholder-section {
    padding: 100px 0 120px;
    /* background-image: url('../images/gradient-bg.png'); */
    background-size: cover;
    background-position: left top;
    overflow: hidden;
    /* Add this */
}

.stakeholder-title {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 700;
    color: #0B3B2E;
}

.stakeholder-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #555;
    max-width: 900px;
    margin: 10px auto 40px auto;
}

/* Orbit Area - FIXED */
.stakeholder-orbit {
    position: relative;
    width: 100%;
    min-height: 520px;
    max-width: 1100px;
    margin: 0 auto;
    overflow: visible;
    /* Changed from hidden to visible */
    z-index: 1;
}

/* Pills Base Styling */
.stakeholder-pill {
    position: absolute;
    background: #fff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: #0B3B2E;
    box-shadow: 0 0 22px rgba(255, 200, 0, 0.45);
    white-space: normal;
    text-align: center;
    padding: 10px 20px;
    opacity: 0;
    transition: opacity .5s ease-out;

    /* Reduced size to prevent overflow */
    width: 190px;
    /* Reduced from 200px */
    min-height: 60px;
    font-size: 1rem;
    line-height: 1.2;
}

.stakeholder-pill img {
    width: 28px;
    flex-shrink: 0;
}

.stakeholder-pill span {
    display: block;
    line-height: 1.2;
}

/* === ADJUSTED POSITIONING TO PREVENT OVERFLOW === */


/* Reposition hidden anchor to center so its paw overlaps */
.stakeholder-pill.top-center {
    top: 65% !important;
    /* SAME as logo */
    left: 50% !important;
    transform: translate(-50%, -50%) !important;

    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Prevent JS show class from reviving it */
.stakeholder-pill.top-center.show {
    opacity: 0 !important;
}



/* Left Side - Vets - MOVED INWARD */
.stakeholder-pill.vets {
    top: 30%;
    left: 2%;
    /* Reduced from 5% */
    transform: translateY(-50%);
}

/* Left Bottom - Pet Parents - MOVED INWARD */
.stakeholder-pill.pet-parents {
    bottom: 25%;
    left: 2%;
    /* Reduced from 5% */
    transform: translateY(50%);
}

/* Right Side - Municipalities - MOVED INWARD */
.stakeholder-pill.municipalities {
    top: 30%;
    right: 2%;
    /* Reduced from 5% */
    transform: translateY(-50%);
}

/* Right Bottom - Caring Citizens - MOVED INWARD */
.stakeholder-pill.caring-citizens {
    bottom: 25%;
    right: 2%;
    /* Reduced from 5% */
    transform: translateY(50%);
}

/* Logo */
.stakeholder-logo {
    position: absolute;
    left: 50%;
    top: 58%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: auto;
}

.stakeholder-paw-template {
    /* template should live inside .stakeholder-orbit, not fixed to viewport */
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    opacity: 0.01;
    pointer-events: none;
    z-index: 0;
    /* keep it behind the navbar */
}


/* Cloned Paw for Animation */
/* Add this to your existing CSS */
.paw-clone {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    /* Smoother transitions for resize updates */
    transition:
        top 0.3s ease,
        left 0.3s ease,
        opacity 0.4s ease,
        transform 0.3s ease;
    width: 40px;
    height: auto;
}

/* Ensure pills stay visible during resize */
.stakeholder-pill.show {
    opacity: 1 !important;
    transition: opacity 0.2s ease !important;
}

/* Add this to prevent flickering during resize */
.stakeholder-orbit {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ===== RESPONSIVE ADJUSTMENTS - FIXED ===== */

/* Large screens - adjust spacing */
@media (min-width: 1200px) {


    .stakeholder-pill {
        width: 200px;
        /* Back to original on large screens */
    }

    .stakeholder-pill.vets,
    .stakeholder-pill.pet-parents {
        left: 3%;
        /* Slightly more space on large screens */
    }

    .stakeholder-pill.municipalities,
    .stakeholder-pill.caring-citizens {
        right: 3%;
        /* Slightly more space on large screens */
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    .stakeholder-orbit {
        min-height: 500px;
        max-width: 95%;
        /* Use percentage instead of fixed px */
    }

    .stakeholder-pill {
        width: 170px;
        /* Smaller for tablet */
        min-height: 55px;
        padding: 8px 15px;
        font-size: 0.95rem;
    }

    .stakeholder-pill img {
        width: 24px;
    }

    .stakeholder-pill.vets,
    .stakeholder-pill.pet-parents {
        left: 1%;
        /* Even closer on tablet */
    }

    .stakeholder-pill.municipalities,
    .stakeholder-pill.caring-citizens {
        right: 1%;
        /* Even closer on tablet */
    }

    .stakeholder-logo {
        width: 200px;
        top: 60%;
    }

    .stakeholder-pill.vets {
        top: 23%;
    }

    .stakeholder-pill.municipalities {
        top: 23%;
    }

    .paw-clone {
        width: 35px;
    }
}

/* Small tablets (576px to 767px) */
@media (max-width: 767px) {
    .stakeholder-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .stakeholder-orbit {
        min-height: 450px;
        max-width: 100%;
        /* Full width */
    }

    .stakeholder-pill {
        width: 150px;
        /* Even smaller */
        min-height: 50px;
        padding: 6px 12px;
        font-size: 0.9rem;
        gap: 8px;
    }

    .stakeholder-pill img {
        width: 22px;
    }

    .stakeholder-pill.vets {
        top: 22%;
        left: 0.5%;
        /* Almost at edge */
    }

    .stakeholder-pill.pet-parents {
        bottom: 22%;
        left: 0.5%;
        /* Almost at edge */
    }

    .stakeholder-pill.municipalities {
        top: 22%;
        right: 0.5%;
        /* Almost at edge */
    }

    .stakeholder-pill.caring-citizens {
        bottom: 22%;
        right: 0.5%;
        /* Almost at edge */
    }

    .stakeholder-pill.top-center {
        top: 4%;
    }

    .stakeholder-logo {
        width: 180px;
        top: 55%;
    }

    .paw-clone {
        width: 30px;
    }
}

/* Mobile phones (up to 575px) */
@media (max-width: 575px) {
    .stakeholder-section {
        padding: 60px 8px 80px;
        /* Reduced side padding */
    }

    .stakeholder-orbit {
        min-height: 400px;
        max-width: 100%;
    }

    .stakeholder-pill {
        width: 130px;
        /* Much smaller for mobile */
        min-height: 45px;
        padding: 5px 10px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .stakeholder-pill img {
        width: 20px;
    }

    .stakeholder-pill.vets {
        top: 20%;
        left: 0%;
        /* At edge */
    }

    .stakeholder-pill.pet-parents {
        bottom: 20%;
        left: 0%;
        /* At edge */
    }

    .stakeholder-pill.municipalities {
        top: 20%;
        right: 0%;
        /* At edge */
        font-size: 12px;
    }

    .stakeholder-pill.caring-citizens {
        bottom: 20%;
        right: 0%;
        /* At edge */
    }

    .stakeholder-pill.top-center {
        top: 3%;
    }

    .stakeholder-logo {
        width: 140px;
        top: 50%;
    }

    .paw-clone {
        width: 25px;
    }
}

/* Extra small phones */
@media (max-width: 375px) {
    .stakeholder-section {
        padding: 50px 5px 70px;
        /* Minimal side padding */
    }

    .stakeholder-orbit {
        min-height: 380px;
    }

    .stakeholder-pill {
        width: 120px;
        /* Smallest size */
        min-height: 40px;
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    .stakeholder-pill img {
        width: 18px;
    }

    .stakeholder-logo {
        width: 140px;
    }

    .paw-clone {
        width: 20px;
    }
}

/* IMPORTANT: Add this to fix container overflow */
.container {
    overflow: hidden;
    /* Prevent horizontal scroll */
}


/* Contact / Book A Demo Button */
.btn-contact {
    background: #EFCB45;
    color: #114C39;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 14px;
    border: none;
    text-align: center;
}

.btn-contact:hover {
    background: #EFCB45;
    color: #114C39;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}



/* Slide-in animation */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply to list items */
.slide-list .slide-in {
    opacity: 0;
    /* Start hidden */
    animation-name: slideInLeft;
    animation-duration: 3s;
    /* very slow */
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
    /* smooth deceleration */
}

/* Delay each item for cascading effect */
.slide-list .slide-in:nth-child(1) {
    animation-delay: 0.5s;
}

.slide-list .slide-in:nth-child(2) {
    animation-delay: 1s;
}

.slide-list .slide-in:nth-child(3) {
    animation-delay: 1.5s;
}

.slide-list .slide-in:nth-child(4) {
    animation-delay: 2s;
}

.slide-list .slide-in:nth-child(5) {
    animation-delay: 2.5s;
}


.glow-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;

    box-shadow: 0 0 0px rgba(0, 255, 150, 0.0);
    /* initial */
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 8px rgba(0, 180, 120, 0.3),
            0 0 15px rgba(0, 180, 120, 0.2);
    }

    50% {
        box-shadow: 0 0 18px rgba(0, 180, 120, 0.55),
            0 0 30px rgba(0, 180, 120, 0.35);
    }

    100% {
        box-shadow: 0 0 8px rgba(0, 180, 120, 0.3),
            0 0 15px rgba(0, 180, 120, 0.2);
    }
}