 html {
     scroll-behavior: smooth;
 }

 .logo {
     display: grid;
     place-items: center;
     padding: 1rem;
 }

 .logo img {
     height: auto;
     max-width: 33%;
     object-fit: scale-down;
 }

 .w3-x-large {
     padding: 5rem;
 }

 header {
     text-align: center;
 }

 header h1 {
     padding: 4rem;
     color: #d99f0d;
 }

 header img {
     object-fit: contain;
     max-width: 100%;
     max-height: 100%;
 }

 /* Ensure proper indentation and use of comments */
 body,
 h1,
 .form-container p {
     font-family: "Raleway", Arial, sans-serif;

 }


 .extra-space {

    margin-bottom: 10rem;
 }

 h1 {
     font-size: 3.5rem;
 }


 p {
     font-size: 1.75rem;
 }

 .accordion-header {
     font-size: 1.5rem;
 }

 .accordion-body-content {
     font-size: 1.25rem;
 }

 /* Use meaningful class names */
 .container {
     width: 80%;
     margin: 0 auto;
 }

 /* Use shorthand properties */
 .btn {
     padding: 10px 20px;
     background-color: #007bff;
     color: #fff;
     border: none;
     border-radius: 5px;
     cursor: pointer;
 }

 /* Avoid unnecessary repetition */
 .btn-primary {
     background-color: #007bff;
     color: #fff;
 }

 /* Use classes instead of inline styles */
 .error-message {
     color: red;
     font-weight: bold;
 }

 .w3-button {
     font-size: 1.5rem;
     margin: .75rem;
     background-color: #285905;
     opacity: 80%;
     border-radius: 15px;
 }

 .nav-menu {
     display: inline-block;
     list-style-type: none;
     color: #d99f0d;
 }

 .nav-menu .w3-button {
     display: grid;
     text-align: center;
 }

 .w3-center h3 {
     color: #285905;
     padding: 2rem;
     margin-bottom: 2rem;
 }

 /*button*/
 .toTop {
     background: white;
     position: fixed;
     bottom: 16px;
     right: 32px;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 16px;
     color: #285905;
     text-decoration: none;
     opacity: 0;
     pointer-events: none;
     transition: all .4s;
 }

 .toTop.active {
     bottom: 32px;
     pointer-events: auto;
     opacity: .75;
 }

 /* Styles for the content section */

 .content {
     width: 77%;
     margin: 50px auto;
     font-family: 'Merriweather', serif;
     color: #6c767a;
     line-height: 1.9;
 }

 @media (min-width: 375px) {
     .content {
         width: 43%;
     }

     #button {
         margin: 30px;
     }
 }

 .content h1 {
     margin-bottom: -10px;
     color: #03a9f4;
     line-height: 1.5;
 }

 .content h3 {
     font-style: italic;
     color: #96a2a7;
 }

 /*end of top button*/



 body {
     background-color: antiquewhite;
     max-width: 1100px;
     margin: 0 auto;
 }

 .services,
 .mission,
 .introimgtxt {
     padding: 1rem;
     color: #285905;
     display: grid;
     margin: 0 auto;
     gap: 1rem;
 }

 .services h1,
 .mission h1,
 .staff-intro h1,
 .card h1,
 .clinical h1,
 .form-container h1,
 .location h1 {
     font-family: "Libre Baskerville";
     letter-spacing: clamp(1px, 0.3vw, 10px);
     color: #d99f0d;
     size: 2rem;
     text-align: center;
 }


.insurer {

    margin: 5rem;

}
 .serviceintro,
 .missionintro {

     display: flex;
     align-items: flex-start;
     justify-content: space-between;

 }

 .c-cards {
     max-width: 700px;
     margin: 0 auto;
 }

 @media (max-width: 750px) {

     .serviceintro,
     .missionintro {
         display: block;
         margin: auto;
     }

     .serviceintro img,
     .missionintro img {
         min-width: 350px;
     }
 }

 .staff-intro,
 .services p,
 .mission p,
 .clinical p,
 .location p {
     padding: 3rem;
     color: #285905;
 }

 .location p {
     text-align: center;
 }

 .clinical h1,
 .location h1 {
     padding: 3rem;
 }

 .services img,
 .mission img {
     display: block;
     margin: 0 auto;
     width: 50%;
     height: auto;
     max-width: 100%;
     object-fit: scale-down;
     object-position: center;
     padding: 1rem;
 }

 .contactimg img {
     display: block;
     margin: 0 auto;
     width: 100%;
     height: auto;
     object-fit: contain;
     object-position: center;
 }

 /* accordion control */

 .accordion {
     cursor: pointer;
     width: 2rem;
     height: 2rem;
     text-align: center;
     font-size: 3rem;
     color: #285905;
     border: none;
     border-radius: 50%;
     background-color: antiquewhite;
     outline: none;
     transition: 0.4s;

 }

 .active,
 .accordion:hover {
     background-color: rgb(220, 165, 90);

 }

 .panel {
     padding: 0 18px;
     background-color: antiquewhite;
     display: none;
     overflow: hidden;
 }

.c-cards .accordion-header {
    background-color: #d99f0d;
    margin: .75rem;
    padding: 0.5rem;
    max-height: 5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.card .accordion-header {
    padding: 0.5rem 3rem 0.5rem 1rem;
    max-height: auto;
    font-weight: bold;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

 .accordion-header::after {
     content: "\002B";
     font-size: 2rem;
     position: absolute;
     right: 1rem;
 }

 .accordion-header.active::after {
     content: "\2212";
 }

 .accordion-body {
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.2s ease-out;
 }

 .accordion-body-content {
     padding: 1rem;
     line-height: 1.5rem;
     border-top: 1px solid;
     border-image: linear-gradient(to right, transparent, #34495e, transparent) 1;
 }

 /* end of accordion control */



 .staff {
     color: #285905;
     margin: 0 auto;
     padding: 1rem;
     display: flex;
     justify-content: center;
     align-items: center;
     flex-flow: wrap;
     gap: 1rem;
 }

 .card {
     width: 450px;
     aspect-ratio: 1/1.4;
     padding: 1rem;
     display: flex;
     justify-content: flex-start;
     align-items: center;
     flex-direction: column;
     gap: 1rem;
     text-align: center;
 }

 .card .circular-portrait .p {
     padding: 1rem;
     font-family: Libre Baskerville;
     color: white;
     max-width: 500px;
 }


 .circular-portrait {
     position: relative;
     width: 200px;
     height: 200px;
     overflow: hidden;
     border-radius: 50%;
 }

 .circular-portrait img {
     width: 100%;
 }

 /*contact form*/

 @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

 /* 
  CONTACT FORM 
*/



 .form-container * {
     box-sizing: border-box;

     /* colors */
     --color-green: #285905;
     --color-green-accent: #2859055a;
     --color-gray: #e5e7eb;
     --color-dark-gray: #9da3ae;
     --color-pink: #edadd2;
 }

 .form-container {
     /* container */
     /* --c-width: 98%; */
     background-color: #d99f0d;
     display: block;
     margin: auto 0 auto;
     padding: 3rem;
 }

 .form-container h1 {
     font-family: "Libre Baskerville", sans-serif;
     color: white;
     text-align: center;
 }

 .form-form label {
     display: block;
     padding: 12px 0 2px 0;
     margin: auto;
     cursor: pointer;
     font-size: 2rem;
 }

 .form-form input,
 .form-form textarea {
     font-size: 16px;
     display: block;
     width: 100%;
     padding: 10px;
     background-color: white;
     outline: none;
     border-radius: 8px;
     /* color: black; */
 }

 .form-form input:focus,
 .form-form textarea:focus {
     background-color: #fff;
     /* color: black; */
 }

 .form-form input:focus:required:invalid {
     border-color: var(--color-pink);
     background-color: #fff;
 }

 .form-form button {
     display: block;
     margin-top: 12px;
     width: 100%;
     padding: 12px 20px;
     border-radius: 8px;
     border-color: transparent;
     background-color: var(--color-green);
     color: #fff;
     font-weight: 700;
     font-size: 18px;

     transition: 300ms all;
 }

 .form-form button:hover {
     background-color: var(--color-green-accent);
 }

 .form-alert {
     padding: 12px;
     border-radius: 10px;
     color: #fff;
     font-size: 14px;
     font-weight: 400;
     margin-top: 12px;
     display: none;
 }

 .form-alert.visible {
     display: block;
 }

 .form-alert.success {
     background: #69cf9d;
 }

 .form-alert.error {
     background: #de524c;
 }

 /*end of form */