html {
    scroll-behavior: smooth;
}

/* General Styling */
body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #958685;
    /* color: rgb(89, 60, 54); */
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 80;
}

/* Header */
header {
    text-align: center;
    /* background-color: #4A4A4A; */
    background-color: #bca9a8;
    /* color: white; */
    padding: 40px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.responsive-centered {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

header img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.background {
    background-size: cover;
    background-position: center;
    background-color: #958685;
    width: 100%;
    height: 1200px;
}

h1, h2, h3, .logo {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #2a0c0b;
}

p {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Responsive Typography */
h1 {
    font-size: 2rem;
}

p {
    font-size: 1.2rem;
}

/* Sections */
section {
    text-align: left;
    max-width: 75%;
    margin: 40px auto;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

ppsection {
    text-align: left;
    max-width: 900px;
    margin: 40px auto;
    /* background-color: white; */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 30px;
}

.disclaimer {
  font-size: 0.1rem; /* or try 12px */
  color: #666;        /* optional: slightly muted color */
  margin-top: 1em;
  text-align: center; /* optional: if it's footer-style */
}

#accepted-insurance {
    font-size: 1.2rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    body {
        font-size: 1rem;
        padding: 10px;
    }

    section {
        padding: 15px;
    }

    ul li {
        font-size: 1rem;
        padding: 8px;
    }
}

/* Very Small Screens */
@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    p {
        font-size: 1rem;
    }

    header img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}

/* Services List */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 12px 16px;
    margin: 8px 0;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
}

ul li:hover {
    background: #bca9a8;
}

/* Footer */
footer {
    background: #bca9a8;
    color: #2a0c0b;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

html,
body {
    height: 100%;
}

main {
    flex: 1;
}

.insurance-logo {
    max-width: 200px;
    height: auto;         /* keeps logos proportional */
    display: block;
    margin: 0 auto;       /* center inside table cell */
}

/* Provider photo sizing */
.provider-photo {
    display: block;
    margin: 0 auto;
    max-width: 320px; /* <= adjust this number to taste */
    width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .provider-photo {
        max-width: 180px; /* smaller on phones */
    }
}