﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
/*    margin-bottom: 60px;*/
    padding-top: 4.5rem;
}

.bi {
    display: inline-block;
    width: 1rem;
    height: 1rem;
}

/* ----------Sidebar ---------*/

@media (min-width: 768px) {
    .sidebar .offcanvas-lg {
        position: -webkit-sticky;
        position: sticky;
        top: 48px;
    }

    .navbar-search {
        display: block;
    }
}

.sidebar .nav-link {
    font-size: .875rem;
    font-weight: 500;
}

.sidebar .nav-link.active {
    color: #2470dc;
}

.sidebar-heading {
    font-size: .75rem;
}
/*------------logo style --------------*/

header .logo img {
    max-height: 40px;
    margin-right: 6px;
}

header h1 {
    font-size: 20px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.8px;
    font-family: var(--font-primary);
}
.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--bs-border-color);
    visibility: hidden;
    width: 0;
    transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-item:hover::after {
    visibility: visible;
    width: 100%;
}

/*.navbar-nav .nav-item:hover .nav-link {
    color: var(--bs-border-color);
}*/


/*------# section hero  -----*/
@media (min-width: 1200px) {
    .hero .icon-boxes:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: calc(50% + 20px);
        background-color: var(--bs-body-bg);
        border-top: 2px solid var(--bs-border-color);
    }
}

/*-----# section Values ----------*/
.transition-transform {
    transition: transform 0.3s ease;
}


/*-----# Pricing Section  ----------*/
.pricing::before {
    position: absolute;
    content: "";
    height: 86px;
    width: 86px;
    border-radius: 50%;
    background: grey;
    transition: all 0.3s ease-out 0s;
    transform: translateZ(-1px);
}
.pricing {
    margin: 30px auto 30px auto;
    width: 70px;
    height: 70px;
    background: var(--bs-body-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    transform-style: preserve-3d;
}


.box:hover {
    box-shadow: 0 0 30px rgba(1, 41, 112, 0.08);
}

.box img {
    transition: transform 0.5s;
    transform: scale(1.1);
}

.box:hover img {
    transform: scale(1);
}



/*----- Our Services Section ----------*/
.services {
    padding: 60px 0;
}

.services .service-item {
    padding: 40px;
    height: 100%;
    border-radius: 10px;
}

.services .service-item .icon {
    width: 48px;
    height: 48px;
    position: relative;
    margin-bottom: 50px;
}

.services .service-item .icon:before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    border-radius: 50px;
    z-index: 1;
    top: 10px;
    right: -20px;
    transition: 0.3s;
}

.services .service-item h3 {
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 8px;
    font-size: 22px;
    position: relative;
    display: inline-block;
    border-bottom: 4px solid var(--bs-border-color);
    transition: 0.3s;
}

.services .service-item .readmore {
    margin-top: 15px;
    display: inline-block;
    color: var(--color-primary);
}

.services .service-item:hover .icon:before {
    background: #00b6a1;
}

.services .service-item:hover h3 {
    border-color: var(--color-primary);
}

/* Use case section */

.filter-active {
    font-weight: bold;
}
.portfolio-wrap {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.portfolio-wrap img {
    transition: transform 0.3s ease-in-out;
}

.portfolio-wrap:hover img {
    transform: scale(1.1); 
}


/*----------Navbar ------------*/
.navbarbg {
    background-color: var(--bs-body-bg);
}
.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
}

.usernav .active {
    background-color: var(--bs-primary-bg-subtle);
}
.form-control:focus {
    border-color: grey;
    box-shadow: none; /* Optional: removes the default shadow */
}

.logged-user-style {
    display: inline-block;
    padding: 5px 5px;
    background-color: #4CAF50; /* Green color */
    border-radius: 15px; /* This creates the round edges */
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

    .logged-user-style:hover {
        background-color: #45a049; /* Darker green on hover */
    }


/*----------Button Scrolling To the Top ------------*/
.scroll-top:hover {
    background: rgba(248, 90, 64, 0.8);
    color: var(--bs-body-bg);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

.scroll-top {
    visibility:hidden;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(248, 90, 64, 0.8);
    color: white;
    border: none;
}

/*---------- Blog ------------*/

.custom-file-label::after {
    content: "Browse";
}

.custom-file-input {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
}

.c-blog:hover {
    transition: transform 0.5s;
    transform: scale(1.1);
}

/*---------- Docs ------------*/

.selected {
    border-left: 2px solid darkgreen;
}

.sidebar-left {
    height: 100vh;
    position: -webkit-sticky; 
    position: sticky;
    top: 50px; 
    overflow-y: auto;
}
.sidebar-container {
    height: 100vh;
    position: sticky;
    position: -webkit-sticky;
    top: 50px;
    right: 0;
}
.scrollspy-sidebarRight .nav-link {
    transition: color 0.3s, border-left 0.3s;
}

.scrollspy-sidebarRight .nav-link.active {
    border-left: 3px solid darkgreen;
}
