:root {
    /* Care Palette */
    --primary: #0056b3;
    /* Trust Blue */
    --secondary: #fd7e14;
    /* Warm Orange */
    --bg-body: #ffffff;
    --bg-light: #f8f9fa;
    --text-main: #212529;
    --text-muted: #6c757d;

    /* Typography */
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --container-width: 1140px;
    --header-height: 80px;

    /* UI */
    --radius: 6px;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="soft-lilac"] {
    --primary: #6f42c1;
    /* Lilac */
    --secondary: #e83e8c;
    /* Pink */
    --bg-light: #f3f0ff;
}

[data-theme="nature-green"] {
    --primary: #28a745;
    /* Green */
    --secondary: #ffc107;
    /* Yellow */
    --bg-light: #f0fff4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 18px;
    /* Larger text for readability */
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Header */
header {
    height: var(--header-height);
    background: white;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: #004494;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #e36d0a;
}

/* Hero */
.hero {
    padding: 5rem 0;
    background: var(--bg-light);
}

.hero-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-img {
    flex: 1;
}

.hero-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Services */
.services {
    padding: 5rem 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: block;
}

/* Emergency Banner */
.emergency {
    background: var(--primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.emergency h2 {
    margin-bottom: 0.5rem;
}

.phone-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin: 1rem 0;
}

/* Team */
.team {
    padding: 5rem 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--bg-light);
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }

    .hero-img {
        order: -1;
    }

    .nav-links {
        display: none;
    }
}