.headline{
    width: auto;
    font-size: 1.25rem;
    color: var(--color1);
    font-weight: 200;
    margin: 1.25rem auto;
    text-align: left;
}

.headline b{
    color: var(--color1);
    font-weight: 400;
}
.section-intro {
    color: var(--def-text);
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0rem auto; 
    margin-bottom: 2rem;
    text-align: left;
}
.services h2 {
    margin-top: 1.875rem;  
}

.cards-container {
    background-color: var(--def-bg);
    color: var(--def-text);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-around;
    align-content: flex-start;
    align-items: stretch;
    column-gap: 4em;
    row-gap: 0rem;
    margin: 0rem auto;
    width: 100%;
    padding: 1.875rem 0rem;
    height: auto;
}

.card {
    justify-self: stretch;
    box-sizing: border-box;
    padding: 0.9375rem;
    background-color: var(--card-bg);
    color: var(--card-text);
    text-align: center;
    box-shadow: var(--shadow);
    border: 0.0625rem solid var(--card-border);
    width: auto;
}

/* Align card buttons at bottom & stretch height only on desktop */
@media screen and (min-width: 769px) {
    .card {
        display: grid;
        grid-template-rows: auto 1fr auto;
        height: 100%;
    }

    .card a {
        align-self: end;
        margin-top: 0.9375rem;
    }
}

.card a {
    color: var(--card-link);
    text-decoration: none;
    margin: 0rem auto;
}

.card a:hover {
    color: var(--card-hover);
}

.card p {
    text-align: left;
    margin: 0.625rem 0rem;
}

.card span {
    text-align: center;
    margin: 0.625rem auto;
}

.card h3 {
    color: var(--card-h);
}

@media screen and (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
        row-gap: 4em;
        column-gap: 0rem;
    }
}

        
        
            --chat-bgc: var(--cta-color);
                        --chat-border: var(--cta-text);
            --chat-color: var(--cta-text);
            --chat-hover: var(--cta-hover);

        /* CHAT WIDGET BUTTON */
        #chat-toggle {
            position: fixed;
            right: 0.625rem;
            bottom: 1.25rem;
            width: 3.125rem;
            height: 3.125rem;
            background-color: var(--chat-bgc);
                        color: var(--chat-color);
            border: 0.125rem solid var(--chat-border);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            z-index: 9999;
        }

        #chat-toggle svg {
            width: 1.5rem;
            height: 1.5rem;
            fill: currentColor;
        }

        /* CHAT PANEL */
        #chat-box {
            position: fixed;
            right: 0.625rem;
            bottom: 4.75rem;
            /* sits above button */
            width: 320px;
            background: #fff;
            border: 1px solid #ccc;
            border-radius: 0.75rem;
            box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
            display: none;
            z-index: 9998;
        }

        /* optional polish */
        #chat-box.open {
            display: block;
        }

        /* mobile */
        @media (max-width: 460px) {
            #chat-box {
                width: calc(100% - 2rem);
                right: 1rem;
            }
        }

        /* END CHAT WIDGET STYLES */
/* BEGIN CTA SECTION */
form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.form-btn {
    width: auto;
    margin: 0 auto;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;    
    font-size: clamp(0.8rem, 1vw + 0.3rem, 1rem);
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0 4px rgba(var(--color13-rgb-values), 0.15);
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    font-family: inherit;
}

/* Error (invalid) style */
input.invalid,
textarea.invalid,
select.invalid {
    background-color: var(--error-bgcolor);
    border: 1px solid var(--error-color);
}

/* Error style when the user focuses the field */
input.invalid:focus,
textarea.invalid:focus,
select.invalid:focus {
    border: 2px solid var(--error-color);
    outline: none;
}


.form-response {
    display: block;
    box-sizing: border-box;
    color: var(--instruction-color);
    margin: 10px 0;
    font-size: 0.95rem;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
    width: inherit;
}

.success-msg {
    color: var(--success-color) !important;
}

.error-msg {
    color: var(--error-color) !important;
}

/* END CTA SECTION */

input[name="verify"] {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.checkbox-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.65rem;
    align-items: start;
    line-height: 1.35;
    margin: 1rem 0;
}

.checkbox-wrap input[type="checkbox"] {
    margin: 0.25em 0 0 0;
    width: auto;
    height: auto;
}

.checkbox-wrap span {
    display: block;
}

/* BEGIN SITE-WIDE FOOTER SECTION */


footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    width: 90%;
    margin: 0rem auto; 
}

/* BOTTOM SPACER - EQUAL AMOUNT OF SPACE AS ON EACH SIDE OF THE PAGE LAYOUT */
footer::after {
  content: "";
  display: block;
  width: 100%;
  height: 5vw;
  background-color: var(--outer-bg);
  font-size: var(--def-font-size);
}
footer a {
    color: var(--footer-link);
    text-decoration: none; 
    font-weight: 500;
}

footer a:hover {
    color: var(--footer-hover);
    text-decoration: underline;
}

#copyright {
    padding: 0.9375rem 0rem;
}


#copyright p {
    text-align: center;
    line-height: 1;
}

.footer-content{
    background-color: var(--footer-bg);
    color: var(--footer-text);
    display: grid; 
    grid-template-areas:
    "left center right";
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0.625rem 0rem;
    gap: 0em;
    width: 90%; 
    height: auto;
}

.left-container {
    grid-area: left;
}

.middle-container {
    grid-area: center;
}

.right-container{
    grid-area: right;
    text-align: right;
}

.footer-content .left-container h2 {
    margin-bottom:0.625rem;
    font-size: 1.5rem;
    text-align: left; 
}


.footer-content .contact-info,
.footer-content .footer-menu {
    list-style: none;
    padding-left: 0rem;
}

.footer-content .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-menu li {
    margin-bottom: 1rem;
}

.footer-content .contact-info svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    fill: currentColor;
    margin-right: 0.3125rem;
}

/* SOCIAL MEDIA AND SOCIAL PROOF BADGES */
.social-icons,
.badges{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* adjust spacing between icons */
    align-items: center;
    flex-direction: row;
}
.badges{
    justify-content: center;
}
.badges img {
    width: 6.25rem;
    height: 6.25rem;
}
.social-icons{
    padding-top: 1.875rem;    
    justify-content: flex-start;
}
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 1.875rem;
    height: 1.875rem;
}

.social-icons svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: var(--footer-link);
}

.social-icons a,
.badges a {
    transition: transform 0.2s ease;
}

.social-icons a:hover,
.badges a:hover {
    transform: scale(1.1); /* optional hover effect */
}

.footnote {
    font-size: 0.65rem !important;
    margin-left: 0.625rem !important;
}

#c45 {
    cursor: pointer; 
    display: inline-block;
    min-width: 23ch;
    transition: .02s;
}
#c45 a {
    cursor: pointer; 
    font-weight: 500;
}
#c45 a:hover {
    text-decoration: underline;
}

/* BEGIN FOOTER SECTION RESPONSIVE STYLES */

@media screen and (max-width: 768px) {
    
    footer {
        padding: 0rem 1.25rem;
        margin: 0rem auto;
    }
    .footer-content {
        grid-template-areas:
        "left"
        "center"
        "right";
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .left-container,
    .middle-container,
    .right-container {
        text-align: center;
        justify-content: center;
        align-items: center;
        align-content: center;
    }
    
    /* Social Icons centered */
    .social-icons {
        justify-content: center;
    }
    
    /* Badges stacked vertically */
    .badges {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-menu {
        text-align: center;
    }
    
}
@media screen and (max-width: 460px) {
    
    
}
/* END SITE-WIDE FOOTER SECTION */
