.agency-section {
    padding: 60px 20px;
    background-color: #fff;
    height: 800px; /* Fixed height for the entire section */
    overflow: hidden; /* Hide overflow to ensure scroll only on the inner section */
    position: relative; /* For positioning child elements if needed */
    margin-top: 20px;
}

.section-line {
    height: 2px; /* Height of the line */
    background-color: #dee2e6; /* Color of the line */
    margin: 20px 0; /* Margin for spacing */
}

.scrollable-section {
    height: 100%; /* Full height of the agency section */
    overflow-y: auto; /* Enable vertical scrolling */
    padding-right: 15px; /* Space for scrollbar */
    scrollbar-width: thin; /* For Firefox */
}

.scrollable-section::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.scrollable-section::-webkit-scrollbar-thumb {
    background-color: #aaa; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded edges for scrollbar thumb */
}

.agency-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.scrollable-content {
    max-height: 300px; /* You can adjust this value as per your requirement */
    overflow-y: auto;  /* Adds vertical scrolling if the content exceeds the max height */
    padding-right: 10px; /* Optional: To prevent the scrollbar from overlapping the content */
}

.agency-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.content-box {
    background-color: transparent; /* Same as section background */
    padding: 20px;
    margin-bottom: 20px; /* Space between content boxes */
}

.separator {
    width: 2px; /* Width of the separator line */
    background-color: #dee2e6; /* Color of the separator line */
    height: auto; /* Height will adjust automatically */
    margin: 0 10px; /* Margin around the separator for spacing */
}

.row {
    display: flex; /* Flexbox for responsive design */
    justify-content: space-between; /* Space between content */
    align-items: flex-start; /* Align items to the top */
}

.left-content {
    text-align: left; /* Align text to the left */
    flex: 1; /* Allow it to grow */
}

.right-content {
    text-align: left; /* Align text to the right */
    flex: 1; /* Allow it to grow */
}

.content-box:hover {
    cursor: pointer;
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .agency-section {
        height: auto; /* Allow full height on smaller screens */
        padding: 30px 10px; /* Adjust padding for smaller screens */
        margin-top: 15px;
    }

    .scrollable-section {
        max-height: 400px; /* Set a max height for scrollable section on mobile */
    }

    .separator {
        display: block; /* Show separator on smaller screens */
        width: 100%; /* Full width for mobile */
        height: 2px; /* Adjust height for visibility */
        background-color: #dee2e6; /* Match the color of the original separator */
        margin: 20px 0; /* Add margin for spacing */
    }
}
