/* Little Caterpillars — shared form styling (Enroll popup, homepage popup,
   contact form, career application). Matches the site's pink/green brand. */

.lc-form {
    max-width: 480px;
}

.lc-field {
    margin-bottom: 18px;
}

.lc-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #11401c;
    margin-bottom: 6px;
    letter-spacing: .02em;
}

.lc-field input[type="text"],
.lc-field input[type="email"],
.lc-field input[type="tel"],
.lc-field input[type="file"],
.lc-field select,
.lc-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1.5px solid #e3d9de;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: #222;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.lc-field input:focus,
.lc-field select:focus,
.lc-field textarea:focus {
    outline: none;
    border-color: #ec0667;
    box-shadow: 0 0 0 3px rgba(236, 6, 103, .12);
}

.lc-field textarea {
    resize: vertical;
    min-height: 90px;
}

.lc-row {
    display: flex;
    gap: 14px;
}

.lc-row .lc-field {
    flex: 1;
    min-width: 0;
}

.lc-btn {
    display: inline-block;
    width: 100%;
    padding: 13px 20px;
    background: #11401c;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .15s ease, transform .1s ease;
}

.lc-btn:hover {
    background: #0d3115;
}

.lc-btn:active {
    transform: scale(.98);
}

.lc-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.lc-form-message {
    display: none;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
}

.lc-form-message.is-visible {
    display: block;
}

.lc-form-message.is-success {
    background: #eafaf0;
    color: #157347;
}

.lc-form-message.is-error {
    background: #fdecec;
    color: #c0392b;
}

@media (max-width: 480px) {
    .lc-row {
        flex-direction: column;
        gap: 0;
    }

    .lc-field input[type="text"],
    .lc-field input[type="email"],
    .lc-field input[type="tel"],
    .lc-field select,
    .lc-field textarea {
        font-size: 16px;
        /* 16px stops iOS Safari auto-zooming on focus */
    }

    .lc-btn {
        padding: 14px 20px;
    }

    /* The dark Enroll-Now popup card and the homepage modal both carry a
       fixed desktop padding from each page's own inline <style> — trim it
       on small screens so the form isn't squeezed. */
    .form-container {
        padding: 24px 18px !important;
    }

    .delayedPopupWindow {
        padding: 26px 20px 22px !important;
        width: 94% !important;
    }
}

/* ================= Homepage Contact section ================= */

.lc-contact-section {
    background: linear-gradient(150deg, #0d3016 0%, #11401c 55%, #1a5c2a 100%);
    padding: 88px 0;
}

.lc-contact-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.lc-contact-head h2 {
    color: #fff;
    font-family: "DK cover up", inherit;
    font-weight: 400;
    font-size: 40px;
    margin: 0 0 14px;
}

.lc-contact-head p {
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.lc-contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto;
}

.lc-contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .28);
}

.lc-contact-form-card .lc-form {
    max-width: none;
}

/* Both campuses stack in the right column, next to the contact form */
.lc-campus-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

/* Address / hours card with embedded map */
.lc-map-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .28);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lc-map-frame {
    width: 100%;
    height: 160px;
    border: 0;
    display: block;
}

.lc-map-info {
    padding: 18px 22px 20px;
    flex: 1;
}

.lc-map-campus-name {
    font-weight: 700;
    font-size: 14px;
    color: #11401c;
    margin-bottom: 10px;
    letter-spacing: .02em;
}

.lc-map-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: #333;
    line-height: 1.4;
}

.lc-map-row + .lc-map-row {
    margin-top: 16px;
}

.lc-map-icon {
    flex-shrink: 0;
    color: #ec0667;
    margin-top: 2px;
}

@media (max-width: 991px) {
    .lc-contact-section {
        padding: 64px 0;
    }

    .lc-contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lc-contact-form-card {
        padding: 28px 22px;
    }

    .lc-contact-head h2 {
        font-size: 32px;
    }
}

/* Honeypot — invisible to real visitors, catches basic bots */
.lc-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* The Enroll-Now popup sits on a dark card (.form-container) — keep labels
   legible there instead of the default dark-green. */
.form-container .lc-field label {
    color: #fff;
}
