/* Theme Variables */
:root {
    --primary-color: #1d6b92;
    --primary-dark: #165c7e;
    --primary-light: #2587b8;
    --grey-light: #f5f5f5;
    --grey: #666666;
    --white: #ffffff;
    --text-color: #333;
}

/* Layout */
.home-doctor-service {
    max-width: 1200px;
    margin: 45px auto 0;
    padding: 2rem;
}

/* Hero Section */
.service-intro {
    background: linear-gradient(rgba(29, 107, 146, 0.9), rgba(22, 92, 126, 0.9)), 
                url('../assets/images/home-visit-doctor.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.service-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Key Features Section */
.key-features {
    background: var(--grey-light);
    padding: 3rem 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.key-features h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.key-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.key-features li {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.key-features li:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(29, 107, 146, 0.2);
}

/* Service Areas Section */
.service-areas {
    padding: 3rem 0;
}

.service-areas h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.area-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.area-list li {
    background: var(--grey-light);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    transition: background-color 0.3s;
}

.area-list li:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(29, 107, 146, 0.2);
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 10px;
    margin: 3rem 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
}

.cta-section a {
    color: var(--white);
    text-decoration: none;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color) !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(29, 107, 146, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-intro h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .home-doctor-service {
        padding: 1rem;
    }
    
    .key-features ul {
        grid-template-columns: 1fr;
    }
    
    .area-list ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .service-intro h1 {
        font-size: 1.8rem;
    }
    
    .area-list ul {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
}