.display-5 {
    font-size: 15px;
    color: #7a8086;
    text-align: center;
    margin-top: 15px;
    font-family: "proxima-nova", Helvetica, Arial, sans-serif;
}

.d-flex {
    background-color: #f0f4f7;
    min-height: 105px;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    border: none;
}

.nav-tabs .nav-link {
    position: relative;
    font-size: 1.2rem;
    color: #000;
    margin-right: 150px;
    margin-left: 150px;
    border: none;
    display: block;
    font-family: "proxima-nova", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #3b3b3b;
}

.nav-tabs .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
    border: none;
}

.nav-tabs .nav-link:hover::after,
.nav-tabs .nav-link.active::after {
    background: #384f72;
    border: none;
}

.tab-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: auto;
    /* Ensure both tabs don't push each other down */
}

.tab-pane {
    flex: 1;
    display: none;
    /* Hide inactive tab content */
    transition: all 0.3s ease;
}

.tab-pane.active {
    display: block;
    /* Only the active tab is displayed */
}

.full-width-swiper {
    margin-top: 20px;
    padding: 10px 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.tab-pane h3 {
    margin-bottom: 20px;
    border: none;
}

.left-column,
.right-column {
    flex: 1;
}

i {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

i p {
    margin-left: 20px;
    font-size: 14px;
}

.bi {
    font-size: 24px;
    color: #333;
}

i p {
    margin: 5px;
    color: #555;
}

.calendar {
    margin-top: 20px;
    width: 200px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
}

/* Style input field */
.flatpickr-input {
    width: 100%;
    padding-left: 35px;
    /* Adds space for the calendar icon */
}

/* Position the calendar icon inside the input field */
.calendar-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #333;
}

.right-column {
    padding-left: 40px;
}

/* Make the input container relative so the icon can be positioned absolutely inside */
.calendar-container {
    position: relative;
    width: 200px;
}

/* Swiper Styles */
.swiper-container {
    width: 100%;
    height: auto;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 50px;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9%;
    height: 100px;
    background-color: white;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid #384f72;
    display: inline-block;
}

.swiper-slide:hover {
    color: #384f72;
    transform: scale(1.1);
    border-color: #384f72;
}

.swiper-slide.active {
    /* Remove the grey background - keep same as regular slides */
}

.time-select {
    margin-top: 20px;
    display: none;
}

.time-select input {
    margin-right: 10px;
}

.full-width-swiper {
    margin-top: 20px;
    padding: 10px 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 20px;
}

.full-width-swiper .swiper-container {
    width: 100%;
    height: auto;
    background-color: white;
    margin-bottom: 20px;
}

.full-width-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 15px;
    background-color: white;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.full-width-swiper .swiper-slide.active {
    /* Remove the grey background - keep same as regular slides */
}

.full-width-swiper .swiper-button-prev,
.full-width-swiper .swiper-button-next {
    position: absolute;
    /* Ensure proper positioning */
    top: 50%;
    /* Vertically center the arrows */
    transform: translateY(50%, -50%);
    color: #384f72;
    font-size: 24px;
    z-index: 4;
    /* Ensure arrows appear above Swiper slides but not over unrelated content */
}

.full-width-swiper .swiper-button-prev {
    left: 5px;
    /* Position the left arrow */
}

.full-width-swiper .swiper-button-next {
    right: 5px;

    /* Position the right arrow */
}

.content-container {
    display: flex;
    /* Use flexbox for layout */
    flex-wrap: wrap;
    /* Allow wrapping for smaller screens */
    justify-content: space-between;
    gap: 400px;
    margin-top: 50px;
    margin-left: 10px;
    margin-bottom: 10px;
    /* Add space between columns */
}

.left-column {
    flex: 1;
    /* Allow left column to take available space */
    min-width: 300px;
    /* Ensure it doesn't shrink too much on smaller screens */
}

.right-column {
    flex: 1;
    /* Allow right column to take available space */
    min-width: 300px;
    /* Ensure it doesn't shrink too much on smaller screens */
    padding-left: 40px;
    margin-top: 100px;

    p {
        margin-left: 60px;
    }

    /* Maintain some padding */
}

.swiper-slide.disabled {
    opacity: 0.5;
    /* Make it look faded */
    background-color: #f8f9fa;
    /* Optional: different background */
}

/* Ensure swiper slide is positioned relative */
.swiper-slide {
    position: relative;
    padding: 10px;
    cursor: pointer;
}

/* Time select dropdown hidden by default */
#timeSelect {
    display: none;
    /* Keep hidden initially */
    position: absolute;
    bottom: 100%;
    /* Place it right above the selected date */
    left: 0;
    width: 100%;
    z-index: 10;
    margin: 20px;
    /* Ensure it is on top of other content */
}

/* Style for the time dropdown */
#timeDropdown {
    width: 20%;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*media queries*/
/* Base styles for large screens */
body {
    font-size: 16px;
}
@media (max-width: 1024px) {
    .right-column {
        p {
            margin-left: 71px;
        }
    }
}
@media (max-width: 1200px) {
    .nav-tabs .nav-link {
        margin-right: 80px;
        margin-left: 80px;
        font-size: 1rem;
    }

    .content-container {
        gap: 200px;
    }

    .left-column,
    .right-column {
        padding: 20px;
        min-width: 250px;
    }

    .calendar-container {
        width: 150px;
    }
}

@media (max-width: 992px) {
    .nav-tabs .nav-link {
        margin-right: 50px;
        margin-left: 50px;
    }

    .swiper-slide {
        font-size: 16px;
        width: 12%;
    }

    .content-container {
        gap: 100px;
        margin-top: 30px;
    }

    .calendar-container {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .right-column {
        p {
            margin-left: 233px;
        }
    }

    .content-container {
        flex-direction: column;
        gap: 20px;
    }

    .swiper-slide {
        font-size: 14px;
        width: auto;
    }

    .calendar-container {
        width: 100%;
    }

    .left-column,
    .right-column {
        min-width: auto;
        flex: none;
        padding: 10px;
    }

    .full-width-swiper .swiper-button-prev,
    .full-width-swiper .swiper-button-next {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .nav-tabs .nav-link {
        font-size: 0.8rem;
    }

    .swiper-slide {
        font-size: 12px;
    }

    .calendar-container {
        padding: 5px;
        width: 100%;
    }

    .full-width-swiper {
        padding: 5px 0;
    }
}
@media (max-width: 1440px) {
    /* Tabs */
    .nav-tabs .nav-link {
        margin-right: 60px;
        margin-left: 60px;
        font-size: 1.1rem;
    }
    .right-column {
        p {
            margin-left: 222px;
        }
    }
    /* Swiper Slide */
    .swiper-slide {
        font-size: 14px;
        width: auto;
        padding: 12px;
    }

    /* Content Layout */
    .content-container {
        gap: 150px;
        margin-top: 40px;
    }

    /* Calendar Container */
    .calendar-container {
        width: 180px;
        margin: 10px auto;
    }

    /* Swiper Arrows */
    .full-width-swiper .swiper-button-prev,
    .full-width-swiper .swiper-button-next {
        font-size: 22px;
    }

    /* Columns */
    .left-column,
    .right-column {
        padding: 30px;
        flex: 1;
        min-width: 300px;
    }

    /* General Font Scaling */
    body {
        font-size: 15px;
    }
}
/* Base styles */
.right-column p {
    margin: 0 auto; /* Center-align the paragraph */
    text-align: center;
    font-size: 1rem; /* Base font size */
    line-height: 1.5;
    max-width: 90%; /* Prevent overflow */
}

/* Large screens */
@media (max-width: 1440px) {
    .right-column p {
        margin: 0 auto; /* Center-align */
        font-size: 1rem;
    }
    .content-container {
        gap: 120px; /* Adjust spacing */
    }
}

/* Medium screens */
@media (max-width: 1200px) {
    .right-column p {
        margin: 0 auto;
        font-size: 0.95rem; /* Slightly smaller text */
    }
    .content-container {
        gap: 80px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .right-column p {
        margin: 0 auto;
        font-size: 0.9rem;
    }
    .content-container {
        gap: 50px;
    }
}

/* Small Tablets and Phones */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column; /* Stack columns */
        gap: 20px;
    }
    .right-column p {
        margin: 0 auto;
        font-size: 0.85rem; /* Scale down font size */
        max-width: 100%;
    }
}

/* Phones */
@media (max-width: 576px) {
    .right-column p {
        margin: 0 auto;
        font-size: 0.8rem; /* Further scale down for smaller screens */
    }
    .content-container {
        padding: 10px;
    }
}
/* Time select dropdown hidden by default */
#timeSelect {
    display: none; /* Keep hidden initially */
    position: absolute;
    bottom: 0; /* Ensure it stays at the bottom of the container */
    left: 0;
    width: auto; /* Make the dropdown span the full width of its container */
    z-index: 10;
    box-sizing: border-box;
}

/* Style for the time dropdown */
#timeDropdown {
    width: 100%; /* Make the dropdown span the full width of its container */
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Specific adjustments for smaller screens */
@media (max-width: 768px) {
    #timeSelect {
        bottom: 0; /* Keep at the bottom */
        left: 0;
        width: auto;
        z-index: 10;
        position: absolute;
    }
    #timeDropdown {
        width: 100%; /* Make the dropdown span the full width of its container */
        margin-bottom: 10px;
        /* Ensure full width */
    }
}

@media (max-width: 425px) {
    #timeSelect {
        bottom: 0; /* Keep at the bottom */
        left: 0;
        width: auto;
        z-index: 10;
        position: absolute;
    }
    #timeDropdown {
        width: 100%;
        /* Ensure full width */
        /* Ensure full width */
    }
}

@media (max-width: 375px) {
    #timeSelect {
        bottom: 0; /* Keep at the bottom */
        left: 0;
        width: auto; /* Ensure it spans the full width */
        z-index: 10;
        position: absolute; /* Absolute positioning to control placement */
    }

    #timeDropdown {
        width: auto;
        position: absolute;
        right: -27px;
        bottom: -6px; /* Align it 10px from the right edge */
    }
}
