#services {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: url('/ebazimgn.png') no-repeat center center;
    background-size: cover;
}

    #services .container {
        width: 100%;
        height: 100%;
        position: relative;
    }

        #services .container .text-overlay {
            position: absolute;
            color: white;
            font-size: 2em;
            text-align: center;
            background: rgba(0, 0, 0, 0.5);
            padding: 5px;
            border-radius: 5px;
            width: 80%;
            max-width: 800px;
            margin: auto;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        #services .container .top-right {
            position: absolute;
            top: 20px;
            right: 20px;
            transform: none;
            text-align: center;
            width: auto;
            max-width: none;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px;
            border-radius: 5px;
            color: white;
        }

@media (min-width: 768px) {
    #services .container .text-overlay {
        font-size: 3em;
        width: 60%;
    }

    #services .container .top-right {
        top: 20px;
        right: 20px;
        font-size: 1.5em;
        width: auto;
    }

   /* #services .container .logo-overlay img {
        width: 150px;
        height: 150px;
    }*/
}

@media (max-width: 767px) {
    #services .container .text-overlay {
        font-size: 1.5em;
        width: 90%;
    }

    #services .container .top-right {
        top: 10px;
        right: 10px;
        font-size: 1em;
        width: 65%;
        max-width: none;
        padding: 8px;
        margin-left: -60px;
    }

   /* #services .container .logo-overlay img {
        width: 100px;
        height: 100px;
    }*/
}



#tag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: black;
    color: #fff;
    min-height: 8vh;
    border-top: 1px solid white;
}

    #tag .container {
        width: 100%;
        text-align: center;
    }

    #tag img {
        max-width: 14%;
        height: auto; /* Maintain aspect ratio */
    }

    #tag p {
        margin: 10px 0;
    }

@media (max-width: 1024px) {
    #tag {
        padding: 50px 0;
    }

        #tag img {
            max-width: 20%; /* Slightly larger on medium screens */
        }

        #tag p {
            font-size: 16px; /* Adjust font size for better readability */
        }
}

@media (max-width: 768px) {
    #tag {
        flex-direction: column;
        padding: 40px 0;
    }

        #tag img {
            max-width: 30%; /* Larger image size on small screens */
        }
}

@media (max-width: 480px) {
    #tag {
        padding: 20px 0;
    }

        #tag img {
            max-width: 50%; /* Even larger image size on very small screens */
        }

        #tag p {
            font-size: 14px; /* Further reduce font size on very small screens */
        }
        #tag .powered-by {
            color: orangered;
            font-size: 14px;
            margin: 5px 0;
            text-align: center; /* Center text alignment for mobile view */
        }
}

.powered-by {
    color: orangered;
    font-size: 14px;
    margin: 5px 0;
    text-align: left; /* Center text alignment for mobile view */
}


/* Base Styles */
#appointment {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: black;
    color: #fff;
    min-height: 100vh;
}

    #appointment .container {
        width: 100%;
    }

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

    .section-title h2 {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .section-title p {
        font-size: 16px;
        margin-bottom: 0;
    }

.email-form {
    max-width: 600px;
    margin: 0 auto;
}

    .email-form .form-group {
        margin-bottom: 20px;
    }

    .email-form .form-control {
        border-radius: 4px;
        box-shadow: none;
        font-size: 16px;
        height: 8vh;
    }

    .email-form textarea.form-control {
        resize: none;
        height: auto;
    }

.validate, .loading, .error-message, .sent-message {
    display: none;
    color: red;
    background: #f2dede;
    padding: 10px;
    margin-bottom: 10px;
}

.sent-message {
    color: green;
    background: #dff0d8;
}

.email-form button[type="submit"] {
    background: black;
    border: 2px solid #4cae4c;
    padding: 10px 24px;
    color: #fff;
    transition: 0.4s;
    cursor: pointer;
    border-radius: 4px;
    width: 100%; /* Full width for all screen sizes */
    height: 8vh;
}

    .email-form button[type="submit"]:hover {
        background: #4cae4c;
        border-color: #3d8b3d;
    }

/* Responsive Styles */
@media (min-width: 768px) {
    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 14px;
    }

    .email-form .form-group {
        margin-bottom: 15px;
    }

    .email-form .form-control {
        font-size: 14px; /* Adjust font size for larger screens */
    }

    .email-form button[type="submit"] {
        padding: 8px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 12px;
    }

    .email-form .form-group {
        margin-bottom: 10px;
    }

    .email-form .form-control {
        font-size: 12px;
    }

    .email-form button[type="submit"] {
        padding: 6px 16px;
        font-size: 12px;
        height: auto; /* Adjust height for mobile screens */
    }
}

/* Loader with Message */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.loading-ai {
    position: relative;
    display: block;
    width: 4rem;
    height: 4rem;
}

    .loading-ai circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-ai circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

code {
    color: #c02d76;
}

.title-container {
    display: flex;
    align-items: center;
}

.loading-ai {
    cursor: pointer;
}

/* Popup Container Styles */
.popup {
    display: none; /* Initially hidden */
    position: fixed; /* Fixed positioning */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for exact center */
    padding: 20px; /* Padding inside the popup */
    background-color: transparent; /* Background color */
    border: 1px solid #ccc; /* Border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Shadow for depth */
    z-index: 1001; /* Ensure it sits above the overlay */
    max-width: 90%; /* Limit width on mobile */
    max-height: 90%; /* Limit height on mobile */
    overflow: auto; /* Add scroll if content overflows */
    border-radius: 8px; /* Rounded corners */
}

/* Close Button Styles */
.close-btn {
    position: absolute; /* Absolute positioning */
    top: 10px; /* Position 10px from the top */
    right: 10px; /* Position 10px from the right */
    background: none; /* No background */
    border: none; /* No border */
    font-size: 20px; /* Larger font size for the close icon */
    cursor: pointer; /* Pointer cursor on hover */
    z-index: 1002; /* Ensure it sits above the popup content */
}

/* Popup Overlay Styles */
.popup-overlay {
    display: none; /* Initially hidden */
    position: fixed; /* Fixed positioning */
    top: 0; /* Full height */
    left: 0; /* Full width */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000; /* Ensure it sits below the popup */
}

/* Responsive Popup Styles */
@media (max-width: 600px) {
    .popup {
        max-width: 95%; /* Adjust width for small screens */
        max-height: 95%; /* Adjust height for small screens */
        padding: 10px; /* Reduce padding */
    }

    .close-btn {
        top: 5px; /* Reduce top margin on small screens */
        right: 5px; /* Reduce right margin on small screens */
    }
}

/* Card Styles */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 244px;
    word-wrap: break-word;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    padding: 20px;
    margin: 6px;
}









