/********** Template CSS **********/
:root {
    /* 🌿 Forest Theme */
    --primary: #294B22;   /* Forest Green */
    --accent:  #5F7F3A;   /* Olive Green */
    --light:   #F5F0E1;   /* Cream */
    --dark:    #1F2D1A;   /* Deep Green */
}
/* ================= TOP HEADER FULL COLOR ================= */

/* kama kuna top bar / top header ya juu kabisa */
.top-header,
.topbar,
.header-top {
    background: var(--primary) !important;
}
/* kuhakikisha content ndani ni readable */
.top-header *,
.topbar *,
.navbar-dark * {
    color: #F5F0E1 !important;
}

/* links hover effect */
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--accent) !important;
}

/* logo area fix */
.navbar-brand,
.navbar-dark .navbar-brand {
    color: #F5F0E1 !important;
}

/* dropdown fix */
.navbar-dark .dropdown-menu {
    background: var(--dark) !important;
}

.navbar-dark .dropdown-item {
    color: var(--light) !important;
}

.navbar-dark .dropdown-item:hover {
    background: var(--accent) !important;
    color: #fff !important;
}
/* ================= GLOBAL ================= */
body {
    background: var(--light);
    color: var(--dark);
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    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;
}

/* ================= BUTTONS ================= */
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .4s;
}

.btn.btn-primary,
.btn.btn-secondary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.btn.btn-primary:hover,
.btn.btn-secondary:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

/* ================= SQUARE BUTTONS ================= */
.btn-square,
.btn-sm-square,
.btn-lg-square {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

/* ================= NAVBAR ================= */
.navbar-dark {
    background: var(--dark) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    margin-right: 30px;
    padding: 25px 0;
    text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--accent) !important;
}

/* ================= CAROUSEL ================= */
.carousel-caption {
    background: rgba(31, 45, 26, .7);
}

/* ================= SECTION TITLE ================= */
.section-title::before,
.section-title::after {
    background: var(--accent);
}

/* ================= SERVICE ================= */
.service-item {
    background: #fff;
    transition: .4s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: #fff !important;
}

/* ================= VIDEO ================= */
.video {
    background: linear-gradient(rgba(31, 45, 26, .3), rgba(31, 45, 26, .3)), url(../img/video.jpg);
}

/* play button */
.video .btn-play:before,
.video .btn-play:after {
    background: var(--primary);
}

/* ================= TESTIMONIAL ================= */
.testimonial {
    background: linear-gradient(rgba(31, 45, 26, .7), rgba(31, 45, 26, .7)), url(../img/carousel-2.jpg);
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    background: var(--primary);
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
    background: var(--accent);
    color: #fff;
}

/* ================= TEAM ================= */
.team-item:hover {
    border-color: var(--primary) !important;
}

/* ================= FOOTER ================= */
.footer {
    background: var(--dark);
    color: #fff;
}

.footer .btn.btn-social {
    border: 1px solid #fff;
    color: #fff;
}

.footer .btn.btn-social:hover {
    color: var(--accent);
}

.footer .btn.btn-link {
    color: #fff;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
}