/* Blessing Hands — small additions on top of the base Kider theme */

.cart-fab {
    bottom: 100px;
    right: 30px;
    width: 56px;
    height: 56px;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.cart-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: .7rem;
    min-width: 20px;
}

.cart-fab.is-added {
    animation: cartFabPop .6s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25), 0 0 0 8px rgba(25, 135, 84, .25);
}

@keyframes cartFabPop {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.22) translateY(-6px); }
    55%  { transform: scale(.95); }
    100% { transform: scale(1); }
}

.cart-fab-badge.is-added {
    animation: cartBadgeBump .5s ease;
}

@keyframes cartBadgeBump {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.6); background-color: #198754 !important; }
    100% { transform: scale(1); }
}

.cart-fab-toast {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    white-space: nowrap;
    background: #198754;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

.cart-fab-toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .cart-fab.is-added,
    .cart-fab-badge.is-added {
        animation: none;
    }
}

#cartItemsList {
    max-height: 240px;
    overflow-y: auto;
}

.navbar > .site-brand {
    max-width: 190px;
    flex: 0 1 auto;
    min-width: 0;
}

.navbar > .navbar-toggler {
    flex-shrink: 0;
}

.site-brand-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.site-brand-logo {
    height: 36px;
    width: 36px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-brand-logo {
    height: 110px;
    width: 110px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.site-brand-text {
    font-size: 1rem;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
}

.site-brand-title {
    font-family: Arial, Helvetica, sans-serif;
}

.site-brand-title {
    display: block;
    font-size: 1.15em;
    font-weight: 700;
}

.site-brand-subtitle {
    display: block;
    font-size: .78em;
    font-weight: 500;
    letter-spacing: .02em;
}

.site-brand-title .site-brand-word {
    display: inline-block;
    transform-origin: center;
    animation: brandColorCycle 5s linear infinite;
}

.site-brand-subtitle .site-brand-word {
    animation: brandColorCycle 5s linear infinite;
}

/* Letters cycle through a fixed set of 5 professional brand colors.
   Only the text color animates — background and glow stay put so the
   logo doesn't flicker, it just shifts hue smoothly and endlessly. */
@keyframes brandColorCycle {
    0%   { color: #7A2036; }
    20%  { color: #103741; }
    40%  { color: #198754; }
    60%  { color: #B8860B; }
    80%  { color: #1B3A5C; }
    100% { color: #7A2036; }
}

@media (prefers-reduced-motion: reduce) {
    .site-brand-title .site-brand-word,
    .site-brand-subtitle .site-brand-word {
        animation: none;
        color: #7A2036;
    }
}

@media (min-width: 400px) {
    .navbar > .site-brand {
        max-width: 230px;
    }

    .site-brand-text {
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) {
    .navbar > .site-brand {
        max-width: 230px;
    }

    .site-brand-icon {
        font-size: 1.6rem;
    }

    .site-brand-logo {
        height: 44px;
        width: 44px;
    }

    .site-brand-text {
        font-size: 1.15rem;
    }
}

.stat-card {
    border-radius: 10px;
    padding: 2rem 1rem;
    text-align: center;
}

.stat-card .stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
}

.gallery-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: block;
}

.gallery-grid-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.4s;
}

.gallery-grid-item:hover img {
    transform: scale(1.08);
}

.gallery-grid-item .gallery-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #FE5D37);
    font-size: 1.25rem;
}

.social-card {
    border-radius: 10px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    height: 100%;
}

.social-card .social-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.product-item img,
.product-item .product-img-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.product-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
}

.service-sub-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-preview {
    position: relative;
    display: block;
    background: #fff;
    overflow: hidden;
}

.service-preview img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: contain;
    transition: transform .35s ease;
}

.service-preview:hover img {
    transform: scale(1.06);
}

.service-preview-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, .68);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.service-guide-thumb {
    max-width: 220px;
    margin: 1.25rem auto 0;
}

.service-guide-thumb .service-preview img {
    height: 130px;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: auto auto auto auto;
    row-gap: .5rem;
    align-items: center;
}

.footer-contact-row,
.footer-contact-row .fc-link {
    display: contents;
}

.fc-icon {
    margin-right: 1rem;
}

.fc-prefix {
    text-align: right;
    margin-right: .35em;
}

.fc-suffix {
    margin-right: .5rem;
}

.timeline-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.timeline-list li {
    position: relative;
    padding: 0 0 1.75rem 2.25rem;
    border-left: 2px solid var(--primary, #FE5D37);
}

.timeline-list li:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.timeline-list li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary, #FE5D37);
}

.product-category-section + .product-category-section {
    border-top: 1px solid #eee;
    padding-top: 3rem;
}

.product-category-heading-wrap {
    position: relative;
}

.product-category-heading {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: .5rem 2.25rem;
    color: var(--primary, #FE5D37);
    font-size: 1.75rem;
    background: rgba(122, 32, 54, .06);
    border-radius: 50px;
}

.product-category-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: var(--primary, #FE5D37);
}

/* "Who We Serve" cards — full photo on top, title below, nothing else. */
.serve-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
    transition: transform .35s ease, box-shadow .35s ease;
}

.serve-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
}

.serve-card-img-wrap {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.serve-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.serve-card:hover .serve-card-img {
    transform: scale(1.05);
}

.serve-card-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .68);
    color: #fff;
    font-size: .8rem;
}

.serve-card-title {
    margin: 0;
    padding: 18px 16px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Responsive hero/banner image — shows the full image (letterboxed) at every width,
   the item box keeps a fixed height so the Owl Carousel slide layout stays stable. */
.header-carousel .owl-carousel-item {
    position: relative;
    min-height: 340px;
    background: #103741;
}

.header-carousel .owl-carousel-item-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

@media (max-width: 575px) {
    .header-carousel .owl-carousel-item {
        min-height: 60vw;
    }
    .header-carousel .owl-carousel-item h1 {
        font-size: 1.3rem !important;
        margin-bottom: 0.4rem !important;
    }
    .header-carousel .owl-carousel-item p {
        font-size: 0.82rem !important;
        margin-bottom: 0.5rem !important;
    }
    .slide2-heading {
        font-size: 1.3rem !important;
        margin-bottom: 0.4rem !important;
        margin-top: 0.5rem;
    }
}

@media (min-width: 576px) {
    .header-carousel .owl-carousel-item {
        min-height: 420px;
    }
}

@media (min-width: 992px) {
    .header-carousel .owl-carousel-item {
        min-height: 560px;
    }
}

@media (min-width: 576px) {
    .header-carousel .owl-carousel-item h1 {
        font-size: 2.8rem !important;
    }
}

/* ===================================================================
   Brand re-theme — primary accent switched from the template's default
   orange to a maroon matching the BHRC logo. Bootstrap's utility/button
   classes in this build ship with the colour baked in as plain hex
   (not CSS variables), so each state needs its own override here rather
   than a single :root variable change.
   =================================================================== */
:root {
    --primary: #7A2036;
}

a,
.nav-link,
.link-primary,
.text-primary,
.btn-outline-primary,
.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
    color: #7A2036;
}

.btn-outline-primary {
    border-color: #7A2036;
}

.border-primary {
    border-color: #7A2036 !important;
}

.bg-primary {
    background-color: #7A2036 !important;
}

.btn-primary,
.btn-primary:disabled,
.btn-primary.disabled {
    color: #fff;
    background-color: #7A2036;
    border-color: #7A2036;
}

.btn-primary:hover {
    color: #fff;
    background-color: #8F2A42;
    border-color: #6B1B2E;
}

.btn-primary:focus,
.btn-check:active + .btn-primary:focus,
.btn-primary:active:focus,
.btn-primary.active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    color: #fff;
    background-color: #8F2A42;
    border-color: #6B1B2E;
    box-shadow: 0 0 0 .25rem rgba(122, 32, 54, .5);
}

.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #6B1B2E;
    border-color: #601827;
}

.btn-outline-primary:hover,
.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show {
    color: #fff;
    background-color: #7A2036;
    border-color: #7A2036;
}

.form-check-input:checked,
.form-check-input[type="checkbox"]:indeterminate,
.form-range::-webkit-slider-thumb,
.form-range::-moz-range-thumb,
.dropdown-item.active,
.dropdown-item:active,
.dropdown-menu-dark .dropdown-item.active,
.dropdown-menu-dark .dropdown-item:active,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.page-item.active .page-link,
.progress-bar,
.list-group-item.active {
    background-color: #7A2036;
}

.page-item.active .page-link,
.list-group-item.active {
    border-color: #7A2036;
}

.page-link {
    color: #7A2036;
}

/* Kider theme's own navbar/footer selectors reference var(--primary) via style.css */
