body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 750px;
}
.header-container {
    width: 100%;
    max-width: 100%;
    height: auto;
    background-color: lightblue;
    padding: 10px 15px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 20px;
}

.header-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logos {
    display: flex;
    align-items: center;
    gap: 10px;  /* Reduce gap slightly if the spacing is off */
}
.logos img {
    max-height: 50px; /* Ensure logo images match */
    width: auto;
}

.logo-black-bg {
    background-color: black;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-black-bg img {
    height: 50px; /* Ensure consistent height */
}

.page-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    gap: 20px;
    padding: 0 20px;
}

.sidebar {
    width: 250px;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    height: fit-content;
}

.sidebar h2 {
    margin-top: 0;
    color: #333;
    font-size: 1.2em;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin: 5px 0;
}

.sidebar a {
    display: block;
    padding: 8px 12px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sidebar a:hover {
    background-color: #f0f0f0;
    color: #333;
}

.sidebar a.active {
    background-color: #e3f2fd;
    color: #1976d2;
    font-weight: bold;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 750px;
    margin-top: 0;
}
.form-container {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px gray;
    margin-right: 20px;
    max-width: 270px;
    align-self: flex-start;
}
.info-container {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px gray;
    max-width: 400px;
    text-align: center;
}
.info-container p, .info-container ol {
    text-align: left;
}
.info-container ol {
    padding-left: 20px;
    list-style-type: lower-alpha;
}
.map-container {
    width: 100%;
    max-width: 750px;
    height: 400px; /* Adjust height as needed */
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
}

label {
    display: block;
    margin-top: 10px;
    cursor: pointer;
    text-align: left;
}
input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
input[type="submit"] {
    background-color: #28a745;
    color: white;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-color: #218838;
}

.result-container {
    margin-top: 20px;
    width: 100%;
    max-width: 750px;
}
.result {
    padding: 15px;
    background: white;
    border-radius: 5px;
    box-shadow: 0px 0px 10px gray;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    max-height: none;
    overflow-y: visible;
}
/* Content layout styles */
.content-wrapper {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.text-content {
    width: 100%;
}

.img-container.float-left {
    float: left;
    width: 50%;
    max-width: 375px;
    margin: 0 20px 20px 0;
    clear: both;
}
.img-container.float-left + p {
    margin-top: 0;
}

.img-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.text-left {
    text-align: left;
}

.next-step-container {
    margin-top: 20px;
    text-align: center;
}
.button-group {
    display: flex; /* Aligns buttons in a row */
    gap: 10px; /* Adds space between buttons */
    justify-content: flex-start; /* ensures left alignment */
    margin-top: 20px; /* Adjust spacing above the buttons */
}
.more-details-btn,
.next-step-button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}

.more-details-btn:hover,
.next-step-button:hover {
    background-color: #00b333;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 100%;
    max-width: 750px;
    text-align: left;
    max-height: 80%;
    overflow-y: auto;
}

.modal-close {
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    float: right;
    font-size: 16px;
}

.button-container {
    margin-top: 15px;  /* Adds space before the Back to Home button */
}

.key-takeaway-btn {
    background-color: #806f0d;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.key-takeaway-btn:hover {
    background-color: #FFC000;
}

.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 250px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; 
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when hovering */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.tooltip label {
    display: flex;
    align-items: center;
    gap: 8px; /* Adds space between the circle and text */
}

.tooltip label::before {
    content: attr(data-number); /* Gets the number from the `data-number` attribute */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #007bff; /* Blue color */
    color: white;
    border-radius: 50%; /* Makes it a circle */
    font-size: 14px;
    font-weight: bold;
}
.tooltip label[data-number="1"]::before { background-color: #FF0000; } /* Red-Orange */
.tooltip label[data-number="2"]::before { background-color: #05f932; } /* Blue */
.tooltip label[data-number="3"]::before { background-color: #6b80f7; } /* Green */
.tooltip label[data-number="4"]::before { background-color: #f59139; } /* Yellow */
.tooltip label[data-number="5"]::before { background-color: #33ffeb; } /* Purple */

