/* Styles specific to Topic Pages */
.topic-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('../../images/backgrounds/health-management-hero.jpg'); /* Adjusted path */
    background-size: cover;
    background-position: center center;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    margin-bottom: 50px;
}

.topic-hero h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.topic-hero p {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
}

.topic-section {
    padding: 50px 0;
}

.topic-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--primary-color, #2E8B57);
    position: relative;
    padding-bottom: 10px;
}

.topic-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color, #D4AF37);
}

.topic-intro p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.service-component-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-component-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-component-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color, #2E8B57);
}

.service-component-card .icon {
    font-size: 3.5em;
    color: var(--primary-color, #2E8B57);
    margin-bottom: 20px;
    line-height: 1;
}

.service-component-card h3 {
    font-size: 1.5em;
    color: var(--primary-color, #2E8B57);
    margin-bottom: 15px;
}

.service-component-card p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.7;
}

.benefits-section {
    background-color: #f0f8f4; /* Light green background */
}

.benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.benefits-list .icon {
    font-size: 1.8em;
    color: var(--accent-color, #D4AF37);
    margin-right: 15px;
    padding-top: 5px;
}

.benefits-list .text strong {
    display: block;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
}

.benefits-list .text span {
    font-size: 0.9em;
    color: #666;
    line-height: 1.6;
}

.cta-section {
    background-color: var(--tech-blue, #4682B4);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #fff;
}

.cta-section p {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .topic-hero h1 {
        font-size: 2.5em;
    }
    .topic-hero p {
        font-size: 1.1em;
    }
    .topic-section h2 {
        font-size: 2em;
    }
    .service-component-grid {
        grid-template-columns: 1fr;
    }
    .benefits-list {
        grid-template-columns: 1fr;
    }
}

/* Styles for Our Approach Section */
.our-approach-section {
    background-color: #fafafa;
    padding: 60px 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.approach-item {
    text-align: center;
    padding: 25px;
}

.approach-item .icon {
    font-size: 3em;
    color: var(--accent-color, #D4AF37); /* Using accent color */
    margin-bottom: 20px;
}

.approach-item h3 {
    font-size: 1.4em;
    color: var(--primary-color, #2E8B57);
    margin-bottom: 10px;
}

.approach-item p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.7;
}

/* Styles for Technology Integration Section */
.tech-integration-section {
    padding: 60px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.tech-item {
    text-align: center;
}

.tech-item .icon {
    font-size: 3.5em;
    color: var(--tech-blue, #4682B4); /* Using tech blue color */
    margin-bottom: 20px;
}

.tech-item h4 {
    font-size: 1.3em;
    color: var(--tech-blue, #4682B4);
    margin-bottom: 10px;
}

.tech-item p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.7;
}

/* Styles for Service Process Overview Section */
.process-overview-section {
    background-color: #f0f8f4; /* Light green background */
    padding: 60px 0;
}

.process-steps {
    list-style: none;
    padding-left: 0;
    margin-top: 40px;
    counter-reset: process-counter;
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Optional: Add a connecting line */
.process-steps::before {
    content: '';
    position: absolute;
    left: 25px; /* Adjust based on step number circle size */
    top: 15px;
    bottom: 15px;
    width: 2px;
    background-color: var(--primary-color-light, #8FBC8F);
    z-index: 0;
}

.process-steps li {
    position: relative;
    padding-left: 70px; /* Space for the number circle */
    margin-bottom: 40px;
    min-height: 50px; /* Ensure space for circle */
    z-index: 1;
}

.process-steps li span {
    position: absolute;
    left: 0;
    top: -5px;
    counter-increment: process-counter;
    content: counter(process-counter);
    background-color: var(--primary-color, #2E8B57);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.process-steps li strong {
    display: block;
    font-size: 1.2em;
    color: var(--primary-color, #2E8B57);
    margin-bottom: 8px;
}

.process-steps li br + span, /* Hide default text after br if needed */
.process-steps li span + br { /* Hide br if needed */
  /* display: none; */
}

.process-steps li::after { /* Clear floats if any */
    content: "";
    display: table;
    clear: both;
}

/* Adjustments for sections */
.benefits-section {
    padding-top: 30px; /* Keep the reduced padding */
    background-color: #fff; /* Reset background if previous was colored */
}

.cta-section .btn-lg {
    padding: 12px 30px;
    font-size: 1.1em;
}

/* Subtle heading style if needed */
.subtle-heading {
    text-align: center;
    font-size: 1.2em;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}


/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .approach-grid {
        grid-template-columns: 1fr;
    }
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .process-steps::before {
        left: 15px; /* Adjust line position on smaller screens */
    }
    .process-steps li {
        padding-left: 50px; /* Adjust padding */
    }
    .process-steps li span {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
        top: 0;
    }
}
