/********** Template CSS **********/
:root {
    --primary: #14A751;
    --secondary: #FB9F38;
    --light: #F5F8F2;
    --dark: #252C30;
}

body {
    text-align: left;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.fw-black {
    font-weight: 900;
}


/*** 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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.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 ***/
.sticky-top {
    position: sticky !important;
    top: -150px !important; /* Start hidden */
    z-index: 1030;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important; /* Smooth easing transition */
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Navbar states for smooth reveal */
.navbar-hidden {
    top: -150px !important;
    box-shadow: none !important;
}

.navbar-visible {
    top: 0px !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

.navbar .navbar-brand {
    position: absolute;
    padding: 0;
    width: 120px;
    height: 80px;
    top: 0;
    left: 0;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 18px 0;
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        width: 100px;
        height: 75px;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 65px;
        border-top: 1px solid #EEEEEE;
    }
}

/* Tablet and Mobile Logo Responsive Styles */
@media (max-width: 767.98px) {
    .navbar .navbar-brand {
        width: 100px;
        height: 80px;
    }
}

@media (max-width: 575.98px) {
    .navbar .navbar-brand {
        width: 80px;
        height: 60px;
    }
}

@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 ***/
/* Carousel container wrapper */
.container-fluid.px-0.mb-5 {
    position: relative !important;
    margin: 0 0 3rem 0 !important; /* Keep bottom margin only */
    padding: 0 !important;
    top: 0 !important;
    left: 0 !important;
    overflow: visible !important;
}

#header-carousel {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    display: block !important;
    height: auto !important;
    min-height: 55vh !important;
    max-height: 60vh !important;
}

/* Reset any Bootstrap carousel positioning */
.carousel {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
}

/* Carousel inner container - consolidated rules */
.carousel-inner,
#header-carousel .carousel-inner {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    height: auto !important;
    min-height: 55vh !important;
    max-height: 60vh !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    left: 0 !important;
}

.carousel-item {
    position: relative;
    width: 100%;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Custom sliding animations */
.carousel-item.active {
    display: block !important;
    z-index: 1 !important;
}

/* Let Bootstrap handle display naturally */

.carousel-item-next,
.carousel-item-prev {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Enhanced smooth slide-in animations with fade and zoom */
.carousel-item-next {
    animation: slideInFromRightEnhanced 1s cubic-bezier(0.4, 0, 0.2, 1) ease-out;
}

.carousel-item-prev {
    animation: slideInFromLeftEnhanced 1s cubic-bezier(0.4, 0, 0.2, 1) ease-out;
}

.carousel-item.active.carousel-item-start {
    animation: slideOutToLeftEnhanced 1s cubic-bezier(0.4, 0, 0.2, 1) ease-out;
}

.carousel-item.active.carousel-item-end {
    animation: slideOutToRightEnhanced 1s cubic-bezier(0.4, 0, 0.2, 1) ease-out;
}

/* Ken Burns effect for active carousel items */
.carousel-item.active img {
    animation: kenBurnsEffect 8s ease-in-out infinite alternate;
    transform-origin: center center;
}

/* Enhanced carousel item transitions */
.carousel-item {
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    overflow: hidden;
}

.carousel-item img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease-in-out, filter 0.6s ease-in-out;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Smooth image loading */
.carousel-item img {
    opacity: 0;
    animation: fadeInImage 0.8s ease-in-out forwards;
}

.carousel-item.active img {
    opacity: 1;
}

/* Prevent layout shift during transitions */
.carousel-item.animating {
    pointer-events: none;
}

.carousel-item.animating img {
    pointer-events: none;
}

/* Enhanced keyframe animations with fade, zoom, and blur effects */
@keyframes slideInFromRightEnhanced {
    0% {
        transform: translateX(100%) scale(0.9) rotateY(15deg);
        opacity: 0;
        filter: blur(4px) brightness(0.8);
    }
    50% {
        transform: translateX(20%) scale(0.95) rotateY(5deg);
        opacity: 0.6;
        filter: blur(2px) brightness(0.9);
    }
    100% {
        transform: translateX(0) scale(1) rotateY(0deg);
        opacity: 1;
        filter: blur(0) brightness(1);
    }
}

@keyframes slideInFromLeftEnhanced {
    0% {
        transform: translateX(-100%) scale(0.9) rotateY(-15deg);
        opacity: 0;
        filter: blur(4px) brightness(0.8);
    }
    50% {
        transform: translateX(-20%) scale(0.95) rotateY(-5deg);
        opacity: 0.6;
        filter: blur(2px) brightness(0.9);
    }
    100% {
        transform: translateX(0) scale(1) rotateY(0deg);
        opacity: 1;
        filter: blur(0) brightness(1);
    }
}

@keyframes slideOutToLeftEnhanced {
    0% {
        transform: translateX(0) scale(1) rotateY(0deg);
        opacity: 1;
        filter: blur(0) brightness(1);
    }
    50% {
        transform: translateX(-30%) scale(0.95) rotateY(-10deg);
        opacity: 0.5;
        filter: blur(2px) brightness(0.8);
    }
    100% {
        transform: translateX(-100%) scale(0.9) rotateY(-15deg);
        opacity: 0;
        filter: blur(4px) brightness(0.7);
    }
}

@keyframes slideOutToRightEnhanced {
    0% {
        transform: translateX(0) scale(1) rotateY(0deg);
        opacity: 1;
        filter: blur(0) brightness(1);
    }
    50% {
        transform: translateX(30%) scale(0.95) rotateY(10deg);
        opacity: 0.5;
        filter: blur(2px) brightness(0.8);
    }
    100% {
        transform: translateX(100%) scale(0.9) rotateY(15deg);
        opacity: 0;
        filter: blur(4px) brightness(0.7);
    }
}

/* Ken Burns effect - subtle zoom and pan */
@keyframes kenBurnsEffect {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.05) translate(-1%, -1%);
    }
}

/* Fade transition animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Zoom fade animation */
@keyframes zoomFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.1);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes zoomFadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.9);
        filter: blur(3px);
    }
}

/* Image fade in animation */
@keyframes fadeInImage {
    0% {
        opacity: 0;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced carousel item active state */
.carousel-item.active {
    z-index: 2;
}

.carousel-item:not(.active) {
    z-index: 1;
}
        filter: blur(0);
    }
    50% {
        transform: translateX(25%) scale(0.98);
        opacity: 0.7;
        filter: blur(1px);
    }
    100% {
        transform: translateX(100%) scale(0.95);
        opacity: 0;
        filter: blur(2px);
    }
}


#header-carousel .carousel-item {
    position: relative !important;
    display: none !important;
    min-height: 55vh !important;
    max-height: 60vh !important;
    overflow: hidden !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
}

#header-carousel .carousel-item.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#header-carousel /* Let Bootstrap handle display naturally */

#header-carousel .carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#header-carousel video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85vh; /* Slightly taller for parallax effect */
    object-fit: cover;
    will-change: transform; /* Optimize for animations */
    min-height: 70vh;
    z-index: 0;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(136, 180, 78, .7);
    z-index: 1;
    position: relative;
    width: 100%;
    padding: 0 15px;
}

/* Carousel Controls (Arrows) */
#header-carousel {
    position: relative;
}

#header-carousel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    z-index: 5;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%) scale(0.9) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 10 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(20, 167, 81, 0.4) !important;
    position: absolute !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

#header-carousel:hover .carousel-control-prev,
#header-carousel:hover .carousel-control-next {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) scale(1) !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(20, 167, 81, 0.8) !important;
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.15) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(20, 167, 81, 0.2) !important;
}

.carousel-control-prev:active,
.carousel-control-next:active {
    transform: translateY(-50%) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 16px;
    height: 16px;
    background-color: transparent;
    border: none;
    background-image: none;
    position: relative;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    transform: translate(-50%, -50%);
}

.carousel-control-prev-icon::before {
    border-width: 8px 12px 8px 0;
    border-color: transparent #252C30 transparent transparent;
    margin-left: -2px;
    transition: all 0.3s ease !important;
}

.carousel-control-next-icon::before {
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #252C30;
    margin-left: 2px;
    transition: all 0.3s ease !important;
}

/* Enhanced hover effects for icons */
.carousel-control-prev:hover .carousel-control-prev-icon::before {
    border-color: transparent #14A751 transparent transparent;
    transform: translate(-50%, -50%) translateX(-2px);
}

.carousel-control-next:hover .carousel-control-next-icon::before {
    border-color: transparent transparent transparent #14A751;
    transform: translate(-50%, -50%) translateX(2px);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 55vh;
        overflow: hidden;
    }

    #header-carousel .carousel-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        position: relative !important;
    }

    .carousel-caption {
        padding: 0 10px !important;
    }

    .carousel-caption .col-lg-7 {
        padding: 0 15px;
    }

    .carousel-caption h1.display-1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        width: 100% !important;
    }

    .carousel-caption .fs-4 {
        font-size: 1.1rem !important;
    }

    /* Mobile Carousel Controls */
    #header-carousel .carousel-control-prev,
    #header-carousel .carousel-control-next {
        width: 35px !important;
        height: 35px !important;
        left: 15px !important;
        right: 15px !important;
        background: rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15) !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    #header-carousel:hover .carousel-control-prev,
    #header-carousel:hover .carousel-control-next {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(-50%) scale(1.1) !important;
    }

    .carousel-control-prev-icon::before {
        border-width: 4px 7px 4px 0;
        border-color: transparent #000000 transparent transparent;
    }

    .carousel-control-next-icon::before {
        border-width: 4px 0 4px 7px;
        border-color: transparent transparent transparent #000000;
    }

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: rgba(255, 255, 255, 0.4) !important;
        border-color: rgba(255, 255, 255, 0.7) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
        opacity: 1 !important;
        transform: translateY(-50%) scale(1.1) !important;
    }

}

@media (max-width: 576px) {
    #header-carousel .carousel-item {
        min-height: 50vh;
    }

    #header-carousel video {
        height: 60vh;
    }

    .carousel-caption h1.display-1 {
        font-size: 2rem !important;
        width: 100% !important;
    }

    .carousel-caption .fs-4 {
        font-size: 1rem !important;
    }

    .carousel-caption .btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    #header-carousel .carousel-item {
        min-height: 50vh;
        max-height: 55vh;
    }

    #header-carousel video {
        height: 75vh;
    }

    .carousel-caption h1.display-1 {
        font-size: 3.5rem !important;
        width: 100% !important;
    }

    .carousel-caption .col-lg-7 {
        max-width: 70% !important;
    }
}

@media (min-width: 1200px) {
    #header-carousel .carousel-item {
        min-height: 55vh;
        max-height: 60vh;
    }

    #header-carousel video {
        height: 85vh;
    }

    .carousel-caption h1.display-1 {
        font-size: 4.5rem !important;
        width: 100% !important;
        max-width: 800px;
    }
}

.page-header {
    background: linear-gradient(rgba(136, 180, 78, .7), rgba(136, 180, 78, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 28px;
    height: 28px;
    bottom: -13px;
    left: calc(25% - 13px);
    background: var(--dark);
    border: 10px solid #FFFFFF;
    border-radius: 28px;
}

.section-title.text-center::before {
    left: 25%;
}

.section-title.text-center::after {
    left: calc(50% - 13px);
}


/*** Products ***/
.product {
    background: linear-gradient(rgba(136, 180, 78, .1), rgba(136, 180, 78, .1)), url(../img/product-bg.png) center center no-repeat;
    background-size: cover;
}

.product-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    margin: 0 10px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}

/*** Product Carousel Right Item ***/
.product-carousel .owl-item .product-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.product-carousel .owl-item .logo-display,
.product-carousel .owl-item .product-display {
    transition: opacity 0.3s ease;
}

.logo-display,
.product-display {
    transition: opacity 0.3s ease;
}

/*** Product Carousel Card Uniform Size ***/
.product-carousel .product-item {
    height: 280px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*** Branches Carousel ***/
.branches-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.branches-carousel .owl-nav .owl-prev,
.branches-carousel .owl-nav .owl-next {
    margin: 0 10px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.branches-carousel .owl-nav .owl-prev:hover,
.branches-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
    color: var(--light);
}

.branches-carousel .item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin: 10px;
    height: 180px;
    transition: transform 0.3s ease;
}

.branches-carousel .item:hover {
    transform: scale(1.05);
}

.branches-carousel .item img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.branches-carousel .item:hover img {
    filter: grayscale(0%);
}

.product-carousel .product-item .bg-white {
    height: 250px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*** Product Grid and Sidebar ***/
.product-item-link {
    text-decoration: none;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.product-item-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.product-item-link img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item-link:hover img {
    transform: scale(1.05);
}

.product-item {
    margin-bottom: 30px;
}

.product-item-link .bg-white {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/*** Logo Carousel ***/
.logo-carousel .logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-carousel .logo-item:hover {
    opacity: 1;
}

.logo-carousel .logo-item img {
    max-width: 220px;
    max-height: 160px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-carousel .logo-item:hover img {
    filter: grayscale(0%);
}


/*** About ***/
.video {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/video-bg.jpg) center center no-repeat;
    background-size: cover;
}

.video .container {
    position: relative;
    z-index: 2;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 65px;
    height: 75px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 28px 30px 30px 38px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    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: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 13px;
    border-left: 40px solid var(--primary);
    border-top: 28px solid transparent;
    border-bottom: 28px 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 styles updated for Instagram-style design */
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Store ***/
.store-item .store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(138, 180, 78, .3);
    opacity: 0;
    transition: .5s;
}

.store-item:hover .store-overlay {
    opacity: 1;
}


/*** Contact ***/
.contact .btn-square {
    width: 100px;
    height: 100px;
    border: 20px solid var(--light);
    background: var(--primary);
    border-radius: 50px;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(136, 180, 78, .85), rgba(136, 180, 78, .85)), url(../img/testimonial-bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-item {
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.testimonial-item img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
}

.testimonial-item .user-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-item .user-details {
    flex: 1;
}

.testimonial-item .user-details h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
}

.testimonial-item .user-details span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.testimonial-item .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.testimonial-item .play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.testimonial-item .play-button i {
    color: #000;
    font-size: 20px;
    margin-left: 3px;
}

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

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--dark);
}

/*** Cookie Consent Dialog ***/
.cookie-consent-overlay {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: auto;
    height: auto;
    background: transparent;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-consent-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-dialog {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 320px;
    width: 100%;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.cookie-consent-overlay.show .cookie-consent-dialog {
    transform: translateY(0);
}

.cookie-consent-content {
    padding: 15px;
    text-align: left;
}

.cookie-consent-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.cookie-consent-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cookie-consent-buttons {
    display: flex;
    justify-content: flex-start;
}

.cookie-accept-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cookie-accept-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.25);
}

/*** Happy New Year Popup ***/

/*** Career Page Styles ***/

/* Job Cards */
.career-job-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
}

.career-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.career-job-card .card-header {
    border-bottom: none;
    padding: 20px;
    border-radius: 15px 15px 0 0 !important;
}

.career-job-card .card-body {
    padding: 20px;
}

.career-job-card .card-footer {
    padding: 15px 20px;
    background: white !important;
}

.job-details .row {
    margin-bottom: 15px;
}

.job-details strong {
    font-size: 14px;
    font-weight: 600;
}

.job-skills {
    flex: 1;
    margin-right: 10px;
}

.apply-btn {
    white-space: nowrap;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: scale(1.05);
}

/* Job Search and Filter */
.input-group-text {
    border-radius: 8px 0 0 8px;
}

.form-control, .form-select {
    border-radius: 0 8px 8px 0;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(20, 167, 81, 0.25);
}

/* Job Filter Results */
#resultsCounter {
    font-weight: 500;
}

/* Job Application Modal */
.career-modal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.career-modal .modal-header {
    border-bottom: none;
    padding: 25px 30px;
    border-radius: 15px 15px 0 0;
}

.career-modal .modal-body {
    padding: 30px;
}

.career-modal .modal-footer {
    border-top: none;
    padding: 20px 30px 30px;
    border-radius: 0 0 15px 15px;
}

.job-summary {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(20, 167, 81, 0.05), rgba(20, 167, 81, 0.02));
}

.job-summary h6 {
    margin-bottom: 10px;
    font-weight: 600;
}

/* Form Enhancements */
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control, .form-select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(20, 167, 81, 0.15);
}

.form-text {
    font-size: 12px;
    color: #6c757d;
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #0d8f47);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 167, 81, 0.3);
    background: linear-gradient(135deg, #0d8f47, var(--primary));
}

.btn-secondary {
    border-radius: 8px;
    font-weight: 600;
}

/* Badge Styles */
.badge {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .career-job-card .card-header,
    .career-job-card .card-body,
    .career-job-card .card-footer {
        padding: 15px;
    }

    .job-details .row > div {
        margin-bottom: 10px;
    }

    .job-skills {
        font-size: 11px;
    }

    .career-modal .modal-body {
        padding: 20px;
    }

    .career-modal .modal-header,
    .career-modal .modal-footer {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .career-job-card {
        margin-bottom: 20px;
    }

    .job-summary .row > div {
        margin-bottom: 15px;
    }

    .form-control, .form-select {
        padding: 10px 12px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Spinner for Form Submission */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    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;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}


/*** Carousel Caption Responsive Height ***/
@media (min-width: 992px) {
    #header-carousel .carousel-item {
        min-height: 55vh;
        max-height: 60vh;
    }

    .carousel-caption {
        min-height: 55vh !important;
        max-height: 60vh !important;
        display: flex !important;
        align-items: center !important;
    }
}

/*** Carousel Caption Gradient Overlay ***/
.carousel-caption {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 25%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 75%, transparent 100%) !important;
}

/*** Search Button Styling ***/
#searchBtn {
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #666 !important;
    transition: all 0.3s ease !important;
    margin-left: 10px !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10 !important;
}

#searchBtn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #333 !important;
    transform: scale(1.05) !important;
}

#searchBtn:hover img {
    transform: scale(1.15) !important;
}

#searchBtn img {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/*** Mega Menu ***/
.mega-menu {
    width: 800px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

.mega-menu .dropdown-item {
    padding: 8px 12px !important;
    border-radius: 5px !important;
    margin-bottom: 2px !important;
    transition: all 0.3s ease !important;
}

.mega-menu .dropdown-item:hover {
    background-color: var(--primary) !important;
    color: white !important;
    transform: translateX(5px) !important;
}

.mega-menu h6 {
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 15px !important;
}

.mega-menu i {
    width: 16px !important;
    text-align: center !important;
}

/* Responsive Mega Menu */
@media (max-width: 991px) {
    .mega-menu {
        width: 90vw !important;
        left: 5vw !important;
        transform: none !important;
        max-height: 70vh !important;
        overflow-y: auto !important;
    }

    .mega-menu .row > div {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 767px) {
    .mega-menu {
        width: 95vw !important;
        left: 2.5vw !important;
        padding: 20px !important;
    }

    .mega-menu .col-lg-3 {
        width: 50% !important;
        margin-bottom: 20px !important;
    }
}


/*** Full Screen Search ***/
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1050;
    display: none;
    justify-content: center;
    align-items: center;
    /* backdrop-filter: blur(5px); */
    /* -webkit-backdrop-filter: blur(5px); */
}

.search-overlay.active {
    display: flex !important;
}

.search-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.search-content {
    position: relative;
    width: 100%;
}

.search-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: .3s;
}

.search-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 15px 20px;
    font-size: 18px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-submit {
    background: var(--primary);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: .3s;
}

.search-submit:hover {
    background: var(--dark);
    transform: scale(1.1);
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-dropdown.show {
    display: block;
}

.search-result-item {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: rgba(20, 167, 81, 0.1);
}

.search-result-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
    object-fit: cover;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 16px;
}

.search-result-content {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    margin-bottom: 2px;
}

.search-result-brand {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 2px;
}

.search-result-category {
    color: #666;
    font-size: 12px;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.copyright {
    background: #252525;
}

/*** Parallax Effect ***/
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-image {
    transition: transform 0.1s ease-out;
}

.parallax-copyright {
    transition: transform 0.2s ease-out;
}

.text-primary-light {
    color: rgba(136, 180, 78, 0.8) !important;
}

.parallax-footer {
    transition: transform 0.15s ease-out;
}

.parallax-testimonial {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/testimonial-bg.jpg) center center no-repeat;
    background-size: cover;
    will-change: background-position;
    transition: background-position 0.1s ease-out;
}

/*** Footer Curve Shape ***/
.footer {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.copyright a:hover {
    color: #FFFFFF !important;
}

/*** Testimonials Section Spacing ***/
.testimonial {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/*** Brand Logos Scroll Animation ***/
.brand-logos {
    overflow: hidden;
    position: relative;
    padding: 30px 0;
}

.logo-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.logo-slider::before,
.logo-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    pointer-events: none;
    z-index: 2;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), transparent);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
}

.logo-track {
    display: inline-block;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

.logo-item {
    display: inline-block;
    padding: 0 60px;
    vertical-align: middle;
}

.logo-item img {
    max-width: 280px;
    max-height: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    opacity: 0.6;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

/*** Additional Responsive Utilities ***/
@media (max-width: 767px) {
    .fs-md-3 { font-size: 1.1rem !important; }
    .display-md-2 { font-size: 3rem !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .fs-md-3 { font-size: 1.3rem !important; }
    .display-md-2 { font-size: 3.5rem !important; }
}

@media (min-width: 992px) {
    .fs-lg-4 { font-size: 1.4rem !important; }
    .display-lg-1 { font-size: 4rem !important; }
}

/*** Responsive Logo Animation ***/
@media (max-width: 768px) {
    .logo-item {
        padding: 0 35px;
    }

    .logo-item img {
        max-width: 180px;
        max-height: 90px;
    }

    .brand-logos .container-fluid {
        padding: 0 10px;
    }

    .logo-slider::before,
    .logo-slider::after {
        width: 50px;
    }

    .brand-logos h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .brand-logos p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 576px) {
    .logo-item {
        padding: 0 25px;
    }

    .logo-item img {
        max-width: 130px;
        max-height: 65px;
    }

    .brand-logos {
        padding: 20px 0;
    }

    .brand-logos h3 {
        font-size: 1rem !important;
    }
}

@media (min-width: 1200px) {
    .logo-item img {
        max-width: 320px;
        max-height: 160px;
    }

    .logo-item {
        padding: 0 70px;
    }
}

/*** Instagram Style Video Modal ***/
.instagram-video-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 8px 32px rgba(0, 0, 0, 0.25);
    background: #000;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.instagram-video-container {
    position: relative;
    width: 100%;
    /* 1.91:1 aspect ratio = width/height */
    aspect-ratio: 1.91 / 1;
    background: #000;
    overflow: hidden;
}

.instagram-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

.instagram-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    z-index: 1050;
    transition: all 0.2s ease;
}

.instagram-close-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.instagram-close-btn .fas {
    font-size: 14px;
}

/* Modal backdrop styling */
.modal-backdrop {
    background: rgba(0, 0, 0, 0.85);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .instagram-video-card {
        max-width: 95vw;
        margin: 20px;
        border-radius: 8px;
    }

    .instagram-video-container {
        aspect-ratio: 16/9; /* Switch to 16:9 on mobile for better viewing */
    }
}

    .instagram-video-container {
        aspect-ratio: 1.91 / 1;
    }

    .instagram-close-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}