/* BEGIN CTA SECTION */
 .cta-section {
    padding: clamp(2rem, 4vw, 4rem) 1.5rem;
    font-size: clamp(0.8rem, 1vw + 0.3rem, 1rem);
}

.cta-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 50%, 400px), 1fr));
    align-items: start;
    gap: clamp(2rem, 3vw, 3rem);
    max-width: 1200px;
    margin: 0 auto;
}

.cta-left h2 {
    font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem);
    margin-bottom: 1rem;
}

.cta-left .lead {
    font-size: clamp(1rem, 0.4vw + 0.9rem, 1.1rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

.cta-left p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

form,
.cta-left form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}


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;
}

.cta-btn {
    background-color: var(--cta-color);
    /* your orange button color */
    color: var(--cta-text);
    border: none;
    border-radius: 2rem;
    padding: 0.8rem 1.75rem;
    font-size: clamp(0.95rem, 0.3vw + 0.8rem, 1.05rem);
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform, box-shadow;
    text-decoration: var(--cta-link-td);
}

.cta-btn:hover,
.cta-btn:focus {
    background-color: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(var(--color13-rgb-values), 0.25);
    outline: none;
    text-decoration: var(--cta-hover-td);
}



.cta-right img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 6px 12px rgba(var(--color13-rgb-values), 0.25);
}

/* 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;
}footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: clamp(2rem, 4vw, 3rem) 0 0;
    
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    width: 90%;
    margin: 0 auto;
    align-items: start;
    font-size: clamp(1rem, 0.4vw + 0.9rem, 1.1rem);
}

.footer-left h2 {
    font-size: clamp(1rem, 0.6vw + 1rem, 1.25rem);
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-align: left;
}

.footer-left p {
    margin: 0.4rem 0;
}

/* Contact info */
.footer-contact {
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

.footer-contact p {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: var(--icon3-color);
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    white-space: nowrap;
    color: var(--footer-text);
    text-decoration: var(--footer-link-td);
    font-weight: 400;
}

.footer-contact a:hover {
    color: var(--footer-hover);
    text-decoration: var(--footer-hover-td);
}

.footer-contact a svg {
    flex: 0 0 auto;
    /* locks icon width */
}

/* Centered Social icons */
.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.3s ease, transform 0.3s ease;
    will-change: transform;
}

.footer-social a:hover {
    background-color: rgba(var(--icon4-hover-bg), 0.1);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 22px;
    height: 22px;
    fill: var(--icon4-color);
    transition: fill 0.3s ease;
}

.footer-social a:hover svg {
    fill: var(--icon2-hover);
    transform: translateY(-2px);
}

.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

.footer-right h2 {
    font-size: clamp(1rem, 0.6vw + 1rem, 1.25rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* keeps it right-aligned */
    /* gap: 0.5rem; */
    gap: clamp(0.5rem, -0.6vw + 0.8rem, 1.2rem);
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: var(--footer-link);
    font-weight: 400;
    text-decoration: var(--footer-link-td);
}

.footer-links a:hover {
    color: var(--footer-hover);
    text-decoration: var(--footer-hover-td);
}

/* Bottom bar */
.footer-bottom {
    background-color: var(--copyright-bg);
    padding: 1rem 0;
    margin-top: 2rem;
}

.copyright,
.copyright a {
    width: 90%;
    font-size: clamp(0.75rem, 1.1vw, 1rem);
    text-align: center;
    color: var(--copyright-text);
    margin: 0 auto;
}

.copyright a {
    color: var(--copyright-link);
    font-weight: 400;
    text-decoration: var(--copyright-link-td);
}

.copyright a:hover {
    color: var(--copyright-hover);
    text-decoration: var(--copyright-hover-td);
}

/* Mobile stacking */
@media (max-width: 768px) {
    .footer-main {
        text-align: center;
    }

    .footer-right,
    .footer-links {
        align-items: center;
        text-align: center;
        gap: 1rem 1.5rem;
    }


}