    /* Carousel Container */
    .carousel {
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        background-color: #fff;
    }

    .carousel-inner {
        position: relative;
        width: 100%;
        padding-top: 44.44%;
        /* This creates 9:4 aspect ratio (4/9 = 0.4444) */
        height: 0;
    }

    .carousel-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
    }

    .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%);
    }