.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.search-filters select {
    width: 250px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    transition: all 0.3s ease;
}

.search-filters select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

.search-filters select:hover {
    background-color: #f1f1f1;
}

.content-container {
    display: flex;
    gap: 20px;
}

.map-container {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.branch-list-container {
    flex: 0 0 300px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 600px;
}

.loading {
    text-align: center;
    font-size: 16px;
    color: #666;
}

.branch-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.branch-item:hover {
    background-color: #f1f1f1;
}

.branch-number {
    font-weight: bold;
    color: #ff4d4d;
}

.branch-content {
    margin-left: 10px;
}

.branch-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.branch-address,
.branch-phone {
    font-size: 14px;
    color: #666;
}

.td_page_heading {
    margin-bottom: 100px; /* Add more space between heading and branch locator section */
    position: relative;
}

.branch-links-container {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
}

.branch-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.branch-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: -1;
    filter: blur(10px);
}

.branch-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.branch-link img {
    max-width: 100px;
    margin-bottom: 10px;
}

section:last-of-type {
    margin-bottom: 50px; /* Add space between the content and footer */
}

/* Ensure the preview section has a fixed height */
/* Center the content container on the page */
.container {
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto; /* Center the container */
    padding: 0 15px; /* Add padding for smaller screens */
}

/* Flexbox layout for achievements list and document preview */
/* Ensure the content container uses flexbox */
.content-container {
    display: flex;
    gap: 20px; /* Space between achievements list and preview */
    justify-content: center; /* Center the sections horizontally */
    align-items: flex-start; /* Align items at the top */
}

/* Achievements list styling */
#achievements-list {
    flex: 1; /* Takes up remaining space */
    max-width: 800px; /* Limit the width of the achievements list */
}

/* Card styling for achievements list */
.achievement-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Document preview card styling */
#document-preview {
    flex: 0 0 300px; /* Fixed width for the preview section */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 600px; /* Fixed height for the preview section */
    overflow-y: auto; /* Adds scroll if content overflows */
}

/* Ensure the cards in the achievements list are displayed in a grid */
#achievements-list .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adds space between cards */
}

/* Styling for each achievement card */
.achievement-item {
    flex: 1 1 calc(50% - 20px); /* Two cards per row with gap */
    margin-bottom: 20px; /* Adds space between rows */
}
