/* ----------------------------------------------
 * Google Font: Titillium Web
 * ---------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700;900&display=swap');

/* Global Font */
* {
    font-family: "Titillium Web", Arial, Helvetica, sans-serif !important;
}

/* ----------------------------------------------
 * Root Variables
 * ---------------------------------------------- */
:root {
    --primary: #88B44E;
    --secondary: #FB9F38;
    --light: #F5F8F2;
    --dark: #252C30;
}

/* ----------------------------------------------
 * Utility Font Weights
 * ---------------------------------------------- */
.fw-medium { font-weight: 600; }
.fw-bold   { font-weight: 700; }
.fw-black  { font-weight: 900; }

/* ----------------------------------------------
 * Back to Top Button
 * ---------------------------------------------- */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/* ----------------------------------------------
 * Spinner
 * ---------------------------------------------- */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    visibility: visible;
    opacity: 1;
    transition: opacity .5s ease-out, visibility 0s linear;
}

/* ----------------------------------------------
 * Buttons
 * ---------------------------------------------- */
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

/* Square Button Options */
.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-square   { width: 38px; height: 38px; }
.btn-sm-square{ width: 32px; height: 32px; }
.btn-lg-square{ width: 48px; height: 48px; }

/* ----------------------------------------------
 * Navbar
 * ---------------------------------------------- */
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: absolute;
    padding: 0;
    width: 170px;
    height: 135px;
    top: 0;
    left: 0;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
}

.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;
}

/* Navbar Responsive */
@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        width: 126px;
        height: 100px;
    }
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
    .navbar .navbar-nav {
        margin-top: 75px;
        border-top: 1px solid #eee;
    }
}

@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;
        opacity: 1;
    }
}

/* ----------------------------------------------
 * Header / Carousel
 * ---------------------------------------------- */
.carousel-caption {
    inset: 0;
    display: flex;
    align-items: center;
    background: rgba(136, 180, 78, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next { width: 15%; }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--dark);
    border: 15px solid var(--dark);
}

/* Header Responsive */
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(136,180,78,.7), rgba(136,180,78,.7)),
                url(../img/carousel-1.jpg) center/cover no-repeat;
}

.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 {
    content: "";
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary);
}
.section-title::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    bottom: -13px;
    left: calc(25% - 13px);
    background: var(--dark);
    border: 10px solid #fff;
    border-radius: 50%;
}

/* Center Alignment Adjustments */
.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) left bottom no-repeat;
}

.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;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
    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: #fff;
    color: var(--primary);
}

/* ----------------------------------------------
 * About / Video
 * ---------------------------------------------- */
.video {
    background: linear-gradient(rgba(136,180,78,.85), rgba(136,180,78,.85)),
                url(../img/video-bg.jpg) center/cover no-repeat;
}

/* Play Button */
.btn-play {
    position: relative;
    display: block;
    width: 65px;
    height: 75px;
    padding: 28px 30px 30px 38px;
    border-radius: 50%;
    background: #fff;
    border: none;
}

.btn-play::before,
.btn-play::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.btn-play::before { animation: pulse-border 1.5s ease-out infinite; }
.btn-play span {
    z-index: 3;
    position: relative;
    left: 13px;
    width: 0;
    height: 0;
    border-left: 40px solid var(--primary);
    border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
}

/* Pulsing Animation */
@keyframes pulse-border {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Modal Video */
.modal-video .modal-dialog {
    max-width: 800px;
    margin: 60px auto 0;
}
.modal-video .modal-body { padding: 0; }
.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0;
    top: -30px;
    font-size: 30px;
    background: #000;
    color: #fff;
    opacity: 1;
    z-index: 999;
}

/* ----------------------------------------------
 * Store
 * ---------------------------------------------- */
.store-item .store-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: 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: #cb3886;
    border-radius: 50%;
}

/* ----------------------------------------------
 * Testimonial
 * ---------------------------------------------- */
.testimonial {
    background: linear-gradient(rgba(136,180,78,.85), rgba(136,180,78,.85)),
                url(../img/testimonial-bg.jpg) center/cover no-repeat;
}

.testimonial-item {
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    background: #fff;
    border: 30px solid var(--primary);
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--dark);
}

/* ----------------------------------------------
 * Footer
 * ---------------------------------------------- */
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    margin-bottom: 5px;
    padding: 0;
    color: #B0B9AE;
    text-align: left;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    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 */
.copyright {
    color: #B0B9AE;
    background: #252525;
}

.copyright a:hover {
    color: #fff !important;
}
