:root {
    --brand-green: #4b8419;
    --brand-orange: #fd4a07;
}

.bg-brand-green {
    background-color: var(--brand-green);
}

.bg-brand-orange {
    background-color: var(--brand-orange);
}

.text-brand-green {
    color: var(--brand-green);
}

.text-brand-orange {
    color: var(--brand-orange);
}

.border-brand-green {
    border-color: var(--brand-green);
}

.border-brand-orange {
    border-color: var(--brand-orange);
}

.gallery-hover-zoom {
    cursor: pointer;
}

.gallery-hover-zoom img {
    transition: transform 0.5s ease;
}

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

/*** Testimonial Start ***/
.testimonial-carousel {
    position: relative;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
    opacity: 0;
    transition: .5s;
}

.testimonial-carousel:hover .owl-nav {
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    background: #81c408;
    /* fallback/primary green */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: #ffb524;
    /* secondary orange */
}

.testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #e9ecef;
    border: 1px solid #ffb524;
    border-radius: 50%;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: #81c408;
    border: 1px solid #81c408;
}

.testimonial-carousel .testimonial-item {
    border: 1px solid #dee2e6;
    transition: .5s;
}

.testimonial-carousel .testimonial-item:hover {
    border-color: #81c408;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08) !important;
}

.testimonial-content p {
    margin-bottom: 0;
}

.testimonial-content p:not(:last-child) {
    margin-bottom: 8px;
}

/*** Testimonial End ***/

/* Premium Lightbox Styles */
.btn-close-custom {
    position: absolute;
    top: -55px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1060;
}

.btn-close-custom:hover {
    background: var(--brand-orange);
    color: #ffffff;
    transform: rotate(90deg);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1060;
}

.lightbox-nav-btn:hover {
    background: var(--brand-green);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -80px;
}

.next-btn {
    right: -80px;
}

.lightbox-image-wrapper {
    position: relative;
    display: inline-block;
}

#lightboxImage,
#homeLightboxImage {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease-in-out;
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
    .prev-btn {
        left: 15px;
        background: rgba(0, 0, 0, 0.5);
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .next-btn {
        right: 15px;
        background: rgba(0, 0, 0, 0.5);
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .btn-close-custom {
        top: 15px;
        right: 15px;
        background: rgba(0, 0, 0, 0.5);
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Quality Page Styles */
.bg-success-subtle {
    background-color: #d1e7dd !important;
}

.bg-warning-subtle {
    background-color: #fff3cd !important;
}

.bg-danger-subtle {
    background-color: #f8d7da !important;
}

.bg-info-subtle {
    background-color: #cff4fc !important;
}

.bg-primary-subtle {
    background-color: #e8f5e9 !important;
}

.bg-orange-subtle {
    background-color: #fff0eb !important;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08) !important;
    border-color: #81c408 !important;
}

.hover-scale {
    transition: all 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

.tracking-wider {
    letter-spacing: 0.1em;
}

/* Homepage Styles */
.hover-light-bg:hover {
    background-color: #f8f9fa;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1 !important;
}

.cursor-pointer {
    cursor: pointer;
}

@media (min-width: 992px) {
    .hero-banner-img {
        height: 550px;
    }
}

/* Contact Page Styles */
.hover-primary:hover {
    color: #81c408 !important;
}

/* Footer Styles */
.footer .active {
    color: #ffb524 !important;
}

/* Hero Search Overlay Responsive Positioning */
.hero-search-overlay {
    top: 75% !important;
    padding: 152px 15px 0 15px;
}

@media (min-width: 992px) {
    .hero-search-overlay {
        top: 50% !important;
        padding: 0 15px;
    }
}