.bg-success {
    background-color: #43664C !important;
}
.text-success {
    color: #43664C !important;
}
.btn-outline-success {
    --bs-btn-color: #43664C;
    --bs-btn-border-color: #43664C;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #43664C;
    --bs-btn-hover-border-color: #43664C;
    --bs-btn-focus-shadow-rgb: 25, 135, 84;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #43664C;
    --bs-btn-active-border-color: #43664C;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #43664C;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #43664C;
    --bs-gradient: none;
}
.border-success{
    border-color:#43664C !important;
}
.lead{
    font-weight:350;
}
* {
    font-family: "League Spartan", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    /* border:1px solid red; */
    scrollbar-color: #43664C transparent;
}
html{
    scroll-padding-top: var(--scroll-padding, 112px);
}

/* Change the selection background color */
::selection {
    background-color: #588463;
    /* Green selection background */
    color: #f8f9fa;
    /* Text color inside the selection */
}

/* For Firefox compatibility */
::-moz-selection {
    background-color: #43664C;
    /* Green selection background */
    color: #f8f9fa;
    /* Text color inside the selection */
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
    /* Ensures justification is done by words */
    line-height: 1.5;
    /* Optional: for better readability */
}

.text-first-regular {
    font-family: "League Spartan", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.text-first-bold {
    font-family: "League Spartan", serif;
    font-optical-sizing: auto;
    font-weight:900;
    font-style: normal;
}

/* Fullscreen loader styling */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; /* Background color */
    z-index: 1050; /* Ensure it stays on top */
}

.navbar-brand {font-size: 16px !important;}
@media (min-width:992px) {.navbar-brand {font-size: 18px !important;position: relative !important;}}
@media (min-width:1200px) {.navbar-brand {font-size: 18px !important;position: absolute !important;}}

.contact-info a svg {
    transition: 1s all ease;
}

.contact-info a svg:hover {
    transform: scale(1.1);
    color: #f8f9fa !important;
    background-color: #43664C !important;
    border: 1px solid #f8f9fa;
}

.nav-item .active {
    color: #f8f9fa !important;
    background-color: #43664C !important;
}


/* .service_main_conainer {
    background-image: url('../images/services.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    filter: brightness(0.8);
} */

.vision, .mission{
    box-shadow: 0 5px 6px gray;
    transition: 1s all ease-in-out;
}
.vision:hover, .mission:hover{
    background-color: #43664C;
    color: #f8f9fa !important;
    transform: scale(0.9);
}
.vision:hover h3, .mission:hover h3{
    color: #f8f9fa !important;
}
.vision:hover img, .mission:hover img{
    filter: brightness(0) invert(1);
}

/* Allow bg-success to show the background image underneath */
.service-item {
    min-height:180px;
    /* backdrop-filter: blur(10px); */
    background-color: #43664C;
    /* Optional for blending effect */
    border-radius: 10px;
    border: 2px solid #f8f9fa;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.service-item:hover {
    transform: scale(1.1);
    background-color: #43664C;
}


.service-item_desc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 5px;
    box-sizing: border-box;
    /* background-color: #f8f9fa; */
    color:#f8f9fa !important;
    transform: rotateX(-90deg);
    transform-origin: bottom;
    transition: all 1s ease-in-out;
}
.service-item_desc .card_title{
    font-size: 0.9rem;
}
.service-item_desc ul{
    font-size: 0.75rem;
}

.service-item h5 {
    transition: opacity 1s ease-in-out;
    opacity: 1;
}

.service-item:hover h5 {
    opacity: 0;
}


.service-item:hover .service-item_desc {
    transform: rotateX(0deg);
}
button.active {
    background-color: #43664C; /* Background color for active button */
    color: #f8f9fa !important;    /* Text color for active button */
}

.core_values{
    /* background-image: linear-gradient(transparent 50%,#43664C 100% ); */
    box-shadow: 0 5px 6px gray;
    transition: 1s all ease-in-out;
    color:#43664C;
}
.core_values:hover{
    background-color: #43664C;
    color: #f8f9fa !important;
    transform: scale(0.9);
}
.core_values:hover h3{
    color: #f8f9fa !important;
}


.go-to-top {
    position: fixed;
    bottom: 45px;
    /* Distance from the bottom */
    right: 20px;
    /* Distance from the right */
    z-index: 999;
    /* Ensures it's above other elements */
    display: none;
    /* Hidden initially */
}

.go-to-top button {
    background-color: #f8f9fa;
    color: #43664C !important;
    border: none;
    border-radius: 50%;
    /* Circular button */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.go-to-top button:hover {
    transform: scale(1.1);
    /* Zoom on hover */
}

.go-to-top img {
    width: 50%;
    /* Adjust icon size */
}