.nearby-subtowns-section {
    margin: 3rem 0;
    padding: 2rem 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.nearby-subtowns-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nearby-subtowns-section h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.section-description {
    text-align: center;
    color: #4a5568;
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    gap: 1.5rem;
}

.carousel-slide {
    width: 290px;
    min-width: 290px;
    flex-shrink: 0;
}

.subtown-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.subtown-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.distance-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e5c900;
    color: #1a202c;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 700;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.subtown-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    margin-bottom: 0.25rem;
}

.subtown-town {
    color: #718096;
    font-size: 1rem;
    margin: 0;
}

.subtown-population {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

.view-services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #e5c900;
    color: #1a202c !important;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: all 0.2s ease;
    border: 1px solid #e5c900;
}

.view-services-btn:hover {
    background-color: #d4b800;
    border-color: #d4b800;
    transform: translateY(-2px);
    text-decoration: none;
    color: #1a202c !important;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    width: 44px;
    height: 44px;

    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.05);

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    color: #4a5568;
}

.carousel-nav:hover {
    background: #e5c900;
    color: #1a202c;
    border-color: #e5c900;
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
}

.carousel-prev {
    left: -22px;
}

.carousel-next {
    right: -22px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-indicator.active {
    background: #e5c900;
    color: #1a202c;
}

.carousel-indicator:hover:not(.active) {
    background: #f1f5f9;
}