body {
    background-color: #FFFFFF !important;
}
.btn-primary {
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #183f8d 0%, #1e4fa0 100%) !important;
    border-color: #183f8d !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #1e4fa0 0%, #183f8d 100%) !important;
    border-color: #1e4fa0 !important;
}
.btn-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
    border-color: #27ae60 !important;
}
.btn-success:hover {
    background: linear-gradient(135deg, #229954 0%, #27ae60 100%) !important;
    border-color: #229954 !important;
}
.btn-outline-primary {
    color: #183f8d !important;
    border-color: #183f8d !important;
}
.btn-outline-primary:hover {
    background: linear-gradient(135deg, #183f8d 0%, #1e4fa0 100%) !important;
    color: white !important;
}
.btn-outline-success {
    color: #27ae60 !important;
    border-color: #27ae60 !important;
}
.btn-outline-success:hover {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
    color: white !important;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgb(255, 255, 255);
}
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #ecf0f1 !important;
}
.top-bar {
    background: linear-gradient(135deg, #183f8d 0%, #1e4fa0 100%);
    color: white;
    padding: 10px 0;
    width: 100%;
}
.top-bar a {
    color: white;
    margin: 0 10px;
}

.top-bar .navbar-brand {
    margin-right: auto; /* Align the logo to the left */
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
}

.navbar {
    padding: 0;
}

.navbar-nav .nav-link {
    padding: 10px 15px;
}
#banner {
    background: url('/siteimg/webbanner.png') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 60px 0;
}
#banner .container {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.bannerdisplay-4 {
    font-size: calc(1.475rem + 2.7vw);
    line-height: 1.2;
}

/* New styles for product section */
.product-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 0;
}
.product-image {
    max-width: 50%;
    height: auto;
    object-fit: contain;
}
.product-details {
    max-width: 50%;
    padding-left: 20px;
}

.price-tiers {
    padding: 35px 0;
}
.price-tier-card {
    margin-bottom: 20px;
}
.carousel-item {
    border: none;
    background: #FFFFFF; /* Pure white background */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Subtle shadow for elevation */
    padding: 20px; /* Add some padding for better spacing */
    border-radius: 8px; /* Rounded corners for a modern look */
}

.carousel {
    margin-top: 0 !important; /* Adjust margin to align with the top of the section */
    position: relative;
}

/* Logo styles for desktop */
.logo-image {
    max-height: 40px;
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}


/* Responsive Styles */
@media (max-width: 767.98px) {
    /* Logo fixes for mobile */
    .logo-image {
        max-height: 40px !important;
        margin: 0;
        display: block;
        border-radius: 8px;
    }

    .col-md-2.col-12 {
        text-align: left;
        padding: 0;
    }

    /* Place the logo in the top bar for mobile */
    header .row.gx-0 {
        display: flex;
        flex-direction: column;
    }

    header .col-md-2.col-12 {
        order: -1;
        width: auto;
        position: absolute;
        left: 5px;
        top: 0;
        z-index: 1030;
    }

    /* Make space for the hamburger menu */
    .navbar-toggler {
        margin-left: 50px;
    }

    /* Give more vertical space for the navbar on mobile */
    header .col-md-10.col-12 {
        padding-top: 0;
    }

    .navbar-nav .nav-link {
        padding: 5px 10px;
    }

    #banner {
        padding: 40px 0;
    }

    /* Mobile fixes for product sections */
    .product-section {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .product-image {
        max-width: 100%;
        margin-bottom: 20px;
        order: -1; /* Make image appear first in all product sections */
    }

    .product-details {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* Improve feature list display on mobile */
    .feature-list {
        padding-left: 15px;
        text-align: left;
    }

    /* Better spacing for the navbar on mobile */
    .navbar-collapse {
        padding: 10px 0;
    }
}

/* User Stories Section Styling */
#user-stories {
    margin: 40px 0;
}

#user-stories h2 {
    color: #183f8d; /* Primary brand color */
    font-weight: 600;
    margin-bottom: 30px;
}

#user-stories h3 {
    color: #1e4fa0; /* Primary brand color */
    font-weight: 500;
    margin-bottom: 15px;
}

#user-stories p {
    font-style: italic;
    color: #4a4a4a;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 80%;
    margin: 0 auto;
}

/* Carousel Controls - Make arrows visible */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 1;
    z-index: 10;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #183f8d;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    position: relative;
}

/* Override Bootstrap's default white icons with visible dark arrows */
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.5rem;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.5rem;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #1e4fa0;
    transform: scale(1.1);
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}

/* Card Headers - Match System Colors */
.card-header.bg-primary {
    background: linear-gradient(135deg, #183f8d 0%, #1e4fa0 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.card-header.bg-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Badge styling */
.badge.bg-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
}

/* Border Colors */
.border-success {
    border-color: #27ae60 !important;
}

.border-primary {
    border-color: #183f8d !important;
}
