/* Fixed navbar spacing */
.navbar.fixed-top {
    z-index: 1030;
}

/* Ensure content doesn't overlap with fixed navbar */
body {
    padding-top: 0;
}

header h1 img {
    height: calc(var(--height) - 40px);
}
header .navbar-nav {
    gap: 20px;
} 
.nav-link.active {
    color: var(--primary) !important;
    font-weight: bold;
}

.hero {
    position: relative;
    background: url(../img/smartphone.jpg);
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    z-index: 1;
    padding-top: 150px;
    padding-bottom: 20vh;
}
.hero .text {
    color: var(--bs-white);
    padding-right: 50px;
}
.hero::before {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    content: "";
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    z-index: -1;
}
.hero .card {
    min-width: 350px;
}

section.total {
    position: relative;
    margin-top: -7vh;
    z-index: 1;
}
.card {
    border-radius: 1rem;
}

section.features {
    position: relative;
    padding: 80px 0 50px;

}
.features .icon {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    display: grid;
    place-content: center;
    background-color: var(--bs-light);
    margin-bottom: 12px;
    font-size: 1.5rem;
}
.features .card-header, .hero .card-header {
    border-top-right-radius: 1rem !important;
    border-top-left-radius: 1rem !important;
}

/* Ensure content doesn't overlap with fixed navbar */
body {
    padding-top: 0;
    background-color: var(--bs-light);
}

/* Additional spacing for pages with fixed navbar */
section.page {
    margin-top: 80px;
    padding-top: 20px;
}
.page_title {
    background-color: var(--bs-white);
    color: #333 !important;
    padding: 40px 30px 30px;
}
.page_title h2 {
    color: #333 !important;
    font-weight: bold;
}
section.page .breadcrumb a {
    font-size: 13px;
    color: var(--bs-primary) !important;
    text-decoration: none;
}
section.page .breadcrumb a:hover {
    color: var(--bs-primary) !important;
    text-decoration: underline;
}
section.page .breadcrumb-item.active span {
    color: #6c757d !important;
    font-size: 13px;
}
section.page .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-primary);
    content: "/";
}

footer {
    background-color: var(--bs-dark);
    padding-top: 80px;
    color: var(--bs-white);
    border-top: 5px solid var(--primary);
    margin-top: 30px;
}
footer h2 {
    text-transform: uppercase;
}
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer ul li a {
    color: var(--bs-white);
    font-size: 12px;
}
footer .widget {
    margin-bottom: 30px;
}
.credit {
    font-size: 13px;
    background-color: rgba(0,0,0,0.1);
    padding: 20px 0;
    margin-top: 30px;
}