body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.hero-section {
    background-color: #007BFF;
    color: white;
    padding: 100px 0;
    text-align: center;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.5em;
}

.container {
    max-width: 800px;
    margin: -50px auto 50px;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #333;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
    margin-top: 0;
}

.upload-section label {
    display: block;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #666;
    font-weight: 500; 
}


.upload-section,
.results-section {
    margin-top: 40px;
    padding: 20px;
}

input[type="file"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: block;
    margin-bottom: 20px;
    width: 100%;
}

input[type="submit"] {
    background-color: #007BFF;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1.2em;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ddd;
    padding: 8px;
}

@media screen and (max-width: 600px) {
    /* Hide desktop headers and cells */
    .desktop-only {
        display: none;
    }
}

@media screen and (min-width: 601px) {
    /* Hide mobile headers and cells */
    .mobile-only {
        display: none;
    }
}


th {
    background-color: #f2f2f2;
    text-align: left;
}

tr:hover {
    background-color: #f5f5f5;
}

@media screen and (max-width: 650px) {
    .wrap-text {
        white-space: normal;
        word-wrap: break-word;
    }
}

.details-btn {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.details-btn:hover {
    background-color: #45a049;
}

.results-section {
    display: none; /* Hide the section by default */
}

/* General styles for the info sections */
.info-section {
    margin: 50px 0;
    padding: 20px;
    background-color: #f7f8fc;  /* A light gray background to differentiate the section */
    border-radius: 8px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);  /* A subtle shadow for depth */
}

.info-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;  /* Dark gray for contrast */
    font-weight: 600;
}

.info-section p, .info-section ol, .info-section ul {
    font-size: 16px;
    color: #666;  /* Slightly lighter gray for the content */
    line-height: 1.5;  /* Improved readability */
}

.info-section ol, .info-section ul {
    padding-left: 25px;  /* Proper spacing for lists */
    margin-top: 15px;
}

.info-section li {
    margin-bottom: 10px;  /* Spacing between list items */
}

/* If there are any link elements within the sections */
.info-section a {
    color: #007bff;  /* Some kind of blue, can be adjusted */
    text-decoration: none;
    transition: opacity 0.3s ease;  /* A simple hover effect */
}

.info-section a:hover {
    opacity: 0.7;
}

.personal-project-section {
    margin: 40px 0;
    padding: 20px;
    background-color: #f7f8fc;
    border-radius: 8px;
    text-align: center; /* Centered text for emphasis */
}

.support-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.support-button:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

/* Style the collapsible button */
.collapsible {
    background-color: #f1f1f1;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

/* Add a background color on hover */
.collapsible:hover {
    background-color: #ddd;
}

/* Style the collapsible content */
.content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f9f9f9;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    overflow: auto;
    font-family: 'Arial', sans-serif; /* Make sure the modal uses the same font as the rest of the page */
    z-index: 999; /* Ensure the modal always appears on top */
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;  /* Reduce the margin for better centering */
    padding: 40px 60px;  /* More padding for a more spacious feel */
    border: 1px solid #888;
    width: 60%; /* Increase the width slightly for better readability */
    border-radius: 8px; /* Add border radius for consistency */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); /* Add a shadow for depth */
}

.modal-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
}

.bill-section, .breakdown-section {
    margin-bottom: 20px;
}

h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #555;
}

.total-charge {
    font-size: 1.2em;
    color: #007BFF;
    margin-top: 15px;
}

.separator {
    margin: 20px 0;
    border: 0;
    height: 1px;
    background: #ddd;
}


.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: -10px; /* Adjust close button position for better alignment */
}

.close:hover, .close:focus {
    color: #007BFF;  /* Use primary color for hover/focus state */
    text-decoration: none;
    cursor: pointer;
}

.small-font {
    font-size: 0.75em; /* Adjust the size as needed */
    display: block; /* Makes the content appear on a new line */
    color: #666; /* Optional: changes the color to a lighter shade for distinction */
    margin-top: 0.5em; /* Optional: adds space between the rate and the time periods */
}

.collapsible-content {
    display: none;
    overflow: hidden;
}

/* Style for the footer links */
.footer-links {
    font-size: 0.75em; /* Smaller font size for discretion */
    color: #666; /* Subtle text color */
    /* background-color: #e9ecef; */ /* Lighter background for a discrete look */
    padding: 15px; /* Adjust padding for compactness */
    max-width: 800px;
    margin: -40px auto 10px;
}

/* Adjusted styles for collapsible buttons to blend with the new footer style */
.collapsible-button {
    background-color: transparent; /* Removing background */
    padding: 5px; /* Reduced padding */
    border: none; /* Removing borders */
    text-align: left;
    font-size: 1em; /* Adjusting font size to match regular text */
    text-decoration: underline; /* Underline like a typical hyperlink */
    cursor: pointer; /* Cursor to indicate clickable item */
    transition: color 0.3s; /* Transition for hover effect */
}

.collapsible-buttons {
    display: flex; /* Align buttons in a row */
    justify-content: center;
}

/* Hover effect for collapsible buttons */
.collapsible-button:hover {
    background-color: #dde; /* Slightly darker on hover for interactive feedback */
}

.collapsible-wrapper {
    display: flex;
    flex-direction: column;
}

/* Style adjustments for collapsible content */
.collapsible-content {
    background-color: #f8f9fa; /* Light background for the content */
    padding: 10px 15px; /* Adjusted padding for consistency */
    display: none;
    overflow: hidden;
    transition: display 0.2s ease-out;
    font-size: 1em;
}

.collapsible-content p {
    font-weight: bold;
}



