/* Base styling for the body */
body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #ffffff;
    color: #0f0f0f;
}

/* Card styling */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Card header styling */
.card-header {
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
    text-align: center;
}

/* List group item styling */
.list-group-item {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px !important;
    margin-bottom: 9px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.list-group-item:last-child {
    margin-bottom: 0;
}
/* Hover effect for list group items */
.list-group-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Flex container within list group items */
.list-group-item .d-flex {
    flex-wrap: nowrap;
    align-items: center;
}

/* Icon styling within list items */
.item-icon {
    font-size: 2.0rem;
    color: #0f0f0f;
    margin-right: 1rem;
}

/* Title styling within list items */
.item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f0f0f;
    margin-bottom: 0.5rem;
    margin-right: 10px;
    flex-grow: 1;
    white-space: normal;
}

/* Description text styling within list items */
.item-description {
    font-size: 1rem;
    color: #0f0f0f;
    line-height: 1.4;
}

/* Styles for "Read more" functionality */
.read-more {
    cursor: pointer;
    color: #007bff;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

.read-more:hover {
    text-decoration: underline;
}

.read-more .arrow {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.read-more[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}

/* Collapse section styling */
.collapse {
    font-size: 1rem;
    color: #0f0f0f;
    line-height: 1.4;
}

/* Carousel controls styling */
.carousel-control-prev,
.carousel-control-next {
    width: 35px;
    height: 35px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    top: 93%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 14px;
}

.carousel-control-next {
    right: 14px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 25px;
    height: 25px;
}

/* Carousel caption styling */
.carousel-caption {
    background-color: rgba(255, 255, 255, 1);
    padding: 10px;
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    margin-bottom: auto;
    padding-bottom: auto;
}

@media (max-width: 1399.98px) {
    .item-title {
        margin-top: 1.3rem !important;
        margin-bottom: 1.35rem !important;
    }
}

@media (max-width: 1199px) {
    .list-group-item .d-flex {
        min-height: 97px;
    }
}

@media (max-width: 991px) {
    .list-group-item .d-flex {
        min-height: initial;
    }
}

@media (max-width: 767px) {
    .list-group-item .d-flex {
        min-height: 60px;
    }
}

@media (max-width: 576px) {
    .list-group-item .d-flex {
        min-height: initial;
    }
}

/* Combined media queries for mobile */
@media (max-width: 576px) {
    /* Carousel controls */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    /* List group items */
    .list-group-item .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .item-title {
        text-align: center;
        white-space: normal;
        width: 100%;
        margin-top: 0rem !important;
        margin-bottom: 0rem !important;
    }

    .read-more {
        margin-top: 10px;
        margin-left: 0;
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .card-header h4 {
        white-space: normal;
        overflow: visible;
    }
}

