/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff; /* Light blue background */
    line-height: 1.6;
    color: #333;
    padding-bottom: 60px; /* Adjust padding bottom to accommodate fixed footer */
}

h1, h2 {
    color: #0D73BB; /* Blue headings */
    margin: 5px 0;
}

h1 {
    font-size: 2em !important; /* Adjusted font size for h1 */
}

h2 {
    font-size: 1.5em !important; /* Adjusted font size for h2 */
}

h3 {
    font-size: 1.25em !important; /* Adjusted font size for h3 */
}

p {
    font-size: 1em !important; /* Adjusted font size for paragraphs */
}

a {
    color: #0D73BB; /* Blue links */
    text-decoration: none;
    transition: color 0.3s;
}

ul {
    padding-left: 20px !important;
    margin: 10px 0 !important;
    list-style-type: disc !important; /* Ensure bullets are displayed */
}

li {
    margin-bottom: 5px !important; /* Optional: Add some space between list items */
}
ul.custom-list > li {
    list-style-type: disc !important; /* Ensure bullets are displayed */
    text-align: left; /* Ensure text is aligned to the left */
}
a:hover {
    color: #C71881; /* Pink on hover */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 20px;
    background-color: #f0f8ff;
}

.hero h1 {
    font-size: 1.5em;
    color: #0D73BB;
}

.hero p {
    font-size: 1.2em;
    color: #333;
}


/* Menu Styles */
.menu {
    background-color: #0D73BB; /* Blue menu background */
    display: flex;
    justify-content: space-between; /* Adjust to space-between */
    align-items: center; /* Center vertically */
    padding: 8px;
    z-index: 1001;
    position: sticky;
    top: 0;
}

.hamburger {
    font-size: 30px;
    cursor: pointer;
    color: white;
    padding: 5px;
    order: 1; /* Ensure the hamburger button stays on the left */
}

.menu-items {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute; /* Remove absolute positioning */
    background-color: #0D73BB; /* Blue menu background */
    animation: slideDown 0.3s ease-out; /* Add animation */
    z-index: 100; /* Adjust z-index to ensure it's above other content */
}

.menu-items.show {
    display: flex;
    position: absolute; /* Adjust positioning as needed */
    top: calc(100%); /* Position below the menu with some spacing */
    right: 0;
}

.menu a {
    display: block;
    color: white;
    text-align: left;
    padding: 5px 10px;
    text-decoration: none;
    width: 100%;
}

.menu a:hover {
    background-color: #1A242F; /* Darker blue on hover */
}

.patient-info {
    color: white;
    font-size: 13px;
    padding-right: 20px;
    padding-left: 40px;
    display: flex;
    align-items: center;
    order: 2;
    line-height: 1.5; /* Adjust line height for tighter spacing */
}

.patient-info span {
    display: block;
    white-space: nowrap; /* Prevent wrapping */
}

/* Logo Styles */
.logo {
    text-align: center;
    margin: 10px 0;
}

.logo img {
    max-width: 100%;
    height: auto;
}

/* Section Styles */
.section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.sub-section {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
}

.sub-section h2 {
    color: #C71881; /* Pink section headings */
    margin-bottom: 10px;
}

.sub-section p {
    line-height: 1.6;
    margin: 10px 0;
}

/* Packages and Cards */
.packages-container, .icon-links-container, .cafeteria-container, .package-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.icon-link, .cafeteria-card, .package-card {
    background-color: #0D73BB; /* Blue card background */
    color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 20px;
    transition: background-color 0.3s;
}

.cafeteria-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 250px;
}


.package-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 320px;
}

.icon-link{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 120px;
    width: 120px;
}

.icon-link i, .package-card .content i {
    font-size: 2em;
    margin-bottom: 10px;
}

.icon-link span, .package-card .content span {
    font-size: 1em;
}

.icon-link:hover, .package-card:hover {
    background-color: #C71881; /* Pink on hover */
    color: white;
}

.cafeteria-card img, .package-card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.cafeteria-card .content, .package-card .content {
    padding: 20px;
    width: 100%;
}

.cafeteria-card .call-button, .package-card .call-button {
    background-color: #0D73BB; /* Blue button */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    display: block;
    margin: 10px auto 0;
    transition: background-color 0.3s;
}

.cafeteria-card .call-button:hover, .package-card .call-button:hover {
    background-color: #C71881; /* Pink on hover */
}

/* Table Styles */
.table-container {
    margin: 0 auto;
    padding: 20px;
    overflow-x: auto;
    max-height: 400px; /* Adjust height as needed */
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #0D73BB;
    color: white;
    border: 1px solid white; /* Add this line for white border */
}

tr:hover {
    background-color: #f1f1f1;
}

/* Call Button */
.call-button {
    background-color: #0D73BB; /* Blue button */
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.call-button:hover {
    background-color: #C71881; /* Pink on hover */
}

.call-button i {
    font-size: 16px;
}

/* Feedback Form */
.feedback-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

input[type="range"] {
    width: 100%;
    padding: 10px;
    border: none;
}

.slider-container {
    position: relative;
}

.slider-container output {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    color: #0D73BB; /* Blue */
}

.smileys {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.smiley {
    background-color: #e0e0e0;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.smiley.happy::before {
    content: '😊';
}

.smiley.average::before {
    content: '😐';
}

.smiley.sad::before {
    content: '😟';
}

.smiley.selected {
    background-color: #0D73BB;
    color: white;
}

.factors {
    display: flex;
    flex-direction: column;
}

.factor {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.factor span {
    flex-grow: 1;
}

.suggestions-section {
    margin-top: 20px;
}

.suggestions-section label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #0D73BB; /* Blue */
}

textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
}

.submit-button {
    background-color: #0D73BB; /* Blue button */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    display: block;
    margin: 20px auto 0 auto;
    border-radius: 5px; /* Rounded shape */
    width: auto;
}

.submit-button:hover {
    background-color: #C71881; /* Pink on hover */
}


/* Footer */
footer {
    background-color: #0D73BB;;
    color: white;
    text-align: center;
    padding: 0px 0;
    font-size: 12px;
    position: fixed; /* Ensure the footer is always at the bottom */
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between footer text and call button */
}

.call-button-footer {
    background-color: #0D73BB; /* Blue button */
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-button-footer:hover {
    background-color: #C71881; /* Pink on hover */
    color: white;
}

.call-button-footer i {
    font-size: 16px;
    margin-right: 5px; /* Space between icon and text */
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Bill Card Styles */
.bill-card {
    background-color: #0D73BB; /* Blue card background */
    color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 20px;
    transition: background-color 0.3s;
    max-width: 300px;
    margin: 0 auto;
}

.bill-card .card-inner {
    text-align: center;
}

.bill-card .bill-field {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
}

.bill-card .field-label {
    font-weight: bold;
}

.bill-card .field-value {
    font-size: 1.2em;
}

.pay-button {
    background-color: #0A5A8A; /* Darker blue button */
    height: auto;
    width: auto;
    border: 2px solid white; /* Border to make it more visible */
}
.bill-card {
    background-color: #0D73BB;
    border: none;
}

.bill-card .pay-button {
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    display: block;
    margin: 20px auto 0 auto;
    transition: background-color 0.3s;
}

.bill-card .pay-button:hover {
    background-color: #C71881; /* Pink on hover */
}

.tracker-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.tracker {
    position: relative;
    width: 200px;
}

.tracker-step {
    position: relative;
    padding-left: 30px;
    margin-bottom: 8px;
}



.tracker-step::last-child {
    margin-bottom: 0;
}

.dot {
    width: 20px;
    height: 20px;
    background-color: #0D73BB; /* Blue for uncompleted dots */
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
}

/* Additional styles for completed stages */
.tracker-step.completed .dot {
    animation: none; /* Disable animation for completed stages */
}
.tracker-step::before {
    content: '';
    position: absolute;
    left: 10px;
    top: -15px; /* Adjust to overlap the previous step's bottom */
    bottom: 10px;
    width: 4px;
    height: 60px;
    background-color: #0D73BB; /* Blue for uncompleted lines */
    z-index: -1;
}

.tracker-step:first-child::before {
    height: 35px;
    top: 1px; /* Adjust vertical positioning */
}

.tracker-step:last-child::before {
    height: 35px;
    height: 20px;
}


.tracker-step.completed .dot {
    background-color: #C71881; /* Pink for completed dots */
}

.tracker-step.completed::before {
    background-color: #C71881; /* Pink for completed lines */
}

.tracker-step::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 20px; /* Adjust this value to connect to the dot correctly */
    width: 4px;
    height: calc(100% - 20px); /* Adjust height to account for dot size */
    background-color: inherit;
    z-index: -1;
}

.stage-name {
    display: block;
    font-weight: bold;
    font-size: 1em;
}

.stage-time {
    font-size: 0.8em;
}

/* Discharge Estimated Card Styles */
.dis-est-card {
    background-color: #0D73BB; /* Blue card background */
    color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 20px;
    transition: background-color 0.3s;
    max-width: 300px;
    margin: 0 auto;
}

.dis-est-card .card-inner {
    text-align: center;
}

.dis-est-card .dis-est-field {
    margin: 10px 0;
    display: block;
    justify-content: space-between;
}

.dis-est-card .field-label {
    font-weight: bold;
}
.dis-est-card .field-value {
    font-size: 1.2em;
}

.dis-est-card {
    background-color: #0D73BB;
    border: none;
}

/* Patient Info Not Found Styles */
.patient-info-not-found {
    background-color: #f8d7da; /* Light red background */
    color: #721c24; /* Dark red text */
    border: 1px solid #f5c6cb; /* Border similar to background */
    border-radius: 5px;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
    font-size: 1.1em;
}
.feedback-form {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.feedback-form iframe {
    width: 100%;
    height: 800px; /* Adjust as needed */
    border: 0;
}

@media (max-width: 768px) {
    .feedback-form iframe {
        height: 600px; /* Adjust for smaller screens */
    }
}

@media (max-width: 480px) {
    .feedback-form iframe {
        height: 400px; /* Adjust for very small screens */
    }
}