﻿/********** Template CSS **********/
:root {
    --primary: #5B8C51;
    --secondary: #EDDD5E;
    --light: #F7F7F7;
    --dark: #404A3D;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 500 !important;
}

.myheder {
    background-color: #5B8C51;
    color: white;
    padding: 12px;
    border-radius: 5px;
}


/*** 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 ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 10px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar {
    padding-top: 0.0rem !important;
    padding-bottom: 0.0rem !important;
}


    .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-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@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-caption {
/*    top: 0;*/
    left: 0;
    right: 0;
    bottom: 60px;
    display: flex;
    align-items: center;
/*    background: rgba(0, 0, 0, .1);*/
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
/*    background-color: var(--primary);
    border: 10px solid var(--primary);*/
}

@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 {
    background: url('/Website/img/bgp1.jpg') center center no-repeat;
    background-size: cover;
}

    .page-header h1 {
        color: #000000 !important;
    }

    .page-header .breadcrumb-item + .breadcrumb-item::before {
        color: #000000;
    }

    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        font-size: 18px;
        color: #000000;
    }

.navbar-brand {
    margin-right: 1px !important;
}

/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
}

    .section-title::before {
        position: absolute;
        content: "";
        width: calc(100% + 80px);
        height: 2px;
        top: 5px;
        left: -40px;
        background: var(--primary);
        z-index: -1;
    }

    .section-title::after {
        position: absolute;
        content: "";
        width: calc(100% + 120px);
        height: 2px;
        bottom: 6px;
        left: -60px;
        background: var(--primary);
        z-index: -1;
    }

    .section-title.text-start::before {
        width: calc(100% + 40px);
        left: 0;
    }

    .section-title.text-start::after {
        width: calc(100% + 60px);
        left: 0;
    }


/*** About ***/
.about-experience {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*** Service ***/
.service-item {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

    .service-item .service-img {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        border-radius: 8px;
        overflow: hidden;
        z-index: -1;
    }

        .service-item .service-img img {
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            object-fit: cover;
            border-radius: 10px;
        }

        .service-item .service-img::before {
            position: absolute;
            content: "";
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background: rgba(0, 0, 0, .5);
            border-radius: 10px;
            z-index: 1;
        }

        .service-item .service-img::after {
            position: absolute;
            content: "";
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background: #FFFFFF;
            transition: .5s ease-out;
            z-index: 2;
        }

    .service-item:hover .service-img::after {
        width: 0;
        left: auto;
        right: 0;
    }

    .service-item .service-text .service-icon {
        width: 140px;
        height: 140px;
        padding: 15px;
        margin-top: -70px;
        margin-bottom: 40px;
        background: #FFFFFF;
        border-radius: 140px;
        overflow: hidden;
        box-shadow: 0 0 60px rgba(0, 0, 0, .1);
    }

    .service-item .service-text h5,
    .service-item .service-text p {
        transition: .5s;
    }

    .service-item:hover .service-text h5,
    .service-item:hover .service-text p {
        color: #FFFFFF;
    }

    .service-item .service-text .btn {
        color: var(--secondary);
        background: #FFFFFF;
        box-shadow: 0 0 45px rgba(0, 0, 0, .25);
    }

        .service-item .service-text .btn:hover {
            color: var(--dark);
            background: var(--secondary);
        }


/*** Product ***/
.product-item {
    background: #f1f1f1; /* light gray */
    padding: 15px;
    border-radius: 15px;
    height: 100%;
}

    .product-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    }

.product-inner {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.product-img {
    width: 180px; /* fixed width */
    height: 180px; /* fixed height */
    object-fit: contain; /* show full image */
    display: block;
    margin: 0 auto; /* center horizontally */
    transition: 0.4s;
}

.product-item:hover .product-inner {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.product-title {
    min-height: 50px;
    display: block;
    color: #333;
    text-align: center;
}

    .product-title:hover {
        color: #5b8c51; /* bootstrap primary */
    }

.product-item:hover .product-img {
    transform: scale(1.05);
}

.product-img {
    transition: 0.4s;
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

    .team-item .btn {
        border-color: transparent;
        box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    }


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
}

    .testimonial-img::after {
        position: absolute;
        content: "\f10d";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 200px;
        color: #EEEEEE;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: -1;
    }

    .testimonial-img img {
        position: absolute;
        width: 100px;
        height: 100px;
        border-radius: 100px;
    }

        .testimonial-img img:nth-child(1) {
            top: 0;
            left: 0;
        }

        .testimonial-img img:nth-child(2) {
            top: 60%;
            left: 20%;
        }

        .testimonial-img img:nth-child(3) {
            top: 20%;
            left: 60%;
        }

        .testimonial-img img:nth-child(4) {
            bottom: 0;
            right: 0;
        }

        .testimonial-img img .animated.pulse {
            animation-duration: 2s;
        }

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        margin-right: 15px;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--secondary);
        border-radius: 45px;
        box-shadow: 0 0 45px rgba(0, 0, 0, .2);
        font-size: 22px;
        transition: .5s;
    }

        .testimonial-carousel .owl-nav .owl-prev:hover,
        .testimonial-carousel .owl-nav .owl-next:hover {
            background: var(--secondary);
            color: var(--dark);
        }


/*** 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;
            margin-right: 10px;
        }

        .footer .btn.btn-link:hover {
            color: var(--light);
            letter-spacing: 1px;
            box-shadow: none;
        }


.logo-round {
    width: 180px;
    height: 180px; 
    background-color: #fff;
    border-radius: 50%;
    padding: 10px;
    object-fit: contain;
    display: block;
}

.visit-box {
    width: 180px; 
    background: #ffffff;
    color: #000;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}


#mainNavbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 1030;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

    #mainNavbar.show-navbar {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }



.logo-left,
.logo-right {
    height: auto;
}

/* LOGO */
.topbar-logo {
    height: 70px;
}

/* BASE BUTTON STYLE */
.btn-action {
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

/* MENU BUTTON */
.btn-menu,
.btn-home,
.btn-vlog {
    background: rgba(255, 255, 255, 0.85);
    color: rgb(0 95 123);
    border: 1px solid rgba(0, 95, 123, 0.15);
    border-radius: 10px;
    padding: 8px 18px;
    font-weight: 500;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

    /* Hover Effect */
    .btn-menu:hover,
    .btn-home:hover,
    .btn-vlog:hover {
        background: linear-gradient(135deg, rgba(0,95,123,0.08), rgba(0,95,123,0.18));
        color: rgb(0 95 123);
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 6px 14px rgba(0, 95, 123, 0.15);
    }

    /* Click Effect */
    .btn-menu:active,
    .btn-home:active,
    .btn-vlog:active {
        transform: scale(0.97);
        box-shadow: 0 2px 6px rgba(0, 95, 123, 0.1);
    }

/* BADGE */
.vlog-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 6px;
}

.btn-icon {
    width: 44px; /* increased from 38px */
    height: 44px; /* increased from 38px */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px; /* slightly more modern */
    background: rgba(255,255,255,0.15);
    color: #000000;
    transition: 0.2s ease;
    font-size: 16px; /* NEW: increases icon visibility */
}

    .btn-icon:hover {
        background: rgba(255,255,255,0.3);
        transform: translateY(-1px);
    }

.btn-icon {
    border: 1px solid rgba(0,0,0,0.08);
}

/* OFFCANVAS BASE */
.custom-offcanvas {
    width: 286px;
    background: rgb(0 95 123); /* MAIN COLOR */
    color: #fff;
}

/* HEADER */
.offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.1); /* slight contrast */
}

/* MENU LIST */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .menu-list li {
        margin-bottom: 8px;
    }

    .menu-list a {
        display: flex;
        align-items: center;
        padding: 10px 12px;
        border-radius: 8px;
        color: #fff;
        text-decoration: none;
        transition: 0.25s ease;
    }

        .menu-list a:hover {
            background: rgba(255,255,255,0.2);
            transform: translateX(5px);
        }

.offcanvas-title {
    color: white;
}

.custom-offcanvas .btn-close {
    filter: invert(1); /* turns icon white */
    opacity: 1;
}

/* SUBMENU */
.submenu {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
}

    .submenu li {
        margin-bottom: 5px;
    }

    .submenu a {
        font-size: 16px;
        padding: 6px 10px;
        display: flex;
        align-items: center;
        color: #fff;
        opacity: 0.9;
        border-radius: 6px;
        transition: 0.2s;
    }

        .submenu a:hover {
            background: rgba(255,255,255,0.2);
            transform: translateX(4px);
        }

/* Rotate arrow when open */
.menu-item[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

/* smooth animation */
.submenu {
    transition: all 0.3s ease;
}

/* SOCIAL WRAPPER */
.menu-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

    /* OPTIONAL: make icons match theme */
    .menu-social .btn-icon {
        background: rgba(255,255,255,0.2);
        color: #fff;
    }

        .menu-social .btn-icon:hover {
            background: #ffffff;
            color: #2e7152;
        }

/* ===== PREMIUM NAVBAR MENU ===== */

.custom-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* NAV LINKS */
.menu-link {
    position: relative;
    font-size: 17px;
    font-weight: 600;
    color: #333 !important;
    transition: all 0.3s ease;
    padding: 10px 5px !important;
}

    /* UNDERLINE ANIMATION */
    .menu-link::after {
        content: "";
        position: absolute;
        width: 0%;
        height: 3px;
        bottom: 0;
        left: 50%;
        background: linear-gradient(90deg, #5B8C51, #EDDD5E);
        transition: all 0.3s ease;
        transform: translateX(-50%);
        border-radius: 5px;
    }

    .menu-link:hover::after {
        width: 100%;
    }

    /* HOVER COLOR */
    .menu-link:hover {
        color: #5B8C51 !important;
    }

    /* ACTIVE EFFECT (optional) */
    .menu-link.active {
        color: #5B8C51 !important;
    }

        .menu-link.active::after {
            width: 100%;
        }

/* DROPDOWN */
.nav-item.dropdown {
    position: relative;
}

/* MODERN DROPDOWN STYLE */
.dropdown-menu {
    border-radius: 12px;
    border: none;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

/* SHOW DROPDOWN SMOOTH */
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
}

/* DROPDOWN ITEMS */
.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    /* HOVER EFFECT */
    .dropdown-item:hover {
        background: #f5f5f5;
        color: #5B8C51;
        padding-left: 25px;
    }

/* CENTER DROPDOWN */
@media (min-width: 992px) {
    .dropdown-menu {
        left: 50%;
        transform: translateX(-50%) translateY(15px);
    }

    .nav-item.dropdown:hover .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }
}