/* ==========================================================================
   Contact Us Form page
   Matches site theme: --blue #003366, --secondary-color #ecb250,
   --primary-color #a20319
   ========================================================================== */

.get-in-touch {
    padding: 1vh 0 8vh;
}

/* Small centered divider below the page title */
.git-divider {
    width: 60px;
    height: 2px;
    background: #9fb2c4;
    border: none;
    opacity: 1;
    margin: 0.75rem auto 3rem;
}

/* Intro text (right column, left aligned) */
.git-intro {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

/* -------- Left: form lead text -------- */
/* .get-in-touch .form-lead {
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.5;
} */

.get-in-touch .required-note {
    color: #777;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.get-in-touch .required-note .req,
.get-in-touch .form-group label .req {
    color: var(--secondary-color);
    font-weight: 700;
}

/* -------- Yellow animated line wrapper around the card -------- */
.get-in-touch .form-card-wrap {
    position: relative;
    padding: 0;
    margin-left: 20px;
}

.get-in-touch .form-card-wrap::after {
    content: '';
    position: absolute;
    height: 0;
    width: 1px;
    border: 3px solid var(--secondary-color);
    border-radius: 40px 0 0 0;
    border-right: none;
    border-bottom: none;
    top: -18px;
    left: -18px;
    pointer-events: none;
}

/* draw the L-shaped line when it scrolls into view */
.get-in-touch .form-card-wrap.topeffect {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease, transform 1s ease;
}

.get-in-touch .form-card-wrap.animate-border::after {
    animation: gitDrawLine 2.5s linear forwards;
}

@keyframes gitDrawLine {
    0% {
        height: 0;
        width: 1px;
    }
    50% {
        height: 100%;
        width: 1px;
    }
    100% {
        height: 100%;
        width: 100%;
    }
}

/* -------- Navy form card -------- */
.get-in-touch .form-panel {
    background: var(--blue);
    padding: 2.25rem 2rem;
    border-radius: 2vw;
    box-shadow: 1px 2px 15px rgb(0 0 0 / 30%);
}

@media (max-width: 991px) {
    .get-in-touch .form-panel {
        border-radius: 16px;
    }
}

.get-in-touch .form-group {
    margin-bottom: 1.25rem;
}
.heading-content  a {
    text-decoration: none;
    color: #003366;
}

.get-in-touch .form-group label {
   display: block;
    color: #fff;
    /* font-weight: 700; */
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-family: 'Lato';
}

.get-in-touch .form-control,
.get-in-touch .form-select {
    width: 100%;
    border: 1px solid #fff;
    border-radius: 3px;
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    transition: box-shadow 0.2s ease;
}

.get-in-touch .form-control:focus,
.get-in-touch .form-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(236, 178, 80, 0.6);
}

.get-in-touch textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* Gold SEND button */
.get-in-touch .btn-send {
    background: var(--secondary-color);
    color: var(--blue);
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.get-in-touch .btn-send:hover {
    background: #d89e3c;
}

/* -------- Right: contact details (uses the shared .cnt-dtl styling,
   identical to contact-us.html) -------- */

/* Success / feedback message */
.get-in-touch .form-feedback {
    margin-top: 1rem;
    font-weight: 600;
    display: none;
    color: #fff;
}

.get-in-touch .form-feedback.success {
    color: #d4f8d4;
    display: block;
}

.get-in-touch .form-feedback.error {
    color: #ffd7d7;
    display: block;
}

@media (max-width: 991px) {
    .get-in-touch .contact-details {
        margin-top: 2.5rem;
    }

    .get-in-touch .form-card-wrap {
        margin-left: 0;
    }
}

/* -------- Inline per-field validation messages -------- */
.get-in-touch .field-error {
    display: block;
    min-height: 1em;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    line-height: 1.3;
    color: #ffd7d7;
}

.get-in-touch .form-control.is-invalid,
.get-in-touch .form-select.is-invalid {
    border-color: #ff9c9c;
    box-shadow: 0 0 0 2px rgba(255, 120, 120, 0.45);
}

/* Disabled submit (while sending) */
.get-in-touch #contactSubmit:disabled {
    cursor: not-allowed;
}

/* -------- Thank-you panel (replaces the form after submit) -------- */
.get-in-touch .thankyou-panel {
    background: var(--blue);
    padding: 2.75rem 2rem;
    border-radius: 2vw;
    box-shadow: 1px 2px 15px rgb(0 0 0 / 30%);
    text-align: center;
    animation: gitFadeIn 0.4s ease both;
}

.get-in-touch .thankyou-panel h3 {
    font-size: 1.6rem;
}

.get-in-touch .thankyou-panel p {
    line-height: 1.6;
}

@media (max-width: 991px) {
    .get-in-touch .thankyou-panel {
        border-radius: 16px;
    }
}

@keyframes gitFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
