/* --- Color Palette from Logo --- */
/*
    Deep Purple/Maroon: #5E2C44 (Used for primary headings, strong accents)
    Gold/Yellow: #D4AF37 (Used for secondary accents, hover states)
    Dark Text: #343a40 (Retained for readability)
    Light Background: #f8f9fa (Retained)
    White: #ffffff (Retained)
*/

/* --- General Body & Font Styles --- */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    color: #343a40; /* Dark gray for text */
    background-color: #f8f9fa; /* Very light gray for background */
    line-height: 1.7;
}

h1, h2, h3 {
    font-weight: 700;
    color: #5E2C44; /* Deep Purple/Maroon from logo */
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 5%;
}

/* --- Navigation Bar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%; /* Slightly less padding to accommodate logo */
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .logo img {
    height: 100px; /* Adjust height as needed for your logo */
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #343a40;
    font-weight: 700;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    color: #D4AF37; /* Gold from logo for hover/active */
    border-bottom: 2px solid #D4AF37;
}

/* --- Hero Section (Homepage) --- */
.hero {
    /* UPDATED: Points to your new forest path image */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-background.jpg'); 
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    color: white; /* Ensure hero text is white for contrast */
}

.hero .subtitle {
    font-size: 1.4rem;
    color: #f8f9fa;
    max-width: 800px;
    margin: 1rem auto 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.cta-button {
    background-color: #D4AF37; /* Gold from logo */
    color: #5E2C44; /* Deep Purple for text on button */
    padding: 1.1rem 2.8rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #B59410; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* --- General Page Header (with background image) --- */
.page-header {
    background-color: #5E2C44; /* Fallback color */
    /* UPDATED: Points to your new holding hands image */
    background-image: linear-gradient(rgba(94, 44, 68, 0.7), rgba(94, 44, 68, 0.7)), url('header-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-header h1 {
    color: white;
    margin: 0;
    font-size: 3rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* --- About Page Specifics --- */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}
.about-text {
    flex: 2;
}
.about-photo {
    flex: 1;
    text-align: center;
    min-width: 250px;
}
.about-photo img {
    max-width: 100%;
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border: 5px solid #ffffff;
}

/* --- Services & Patients Page --- */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.card h3 {
    margin-top: 0;
    border-bottom: 3px solid #D4AF37; /* Gold from logo for underline */
    padding-bottom: 0.8rem;
    display: inline-block;
    font-size: 1.4rem;
}
ul.styled-list {
    list-style: none;
    padding: 0;
}
ul.styled-list li {
    padding: 0.7rem 0;
    border-bottom: 1px dashed #ced4da;
}
ul.styled-list li:last-child {
    border-bottom: none;
}
ul.styled-list li:before {
    content: '✓';
    color: #D4AF37; /* Gold from logo for checkmark */
    margin-right: 12px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* --- NEW: Section for the Sprout Image on Services page --- */
.growth-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.growth-image img {
    width: 100%;
    border-radius: 8px;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
}
.contact-info, .contact-form-container {
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.contact-info h3 {
    margin-top: 0;
    border-bottom: 3px solid #D4AF37; /* Gold from logo for underline */
    padding-bottom: 0.8rem;
    display: inline-block;
    font-size: 1.4rem;
}
.contact-info a {
    color: #5E2C44; /* Deep Purple for links */
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-info a:hover {
    text-decoration: underline;
    color: #D4AF37; /* Gold for link hover */
}
.form-placeholder {
    border: 2px dashed #D4AF37; /* Gold dashed border */
    padding: 2.5rem;
    text-align: center;
    background: #fffdf5; /* Very light yellow background */
    border-radius: 8px;
}
.form-placeholder p {
    margin: 0;
    font-weight: bold;
    color: #5E2C44;
    font-size: 1.1rem;
}
.form-placeholder .important {
    display: block;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: #dc3545; /* Retain red for crucial warning */
    line-height: 1.5;
}

/* --- Footer --- */
.footer {
    background-color: #343a40; /* Dark gray for footer background */
    color: #f8f9fa;
    text-align: center;
    padding: 2.5rem 5%;
    font-size: 0.95rem;
    margin-top: 3rem;
}
.footer p {
    margin: 0.6rem 0;
    font-size: 0.95rem;
}

/* --- Responsive Design --- */

/* Hamburger Menu Icon (hidden on desktop) */
.hamburger-menu {
    display: none;
    font-size: 2rem;
    color: #5E2C44;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .hero .subtitle { font-size: 1.2rem; }
    .page-header h1 { font-size: 2.5rem; }
    .about-content { flex-direction: column; text-align: center; }
    .about-photo { order: -1; }
    .contact-grid { grid-template-columns: 1fr; }
    .growth-section { grid-template-columns: 1fr; } /* Stack on smaller screens */

    /* Show the hamburger and hide desktop nav links */
    .hamburger-menu {
        display: block;
    }
    .nav-links {
        display: none; /* Hide by default */
        flex-direction: column;
        width: 100%;
        background-color: #ffffff;
        position: absolute;
        top: 86px; /* Adjust based on your logo height */
        left: 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        text-align: center;
    }
    .nav-links.active {
        display: flex; /* This class will be toggled by JavaScript */
    }
    .nav-links li {
        margin: 1rem 0;
    }
    .nav-links .portal-button a {
        padding: 1rem;
        display: block;
    }
}

@media (max-width: 768px) {
    .navbar .logo img { height: 75px; } 
    .hero h1 { font-size: 2.2rem; }
    .hero .subtitle { font-size: 1rem; }
    .page-header h1 { font-size: 2rem; }
    .container { padding: 1.5rem 5%; }
    .card-container { grid-template-columns: 1fr; }
}