/********** Template CSS **********/
/*:root {
    --primary: #2EB872;
    --light: #F3F4F5;
    --dark: #282F34;
}*/

/*:root {
    --bs-primary: #2EB872;
    --bs-light: #F3F4F5;
    --bs-dark: #282F34;
}*/
/*:root,   
[data-bs-theme="light"] {
    --bs-primary: #2EB872;
    --bs-primary-rgb: 46, 184, 114;
}*/

:root,
[data-bs-theme="light"] {
    /* Core Brand */
    --brand-dark: #1F2933; /* Charcoal Slate */
    --brand-light: #F3F4F5; /* Soft Industrial Gray */
    --brand-metal: #C9B27C; /* Champagne / Metal */
    --brand-text: #2A2A2A; /* Graphite */
    /* Bootstrap remap */
    --bs-primary: var(--brand-light);
    --bs-primary-rgb: 243, 244, 245;
    --bs-secondary: var(--brand-metal);
    --bs-secondary-rgb: 201, 178, 124;
    --bs-dark: var(--brand-dark);
    --bs-light: var(--brand-light);
    --bs-success: var(--brand-metal);
    --bs-success-rgb: 201, 178, 124;
    --bs-body-color: var(--brand-text);
    --bs-body-bg: #ffffff;
}


/*.text-primary,
.btn-primary,
.bg-primary {
    --bs-primary: #2EB872 !important;
}*/

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
/*.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}*/

.navbar {
    transition: all 0.4s ease;
}

    .navbar.fixed-top {
        background: #fff;
        box-shadow: 0 2px 15px rgba(0,0,0,.1);
    }

.navbar .navbar-brand {
    display: flex;
    align-items: center;
}

.navbar .navbar-brand img {
    max-height: 50px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-bg {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/bg-1.jpeg) center center no-repeat;
    background-size: cover;
}

.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;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;

}

.modal-video .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;
}

.header-carousel .owl-nav {
    position: absolute;
    width: 360px;
    height: 43px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
}

.img-border img {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
}


/*** Facts & Visiting Hours ***/
.facts {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/bgdoor-1.jpeg) center center no-repeat;
    background-size: cover;
}

.visiting-hours {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/BGdoor.jpg) center center no-repeat;
    background-size: cover;
}

.visiting-hours .list-group-item {
    display: flex;
    justify-content: space-between;
    color: var(--light);
    background: rgba(0, 0, 0, .15);
    border-color: rgba(255, 255, 255, .15);
}

.visiting-hours .table {
    color: var(--light);
    background: rgba(0, 0, 0, .15);
}

.visiting-hours .table td {
    padding: .5rem 1rem;
    border-color: rgba(255, 255, 255, .15);
}

.visiting-hours .table tr:last-child td {
    border: none;
}


/*** Animal ***/
.animal-item {
    position: relative;
    display: block;
}

.animal-item .animal-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 100px !important;
    opacity: 0;
    transition: .5s;
}

.animal-item:hover .animal-text {
    opacity: 1;
    padding-bottom: 20px !important;
}


/*** Membership ***/
.membership-item {
    padding: 45px 30px;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .7);
}

.membership-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.membership-item .display-1 {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    border-color: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/bg-2.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
body, h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif !important;
}

/*killing zoofari*/

/* Remove Zoofari green everywhere */
.text-primary,
.text-success,
.text-info,
.text-warning {
    color: var(--brand-metal) !important;
}

.bg-primary,
.bg-success,
.bg-info,
.bg-warning {
    background-color: var(--brand-light) !important;
}

.btn-primary,
.btn-success,
.btn-info,
.btn-warning {
    background-color: var(--brand-dark) !important;
    border-color: var(--brand-dark) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-success:hover {
    background-color: #111827 !important;
    border-color: #111827 !important;
}

.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #E5E7EB;
}

    .navbar .nav-link {
        color: var(--brand-text) !important;
        font-weight: 500;
    }

        .navbar .nav-link:hover,
        .navbar .nav-link.active {
            color: var(--brand-metal) !important;
        }

.navbar-brand h1,
.navbar-brand span {
    color: var(--brand-dark) !important;
}

.header-bg,
.page-header {
    background-color: var(--brand-dark) !important;
}

    .page-header::before {
        background: linear-gradient( rgba(31,41,51,0.85), rgba(31,41,51,0.85) ) !important;
    }

.service-item,
.team-item,
.testimonial-item,
.why-choose-us .card {
    background-color: #ffffff;
    border: 1px solid #E5E7EB;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

    .service-item:hover,
    .why-choose-us .card:hover {
        border-color: var(--brand-metal);
    }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--brand-text);
    margin-bottom: 0px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    color: var(--brand-dark);
    font-weight: 700;
}

.footer {
    background-color: var(--brand-dark) !important;
    color: #D1D5DB;
}

    .footer a {
        color: #E5E7EB;
    }

        .footer a:hover {
            color: var(--brand-metal);
        }


        /*-----------------------------ahlada style product css------------------*/
/* Product Filter */
.product-filter {
    list-style: none;
    gap: 15px;
    padding: 0;
}

.filter-btn {
    border: none;
    background: #E5E7EB;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .filter-btn.active,
    .filter-btn:hover {
        background: #1F2933;
        color: #fff;
    }

/* Product Cards */
.product-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

    .product-card img {
        margin-bottom: 15px;
    }

    .product-card h5 {
        margin-bottom: 10px;
    }

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }
/* ===== Smooth Reorder (FLIP) ===== */
.product-item {
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

    .product-item.hidden {
        display: none;
    }

/* ===== Product Filter Basic Animation ===== */

.product-item {
    transition: opacity 0.50s ease, transform 0.90s ease;
}

    /* Default visible state */
    .product-item.show {
        opacity: 1;
        transform: translateY(0);
    }

    /* Going out (fade + sideways) */
    .product-item.hide-left {
        opacity: 0;
        transform: translateX(-30px);
    }

    .product-item.hide-right {
        opacity: 0;
        transform: translateX(30px);
    }

    /* Coming in (rise from below) */
    .product-item.enter {
        opacity: 0;
        transform: translateY(30px);
    }
/* ===== Active link csss=====----------------------------------- */

/* Navbar active link */
.navbar-nav .nav-link {
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link.active {
        color: var(--brand-metal) !important;
        font-weight: 600;
    }

        .navbar-nav .nav-link.active::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            background-color: var(--brand-metal);
        }

        /*--------------------social media content thead left side--------------*/
/* ===== Floating Social Media Bar ===== */
.social-float {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
}

/* Individual buttons */
.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    margin: 2px 0;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 6px 0 0 6px;
    background: #1F2933 !important;
}
    /* Hover effect */
    .social-btn:hover {
        width: 55px;
        opacity: 0.9;
        color: #1F2933;
        background: #2EB872 !important;
    }
@media (max-width: 768px) {
    .social-float {
        display: none;
    }
}
/* 1. Fix the outer container height */
.custom-carousel-container {
    height: 80vh; /* Limits height to the screen */
    display: flex;
    align-items: center; /* Centers image vertically if it scales down */
    justify-content: center; /* Centers image horizontally */
    background-color: #000; /* Optional: adds a black background for letterboxing */
    overflow: hidden;
}

/* 2. Carousel structure */
.header-carousel,
.owl-stage-outer,
.owl-stage,
.owl-item,
.owl-carousel-item {
    height: 100% !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3. The Image Logic */
.carousel-img {
    /* 1. Ensure it never exceeds the screen height */
    max-height: 100vh;
    /* 2. Ensure it never exceeds the container width */
    max-width: 100%;
    /* 3. Maintain aspect ratio */
    width: auto !important;
    height: auto !important;
    /* 4. The Magic Property: 
       This ensures the image fits the 'box' defined by max-width/height 
       without ever stretching or changing proportions. */
    object-fit: contain;
}




/* Add this class to hide the images, while keeping the space they occupied intact */
.carousel-hide-img img {
    visibility: hidden;
}

/* OR, use this class if you want the other text/content to collapse the space */
.carousel-no-img img {
    display: none;
}



/* Card Container Logic */
.client-card {
    background: #ffffff;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    text-align: center;
    transition: 0.3s;
}


    .client-card:hover {
        border-color: #3b82f6;
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

    /* Text Formatting */
    .client-card h5 {
        margin: 0 !important;
        padding: 0;
        letter-spacing: 1px;
        color: #0f172a;
        font-size: 1.1rem;
        line-height: 1.2;
        width: 100%;
        /* Added here so you don't need the HTML class */
        font-weight: 700;
        margin-bottom: 5px;
    }

    .client-card small {
        margin-top: 8px; /* Precise control over the gap */
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: #64748b;
        display: block;
        width: 100%;
        padding: 0 10px; /* Prevents text hitting the edges */
    }



.testimonial-item {
    padding: 15px; /* Adds space for the shadow to show clearly */
}



/* Container for the buttons to anchor to */
.container.position-relative {
    position: relative;
}

/* Ticker Visibility */
.ticker-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.ticker-wrapper {
    display: flex;
    width: max-content;
    animation: ticker-move 60s linear infinite;
}

/* Hover State: Freeze animation and show buttons */
.container.position-relative:hover .ticker-wrapper {
    animation-play-state: paused;
}

.container.position-relative:hover .jump-btn {
    opacity: 1;
    visibility: visible;
}

/* Card Styling */
.client-card {
    flex: 0 0 280px;
    margin: 0 15px;
    background: #ffffff;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
}

    .client-card h5 {
        margin: 0;
        font-weight: 700;
        font-size: 1.1rem;
        color: #0f172a;
    }

    .client-card small {
        margin-top: 5px;
        color: #64748b;
        font-size: 0.75rem;
        text-transform: uppercase;
    }

/* Navigation Buttons */
.jump-btn {
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(59, 130, 246, 0.9);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .jump-btn.left {
        left: -20px;
    }

    .jump-btn.right {
        right: -20px;
    }

    .jump-btn:hover {
        background: #1e40af;
    }

/* Continuous Animation */
@keyframes ticker-move {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* 1. Ensure the card has a consistent structure */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    height: 100%; /* Makes all cards in a row the same height */
    display: flex;
    flex-direction: column;
}

    /* 2. The Magic: Fix the image dimensions */
    .product-card img {
        width: 100%; /* Fills the width of the card */
        height: 250px; /* Set your desired fixed height here */
        /* 'contain' ensures the whole image is visible without cropping.
       'cover' fills the box completely (might crop edges but looks cleaner). */
        object-fit: contain;
        background-color: #f8f9fa; /* Optional: adds a light grey background for small images */
        margin-bottom: 15px;
    }

    .product-card h5 {
        font-size: 1.1rem;
        margin-bottom: 5px;
        font-weight: 700;
    }

    .product-card p {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 0;
    }