.mb-3 {
    font-size: 1.5rem; /* Reduce the font size to 1.5rem, adjust as needed */
    text-align: center; /* Center-align the text */
    margin-bottom: 1rem; /* Adjust bottom margin as needed, 1rem is just an example */
    margin-top: 1rem; /* Adjust bottom margin as needed, 1rem is just an example */
    text-transform: uppercase; /* Make the text uppercase */
    font-style: italic; /* Set the font style to italic */
    color: #000; /* Set text color to black */
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3), /* Layered shadows for 3D effect */
    2px 2px 0 rgba(0, 0, 0, 0.2), 3px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Ensure card body text doesn't overflow */
.card-body {
    display: flex; /* Enables flexbox */
    flex-direction: column; /* Stacks flex items vertically */
    justify-content: space-between; /* Distributes space between flex items */
    height: 100%; /* Ensures card-body takes up all available space of the card */
}

.card-text {
    display: block; /* Ensures the element behaves like a block-level element */
    /*height: 4.5em;*/ /* Example fixed height - adjust as needed */
    overflow: hidden; /* Hides text that overflows the fixed height */
    margin-bottom: 0.5rem; /* Adjust as needed for spacing */
    line-height: 1.5em; /* Adjust line height as needed for text spacing */
}

/* Specificity increased: Direct child p elements inside .card-body */
.card-body > .card-title,
.card-body > .card-text {
    
    line-height: 1.3 !important; /* Adjust the line height for less space between lines */
    margin-bottom: 5px !important; /* Reduce bottom margin to bring text closer together */
    white-space: normal; /* Allow text wrapping */
    overflow: visible; /* Show overflow */
    text-overflow: clip; /* Default clipping of overflow text */
    /*height: 20px;*/ /* Fixed height for card-title and card-text */
}
.card-title {
    text-align: center;
}
/* Add some spacing between cards */
.card {
    margin-bottom: 10px;
    overflow: hidden; /* Hide the overflow if content exceeds the card height */
}

.card-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Number of lines you want to display */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em; /* Adjust the line height as needed */
    max-height: 4.5em; /* Maximum height (line-height * number of lines) */
    margin-bottom: 10px; /* Adjust the margin as needed */
}

/* Container for the horizontal scroll and arrows */
.scroll-arrows {
    position: relative;
    display: flex;
    align-items: center;
}

/* Style for the left and right arrows */
.scroll-left, .scroll-right {
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

/* Positioning the arrows */
.scroll-left {
    position: absolute;
    left: 0;
}

.scroll-right {
    position: absolute;
    right: 0;
}

/* Horizontal scrollable row */
.horizontal-scroll {
    overflow: hidden; /* Hide the overflow */
    flex-grow: 1; /* Let it fill the space between arrows */
    margin-top:10px;
}

.row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0;
    padding: 0;
}

.card-img-top {
    /* Your existing styles */
    flex: 0 0 auto; /* Do not grow or shrink, but allow basis auto */
    margin-right: 0px; /* Space between images */
    width: 322px !important; /* Set the width of the image */
    height: 230px !important; /* Set the height of the image */
    object-fit: cover !important; /* Cover the container, crop the image if necessary */
    display: block !important; /* Removes bottom space/margin of inline elements */
    overflow: hidden !important; /* Hide the overflowed part of the image */
}

.scroll-left, .scroll-right {
    cursor: pointer;
    background-color : #000;
    color: #fff; /* White background */
    border: 2px solid #ccc; /* Light grey border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Subtle shadow for depth */
    border-radius: 25px; /* Circular shape */
    width: 40px; /* Fixed width */
    height: 40px; /* Fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute; /* Positioning relative to parent */
    top: 50%; /* Vertically center */
    transform: translateY(-50%); /* Adjust vertical alignment */
    z-index: 10; /* Ensure it's above other elements */
}

/* If using text for arrows */
.scroll-left::after, .scroll-right::after {
    content: ''; /* Use appropriate content here */
    font-size: 20px; /* Large font size for the arrows */
    color: #333; /* Arrow color */
    font-weight: bold;
}

/* If using FontAwesome icons for arrows */
.scroll-left::after {
    content: '\f104';
}
/* FontAwesome left arrow */
.scroll-right::after {
    content: '\f105';
}
/* FontAwesome right arrow */

.horizontal-scroll-cards {
    display: flex;
    align-items: center;
}

.cards-container {
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    margin-top:3%;
}

.col-lg-4, .col-md-6 {
    display: inline-block;
    /* Ensure there is no wrap to a new line */
}

.image-scroll-container {
    position: relative;
    display: flex; /* Added this to ensure proper alignment */
    align-items: center; /* Align the buttons vertically to the center */
}

.card-img-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    position: relative; /* Needed for absolute positioning of children */
    -ms-overflow-style: none; /* IE and Edge */
    width: 100%; /* Full width of the card */
    scrollbar-width: none; /* Firefox */
    flex-grow: 1; /* Allows the container to grow and fill the space */
}

    /* Hide scrollbar for Webkit browsers */
.card-img-container::-webkit-scrollbar {
    display: none;
}


.scroll-cards-left, .scroll-cards-right {
    cursor: pointer;
    background: white;
    color:black;
    border: none;
    /* Add additional styles for your arrows */
}

.scroll-image-left, .scroll-image-right {
    position: absolute;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Offset the button height */
    z-index: 10;
    border: none;
    cursor: pointer;
    background-color: #000;
    color: #fff; /* White background */
    width: 25px; /* Fixed width */
    height: 25px; /* Fixed height */
    text-align: center;
    font-weight: bold; /* Make the text bold */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px; /* Adjust the size of the arrow */
    border-radius: 10px;
}

.scroll-image-left {
    left: 0px; /* Adjust the value as needed */
}

.scroll-image-right {
    right: 0px; /* Adjust the value as needed */
}


/* Style for the select element */
.curved-dropdown {
    -webkit-appearance: none; /* Removes default styling for WebKit browsers */
    -moz-appearance: none; /* Removes default styling for Firefox browsers */
    appearance: none;
    display: block;
    width: 27%; /* Adjust width as needed */
    padding: .5em 0.5em .5em .5em; /* Adjust padding and leave space for arrow */
    margin-left:35px;
    margin-top:5%;
    border: 1px solid #aaa; /* Adjust border color as needed */
    box-sizing: border-box;
    background-color: #fff; /* Adjust background color as needed */
    color: #333; /* Adjust text color as needed */
    font-size: 1em; /* Adjust font size as needed */
    position: relative; /* Required for positioning the arrow */
}

/* Style for the arrow icon using a pseudo-element */
.curved-dropdown {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg"><path d="M6 9l4-6H2z" fill="%23333"/></svg>');
    background-repeat: no-repeat;
    background-position: right .7em top 50%; /* Adjust right padding and center vertically */
    background-size: 12px 12px; /* Size of the arrow */
}


/* Style for the arrow icon */
.curved-dropdown + .select-arrow {
    position: relative;
    pointer-events: none; /* Makes sure clicks on the arrow still open the dropdown */
}

.curved-dropdown + .select-arrow:after {
    content: '\25BC'; /* Unicode for down arrow icon */
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
    color: #333; /* Adjust arrow color as needed */
    pointer-events: none;
}

.responsive-iframe {
    width: 100%;
    height: 200px; /* Adjust as needed */
    border: 0;
}

@media (max-width: 767px) {
    .responsive-iframe {
        height: 250px; /* Adjust for smaller screens */
    }

    .card {
        flex: 1 0 auto; /* Take full width on small screens */
    }

    .curved-dropdown {
        width: 100%; /* Full width on small screens */
        margin: 5% auto; /* Center the dropdown horizontally and adjust margin */
    }

    /* Style for the arrow icon */
    .curved-dropdown + .select-arrow {
        position: relative;
        pointer-events: none; /* Makes sure clicks on the arrow still open the dropdown */
    }
}