/********** Template CSS (Friendly Colors) **********/
:root {
    --primary: #2BB673;   /* fresh green/teal */
    --secondary: #FF914D; /* warm friendly orange */
    --light: #F9FBFD;     /* soft pastel background */
    --dark: #2C3E50;      /* charcoal gray */
    --muted: #6C757D;     /* muted gray */
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% { -webkit-transform: perspective(120px) }
    50% { -webkit-transform: perspective(120px) rotateY(180deg) }
    100% { -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg) }
}

@keyframes sk-rotateplane {
    0% { transform: perspective(120px) rotateX(0deg) rotateY(0deg) }
    50% { transform: perspective(120px) rotateX(-180deg) rotateY(0deg) }
    100% { transform: perspective(120px) rotateX(-180deg) rotateY(-180deg) }
}

#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;
}


/*** Headings ***/
h1, h2, .fw-bold { font-weight: 800 !important; }
h3, h4, .fw-semi-bold { font-weight: 700 !important; }
h5, h6, .fw-medium { font-weight: 600 !important; }


/*** Buttons ***/
.btn {
    font-family: 'Convergence', sans-serif !important;
    font-weight: 600;
    transition: .4s;
    border-radius: 6px;
}

.btn-primary,
.btn-secondary {
    color: #fff;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #249960; /* darker shade */
    border-color: #249960;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #e97d34;
    border-color: #e97d34;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    transition: .4s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--secondary);
}

.navbar-dark .navbar-brand h1 { color: #FFFFFF; }

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark { background: #FFFFFF; }
    .navbar-dark .navbar-nav .nav-link { color: var(--dark); }
    .navbar-dark .navbar-brand h1 { color: var(--primary); }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0; left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
        z-index: 999;
    }
    .sticky-top.navbar-dark { background: #FFFFFF; }
    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }
    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 62, 80, .6);
    z-index: 1;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Titles ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--secondary);
    border-radius: 2px;
}
.section-title.text-center::before {
    left: 50%; margin-left: -75px;
}


/*** Services ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .4s;
    border-radius: 12px;
    background: #fff;
}
.service-item .service-icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
}
.service-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); }


/*** Testimonials ***/
.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}
.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 20px rgba(0,0,0,.08);
}


/*** Team ***/
.team-item { transition: .4s; border-radius: 12px; overflow: hidden; }
.team-item:hover { box-shadow: 0 0 25px rgba(0,0,0,.1); }
.team-social { background: rgba(44, 62, 80, .6); }


/*** Miscellaneous ***/
.bg-header {
    background: linear-gradient(rgba(44,62,80,.6), rgba(44,62,80,.6)), 
                url(../img/bg-image.jpg) center center no-repeat;
    background-size: cover;
}
.checked { color: var(--secondary); }
.back-to-top {
    position: fixed; right: 45px; bottom: 45px; z-index: 99;
    background: var(--primary); color: #fff; padding: 10px 15px;
    border-radius: 50%; transition: .4s;
}
.back-to-top:hover { background: #249960; }
