/* ==========================================================================
   CONTACT PAGE STYLES — Figma Exact Match & ADA Compliant
   Wilmette Events Child Theme
   Location: assets/css/contact.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Base Tokens & Reset for Contact Page
   -------------------------------------------------------------------------- */
.contact-main {
    background-color: var(--color-bg-cream, #FAF7F2);
    color: var(--color-text-dark, #1E1E1E);
    font-family: var(--font-family-body, "Poppins", sans-serif);
    overflow-x: hidden;
    position: relative;
}

.contact-main * {
    box-sizing: border-box;
}

.contact-main section {
    position: relative;
    scroll-margin-top: 80px;
}

p.contact-hero-subheading {
    margin: -10px 0 !important;
}

/* Common Section Header Typography */
.contact-section-title {
    font-family: var(--font-family-heading, "Figtree", sans-serif);
    font-size: clamp(30px, 3.2vw, 46px);
    font-weight: 800;
    color: #162035;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
}

.contact-section-subtitle {
    font-family: var(--font-family-accent, "Oleo Script", cursive);
    font-size: 38px;
    color: #D4462C;
    line-height: 1.25;
    margin: 6px 0 20px 0;
}

.contact-section-lead {
    font-size: 18px;
    color: #3C3C3C;
    line-height: 30px;
    max-width: 720px;
    margin: 0 auto;
}

.section-title-wrapper {
    margin-bottom: 34px;
}

@media (min-width:1650px) {
    div#input_1_6 {
        column-gap: 0px !important;
        row-gap: 15px !important;
    }
}

/* --------------------------------------------------------------------------
   1. Hero Banner Section — Centered, ADA-Compliant, Responsive
   -------------------------------------------------------------------------- */
.contact-hero-banner {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #111827;
    min-height: clamp(420px, 52vw, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #FFFFFF;
    overflow: hidden;
}

/* ADA-compliant overlay: ensures 4.5:1 contrast for white text on image
   Using centre-heavy gradient so text is readable wherever it appears */
.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0a0f27cf 0%, #060b2dcf 19%, #0000009e 50%, #00000000 70%, #00000000 85%, #00000000 100%);
    z-index: 1;
}

/* Wave top removed */
.contact-hero-wave-top {
    display: none;
}

/* Container — centred, width-constrained */
.contact-hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100%;
    padding: 50px 13vw;
    margin: 0 auto;
    text-align: left;
}

.contact-hero-content {
    width: 100%;
}

/* H1 — large bold white */
.contact-hero-title {
    font-family: var(--font-family-secondary);
    font-size: 80px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.06;
    margin: 0;
}

/* Accent subtitle — italic coral */
.contact-hero-subheading {
    font-family: var(--font-family-accent, "Oleo Script", cursive);
    font-size: 80px;
    color: #FF6347;
    margin: 0px;
}

/* Description — readable body copy */
.contact-hero-description {
    font-size: 22px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 500px;
    margin: 0;
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   2. Sticky Jump Navigation Bar (Exact same design & behavior as About Us)
   -------------------------------------------------------------------------- */
.contact-jump-nav,
.about-jump-nav,
.about-jump-nav-bar {
    position: relative;
    background-color: #FAF7F2;
    border-bottom: 1px solid #EBE4D8;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    z-index: 90;
    width: 100%;
}

/* JS adds this when hero scrolls past */
.contact-jump-nav.is-sticky,
.about-jump-nav.is-sticky,
.about-jump-nav-bar.is-sticky {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 990;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
    animation: contact-nav-drop 0.22s ease forwards;
}

@keyframes contact-nav-drop {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-jump-nav-placeholder,
.contact-jump-nav-placeholder {
    display: block;
    width: 100%;
    height: 0;
}

.about-jump-nav .contact-jump-container,
.contact-jump-container,
.about-jump-nav-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.contact-jump-list,
.about-jump-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px !important;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.contact-jump-list::-webkit-scrollbar,
.about-jump-nav-list::-webkit-scrollbar {
    display: none;
}

.contact-jump-item,
.about-jump-nav-item {
    flex-shrink: 0;
}

.contact-jump-link,
.about-jump-nav-link {
    display: inline-block;
    padding: 30px 10px !important;
    color: #1F2937 !important;
    font-family: var(--font-family-body, "Poppins", sans-serif);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    border-bottom: none !important;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.contact-jump-link:hover,
.about-jump-nav-link:hover {
    color: #241B67 !important;
}

.contact-jump-link:focus-visible,
.about-jump-nav-link:focus-visible {
    color: #D4462C !important;
    outline: 2px solid #D4462C;
    outline-offset: 2px;
    border-radius: 4px;
}

.contact-jump-link::after,
.about-jump-nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3.5px !important;
    background-color: #D4462C !important;
    border-radius: 3px 3px 0 0 !important;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.contact-jump-link.is-active::after,
.contact-jump-link:hover::after,
.about-jump-nav-link.is-active::after,
.about-jump-nav-link:hover::after {
    transform: scaleX(1) !important;
}

.contact-jump-link.is-active,
.contact-jump-link[aria-current="true"],
.about-jump-nav-link.is-active,
.about-jump-nav-link[aria-current="location"],
.about-jump-nav-link[aria-current="true"] {
    color: #241B67 !important;
}

/* --------------------------------------------------------------------------
   3. Section 1 — Find a Contact
   -------------------------------------------------------------------------- */
.section-find-contact {
    padding: 50px 0 70px;
    background-color: #FBF8F0;
    position: relative;
    overflow: hidden;
}

.find-contact-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 13vw;
    position: relative;
    z-index: 2;
}

/* Corner Vector Accents (Frontpage Reference) */
.vector-circle-corner {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.vector-circle-corner.corner-top-left {
    top: -40px;
    left: -40px;
}

.vector-circle-corner.corner-bottom-right {
    bottom: -40px;
    right: -40px;
}

.vector-svg-accent {
    animation: vector-float 12s ease-in-out infinite alternate;
}

@keyframes vector-float {
    0% {
        transform: rotate(0deg) scale(1);
    }

    100% {
        transform: rotate(8deg) scale(1.05);
    }
}

.find-contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.find-contact-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.09);
}

.find-contact-card-title {
    font-family: var(--font-family-secondary);
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0 0 25px 0;
    line-height: 1.25;
}

@media (max-width:1536px) {

    .find-contact-card-title,
    .find-contact-btn span {
        font-size: 18px;
    }
}

.find-contact-card-inner {
    background: #FFFFFF;
    border-radius: 20px 20px 0 0;
    padding: 34px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.find-contact-card-desc {
    font-size: 16px;
    line-height: 1.65;
    color: #3C3C3C;
    margin: 0px;
}

.find-contact-card-action {
    margin-top: auto;
}

.find-contact-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 20px 25px;
    border-radius: 0 0 20px 20px;
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-weight: 600;
    gap: 10px;
    font-size: 20px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}


/* Distinct Button Gradients matching Figma Reference */
.btn-gradient-orange {
    background: linear-gradient(90deg, #E24835 0%, #F59034 100%);
}

.btn-gradient-blue {
    background: linear-gradient(90deg, #CE1126 0%, #005AA7 100%);
}

.btn-gradient-purple {
    background: linear-gradient(90deg, #5B2C8C 0%, #00B4D8 100%);
}

.btn-arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.find-contact-btn:hover .btn-arrow-circle {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   4. Section 2 — Visit Us & Getting Here
   -------------------------------------------------------------------------- */
.section-visit-us {
    padding: 70px 0;
    overflow: hidden;
}

.visit-us-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 13vw;
    position: relative;
    z-index: 2;
}

/* Two-Column Grid: Map on Left, Header & Info Card on Right */
.visit-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 64px;
}

/* Left: Map Frame with Gradient Border */
.visit-map-col {
    display: flex;
    flex-direction: column;
}

.visit-map-wrapper {
    position: relative;
    border-radius: 26px;
    padding: 7px;
    background: linear-gradient(135deg, #b8a5ff 0%, #3cd7f6 45%, #46e8b7 100%);
    height: 100%;
    min-height: 420px;
    display: flex;
}

.visit-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 406px;
    border: 0;
    border-radius: 20px;
    display: block;
}

/* Right: Header + Info Card */
.visit-content-col {
    display: flex;
    flex-direction: column;
}

.visit-header-block {
    margin-bottom: 24px;
}

.visit-section-title {
    font-family: var(--font-family-secondary, "Figtree", sans-serif);
    font-size: 38px;
    font-weight: 800;
    color: #1E2B3C;
    line-height: 1.15;
    margin: 0 0 6px 0;
}

.visit-section-subtitle {
    font-family: var(--font-family-accent, "Oleo Script", cursive);
    font-size: 38px;
    font-weight: 400;
    color: #D4462C;
    line-height: 1.25;
    margin: 0 0 14px 0;
}

.visit-section-lead {
    font-family: var(--font-family-secondary);
    font-size: 18px;
    line-height: 1.55;
    color: #3c3c3c;
    margin: 0;
    max-width: 100%;
    font-weight: 500 !important;
}

/* Partner Info Card */
.visit-info-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 24px 30px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.visit-address-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 2.5px solid #2DD4BF;
    margin-bottom: 22px;
}

.address-pin-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.address-link {
    color: #1F2937;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.address-link:hover {
    color: #D4462C;
    text-decoration: underline;
}

.visit-partners-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.partner-title {
    font-family: var(--font-family-secondary, "Figtree", sans-serif);
    font-size: 18px;
    font-weight: 800;
    color: #000;
    margin: 0 0 3px 0;
}

.partner-dept {
    font-size: 14px;
    color: #666666;
    margin: 0 0 14px 0;
    font-weight: 400;
}

.partner-meta-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.partner-meta-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.meta-icon {
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
}

.meta-content {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 14px;
    font-weight: 800;
    color: #3c3c3c;
    line-height: 1.2;
}

h2#join-community-heading {
    font-size: 36px !important;
    color: #000;
}

.meta-link {
    color: #4B5563;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-all;
}

.meta-link:hover {
    color: #D4462C;
    text-decoration: underline;
}

h2.contact-section-title {
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 0;
    font-weight: 800;
    color: var(--color-text-dark);
    font-family: var(--font-family-secondary);
}

/* Getting Here Subsection */
.getting-here-wrapper {
    margin-top: 30px;
}

.getting-here-header {
    margin-bottom: 22px;
    text-align: center;
}

.getting-here-title {
    font-family: var(--font-family-secondary, "Figtree", sans-serif);
    font-size: 24px;
    font-weight: 600;
    color: #1B2330;
    margin: 0 0 6px 0;
}

.getting-here-subtitle {
    font-size: 18px;
    color: #3c3c3c;
    margin: 0;
}

.transit-options-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 34px 44px;
    box-shadow: 0 8px 12px rgba(0 0 0 / 10%);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.transit-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.transit-option-item {
    display: flex;
    flex-direction: column;
}

.transit-icon-badge {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    min-height: 38px;
}

.transit-img-icon {
    max-height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.metra-text-logo {
    font-family: var(--font-family-secondary, "Figtree", sans-serif);
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    color: #005AA7;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 3px solid #005AA7;
    line-height: 1;
}

.transit-badge-cta {
    padding: 0;
    border-radius: 0;
}

.cta-circle-mark {
    width: 22px;
    height: 22px;
    background: #FFFFFF;
    color: #0E4B82;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 9.5px;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}

.cta-badge-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.transit-item-title {
    font-family: var(--font-family-secondary);
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 10px 0;
}

.transit-item-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #3C3C3C;
    margin: 0;
}

/* --------------------------------------------------------------------------
   5. Section 3 — Quick Answers (Form & FAQs Accordion)
   -------------------------------------------------------------------------- */
h2.gform_title,
p.gform_required_legend {
    display: none !important;
}

#gform_fields_1 input[type="text"],
#gform_fields_1 input[type="email"],
#gform_fields_1 select,
#gform_fields_1 textarea {
    border: 1px solid #CECECE !important;
    border-radius: 10px !important;
    padding: 18px 12px 18px 18px;
}

#gform_fields_1 input[type="text"]::placeholder,
#gform_fields_1 input[type="email"]::placeholder,
#gform_fields_1 select .gf_placeholder,
#gform_fields_1 textarea::placeholder {
    color: #878787 !important;
    font-size: 16px !important;
    font-family: var(--font-family-primary) !important;
    font-weight: 400 !important;
}

div#input_1_6 {
    gap: 0px;
}

.contact-form-card {
    background: #FFFFFF;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: 0 8px 12px rgb(0 0 0 / 10%) !important;
}

label.gfield_label.gform-field-label {
    font-size: 14px;
    font-family: var(--font-family-primary);
    font-weight: 500;
    color: #000;
}

.gfield_radio label {
    font-size: 16px !important;
    font-family: var(--font-family-primary) !important;
}

.gform-theme--foundation .gform_fields {
    column-gap: 20px !important;
    row-gap: 36px !important;
}

.section-quick-answers {
    padding: 75px 0 100px;
    background-color: #FCF9F7;
    position: relative;
    overflow: hidden;
}

/* Decorative Half-Circle Vectors (Top-Left and Bottom-Right) */
.qa-circle-vector {
    position: absolute;
    pointer-events: none;
    z-index: 1;

}

.qa-circle-vector img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.qa-circle-top-left {
    top: -30px;
    left: -120px;
}

.qa-circle-bottom-right {
    bottom: -180px;
    right: -200px;
    transform: rotate(180deg);
}

/* Halftone / Dotted Background Pattern referencing Frontpage */
.vector-dotted-bg-pattern {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 260px;
    pointer-events: none;
    z-index: 1;
    background-image: radial-gradient(#F38D7D 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: 0.28;
}

.vector-dotted-bg-pattern.pattern-left {
    left: 0;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.vector-dotted-bg-pattern.pattern-right {
    right: 0;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.quick-answers-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 13vw;
    position: relative;
    z-index: 2;
}

.quick-answers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: flex-start;
}

/* Left: Contact Form Card */
.contact-form-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-card-title {
    font-family: var(--font-family-secondary);
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 18px 0;
}

/* Gravity Forms Container */
.contact-gform-wrapper {
    width: 100%;
}

.contact-gform-wrapper .gform_wrapper,
.contact-gform-wrapper form {
    margin: 0 !important;
}

.contact-message-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.form-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 7px;
}

.required-mark {
    color: #DC2626;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: #111827;
    background-color: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #442293;
    box-shadow: 0 0 0 3px rgba(68, 34, 147, 0.12);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Radio Group */
.event-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13.5px;
    color: #4B5563;
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #9CA3AF;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.radio-label input[type="radio"]:checked+.radio-custom {
    border-color: #442293;
}

.radio-label input[type="radio"]:checked+.radio-custom::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background-color: #442293;
    border-radius: 50%;
}

.radio-label input[type="radio"]:focus-visible+.radio-custom {
    box-shadow: 0 0 0 3px rgba(68, 34, 147, 0.25);
}

/* Custom Select Dropdown */
.select-wrapper {
    position: relative;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
}

/* Submit Button */
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #442293;
    color: #FFFFFF;
    border: none;
    border-radius: 30px;
    padding: 13px 30px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit-btn:hover {
    background-color: #351778;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(68, 34, 147, 0.25);
}

.contact-submit-btn:focus-visible {
    outline: 3px solid #E85D4E;
    outline-offset: 2px;
}

.form-status-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

.form-status-alert.is-success {
    background-color: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.form-status-alert.is-error {
    background-color: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Right: FAQs Accordion */
.contact-faqs-card {
    padding-top: 4px;
}

.faqs-card-title {
    font-family: var(--font-family-secondary);
    font-size: 24px;
    font-weight: 600;
    color: #1B2330;
    margin: 0 0 10px 0;
}

span.faq-question-text {
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-family-secondary);
}

.contact-accordion {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.faq-item {
    border-radius: 50px;
    background-color: #FFE2C4;
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.is-expanded {
    background-color: #FFB83F;
    box-shadow: 0 8px 20px rgba(0 0 0 /18%);
}

.faq-item h4 {
    margin: 0;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 32px 10px 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-family-heading, "Figtree", sans-serif);
    font-size: 15.5px;
    font-weight: 700;
    color: #1F2937;
    transition: color 0.2s ease;
}

.faq-trigger:focus-visible {
    outline: 2.5px solid #442293;
    outline-offset: -2px;
}

.faq-icon-indicator {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-block;
}

.indicator-bar {
    position: absolute;
    background-color: #111827;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.bar-h {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

.bar-v {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.faq-item.is-expanded .bar-v {
    transform: rotate(90deg);
    opacity: 0;
}

/* SOS-Style FAQ Accordion Grid-Row Slide */
.faq-panel-slide {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease-in-out;
}

.faq-item.is-expanded .faq-panel-slide {
    grid-template-rows: 1fr;
}

.faq-panel-inner {
    overflow: hidden;
}

.faq-panel-content {
    padding: 0 32px 20px 32px;
}

section#quick-answers {
    background: #F7EDED;
}

.faq-panel-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   6. Section 4 — Be a part of the FUN (Community & Bento Grid)
   -------------------------------------------------------------------------- */
.section-join-community {
    padding: 50px 0 200px;
    background-color: #FAF7F2;
    position: relative;
    overflow: hidden;
}

/* Corner Vector Flowers */
.community-vector-flower {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.community-vector-flower img {
    width: 260px;
    height: 260px;
    object-fit: contain;
    display: block;
    opacity: 0.9;
}

.community-vector-flower.vector-top-right {
    top: -45px;
    right: -45px;
    z-index: 1;
}

.community-vector-flower.vector-bottom-left {
    bottom: -100px;
    left: -100px;
    transform: rotate(180deg);
    transform-origin: center center;
    z-index: 1;
}

input#gform_submit_button_1 {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50px;
    background: #442293;
}

.join-community-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 13vw;
    position: relative;
    z-index: 2;
}

/* Social Bar */
.community-social-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 54px;
}

.social-group {
    display: block;
    align-items: center;
    text-align: center;
}

.social-group-label {
    font-size: 18px;
    font-weight: 600;
    color: #1B2330;
}

.social-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 6px;
}

.social-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #442293;
    color: #442293 !important;
    background-color: #FFFFFF;
    text-decoration: none !important;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.social-pill-btn:hover {
    background-color: #442293;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(68, 34, 147, 0.15);
}

.social-pill-btn:focus-visible {
    outline: 2px solid #E85D4E;
    outline-offset: 2px;
}

.social-icon {
    display: flex;
    align-items: center;
}

.social-bar-divider {
    width: 1.5px;
    height: 70px;
    background-color: #A6A6A6;
}

/* Full Width Autoplay Gallery Slider (Infinite Loop) */
.community-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    padding: 30px 0 10px;
    margin-top: 30px;
    margin-bottom: 20px;
    user-select: none;
}

.community-slider-track {
    display: flex;
    gap: 16px;
    width: max-content;
}

.community-slider-group {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    will-change: transform;
    animation: community-marquee 45s linear infinite;
}

.community-slider-wrapper:hover .community-slider-group,
.community-slider-wrapper:focus-within .community-slider-group {
    animation-play-state: paused;
}

@keyframes community-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% - 16px));
    }
}

/* Gallery Column (Alternating Type A & Type B matching design mockup) */
.gallery-col {
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}

.gallery-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    background-color: #EAE6DF;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.03);
}

.gallery-card-large {
    height: 330px;
    width: 100%;
}

.gallery-row-small {
    display: flex;
    gap: 14px;
    height: 160px;
    width: 100%;
}

.gallery-card-small {
    flex: 1;
    height: 100%;
    min-width: 0;
}

section#join-community {
    padding-bottom: 260px;
}

.gallery-col.gallery-col-type-b {
    padding-top: 120px !important;
}

/* Reduced Motion ADA */
@media (prefers-reduced-motion: reduce) {
    .community-slider-track {
        animation: none !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
    }

    .gallery-col {
        scroll-snap-align: start;
    }
}

/* --------------------------------------------------------------------------
   7. Responsive Design (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {

    .contact-hero-container,
    .find-contact-container,
    .visit-us-container,
    .join-community-container,
    .quick-answers-container {
        padding-inline: 7.5vw !important;
    }

    .find-contact-card-desc {
        font-size: 13px;

    }
}


@media (max-width: 1024px) {
    .find-contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .visit-main-grid {
        grid-template-columns: 1fr;
    }

    .quick-answers-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-col {
        width: 290px;
        gap: 12px;
    }

    .gallery-card-large {
        height: 280px;
    }

    .gallery-row-small {
        height: 140px;
        gap: 12px;
    }
}

@media (max-width: 981px) {

    .contact-hero-title,
    .contact-hero-subheading {
        font-size: 55px;
    }

    .contact-hero-description {
        font-size: 16px;
        max-width: 360px;
    }

    .contact-hero-banner {
        min-height: 400px;
    }

    .contact-jump-link {
        padding: 18px 10px;
        font-size: 14px;
    }

    h2.contact-section-title,
    .visit-section-title,
    h2#join-community-heading {
        font-size: 32px;
    }

    .contact-section-subtitle,
    .visit-section-subtitle {
        font-size: 30px;
    }

    .contact-jump-list {
        gap: 20px;
        justify-content: center;
    }

    .find-contact-btn {
        justify-content: center;
        padding: 15px;
    }

    p.find-contact-card-desc,
    h3.find-contact-card-title {
        text-align: center;
    }

    div#input_1_6 {
        gap: 15px;
    }

    h3.faqs-card-title {
        text-align: center;
        margin-bottom: 20px;
    }

    .section-quick-answers {
        padding: 55px 0 60px;
    }

    p,
    .contact-section-lead {
        font-size: 16px;
    }

    .transit-option-item {
        border-bottom: 1px solid #d5cdcd;
        padding-bottom: 25px;
    }

    .transit-option-item:last-child {
        border-bottom: none;
        padding-bottom: 15px;
    }

    .section-join-community {
        padding: 50px 0 90px;
        background-color: #FAF7F2;
        position: relative;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .contact-hero-banner {
        min-height: 320px;
    }

    .contact-hero-container {
        padding: 70px 20px 55px;
    }

    .contact-hero-title {
        font-size: clamp(28px, 8vw, 42px);
    }

    .contact-hero-subheading {
        font-size: clamp(22px, 7vw, 34px);
    }

    .contact-jump-list {
        gap: 20px;
        justify-content: flex-start;
    }

    .contact-jump-link {
        font-size: 13px;
        padding: 14px 4px;
    }

    .find-contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .visit-partners-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .visit-map-wrapper {
        min-height: 320px;
    }

    .visit-map-wrapper iframe {
        min-height: 306px;
    }

    .transit-options-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .transit-options-card {
        padding: 26px 20px;
    }

    .form-row-split {
        grid-template-columns: 1fr;
    }

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

    .qa-circle-vector {
        width: 200px;
        height: 200px;
    }

    .qa-circle-top-left {
        top: -100px;
        left: -100px;
    }

    .qa-circle-bottom-right {
        bottom: -100px;
        right: -100px;
    }

    .social-bar-divider {
        display: none;
    }

    .community-social-bar {
        flex-direction: column;
        gap: 20px;
    }

    .gallery-col {
        width: 240px;
        gap: 10px;
    }

    .gallery-card-large {
        height: 240px;
    }

    .gallery-row-small {
        height: 120px;
        gap: 10px;
    }

    .community-slider-track,
    .community-slider-group {
        gap: 10px;
    }

    @keyframes community-marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-100% - 10px));
        }
    }

    .community-vector-flower img {
        width: 140px;
        height: 140px;
    }

    .community-vector-flower.vector-top-right {
        top: -20px;
        right: -20px;
    }

    .community-vector-flower.vector-bottom-left {
        bottom: -20px;
        left: -20px;
    }
}

@media (max-width:540px) {
    .contact-hero-overlay {
        background: #0a0f27bf;
    }

    p.contact-hero-subheading {
        text-align: center;
    }

    p.contact-hero-description {
        font-size: 15px;
        margin-top: 15px;
        text-align: center;
    }

    .contact-jump-list {
        gap: 10px;
        justify-content: flex-start;
    }

    h2.contact-section-title,
    .visit-section-title,
    h2#join-community-heading {
        font-size: 24px !important;
    }

    .contact-section-subtitle,
    .visit-section-subtitle {
        font-size: 22px !important;
    }

    p,
    .contact-section-lead,
    .transit-item-desc {
        font-size: 14px !important;
        line-height: 1.9;
    }

    .find-contact-card-title,
    .find-contact-btn span {
        font-size: 15px;
    }

    .contact-form-card {
        padding: 20px !important;
    }

    span.faq-question-text,
    .getting-here-subtitle {
        font-size: 16px;
    }

    .faq-panel-content {
        font-size: 14px;
    }

    p.contact-hero-subheading {
        font-size: 30px !important;
    }

    h2#visit-us-heading,
    p.visit-section-subtitle,
    .visit-section-lead {
        text-align: center;
    }

    .container.contact-jump-container {
        padding: 0px 10px;
        overflow-x: visible;
    }

    h1.contact-hero-title {
        text-align: center;
        margin-bottom: 10px;
    }

    p.contact-hero-subheading {
        margin: -15px 0 !important;
    }
}