.virtualcards-wrapper1 {
    display: flex;
    flex-direction: column; /* Stack header on top of cards */
    align-items: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: calc(1.5vh + 2.5vh); /* Adjust based on page layout */
    height: 42vh;
}

.virtualcards-header1 {
    width: 100%;
    text-align: center;
}

.virtualcards-header1 p {
    font-size: clamp(2.2rem, 2vw, 4.5rem); /* Responsive font size */
    font-family: "Inter Tight", serif;
    font-weight: 500;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
    margin: 1rem 0 2vh 0; /* Add vertical margin between header and cards */
}

.virtualcards1 {
    display: flex;
    overflow-x: auto; /* Horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    z-index: 3;
    margin-top: calc(-1vh + 0.5vh); /* Adjust as needed for spacing */
    height: auto;
    max-width: calc(100% - 40px); /* Adjust width based on left padding */
    box-sizing: border-box;
    justify-content: flex-start; /* Align cards to the left */
    align-items: center; /* Center cards ve4rtically */
    padding-bottom: 2vh;
    overflow-y: hidden; /* Disable vertical scrolling */
}

.virtualcards1::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.card-container1 {
    flex: 0 0 auto; /* Prevent shrinking */
    width: 220px; /* Fixed card width */
    margin-right: 1.5rem; /* Space between cards */
    background-color: rgba(255, 255, 255, 0.8);  
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    height: 18rem;
}

.card-container__header1 {
    height: 130px; /* Fixed height for the header to display the image */
    background-size: cover; /* Ensure the image covers the header area */
    background-position: center; /* Center the background image */
    flex-shrink: 0; /* Prevent shrinking */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.card-container__content1 {
    padding: 8px; /* Reduced padding for compact content */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure space between elements */
    font-family: "Inter Tight", serif;
}

.title1 {
    font-size: clamp(1rem, 0.8vw, 1rem); /* Responsive font size */
    font-family: "Inter Tight", serif;
    align-items: center;
    text-align: center;
    font-weight: 500;
    margin-bottom: -0.5rem;
}

.line {
    width: 100%; /* Full width of container */
    justify-items: center;
    position: relative;
    height: 2px; /* Thin line */
    background-color: black;
    text-align: center;
    margin: 10px auto; /* Center the line in the container */
    margin-bottom: -0.2rem;
    margin-top: -0.1rem;
}

.description {
    font-size: clamp(0.85rem, 1vw, 0.8rem); /* Responsive font size */
    font-family: "Inter Tight", serif;
    font-weight: 400;
    text-align: center; /* Aligns text to the left */
    width: 100%; /* Ensures it takes up the full container width */
    margin: 0 auto; /* Centers container horizontally */
    line-height: 1.4; /* Optional: Adjust line height for readability */
    display: flex;
    align-items: center; /* Centers content vertically in a flex container */
    justify-content: center; /* Centers container horizontally */
}

.button1 {
    display: flex; /* Flexbox to align content */
    justify-content: center; /* Center the button horizontally */
    margin-top: 10px; /* Reduced space above button */
    font-family: "Inter Tight", serif;
}

.common-button1 {
    width: 100%; /* Width of the button */
    background-color: #ffea0091;
    color: rgb(0, 0, 0);
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    padding: 4px; /* Adjusted padding */
    cursor: pointer;
    font-family: "Inter Tight", serif;
    margin: 0; /* Remove auto margins to allow proper centering */
}
