.referrers-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-tertiary) 100%);
    padding: 10vh 0;
    position: relative;
    overflow: hidden;
}

.referrers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.referrers-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.referrers-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.referrers-hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.referrers-section {
    background-color: var(--color-light);
    display: flex;
    justify-content: center;
}

.referrers-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    text-decoration: underline;
    text-underline-offset: 1rem;
}

.referrer-container {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    width: 60vw;
}

.referrer-container:last-child {
    margin-bottom: 0;
}

.referrer-container p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 1.2rem;
}

.referrer-container p:last-child {
    margin-bottom: 0;
}

.referrers-section a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.referrers-section a:hover {
    color: var(--color-tertiary);
}

.referrers-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.2s ease;
}

.referrers-section a:hover::after {
    width: 100%;
}

.referrers-section .contact-info {
    display: inline-flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.referrers-section .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.referrers-section .contact-label {
    font-weight: 500;
    color: var(--color-secondary);
}

.referrers-section .divider {
    color: var(--color-text-muted);
}

#support-at-home-providers, #general-practitioners, #ndis {
    scroll-margin-top: 150px;
}

@media(max-width: 768px) {
    .referrer-container {
        width: auto;
    }
}