/* Services Page Styles */
.services-page {
    padding-top: 80px; /* Account for fixed navbar */
}

/* Core Services Section */
.core-services {
    padding: 2rem 0;
    background: var(--light);
}

.core-services h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.service-item {r
    background: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-item h3 {
    color: var(--text);
    font-size: 1.1rem;
}

/* Service Categories Grid */
.service-categories {
    padding: 4rem 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-category {
    padding: 2rem;
    border-radius: 8px;
}

.service-category h2 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.service-category p {
    line-height: 1.6;
    color: var(--text);
}

.light-bg {
    background-color: #f8f9fa;
}

.blue-bg {
    background-color: #e3f2fd;
}

/* Referral Section Styling */
.referral-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.referral-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}
.service-catchment-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 200px;
  height: 200px;
  text-align: center;
}

.referral-text {
    flex: 1;
}

.referral-text a {
    color: var(--primary);
    text-decoration: none;
}

.referral-text a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    display: block;
}

@media (max-width: 768px) {
    .referral-content {
        flex-direction: column;
        text-align: center;
    }

    .referral-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .service-category {
        padding: 1.5rem;
    }
.service-catchment-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 200px;
    position: absolute;
  height: 200px;
  text-align: center;
}

    .service-category h2 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .services-page {
        padding-top: 0;
    }

    .service-category {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .blue-bg,
    .light-bg {
        background: none;
        border: 1px solid #ddd;
    }
}