/* Shared, sitewide form-card component — used by the footer "Get In Touch"
   form and the Contact page form. Kept in its own file (rather than
   new_style.css, which has page-scoped selectors like a bare `.main` class
   that would collide sitewide) so it's safe to load on every page. */

.styled-form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(35, 36, 144, 0.12);
    padding: 40px;
}

/* The sitewide `form { display:grid; grid-template-columns:1fr 1fr }` rule
   (public/css/style.css) applies to every <form> on the site and otherwise
   shuffles this card's fields into an unintended 2-column grid, fighting
   the .form-row flex layout below. */
.styled-form-card form {
    display: block;
}

.styled-form-card .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.styled-form-card .form-row .form-group {
    flex: 1 1 220px;
    margin-bottom: 0;
}

.styled-form-card .form-group {
    margin-bottom: 20px;
}

.styled-form-card .field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #291a55;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.styled-form-card input.styled-control,
.styled-form-card textarea.styled-control {
    width: 100%;
    display: block;
    border: 1.5px solid #e7e5f3;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 15px;
    color: #291a55;
    background: #faf9fd;
    font-family: 'Poppins', sans-serif;
    transition: all .25s ease;
}

.styled-form-card textarea.styled-control {
    resize: vertical;
    min-height: 120px;
}

.styled-form-card input.styled-control:focus,
.styled-form-card textarea.styled-control:focus {
    border-color: #e83e8c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(232, 62, 140, .12);
    outline: none;
}

.styled-form-card .field-error {
    color: #e2445c;
    font-size: 12.5px;
    margin-top: 5px;
    display: block;
}

.styled-form-card .recaptcha-wrap {
    margin-bottom: 20px;
}

.styled-form-card .form-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.styled-form-card .btn-primary-pill {
    background-image: linear-gradient(90deg, rgb(35, 36, 144) 0%, rgb(231, 61, 142) 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 38px;
    font-weight: 600;
    font-size: 15px;
    text-transform: none;
    cursor: pointer;
    transition: opacity .2s ease;
    font-family: 'Poppins', sans-serif;
}

.styled-form-card .btn-primary-pill:hover,
.styled-form-card .btn-primary-pill:focus {
    opacity: .9;
    color: #fff;
    outline: none;
}

.styled-form-card .btn-ghost-pill {
    background: #fff;
    color: #291a55;
    border: 1.5px solid #e7e5f3;
    border-radius: 30px;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 15px;
    text-transform: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.styled-form-card .btn-ghost-pill:hover,
.styled-form-card .btn-ghost-pill:focus {
    border-color: #e83e8c;
    color: #e83e8c;
    outline: none;
}

/* Footer "Get In Touch" section */
.footer-touch {
    background-color: #030e47;
    padding: 90px 0 30px;
    position: relative;
    z-index: 5;
}

/* .site-footer__upper's own 115px top padding (public/css/style.css) was
   sized to absorb the CTA card's -62px overlap when it used to sit directly
   below the CTA band; now that footer-touch sits between them and already
   provides its own bottom breathing room, that padding just doubles up
   into a large dead gap. */
.footer-touch + .site-footer__upper {
    padding-top: 60px;
}

.footer-touch__head {
    text-align: center;
    margin-bottom: 45px;
}

.footer-touch__line {
    background-image: linear-gradient(90deg, rgb(35, 36, 144) 0%, rgb(231, 61, 142) 100%);
    width: 64px;
    height: 5px;
    border-radius: 10px;
    margin: 0 auto 18px;
}

.footer-touch__head h2 {
    color: #fff;
    font-size: 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-touch__head h2 span {
    color: #e83e8c;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.footer-touch__head p {
    color: #c6c9e0;
    font-size: 15px;
    max-width: 480px;
    margin: 0 auto;
}

.footer-touch__row {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.footer-touch__form {
    flex: 1 1 620px;
    min-width: 0;
}

.footer-touch__info {
    flex: 1 1 320px;
    min-width: 280px;
    padding-top: 40px;
}

.footer-touch__info p {
    color: #c6c9e0;
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-touch__info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-touch__info-item i {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background-image: linear-gradient(90deg, rgb(35, 36, 144) 0%, rgb(231, 61, 142) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.footer-touch__info-item span {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

@media (max-width: 991px) {
    .footer-touch__row {
        flex-direction: column;
    }
    .footer-touch__info {
        order: -1;
    }
}

/* Contact page form card */
.contact-form-card {
    height: 100%;
}

.contact-form-card .form-actions {
    margin-top: 15px;
}

/* Contact page map — gives the bare, sharp-cornered Google Maps iframe the
   same rounded-card treatment as the form beside it, and stretches it to
   match the form card's height instead of leaving dead space below a fixed
   480px map next to a taller form. */
.contact-map-row {
    gap: 0;
}

.contact-map-card {
    height: 100%;
    min-height: 480px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(35, 36, 144, 0.12);
}

.contact-map-card .google-map__contact {
    height: 100%;
}

@media (max-width: 991px) {
    .contact-map-card {
        margin-bottom: 30px;
    }
}
