body {
    margin: 0;
    overflow-x: hidden;
    background: white;
}

a {
    outline: none;
    text-decoration: none;
}

a:focus, a:hover {
    outline: none;
    text-decoration: none;
}

section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.bg-dark {
    background: #212529 !important;
    color: #fff;
}

.bg-dark p {
    color: #b5bdca;
}

.bg-dark .title h2 {
    color: rgba(255, 255, 255, 0.7);
}

.bg-dark .title h2 span {
    color: #fff;
}

.theme-alt-bg {
    background: #fff;
}

.title {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}

.title h2 {
    margin-bottom: 15px;
    z-index: 3;
    color: #212529;
    margin-top: 15px;
    text-transform: capitalize;
}

.title h2 span {
    font-weight: 600;
}

.title .material-icons-two-tone {
    font-size: 40px;
}

@media only screen and (max-width: 992px) {
    .title {
        margin-bottom: 30px;
    }

    .title h2 {
        margin-bottom: 10px;
    }
}

.navbar {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 70px;
    top: -80px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background: rgba(22, 28, 37, 0.9);
    transition: all 0.3s linear;
    margin-bottom: 0;
    box-shadow: 0 8px 6px -10px rgba(0, 0, 0, 0.5);
}

.navbar:hover {
    background: rgb(22, 28, 37);
}

.navbar.default {
    top: 0;
}

@media (min-width: 767px) {
    .navbar .navbar-nav .nav-link {
        position: relative;
    }

    .navbar .navbar-nav .nav-link:after {
        content: "";
        position: absolute;
        height: 3px;
        bottom: 0;
        background: #D97C6B;
        left: 50%;
        right: 50%;
    }

    .navbar .navbar-nav .nav-link.active:after {
        left: 15%;
        right: 15%;
    }
}

header {
    position: relative;
    color: #fff;
    min-height: 60vh;
    padding-top: 160px;
    padding-bottom: 90px;
    display: flex;
    align-items: center;
}

header .header-img {
    border-radius: 5px;
    background: #fff;
    padding: 3px;
}

header > * {
    position: relative;
    z-index: 5;
}

header:after, header:before {
    content: "";
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    bottom: 0;
}

header:before {
    background-attachment: fixed;
    z-index: 1;
}

header:after {
    background-color: #D97C6B;
    z-index: 2;
}

.features {
    position: relative;
    background-color: #D97C6B; /* Coral background */
    padding: 40px 20px;
}

.features:before {
    background-attachment: fixed;
    z-index: 1;
}

.features:after {
    background-color: #D97C6B;
    z-index: 2;
}

.features h2, h3 {
  color: white;
}

.feature-row {
    margin-bottom: 20px; /* Add spacing to the bottom of the row */
}

.feature-row .col-lg-4,
.feature-row .col-md-6 {
    margin-bottom: 20px; /* Add vertical spacing between rows */
    padding: 0 10px; /* Adjust horizontal spacing */
}

.feature-block {
    padding: 30px 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* For smaller screens, adjust to 2 items per row */
@media (max-width: 768px) {
    .feature-block {
        flex: 0 0 calc(50% - 20px);
    }
}

/* For very small screens, stack items */
@media (max-width: 480px) {
    .feature-block {
        flex: 0 0 100%;
    }
}
.feature-block .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    flex-shrink: 0;
}

.feature-block .feature-icon i {
    font-size: 32px;
}

.feature-block:hover {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
}

.feature-block:hover .feature-icon {
    background-color: #D97C6B;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
}

.feature-block:hover .feature-icon i {
    color: #fff;
}

.feature-block p {
    margin-bottom: 0;
}

.layout-block {
    padding: 5px 5px 15px;
    border-radius: 25px;
    margin-bottom: 30px;
    background: #fff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
}

.layout-block .layout-img {
    display: block;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.layout-block .layout-img .overlay-action {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #D97C6B;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.layout-block .layout-img .overlay-action i {
    font-size: 35px;
    color: #fff;
}

.layout-block .layout-img:hover .overlay-action {
    opacity: 1;
}

.layout-block > *:not(.layout-img) {
    padding-left: 30px;
    padding-right: 30px;
}

.call-to-action > * {
    position: relative;
    z-index: 5;
}

.call-to-action:after, .call-to-action:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.call-to-action:before {
    background-attachment: fixed;
    z-index: 1;
}

.call-to-action:after {
    background-color: #D97C6B;
    z-index: 2;
}

.call-to-action {
    position: relative;
}
.cta-block {
    padding: 40px 45px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
}

.cta-block i {
    font-size: 50px;
}

.st_cta_content h2, h3 {
    color: white;
}

.price-block {
    position: relative;
    padding: 45px 25px 40px;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
}

.price-block .price-icon {
    font-size: 40px;
}

.price-block .price-package {
    font-size: 40px;
}

.price-block .price-package span {
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.7;
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.price-block .price-list {
    text-align: center;
    margin: 30px 0;
}

.price-block .price-list li {
    margin: 8px 0;
    position: relative;
    padding-left: 30px;
}

.price-block .price-list li svg {
    position: absolute;
    top: 1px;
    left: 0;
    stroke: #D97C6B;
    fill: rgba(4, 169, 245, 0.3);
}

.price-block .price-badge {
    background-color: #dc3545;
    box-shadow: 0 3px 15px rgba(220, 53, 69, 0.3);
    color: #fff;
    font-size: 20px;
    transform: rotate(45deg);
    position: absolute;
    display: block;
    right: -45px;
    width: 158px;
    top: 20px;
}

.price-block.active {
    background: #D97C6B;
    box-shadow: 0 5px 25px rgba(4, 169, 245, 0.5);
    color: #fff;
}

.price-block.active .h3 {
    color: #fff;
}

.price-block.active .price-list li svg {
    stroke: #fff;
    fill: rgba(255, 255, 255, 0.3);
}

.footer-top {
    position: relative;
    padding: 90px 0;
    background: #212529;
    transform-origin: right;
    border-radius: 90px 0 0 0;
}

footer {
    color: #fff;
    padding: 0;
    position: relative;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease-in-out;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

footer h5 {
    position: relative;
    color: #fff;
    margin-bottom: 30px;
}

footer h5:before {
    content: "";
    position: absolute;
    width: 40px;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #fff;
}

footer .list-unstyled li a {
    font-size: 14px;
}

footer .sos-icon li {
    display: inline-block;
}

footer .sos-icon a {
    width: auto;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    margin-right: 12px;
    justify-content: center;
    font-size: 16px !important;
    transition: all 0.3s ease-in-out;
}

footer .sos-icon a:focus, footer .sos-icon a:hover {
    text-decoration: none;
    box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

footer .b-footer {
    position: relative;
    padding-top: 100px;
}

footer .b-footer p {
    margin-bottom: 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 1;
    position: relative;
}

footer .b-footer .bottom-tag {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 100px;
    opacity: 0.05;
    width: 100%;
    text-align: center;
    z-index: 1;
}

@media only screen and (max-width: 992px) {
    header,
section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    footer {
        padding: 40px 0 0;
    }

    footer .list-unstyled li a {
        font-size: 16px;
    }

    footer h5 {
        margin-top: 20px;
    }

    footer .b-footer {
        padding-top: 10px;
    }

    footer .b-footer p {
        padding: 10px 0;
    }

    footer .b-footer .bottom-tag {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .demo .nav-pills .nav-link {
        margin-bottom: 15px;
    }

    .footer-top {
        padding: 50px 0;
    }

    .feature-block {
        border-bottom-color: transparent;
        border-left-color: transparent;
        border-right-color: transparent;
        border-top-color: #dee2e6 !important;
    }

    .feature-row > div[class*=col-]:nth-child(1) .feature-block {
        border-top-color: transparent !important;
    }

    .navbar {
        height: auto;
    }
}

.nav-pills {
    padding: 8px 25px 8px 25px;
}

.nav-pills .nav-link {
    height: 45px;
    line-height: 22.5px;
}

/* Demo Budget Tracker */
#demo-tool {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.budget-tracker-container {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.budget-overview {
    background: linear-gradient(135deg, #145675 0%, #1e7299 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.budget-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.category-icon {
    font-size: 24px;
    margin-right: 10px;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.category-amount {
    font-size: 18px;
    font-weight: bold;
    color: #145675;
}

.progress-bar {
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    margin: 15px 0;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.progress-good { background: linear-gradient(90deg, #28a745, #20c997); }
.progress-warning { background: linear-gradient(90deg, #ffc107, #fd7e14); }
.progress-danger { background: linear-gradient(90deg, #dc3545, #e74c3c); }

.benchmark-marker {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: #007bff;
    opacity: 0.7;
}

.category-details {
    margin-top: 10px;
    font-size: 14px;
    color: #6c757d;
}

.variance {
    font-weight: 500;
}

.variance.positive { color: #dc3545; }
.variance.negative { color: #28a745; }

.input-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
}

.benchmark-controls {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.benchmark-selects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.select-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #495057;
}

.select-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

@media (max-width: 768px) {
    .category-cards {
        grid-template-columns: 1fr;
    }

    .budget-stats {
        grid-template-columns: 1fr;
    }

    .input-grid {
        grid-template-columns: 1fr;
    }
}


/* Initially hide the demo tool */
/*
#demo-tool {
    display: none;
}

#toggle-demo {
    margin-top: 30px;
}

.nav-item-freq {
    margin-left: auto !important;
 }

#viewFreq .btn{form-group
    margin: 0px;
    height: 45px;
    vertical-align: middle;
}

.pos-left {
    float: left;
}

.pos-right {
    float: right;
}

.input-group-append .dropdown-toggle {
    width: 120px;
}

*/
.card-header:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.card-header {
    color: #145675;
    font-size: 18px;
}

/*
.icon-header {
    margin-right: 8px;
    color: #145675;
}

.table {
    table-layout: fixed;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    vertical-align: middle;
    width: 100px;
}

.input-spend-category {
    width: 300px;
}

.input-spend-category .btn {
    -moz-appearance: none;
}

.amount-total {
    float: right;
}

.chart-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}
*/

/* Container for inline dropdowns */
/*
.dropdown-benchmark-container {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
}
*/

/* Style for the dropdown buttons */
/*
.dropdown-benchmark {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    height: 30px;
    font-size: 13px;
}
*/

/* Style for the color legend */
/*
.legend-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 50px;
}
.legend {
    display: flex;
}
.legend-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: 12px;
}
.color-box {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
*/

.blog {
    position: relative;
    background-color: #D97C6B /* Coral background */
    padding: 40px 0;
}

.blog > * {
    position: relative;
    z-index: 5;
}

.blog:after, .blog:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.blog:before {
    background-attachment: fixed;
    z-index: 1;
}

.blog .blog-col {
    width: 28%;
}

/* CTA Block */
.cta-block {
    padding: 40px 45px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
}


/* Blog Cards */
.blog-card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.blog-card:not(:hover) {
    transform: translateY(0);
}

.blog-card h3 {
    color: black;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: medium;
    text-align: left;
}

.blog-card p {
    margin-bottom: 15px;
}

/* Icon colors */
.fa-bullhorn {
    font-size: 80px;
    color: white;
}

.fa-envelope {
    color: #145675;
}

/* Blog images */
.image-container {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: flex-start; /* Align to the top */
    overflow: hidden; /* Hide the bottom part of the image */
    height: 80%; /* Reduce the height to 80% */
}

.center-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top; /* Focus on the top part of the image */
    opacity: 80%;
    border-radius: 8px; /* Optional: Add rounded corners */
}

/* Static Web Browser Recommendation Message */
.flash-message {
    background-color: rgba(248, 215, 218, 1); /* Red background */
    color: #721c24; /* Dark red text */
    padding: 5px 20px; /* Reduced padding for smaller height */
    font-size: 14px; /* Slightly smaller font size */
    text-align: center;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    z-index: 9999;
}

/* Position the Static Web Browser Message */
.fixed-top {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    margin: 0;
}

/* Dynamic Flash Messages Below */
.alert-success {
    position: fixed !important;
    top: 42px !important;;
    padding: 5px 20px !important; /* Reduced padding for smaller height */
    background-color: #d4edda !important; /* Green background for success */
    color: black !important;
    font-size: 14px !important; /* Force the smaller font size */
    text-align: center !important;
    border-radius: 5px !important;
    margin-left: 0 !important; /* Remove left margin */
    display: none;
}

/* Fade-out animation */
.fade-out {
    animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}