/* Reset and Base Styles */
:root {
    /* Original Colors from index3.html */
    --primary-color: #00796b;
    --secondary-color: #009688;
    /* --light-color: #ffffff;
    --accent-color: #e0f2f1;
    --highlight: #ffeb3b; */
    --dark-overlay-color: rgba(0, 70, 60, 0.5);
    /* Overlay for background */
    /* Original Glass Values */
    --glass-bg-value: rgba(0, 121, 107, 0.25);
    --glass-border: rgba(224, 242, 241, 0.35);
    --shadow-dark: rgba(0, 60, 50, 0.25);
    /* Original Text Muted */
    /* --text-muted: rgba(240, 240, 240, 0.85);
    --text-strong: #ffffff; */
    /* Original Header/Footer Values */
    --header-bg: rgba(0, 150, 136, 0.7);
    --header-blur: 18px;
    --footer-bg: rgba(60, 90, 60, 0.6);
    --footer-blur: 15px;
    /* Original Card background (derived for consistency) */
    --card-glass-bg: rgba(60, 90, 60, 0.15);
    --card-glass-bg-hover: rgba(60, 90, 60, 0.25);
    /* Original Accordion Button/Body (derived for consistency) */

    --accordion-body-bg: rgba(0, 121, 107, 0.1);

    /* Added for Call Button Pulse consistency */
    --pulse-color-rgb: 0, 121, 107;
    --original-pulse-color-rgb: 255, 107, 107;
    /* RGB equivalent of --primary-color */

    /* New Variables for Modal Glass Effect */
    --modal-glass-bg: #304DC0;
    /* Adjusted alpha for better text legibility */
    --modal-glass-blur: 10px;
    --modal-glass-border: rgba(224, 242, 241, 0.25);
    --modal-shadow: rgba(0, 40, 30, 0.35);

    /* Variables for Mobile CTA Glass Effect */
    --mobile-cta-glass-bg: #304DC0;
    --mobile-cta-glass-blur: 8px;
    --mobile-cta-glass-border: rgba(224, 242, 241, 0.2);
    --secondary-color-rgb: 0, 150, 136;
    /* Assuming --secondary-color is #009688 */

    /* Variables for Mobile Menu Glass Effect - Updated for better legibility */
    --mobile-menu-glass-bg: rgba(0, 100, 90, 0.98);
    /* Darker, more opaque glass for mobile menu, similar to modal but more solid */
    --mobile-menu-glass-blur: 12px;
    /* Consistent blur */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-image: url('../images/bg_image_paws.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    min-height: 100vh;
    position: relative;
    overflow-x: clip;
    line-height: 1.6;
    color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('../images/bg_image_paws.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    -webkit-filter: blur(20px);
    filter: blur(20px);
    z-index: -2;
    display: none;
}

body::after {
    content: none;
}

@media (min-width: 768px) {
    body::before {
        display: block;
    }
}

main {
    position: relative;
    z-index: 1;
}

/* Sections */
#about,
#pets,
#services,
#adoption,
#testimonials,
#faq,
#contact {
    position: relative;
    overflow: visible;
    background-color: transparent;
    padding: 2rem 0;
}

#pets .container .glass-container,
#services .container .glass-container,
#adoption .container .glass-container,
#testimonials .container .glass-container,
#faq .container .glass-container,
#contact .container .glass-container {
    border-radius: 20px;
    background-image: url('../images/bg_image1.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.glass-container {
    border-radius: 20px;
    background-image: url('../images/bg_image1.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Glassmorphism Base Styles */
.glass {
    background: var(--glass-bg-value);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    -webkit-box-shadow: 0 10px 30px var(--shadow-dark);
    box-shadow: 0 10px 30px var(--shadow-dark);
    padding: 2.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.glass>* {
    position: relative;
    z-index: 1;
}

/* Header & Navigation */
.navbar-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(var(--header-blur));
    backdrop-filter: blur(var(--header-blur));
    border-bottom: 1px solid var(--glass-border);
    -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 0;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

.navbar {
    padding: 0.5rem 0;
    margin: 0 auto;
    max-width: 1140px;
    background: none !important;
    border: none;
    box-shadow: none;
    border-radius: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    position: static;
}

.navbar>.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color) !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.5rem;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -moz-transition: transform 0.3s ease, -moz-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease, -moz-transform 0.3s ease;
}

.navbar-brand:hover {
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -ms-transform: scale(1.02);
    -o-transform: scale(1.02);
    transform: scale(1.02);
}

.navbar-brand img {
    max-height: 90px;
    width: auto;
} */

/* .navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.95rem;
    margin-left: 0.25rem;
} */

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    /* color: var(--text-strong) !important; */
}

/* Custom style for the navigation 'Enquire Now' button */
#enquire-nav-btn {
    background: rgba(224, 242, 241, 0.15) !important;
    color: var(--text-strong) !important;
    padding: 0.6rem 1rem !important;
    border-radius: 50px !important;
}

#enquire-nav-btn:hover {
    background: rgba(224, 242, 241, 0.25) !important;
    color: var(--text-strong) !important;
}

.navbar-nav .nav-item>#enquire-nav-btn.btn-sm {
    padding: 0.6rem 1rem !important;
}


/* Mobile menu styles */
@media (max-width: 991.98px) {
    .navbar-wrapper {
        margin-bottom: 0;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.4) !important;
        margin-right: 15px;
    }

    .navbar-toggler:focus {
        -webkit-box-shadow: 0 0 0 0.2rem rgba(224, 242, 241, 0.25);
        box-shadow: 0 0 0 0.2rem rgba(224, 242, 241, 0.25);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        z-index: 1001;
        background: var(--mobile-menu-glass-bg);
        /* Using updated darker glass variable */
        -webkit-backdrop-filter: blur(var(--mobile-menu-glass-blur));
        backdrop-filter: blur(var(--mobile-menu-glass-blur));
        border-radius: 12px;
        border: 1px solid var(--glass-border);
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin-bottom: 0.25rem;
        text-align: left !important;
        width: 100%;
        /* Ensure links take full width for text alignment */
    }

    .navbar-nav {
        align-items: flex-start !important;
        /* Ensures items align to the start (left) */
        width: 100%;
        /* Ensure the ul takes full width */
    }


    .glass {
        padding: 2rem;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Button Styles */
/* .btn-custom {
    background: -webkit-linear-gradient(135deg, var(--highlight), var(--accent-color));
    background: -moz-linear-gradient(135deg, var(--highlight), var(--accent-color));
    background: -o-linear-gradient(135deg, var(--highlight), var(--accent-color));
    background: linear-gradient(135deg, var(--highlight), var(--accent-color));
    color: #004d40;
    border: none;
    -webkit-box-shadow: 0 5px 15px var(--shadow-dark);
    box-shadow: 0 5px 15px var(--shadow-dark);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: -webkit-linear-gradient(135deg, var(--accent-color), var(--highlight));
    background: -moz-linear-gradient(135deg, var(--accent-color), var(--highlight));
    background: -o-linear-gradient(135deg, var(--accent-color), var(--highlight));
    background: linear-gradient(135deg, var(--accent-color), var(--highlight));
    -webkit-transform: translateY(-4px) scale(1.03);
    -moz-transform: translateY(-4px) scale(1.03);
    -ms-transform: translateY(-4px) scale(1.03);
    -o-transform: translateY(-4px) scale(1.03);
    transform: translateY(-4px) scale(1.03);
    color: #004d40;
    -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-custom:active {
    -webkit-transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    -o-transform: translateY(-1px);
    transform: translateY(-1px);
}

.btn-custom:not(:disabled) {
    /* Gradient is already applied */
}

.btn-custom:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
} */

/* Hero Section ... (rest of the CSS remains the same) */
.hero {
    position: relative;
    height: 65vh;
    min-height: 480px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0;
    padding: 0;
    will-change: transform;
    background: rgba(0, 150, 136, 0.15);
    -webkit-box-shadow: 0 10px 30px var(--shadow-dark);
    box-shadow: 0 10px 30px var(--shadow-dark);
    margin-top: 2rem;
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    -webkit-transition: opacity 1.2s ease-in-out;
    -moz-transition: opacity 1.2s ease-in-out;
    -o-transition: opacity 1.2s ease-in-out;
    transition: opacity 1.2s ease-in-out;
    -webkit-filter: brightness(0.8);
    filter: brightness(0.8);
}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: url('../images/bg_image.png');
    background-position: top;
}

.slide-2 {
    background-image: url('../images/bg_image_2.jpg');
}

.slide-3 {
    background-image: url('../images/bg_image_3.jpg');
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.35);
}

.hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.25;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    -webkit-text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    color: var(--text-strong);
}

.hero p {
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 750px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    -webkit-text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.button-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 1.2rem;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* Section Styling */
.section-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
}

.section-title h1,
.section-title h2,
.section-title h3 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    text-align: center;
    margin: 0;
    color: var(--text-strong);
}

.section-title .paw-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    opacity: 0.9;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.15rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-img img {
    display: block;
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: -webkit-transform 0.5s ease;
    -moz-transition: transform 0.5s ease, -moz-transform 0.5s ease;
    -o-transition: transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease, -moz-transform 0.5s ease;
}

.about-img:hover img {
    -webkit-transform: scale(1.04);
    -moz-transform: scale(1.04);
    -ms-transform: scale(1.04);
    -o-transform: scale(1.04);
    transform: scale(1.04);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-list,
.adoption-list {
    list-style: none;
    margin: 2rem 0;
    padding-left: 0;
}

.about-list li,
.adoption-list li {
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 2.8rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.about-list li i,
.adoption-list li i {
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.4rem;
    width: 2rem;
    text-align: center;
    opacity: 0.9;
}

.about-list li::before,
.adoption-list li::before {
    content: none;
}

/* Card Styles (Shared) */
.card-custom,
.pet-card,
.service-card,
.testimonial-card {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background: var(--card-glass-bg);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    -webkit-box-shadow: 0 8px 24px var(--shadow-dark);
    box-shadow: 0 8px 24px var(--shadow-dark);
    margin-bottom: 1.5rem;
}

.card-custom:hover,
.pet-card:hover,
.service-card:hover,
.testimonial-card:hover {
    -webkit-transform: translateY(-8px);
    -moz-transform: translateY(-8px);
    -ms-transform: translateY(-8px);
    -o-transform: translateY(-8px);
    transform: translateY(-8px);
    -webkit-box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
    background: var(--card-glass-bg-hover);
}

/* Pets Section Specifics */
.pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.pet-img {
    height: auto;
    width: 100%;
    display: block;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    padding-top: 100%;
    position: relative;
}

.pet-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: -webkit-transform 0.5s ease;
    -moz-transition: transform 0.5s ease, -moz-transform 0.5s ease;
    -o-transition: transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease, -moz-transform 0.5s ease;
}

.pet-card:hover .pet-img img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.pet-info {
    padding: 1.5rem;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.pet-info h4,
.pet-info h3 {
    /* Added h3 for consistency */
    margin-bottom: 0.75rem;
    color: var(--text-strong);
    font-size: 1.4rem;
}

.pet-details {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.pet-details li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.pet-details li i {
    margin-right: 0.6rem;
    color: var(--accent-color);
    font-size: 0.9rem;
    width: 1.1em;
    text-align: center;
    opacity: 0.9;
}

.pet-details li span {
    color: var(--text-strong);
    font-weight: 500;
    margin-left: 0.25rem;
}

.pet-button {
    width: 100%;
    margin-top: auto;
}

.vet-check-info {
    text-align: center;
    margin-top: 3rem;
    padding: 1.8rem;
    background: rgba(224, 242, 241, 0.1);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.vet-check-info p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.vet-check-info i {
    color: var(--accent-color);
    margin-right: 0.75rem;
    font-size: 1.3rem;
}

.text-highlight {
    color: var(--highlight);
    font-weight: 600;
}

/* Services Section Specifics */
.service-card {
    padding: 2.5rem;
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -moz-transition: transform 0.3s ease, -moz-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease, -moz-transform 0.3s ease;
}

.service-card:hover .service-icon {
    -webkit-transform: scale(1.12);
    -moz-transform: scale(1.12);
    -ms-transform: scale(1.12);
    -o-transform: scale(1.12);
    transform: scale(1.12);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-strong);
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.service-card .btn-custom {
    margin-top: auto;
}

/* Testimonials Section */
.testimonial-card {
    padding: 2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.testimonial-text:before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -0.5rem;
    left: -1rem;
    color: rgba(224, 242, 241, 0.2);
    font-size: 3.5rem;
    z-index: -1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-strong);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: auto;
}

.testimonial-author i {
    margin-right: 0.6rem;
    color: var(--accent-color);
}

/* --- FAQ Section --- */
.accordion-item {
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: transparent !important;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.accordion-item:not(:first-of-type) {
    border-top: 1px solid var(--glass-border);
}

.accordion-button {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-strong) !important;
    background: var(--accordion-btn-bg) !important;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    border: none;
    border-radius: 16px;
    text-align: left;
    font-size: 1.1rem;
    position: relative;
}

.accordion-button:not(.collapsed) {
    border-radius: 16px 16px 0 0;
    background: var(--accordion-btn-bg-open) !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-bottom: 1px solid var(--glass-border);
}

.accordion-button:hover {
    background: var(--accordion-btn-bg-hover) !important;
}

.accordion-button:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: rgba(224, 242, 241, 0.4);
    outline: 2px solid rgba(224, 242, 241, 0.3);
    outline-offset: 2px;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -moz-transition: transform 0.3s ease, -moz-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease, -moz-transform 0.3s ease;
    margin-left: auto;
    background-size: 1rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.accordion-button:not(.collapsed)::after {
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    background: var(--accordion-body-bg);
    border-radius: 0 0 16px 16px;
}

/* Footer & Contact Shared Box Style */
.footer-box {
    -webkit-backdrop-filter: blur(var(--footer-blur));
    backdrop-filter: blur(var(--footer-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    -webkit-box-shadow: 0 8px 24px var(--shadow-dark);
    box-shadow: 0 8px 24px var(--shadow-dark);
    padding: 2rem;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    height: 100%;
}

.footer-box:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--text-strong);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.5rem;
}

.footer-box h3 i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 3rem 0 1.5rem;
    margin-top: 0;
    position: relative;
}

footer>.container {
    border-radius: 0;
}

.footer-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 80%;
    max-height: 200px;
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.quick-links,
.contact-info {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.quick-links li {
    margin-bottom: 0.75rem;
}

.quick-links a,
.contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: inline-block;
}

.quick-links a i,
.contact-info li i {
    margin-right: 0.6rem;
    color: var(--accent-color);
    width: 1.2em;
    text-align: center;
    font-size: 0.9rem;
}

.quick-links a:hover,
.contact-info a:hover {
    color: var(--text-strong);
    -webkit-transform: translateX(4px);
    -moz-transform: translateX(4px);
    -ms-transform: translateX(4px);
    -o-transform: translateX(4px);
    transform: translateX(4px);
}

.contact-info li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.contact-info li i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.contact-info li div {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-links-vertical {
    list-style: none;
    padding-left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0;
}

.social-links-vertical li {
    margin-bottom: 0.5rem;
    opacity: 0;
    -webkit-transform: translateX(-10px);
    -moz-transform: translateX(-10px);
    -ms-transform: translateX(-10px);
    -o-transform: translateX(-10px);
    transform: translateX(-10px);
    -webkit-animation: fadeInRight 0.5s forwards;
    -moz-animation: fadeInRight 0.5s forwards;
    -o-animation: fadeInRight 0.5s forwards;
    animation: fadeInRight 0.5s forwards;
}

.social-links-vertical li:nth-child(1) {
    -webkit-animation-delay: 0.1s;
    -moz-animation-delay: 0.1s;
    -o-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.social-links-vertical li:nth-child(2) {
    -webkit-animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
    -o-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.social-links-vertical li:nth-child(3) {
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    -o-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.social-links-vertical li:nth-child(4) {
    -webkit-animation-delay: 0.7s;
    -moz-animation-delay: 0.7s;
    -o-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

.social-link-with-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    gap: 0.75rem;
}

.social-link-with-text i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(224, 242, 241, 0.1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link-with-text:hover {
    color: var(--text-strong);
    -webkit-transform: translateX(5px);
    -moz-transform: translateX(5px);
    -ms-transform: translateX(5px);
    -o-transform: translateX(5px);
    transform: translateX(5px);
}

.social-link-with-text:hover i {
    background: rgba(224, 242, 241, 0.2);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(224, 242, 241, 0.15);
    color: rgba(240, 240, 240, 0.65);
    font-size: 0.9rem;
    margin-top: 2rem;
}

.copyright a {
    color: var(--accent-color);
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

.copyright a:hover {
    color: var(--highlight);
}

.copyright i.fas.fa-heart {
    color: #e86a6a;
    -webkit-animation: heartbeat 1.5s infinite;
    -moz-animation: heartbeat 1.5s infinite;
    -o-animation: heartbeat 1.5s infinite;
    animation: heartbeat 1.5s infinite;
}

/* Form Control Styling */
.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-strong);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    -webkit-transition: border-color 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: border-color 0.3s ease, -webkit-box-shadow 0.3s ease;
    -moz-transition: border-color 0.3s ease, box-shadow 0.3s ease, -moz-box-shadow 0.3s ease;
    -o-transition: border-color 0.3s ease, box-shadow 0.3s ease;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease, -moz-box-shadow 0.3s ease;
}

.form-control::-webkit-input-placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-control::-moz-placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-control:-ms-input-placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-control::-ms-input-placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(224, 242, 241, 0.4);
    -webkit-box-shadow: 0 0 0 0.2rem rgba(224, 242, 241, 0.15);
    box-shadow: 0 0 0 0.2rem rgba(224, 242, 241, 0.15);
    color: var(--text-strong);
    outline: none;
}

textarea.form-control {
    min-height: 120px;
}

/* Animations */
@-webkit-keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translateX(-10px);
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-moz-keyframes fadeInRight {
    from {
        opacity: 0;
        -moz-transform: translateX(-10px);
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        -moz-transform: translateX(0);
        transform: translateX(0);
    }
}

@-o-keyframes fadeInRight {
    from {
        opacity: 0;
        -o-transform: translateX(-10px);
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translateX(-10px);
        -moz-transform: translateX(-10px);
        -o-transform: translateX(-10px);
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes heartbeat {

    0%,
    70% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    14%,
    42% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }

    28% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes heartbeat {

    0%,
    70% {
        -moz-transform: scale(1);
        transform: scale(1);
    }

    14%,
    42% {
        -moz-transform: scale(1.3);
        transform: scale(1.3);
    }

    28% {
        -moz-transform: scale(1);
        transform: scale(1);
    }
}

@-o-keyframes heartbeat {

    0%,
    70% {
        -o-transform: scale(1);
        transform: scale(1);
    }

    14%,
    42% {
        -o-transform: scale(1.3);
        transform: scale(1.3);
    }

    28% {
        -o-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes heartbeat {

    0%,
    70% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }

    14%,
    42% {
        -webkit-transform: scale(1.3);
        -moz-transform: scale(1.3);
        -o-transform: scale(1.3);
        transform: scale(1.3);
    }

    28% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {

    #about,
    #pets,
    #services,
    #adoption,
    #testimonials,
    #faq,
    #contact {
        padding: 2rem 0;
    }

    .footer-box {
        margin-bottom: 1.5rem;
    }

    .row>div:last-child .footer-box {
        margin-bottom: 0;
    }

    .pets-grid {
        grid-template-columns: 1fr;
    }

    .glass {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .hero p {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }

    .section-title h1,
    .section-title h2,
    .section-title h3 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .about-text p,
    .about-list li,
    .adoption-list li {
        font-size: 1rem;
    }

    .glass {
        padding: 1.5rem;
    }

    .btn-custom {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-box {
        padding: 1.5rem;
    }
}

/* Fallbacks for no backdrop-filter support */
@supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    body {
        background-image: none !important;
        background: -webkit-linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
        background: -moz-linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
        background: -o-linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
        background-color: var(--primary-color) !important;
    }

    body::before {
        content: none !important;
    }

    .navbar-wrapper {
        background: rgba(0, 150, 136, 0.95) !important;
        /* More opaque fallback */
    }

    .footer-box {
        background: rgba(0, 121, 107, 0.95) !important;
    }

    .glass {
        background: rgba(0, 121, 107, 0.9) !important;
    }

    .navbar-collapse {
        /* Fallback for mobile menu */
        background: rgba(0, 100, 90, 0.97) !important;
        /* Fallback matching darker theme intent */
    }

    .card-custom,
    .pet-card,
    .service-card,
    .testimonial-card,
    .accordion-button,
    .accordion-body {
        background: rgba(0, 150, 136, 0.85) !important;
    }

    .enqPopupFranklin .modal-content {
        /* Fallback for modal */
        background: rgba(0, 100, 90, 0.98) !important;
        /* Almost solid, but distinct */
    }

    .enqPopupFranklin .modal-header {
        background: rgba(0, 120, 110, 0.95) !important;
        /* Adjusted to be slightly different than content */
    }

    .enq-popup-pj-highlights-franklin {
        background-color: rgba(0, 0, 0, 0.25) !important;
        /* Darker highlight area */
    }

    .category-badge,
    .info-badge {
        background: rgba(224, 242, 241, 0.3) !important;
        border: 1px solid rgba(224, 242, 241, 0.4) !important;
    }

    .mob-ft-cta {
        /* Fallback for mobile CTA bar */
        background-color: rgba(0, 121, 107, 0.95) !important;
        /* More opaque primary color */
        border-top-color: rgba(224, 242, 241, 0.3) !important;
    }

    .mob-ft-cta a:not(:first-child) {
        border-left-color: rgba(224, 242, 241, 0.3) !important;
    }
}

/* Scroll-to-top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--highlight);
    color: var(--primary-color);
    border: none;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, -webkit-transform 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, -webkit-transform 0.3s ease;
    -moz-transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, transform 0.3s ease, -moz-transform 0.3s ease;
    -o-transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease, -moz-transform 0.3s ease;
    z-index: 1049;
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

/* Accessibility focus indicators */
*:focus-visible {
    outline: 3px solid var(--highlight);
    outline-offset: 2px;
}


/* === Styles Specific to Dog Breeds Page (from dog-breeds.html <style>) === */

/* Category Badge Colors */
.category-badge {
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.toy-badge {
    background: linear-gradient(135deg, #ff7eb9, #ff6392);
}

.family-friendly-badge {
    background: linear-gradient(135deg, #28a745, #218838);
}

.guard-dogs-badge {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.active-badge {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.fancy-badge {
    background: linear-gradient(135deg, #6f42c1, #5a32a3);
}

.indian-breeds-badge {
    background: linear-gradient(135deg, #fd7e14, #f56300);
}

.sporting-badge {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

.unknown-badge {
    background: #6c757d;
}

/* Breeds page section title */
.breeds-section-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 25px;
    color: var(--text-strong);
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    text-align: left;
}

.breeds-section-title:after {
    display: none;
}

/* Category Filter Dropdown */
.category-filter-dropdown .dropdown-toggle {
    background: linear-gradient(135deg, var(--highlight), var(--accent-color));
    color: #004d40;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--shadow-dark);
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: left;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

.category-filter-dropdown .dropdown-toggle:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--highlight));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.category-filter-dropdown .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--glass-border);
    padding: 5px 0;
    overflow: hidden;
    min-width: 200px;
    background: var(--glass-bg-value);
    backdrop-filter: blur(10px);
    z-index: 1050;
}

.category-filter-dropdown .dropdown-item {
    padding: 10px 20px;
    transition: all 0.2s ease;
    font-weight: 500;
    color: var(--text-muted);
}

.category-filter-dropdown .dropdown-item:hover {
    background-color: rgba(224, 242, 241, 0.1);
    color: var(--text-strong);
}

.category-filter-dropdown .dropdown-item.active {
    background: linear-gradient(135deg, var(--highlight), var(--accent-color));
    color: #004d40;
}

.category-filter-dropdown .dropdown-divider {
    border-top: 1px solid var(--glass-border);
}

/* Hide/Show Category Sections */
.category-section {
    display: none;
    width: 100%;
    padding-top: 1.5rem;
}

.category-section.active {
    display: block;
}

/* Card Design Adjustments from dog-breeds.html (Applied within .pet-card) */
.pet-card .category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.pet-card .breed-highlights {
    margin-bottom: 15px;
    min-height: 70px;
    flex-grow: 1;
}

.pet-card .highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6px;
}

.pet-card .highlight-icon {
    color: var(--highlight);
    margin-right: 8px;
    margin-top: 3px;
    font-size: 0.8rem;
    width: 1em;
    text-align: center;
}

.pet-card .highlight-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.pet-card .breed-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
}

.pet-card .availability-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 150, 136, 0.8);
    color: white;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(224, 242, 241, 0.3);
}

.pet-card .know-more-btn {
    font-size: 0.85rem;
    padding: 8px 18px;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50px;
}

.category-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
    padding-left: 0;
}

.category-pagination button {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
    font-weight: 500;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
}

.category-pagination button:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--highlight), var(--accent-color));
    color: #004d40;
    box-shadow: 0 4px 10px var(--shadow-dark);
    border-color: transparent;
}

.category-pagination button.active {
    background: linear-gradient(135deg, var(--highlight), var(--accent-color));
    color: #004d40;
    box-shadow: 0 4px 10px var(--shadow-dark);
    border-color: transparent;
    font-weight: 700;
}

.category-pagination button:disabled {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(224, 242, 241, 0.2);
    color: rgba(240, 240, 240, 0.4);
    cursor: default;
    box-shadow: none;
    opacity: 0.6;
}

.category-pagination .pagination-ellipsis {
    padding: 8px 10px;
    color: var(--text-muted);
    align-self: center;
}

/* Swiper Mobile */
.related-breeds-carousel-mobile .swiper-slide {
    height: auto;
    display: flex;
}

.related-breeds-carousel-mobile .swiper-slide>.pet-card {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-breeds-carousel-mobile .swiper-slide>.pet-card .pet-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-breeds-carousel-mobile .swiper-slide>.pet-card .pet-button {
    margin-top: auto;
}

.related-breed-nav-mobile {
    position: relative;
    z-index: 10;
}

.related-prev-btn-mobile,
.related-next-btn-mobile {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    line-height: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.related-prev-btn-mobile:hover,
.related-next-btn-mobile:hover {
    transform: scale(1.1);
}

/* Glassy Info Badge Styles */
.info-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-strong);
    background: rgba(224, 242, 241, 0.15);
    border: 1px solid rgba(224, 242, 241, 0.25);
    border-radius: 15px;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    backdrop-filter: blur(5px);
}

.info-badge.category-badge {
    background: rgba(0, 150, 136, 0.2);
    border-color: rgba(0, 150, 136, 0.3);
}

.info-badge.size-badge {
    background: rgba(255, 235, 59, 0.15);
    border-color: rgba(255, 235, 59, 0.3);
}

.badge-container {
    margin-bottom: 1rem;
}

/* Breed Details Page Specific Styles */
.breed-image-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    height: 100%;
}

.breed-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.breed-image-container:hover img {
    transform: scale(1.04);
}

.health-alert {
    background: rgba(239, 71, 111, 0.1);
    border-left: 4px solid #EF476F;
    padding: 15px;
    border-radius: 0 8px 8px 0;
}

.characteristic-box {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.characteristic-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.characteristic-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(224, 242, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.care-section {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.care-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.care-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(224, 242, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.care-details {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.care-details li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.care-details li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0.5rem;
}

.care-details li strong {
    color: var(--text-strong);
    font-weight: 500;
}

/* Breadcrumb */
.breadcrumb-section-wrapper {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.breadcrumb {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--text-strong);
    text-decoration: underline;
}

.breadcrumb-item+.breadcrumb-item::before {
    float: none;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: var(--text-muted);
    content: var(--bs-breadcrumb-divider, ">");
    opacity: 0.6;
}

.breadcrumb-item.active {
    color: var(--text-strong);
    font-weight: 500;
}

.breadcrumb-separator i {
    font-size: 0.8em;
    color: var(--text-muted);
    opacity: 0.6;
    vertical-align: middle;
    margin: 0 0.3rem;
}

/* Floating Call Button Styles */
.floating-call-button {
    position: fixed;
    bottom: 30px;
    left: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B6B, #FF9934);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse-original 2s infinite;
}

.floating-call-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    animation-play-state: paused;
}

@keyframes pulse-original {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--original-pulse-color-rgb), 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(var(--original-pulse-color-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--original-pulse-color-rgb), 0);
    }
}

/* Simple Fade-in Animation for Cards */
.breed-card-animated {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.breed-card-animated.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Status Messages (Shared by Pop-up and Contact Page) */
.validation-error {
    display: block;
    color: #ffbaba;
    font-size: 0.85em;
    margin-top: 0.25rem;
    min-height: 1em;
}

.form-status-message {
    display: none;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    border: 1px solid transparent;
    animation: fadeIn 0.3s ease-in-out;
    text-align: center;
}

.form-status-message.d-block {
    display: block !important;
}

/* Ensure visibility when needed */
.form-status-sending {
    color: #e0f2f1;
    background-color: rgba(0, 150, 136, 0.2);
    border-color: rgba(0, 150, 136, 0.4);
}

.form-status-success {
    color: #d4edda;
    background-color: rgba(21, 157, 53, 0.2);
    border-color: rgba(21, 157, 53, 0.4);
}

.form-status-error {
    color: #f8d7da;
    background-color: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
}

.form-status-success::before {
    content: "✓ ";
    font-weight: bold;
}

.form-status-error::before {
    content: "⚠ ";
    font-weight: bold;
}

.form-status-sending::before {
    content: "⏳ ";
    font-weight: bold;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spinner-border {
    vertical-align: middle;
    margin-right: 0.5rem;
}

.form-control.is-invalid {
    border-color: #dc3545 !important;
    /* Ensure Bootstrap's invalid icon doesn't conflict if you don't want it: background-image: none !important; */
}

/* Floating Call Button - Hide on Mobile */
@media (max-width: 767.98px) {
    .floating-call-button {
        display: none !important;
    }
}

/* Scroll-to-Top Button - Adjust Bottom Margin on Mobile */
@media (max-width: 767.98px) {
    .scroll-to-top {
        bottom: 75px;
    }
}

/* Mobile Footer CTA Bar */
.mob-ft-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--mobile-cta-glass-bg);
    -webkit-backdrop-filter: blur(var(--mobile-cta-glass-blur));
    backdrop-filter: blur(var(--mobile-cta-glass-blur));
    color: whitesmoke;
    letter-spacing: 1.1px;
    font-weight: 500;
    border-top: 1px solid var(--mobile-cta-glass-border);
    z-index: 1055;
    display: flex;
    justify-content: space-evenly;
    padding: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.mob-ft-cta a {
    font: inherit;
    color: inherit;
    text-decoration: none;
    padding: 12px 10px;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1;
    transition: background-color 0.3s ease;
}

.mob-ft-cta a:hover {
    background-color: rgba(var(--secondary-color-rgb, 0, 150, 136), 0.2);
}

.mob-ft-cta a:not(:first-child) {
    border-left: 1px solid var(--mobile-cta-glass-border);
}

.mob-ft-cta a i {
    font-size: 1.1em;
}

@media screen and (min-width: 768px) {
    .mob-ft-cta {
        display: none;
    }
}


/* ==========================================================================
   Enquiry Pop-up Modal Styles (Original & Glass Effect)
   ========================================================================== */

/* .enqPopupFranklin .modal-dialog {
    max-width: 500px;
} */

.enqPopupFranklin .modal-header {
    color: var(--light-color);
    border-bottom: 1px solid var(--modal-glass-border);
    padding: 1rem 1.5rem;
    border-radius: 15px 15px 0 0;
}

.enqPopupFranklin .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(255, 255, 255);
}

.enqPopupFranklin .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.enqPopupFranklin .modal-body {
    padding: 0;
    overflow: hidden;
height: 0;
display: none;
visibility: hidden;

}

.modal-content {
    min-height: 300px;
}

.modal-body {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

/* Glass Effect for Enquiry Modal */
.enqPopupFranklin .modal-content {
    background: var(--modal-glass-bg);
    -webkit-backdrop-filter: blur(var(--modal-glass-blur));
    backdrop-filter: blur(var(--modal-glass-blur));
    border: 1px solid var(--modal-glass-border);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 var(--modal-shadow);
    color: var(--light-color);
    overflow: hidden;
}

.enqPopupFranklin .modal-header {
    background-color: transparent;
    border-bottom: 1px solid var(--modal-glass-border);
}


.enq-form-franklin {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.enq-form-franklin .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--light-color);
}

.enq-form-franklin .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.enq-form-franklin .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--highlight);
    box-shadow: 0 0 0 0.2rem rgba(var(--highlight), 0.25);
    color: var(--light-color);
}

.enq-form-franklin .form-check-input {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.enq-form-franklin .form-check-input:checked {
    background-color: var(--highlight);
    border-color: var(--highlight);
}

.enq-form-franklin .form-check-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.enq-form-franklin .btn-custom {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
}

/* Highlights section inside the modal */
.enq-popup-pj-highlights-franklin {
    padding: 1rem 1.5rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--modal-glass-border);
    position: relative;
    z-index: 1;
}

.enq-popup-pj-highlights-franklin:last-child {
    border-radius: 0 0 15px 15px;
}


.enq-popup-pj-highlights-franklin h5 {
    color: var(--highlight);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.enq-popup-pj-highlights-franklin .row .col {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.enq-popup-pj-highlights-franklin .row .col i {
    color: var(--highlight);
    margin-right: 8px;
    font-size: 1rem;
}

.modal-backdrop.show {
    opacity: 0.7;
}

.enqPopupFranklin ::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    opacity: 1;
}

.enqPopupFranklin :-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.enqPopupFranklin ::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.enqPopupFranklin .validation-error {
    color: #ffd6d6;
    font-weight: 500;
}