:root {
    --primary: #d62921;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #2f5428;
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero-header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: url('../img/slider/slider-07.jpg') center center / cover no-repeat;
}

.hero-header .display-4 {
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-header .lead {
    font-size: 1.30rem;
    color: rgba(78, 78, 78, 0.85);
}

.hero-slider {
    position: relative;
    z-index: 2;
    min-height: 320px;
    margin-bottom: 20px;
}

.hero-slider .hero-slide {
    margin-top: 170px;
    text-align: center;
}

.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.hero-slider .owl-nav button {
    pointer-events: auto;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    transition: all .3s ease;
    backdrop-filter: blur(4px);
}

.hero-slider .owl-nav button:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: #fff;
}

.hero-slider .owl-dots {
    position: absolute;
    bottom: -40px;
    width: 100%;
    text-align: center;
}

.hero-slider .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-slider .owl-dots .owl-dot.active span {
    background: #fff;
    border-color: #fff;
}

/* =========================================================
   HERO FLOATING - DESKTOP
   ========================================================= */

.hero-floating {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -85px;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    pointer-events: none;
}

.hero-floating img {
    flex-shrink: 0;
    width: clamp(220px, 18vw, 350px);
    margin-right: clamp(-80px, -4vw, -40px);
    filter: drop-shadow(0 30px 35px rgba(0, 0, 0, 0.22));
    transition: transform 0.5s ease;
    pointer-events: auto;
}

.hero-floating img:last-child {
    margin-right: 0;
}

.hero-floating img:nth-child(1) {
    z-index: 1;
    transform: rotate(-6deg) translateY(0);
}

.hero-floating img:nth-child(2) {
    z-index: 2;
    transform: rotate(-3deg) translateY(-10px);
}

.hero-floating img:nth-child(3) {
    z-index: 3;
    transform: rotate(0deg) translateY(5px);
}

.hero-floating img:nth-child(4) {
    z-index: 2;
    transform: rotate(3deg) translateY(-5px);
}

.hero-floating img:nth-child(5) {
    z-index: 1;
    transform: rotate(6deg) translateY(0);
}

.hero-floating img:hover {
    z-index: 10;
    transform: scale(1.05) translateY(-5px) !important;
}

/* =========================================================
   FLOATING ANIMATIONS
   ========================================================= */

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float4 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
}

@keyframes float5 {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-16px); }
}

#home-heroes.in-view .hero-floating img {
    animation-play-state: running;
}

#home-heroes .hero-floating img {
    animation-play-state: paused;
}

/* =========================================================
   RESPONSIVE - HERO
   ========================================================= */


   
/* Small laptop (992px - 1400px) */
@media screen and (max-width: 1400px) and (min-width: 992px) {
    .hero-slider .hero-slide {
        margin-top: 250px;
    }
    .hero-floating {
        bottom: -130px;
    }
    .hero-floating img {
        width: clamp(190px, 16vw, 250px);
    }
}

@media screen and (min-width: 601px) and (max-width: 991px) {
    .hero-slider {
        margin-top: 100px;
    }
}
/* Tablet (max 991.98px) */
@media (max-width: 991.98px) {
    .hero-header {
        /* min-height: 100vh; */
        height: auto;
        padding-top: 80px;
        /* padding-bottom: 30px; */
    }
    .hero-slider {
        min-height: auto;
        margin-bottom: 20px;
    }
    .hero-slider .hero-slide {
        margin-top: 60px;
        margin-bottom: 10px;
    }
    .hero-floating {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        min-height: 260px;
        margin-top: 20px;
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: center;
    }
    .hero-floating img {
        width: 20%;
        max-width: 150px;
        height: auto;
        margin-right: -3%;
        transform: none;
    }
    .hero-floating img:nth-child(1) { transform: rotate(-6deg); }
    .hero-floating img:nth-child(2) { transform: rotate(-3deg) translateY(-8px); }
    .hero-floating img:nth-child(3) { transform: rotate(0deg) translateY(5px); }
    .hero-floating img:nth-child(4) { transform: rotate(3deg) translateY(-5px); }
    .hero-floating img:nth-child(5) { transform: rotate(6deg); margin-right: 0; }
}

/* Mobile (max 600px) */
@media screen and (max-width: 600px) {
    .hero-header {
        /* min-height: 600px; */
        padding-top: 70px;
        /* padding-bottom: 15px; */
    }
    .hero-slider { margin-bottom: 10px; }
    .hero-slider .hero-slide {
        margin-top: 100px;
        margin-bottom: 0;
    }
    .hero-slider .display-2 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    .hero-floating {
        position: relative;
        min-height: 130px;
        margin-top: 10px;
        align-items: flex-end;
    }
    .hero-floating img {
        width: 20%;
        max-width: 90px;
        margin-right: -2.5%;
        filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.20));
    }
    .hero-floating img:nth-child(1) { transform: rotate(-6deg); }
    .hero-floating img:nth-child(2) { transform: rotate(-3deg) translateY(-5px); }
    .hero-floating img:nth-child(3) { transform: rotate(0deg) translateY(3px); }
    .hero-floating img:nth-child(4) { transform: rotate(3deg) translateY(-3px); }
    .hero-floating img:nth-child(5) { transform: rotate(6deg); margin-right: 0; }
}

/* Very small mobile (max 420px) */
@media screen and (max-width: 420px) {
    .hero-header { padding-top: 60px; }
    .hero-slider .display-2 { font-size: 1.55rem !important; }
    .hero-floating { min-height: 110px; bottom: -10px;}
    .hero-floating img {
        width: 19%;
        max-width: 75px;
    }
}

/* =========================================================
   NAVBAR & BRAND
   ========================================================= */

.navbar .nav-link {
    color: #fff;
}

.navbar-brand img {
    width: 450px;
}

@media screen and (max-width: 580px) {
    .navbar-brand img { width: 350px !important; }
}
@media screen and (max-width: 475px) {
    .navbar-brand img { width: 300px !important; }
}
@media screen and (max-width: 420px) {
    .navbar-brand img { width: 250px !important; }
}
@media screen and (max-width: 340px) {
    .navbar-brand img { width: 150px !important; }
}

.fixed-top.nav-item-dark .nav-link:hover,
.fixed-top.nav-item-dark .nav-link.active {
    color: var(--primary) !important;
}

/* Toggle menu icon color */
.navbar-dark .navbar-toggler {
    color: var(--primary);
    border-color: var(--primary);
}
.navbar-dark .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='%232f5428' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    filter: none;
}

.capitalize {
    text-transform: capitalize;
}

/* =========================================================
   PRODUCT CAROUSEL (Homepage)
   ========================================================= */

.product-carousel .owl-stage { display: flex; }
.product-carousel .owl-item { display: flex; }
.product-carousel .causes-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.product-carousel .text-center { flex: 1; }
.product-carousel .position-relative { margin-top: auto; }
.product-carousel .causes-item h5 { min-height: 55px; font-size: 1.5rem; }
.product-carousel .causes-item p { min-height: 96px; }

/* =========================================================
   PAGE HEADERS (Breadcrumbs)
   ========================================================= */

.bc-products {
    background: linear-gradient(rgb(0 0 0 / 70%), rgb(6 6 6 / 30%)), url(../img/breadcrumb/bc-products.jpg) center center no-repeat;
}
.bc-contact {
    background: linear-gradient(rgb(0 0 0 / 70%), rgb(6 6 6 / 30%)), url(../img/breadcrumb/bc-contact.jpg) center center no-repeat;
}

/* =========================================================
   PRODUCTS PAGE - SIDEBAR
   ========================================================= */

.products-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1rem 1.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
}

.sidebar-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    padding: 0 .5rem .85rem;
    margin-bottom: .5rem;
    border-bottom: 2px solid var(--secondary);
}
.sidebar-head i {
    color: var(--primary);
    font-size: 1.1rem;
}

.products-sidebar .list-group { border-radius: 0; gap: 6px; }
.products-sidebar .list-group-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    border-radius: 10px;
    padding: .7rem .85rem;
    color: #555;
    font-weight: 600;
    font-size: .92rem;
    background: #f7f8fa;
    transition: all .3s ease;
}
.products-sidebar .list-group-item .cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
    background: #fff;
    color: var(--primary);
    font-size: .9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
    transition: all .3s ease;
}
.products-sidebar .list-group-item .cat-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}
.products-sidebar .list-group-item .cat-text { flex: 1; line-height: 1.3; }
.products-sidebar .list-group-item .cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 20px;
    background: #e9ecef;
    color: #888;
    font-size: .78rem;
    font-weight: 700;
    transition: all .3s ease;
}

.products-sidebar .list-group-item:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateX(4px);
}
.products-sidebar .list-group-item:hover .cat-icon {
    background: var(--primary);
    color: #fff;
}
.products-sidebar .list-group-item:hover .cat-count {
    background: #fff;
    color: var(--primary);
}

.products-sidebar .list-group-item.active {
    background: linear-gradient(135deg, var(--primary), #b51d16);
    color: #fff;
    box-shadow: 0 6px 18px rgba(214,41,33,.3);
}
.products-sidebar .list-group-item.active .cat-icon {
    background: rgba(255,255,255,.2);
    color: #fff;
}
.products-sidebar .list-group-item.active .cat-count {
    background: rgba(255,255,255,.25);
    color: #fff;
}

/* =========================================================
   PRODUCT CARD
   ========================================================= */

.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,.06);
    transition: all .3s ease;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}
.product-card .product-img-wrap {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}
.product-card .product-img-wrap img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .4s ease;
}
.product-card .product-img-wrap:hover img {
    transform: scale(1.08);
}
.product-card .product-img-wrap .zoom-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    background: rgba(0,0,0,.35);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.product-card .product-img-wrap:hover .zoom-icon {
    opacity: 1;
}

/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    flex-direction: column;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,.5);
}
.lightbox-overlay .lightbox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 1.1rem;
}
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}

/* =========================================================
   CLIENT CAROUSEL
   ========================================================= */

.client-carousel .client-item {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease;
}
.client-carousel .client-item img:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transform: scale(0.95);
}
.client-carousel .client-item img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
    transition: .3s;
    border: 1px solid #eee;
    border-radius: 12px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.bg-footer { background: #ebebeb; }

.footer .btn.btn-link,
.footer .details a {
    color: #787878;
    transition: all .3s ease;
}
.footer .btn.btn-link a,
.footer .details i,
.footer .social a {
    color: var(--dark) !important;
}
.footer .social .btn-square {
    color: var(--dark) !important;
    border-color: var(--dark) !important;
}
.footer .social .btn-square:hover {
    color: white !important;
    background-color: var(--dark) !important;
}
.footer .btn.btn-link:hover,
.footer .details a:hover {
    color: var(--dark) !important;
    letter-spacing: 0.2px;
    box-shadow: none;
}
.footer .btn.btn-link::before { color: var(--dark) !important; }
.footer .copyright a {
    color: var(--dark) !important;
    font-weight: 500;
}

.logo-footer {
    margin-bottom: 20px;
    width: 100%;
}

/* =========================================================
   BUTTON GROUP (Contact forms)
   ========================================================= */

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.button-group button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    font-size: 15px;
    width: 100%;
}
.button-group button:first-child { background: #007bff; }
.button-group button:last-child { background: #25D366; }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */

.floating {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 98px;
    right: 31px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .5);
    z-index: 100;
}
.fab-icon { margin-top: 10px; }

.wa-float {
    position: fixed;
    bottom: 115px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.wa-toggle { display: none; }
.wa-main {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
    cursor: pointer;
    transition: transform .3s ease, background .3s ease;
}
.wa-main:hover {
    transform: scale(1.08);
    background: #1ebe5d;
}
.wa-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s ease;
}
.wa-toggle:checked ~ .wa-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.wa-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #333;
    padding: 8px 14px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all .3s ease;
}
.wa-item:hover {
    background: #25D366;
    color: #fff;
}
.wa-item .wa-ico {
    width: 34px;
    height: 34px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all .3s ease;
}
.wa-item:hover .wa-ico {
    background: #fff;
    color: #25D366;
}
.wa-text { line-height: 1.2; text-align: left; }
.wa-text small { display: block; font-weight: 400; opacity: .8; }