:root {
    --primary-color: #0E9294;
    --secondary-color: #085859;
    --background-color: #1F1F1F;
    --light-background: #242424;
    --text-color: #dbdbdb;
    --border-color: #ccc;
    --hover-filter: grayscale(100%) brightness(0.5);
    --transition-speed: 0.3s;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: Arial, sans-serif;
}

.schedule-demo-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: filter var(--transition-speed);
    border-radius: 25px;
    z-index: 99999;
    transition: background-color 0.3s ease;
}

.schedule-demo-btn:hover {
    background-color: hsla(181, 83%, 32%, 0.555);
}

/* Booking Modal Overlay */
.booking-modal {
    display: none;
    /* Hidden by default, use JS to display */
    position: fixed;
    z-index: 1000;
    /* Ensure it sits above other elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Enable scrolling if needed */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black with opacity for overlay */
}

/* Booking Modal Content */
.booking-modal-content {
    position: relative;
    margin: 0.25% auto;
    /* Center the modal content */
    width: 60%;
    height: 100%;
    background-color: #fff;
    /* Modal background color */
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    /* Hide content overflow */
}

/* Close Button for Booking Modal */
.booking-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.booking-modal-close:hover,
.booking-modal-close:focus {
    color: #000;
    text-decoration: none;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .booking-modal-content {
        width: 100%;
        height: 100%;
        margin: 0; /* Remove margin to take full space */
        border-radius: 0; /* Remove border-radius for full-screen effect */
        position: relative; /* Ensure positioning context for children */
    }
    
    /* Ensure close button remains visible and accessible */
    .booking-modal-close {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 36px; /* Larger for better visibility and touch */
        color: #000000; /* White for contrast */

        padding: 5px 10px; /* Larger hitbox */

        line-height: 1; /* Center the × vertically */
        z-index: 1001; /* Ensure it's above the iframe */
        cursor: pointer;
    }
    
    .booking-modal-close:hover,
    .booking-modal-close:focus {
        color: #ddd; /* Lighter shade for hover */
        background-color: rgba(0, 0, 0, 0.9); /* Darker background on hover */
    }

    /* Prevent iframe from overlapping the close button */
    .booking-modal-content iframe {
        display: block;
        max-height: calc(100% - 60px); /* Leave space for close button */
        margin-top: 60px; /* Push iframe down to avoid overlap */
    }
}