    /* Carousel Container */
    .carousel {
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        background-color: #fff;
    }

    .carousel-inner {
        position: relative;
        width: 100%;
        height: auto;
    }

    .carousel-item {
        position: relative;
        width: 100%;
        height: auto;
        display: none;
    }

    .carousel-item.active {
        display: block;
    }

    .carousel-item.active {
        display: block;
    }

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Changed to cover to maintain aspect ratio */
        position: absolute;
        top: 0;
        left: 0;
    }

    /* Modern Control Buttons */
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }

    .carousel-control-prev {
        left: 20px;
    }

    .carousel-control-next {
        right: 20px;
    }

    .carousel:hover .carousel-control-prev,
    .carousel:hover .carousel-control-next {
        opacity: 0.7;
        background-color: #d6d6d6;
        border: none;
    }

    /* Control Icons */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
        color: rgb(255, 255, 255);
        filter: invert(1) grayscale(100);
    }

    /* Carousel Indicators styling */
    .carousel-indicators-container {
        display: flex;
        justify-content: center;
    }

    .carousel-indicators {
        position: relative;
        margin: 0;
        padding: 10px 0;
        display: flex;
        gap: 8px;
        background: transparent;
        bottom: 0;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #ccc;
        border: none;
        padding: 0;
        margin: 0;
        transition: all 0.3s ease;
        opacity: 0.7;
    }

    .carousel-indicators button.active {
        width: 25px;
        border-radius: 5px;
        background-color: #007bff;
        opacity: 1;
    }

    .carousel-indicators button:hover {
        opacity: 1;
        transform: scale(1.1);
    }

    /* Responsive styling for hero section */
    @media (max-width: 768px) {
        .carousel-inner {
            padding-top: 44.44%;
            /* Maintain aspect ratio on mobile */
        }
    }

    /* Add these styles for the alerts */
    .alert-success {
        background-color: #f0fff4;
        border-left: 4px solid #28a745;
    }

    .alert-card {
        position: relative;
        transition: all 0.3s ease;
    }

    /* Add this to your existing styles */
    .alert-success {
        background-color: #f0fff4;
        border-left: 4px solid #28a745;
    }

    .alert-card {
        position: relative;
        transition: all 0.3s ease;
    }

    .alert-card.fade {
        transition: opacity 0.15s linear;
    }

    .alert-card.fade.show {
        opacity: 1;
    }

    .alert-dismissible .btn-close {
        padding: 1.25rem;
        cursor: pointer;
        transition: opacity 0.15s linear;
    }

    .alert-dismissible .btn-close:hover {
        opacity: 0.75;
    }

    .alert-card .card-body {
        padding: 1.25rem;
    }

    .alert-danger {
        background-color: #fff1f0;
        border-left: 4px solid #dc3545;
    }

    .alert-warning {
        background-color: #fff8e6;
        border-left: 4px solid #ffc107;
    }

    .alert-card .card-title {
        color: #2c3e50;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .alert-card .card-text {
        color: #596575;
    }

    .alert-card ul li {
        padding: 0.25rem 0;
    }

    .btn-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .alert-card .btn-close {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        width: 1rem;
        height: 1rem;
        padding: 0.25rem;
        background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.75rem auto no-repeat;
        border: 0;
        border-radius: 0.25rem;
        opacity: 0.5;
        transition: opacity 0.15s ease-in-out;
    }

    .alert-card .btn-close:hover {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .alert-card .btn-close:focus {
        outline: none;
        box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
    }

    /* Update alert card to accommodate close button */
    .alert-card .card-body {
        padding: 1.25rem;
        padding-right: 3rem;
    }

    /* Specific styles for different alert types */
    .alert-danger .btn-close {
        filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
    }

    .alert-warning .btn-close {
        filter: invert(77%) sepia(38%) saturate(1096%) hue-rotate(359deg) brightness(103%) contrast(107%);
    }

    .alert-success .btn-close {
        filter: invert(32%) sepia(96%) saturate(1035%) hue-rotate(93deg) brightness(96%) contrast(86%);
    }

    /* Dashboard Service Cards Styling */
    .row .card {
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    }

    .row .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 123, 255, 0.2);
    }

    .row a {
        text-decoration: none;
        color: inherit;
    }

    .card-title {
        font-weight: 600;
        color: #333;
        margin-top: 5px;
    }

    /* Modern Sticky Header Styles */
    .header-section.sticky-top {
        z-index: 1050;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .bg-white-glass {
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .user-badge {
        transition: all 0.2s ease;
        cursor: default;
    }

    .user-badge:hover {
        background: #f8f9fa !important;
        border-color: #007bff !important;
    }

    .btn-outline-danger.rounded-circle:hover {
        background-color: #dc3545;
        color: #fff;
        transform: rotate(15deg);
    }

    .navbar-brand h5 {
        font-size: 1.15rem;
        background: linear-gradient(45deg, #2c3e50, #007bff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

/* ---------- Modern SaaS Hero ---------- */
.hero-modern {
    background: radial-gradient(circle at top right, rgba(0, 123, 255, 0.04), transparent 500px),
                radial-gradient(circle at bottom left, rgba(0, 123, 255, 0.02), transparent 500px);
    overflow: hidden;
}

.text-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bg-primary-soft {
    background: rgba(13, 110, 253, 0.08) !important;
}

.hero-slider-card {
    border-radius: 28px !important;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
}

.hero-slider-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 40px 80px rgba(13, 110, 253, 0.12) !important;
}

.hero-text-col h1 {
    line-height: 1.1;
}

.btn-primary.shadow-sm {
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2) !important;
    color: #ffffff !important;
}

.btn-outline-dark {
    color: #1a237e !important;
    border-color: #1a237e !important;
}

.btn-outline-dark:hover {
    background-color: #1a237e !important;
    color: #ffffff !important;
}

.slider-img-container {
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 28px;
}

.hero-img {
    width: 100% !important;
    height: auto !important;
    max-height: 450px !important;
    object-fit: contain !important;
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

/* Custom SaaS Controls */
.custom-ctrl {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0 !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #007bff !important;
    border: none !important;
}

.hero-carousel-wrapper:hover .custom-ctrl {
    opacity: 1 !important;
}

.carousel-control-prev.custom-ctrl { left: 20px; }
.carousel-control-next.custom-ctrl { right: 20px; }

/* SaaS Dot Indicators */
.dot-indicator {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: #dee2e6;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
}

.dot-indicator.active {
    width: 30px;
    background: #007bff;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

@media (max-width: 991px) {
    .hero-text-col {
        text-align: center;
        align-items: center !important;
    }
    .hero-text-col h1 { font-size: 2.5rem; }
}

/* ---------- Modern Alerts ---------- */
.modern-alert {
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    border-left: 4px solid #333 !important;
}

.alert-danger-modern {
    background-color: #fffbfa !important;
    border-left-color: #d32f2f !important;
}

.alert-warning-modern {
    background-color: #fff !important;
    border-left-color: #333 !important;
}

.alert-info-modern {
    background-color: #fff !important;
    border-left-color: #333 !important;
}

.modern-alert h5 {
    font-size: 1.2rem !important;
}

.alert-danger-modern h5 { color: #b71c1c !important; font-weight: 800 !important; }
.alert-warning-modern h5 { color: #e65100 !important; font-weight: 800 !important; }
.alert-info-modern h5 { color: #0056b3 !important; font-weight: 800 !important; }

.modern-policy-list .text-dark {
    color: #1a1a1a !important; /* High contrast black */
    font-weight: 700 !important;
}

.modern-policy-list .text-muted {
    color: #333333 !important; /* High contrast dark grey */
}

.bg-danger-soft { 
    background-color: #ffebee !important; 
    color: #c62828 !important;
}

.bg-warning-soft { 
    background-color: #fff3e0 !important; 
    color: #ef6c00 !important;
}

.bg-info-soft { 
    background-color: #e3f2fd !important; 
    color: #0d47a1 !important;
}

.modern-policy-list li {
    font-size: 0.95rem;
}

.fs-xs {
    font-size: 0.75rem !important;
}

.modern-policy-list .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.last-border-0 { border-bottom: none !important; }

.btn-close-minimal {
    background: none;
    border: none;
    color: #bfbfbf;
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-close-minimal:hover {
    color: #595959;
    transform: scale(1.1);
}

.badge.rounded-pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* Scrollable List */
.modern-policy-scroll {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Thin Scrollbar */
.scroll-thin::-webkit-scrollbar {
    width: 6px;
}

.scroll-thin::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-thin::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.scroll-thin::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

.scroll-thin {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}