﻿/* =========================================================
   Contact Page
   Dedicated styles for Contact.html
   ========================================================= */

.Contact-container {
    width: min(88%, 1120px);
    margin: 0 auto;
    padding: 72px 0 90px;
    padding-top: 20px;
    padding-bottom: 40px;
}

    .Contact-container .section-title {
        max-width: 760px;
        margin: 0 auto 38px;
    }

        .Contact-container .section-title h1 {
            font-size: 34px;
            margin: 18px 0 12px;
            letter-spacing: -1px;
        }

        .Contact-container .section-title i {
            display: block;
            width: 100px;
            height: 3px;
            background: #111;
            margin: 0 auto 18px;
        }

        .Contact-container .section-title p {
            max-width: 650px;
            color: #596579;
            font-size: 15px;
            font-weight: 400;
            line-height: 1.7;
        }

/* Form card */
.contact-form {
    max-width: 900px;
    margin: 50px auto;
    
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(18, 63, 153, 0.08);
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 18px 50px rgba(23, 49, 92, 0.1);
}

.contact-form-heading {
    margin-bottom: 30px;
}

    .contact-form-heading span {
        display: inline-block;
        color: #861546;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .contact-form-heading h2 {
        margin: 0 0 8px;
        color: #111827;
        font-size: 28px;
        line-height: 1.2;
    }

    .contact-form-heading p {
        margin: 0;
        max-width: 650px;
        color: #6b7280;
        font-size: 14px;
        line-height: 1.6;
    }

/* Fields */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 20px;
}

.contact-field {
    min-width: 0;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
}

    .contact-field label span {
        color: #861546;
    }

.contact-field input,
.contact-field textarea {
    width: 100%;
    display: block;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #f8faff;
    color: #111827;
    padding: 14px 15px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input {
    height: 50px;
}

.contact-field textarea {
    min-height: 150px;
    resize: vertical;
}

    .contact-field input::placeholder,
    .contact-field textarea::placeholder {
        color: #9aa5b5;
    }

    .contact-field input:focus,
    .contact-field textarea:focus {
        border-color: #123f99;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(18, 63, 153, 0.08);
    }

/* Button */
.contact-form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 160px;
    min-height: 48px;
    padding: 12px 22px;
    border: 0;
    border-radius: 8px;
    background: #861546;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

    .contact-submit span {
        font-size: 18px;
        line-height: 1;
        transition: transform 0.2s ease;
    }

    .contact-submit:hover {
        background: #71113c;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(134, 21, 70, 0.22);
    }

        .contact-submit:hover span {
            transform: translateX(4px);
        }

    .contact-submit:focus-visible {
        outline: 3px solid rgba(18, 63, 153, 0.25);
        outline-offset: 3px;
    }



.contact-bottom-Details{
    text-align:center;
}

.contact-bottom-Details p.tagline {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom:8px;
}
.contact-bottom-Details a{
    color:brown;
}


    /* =========================================================
   Membership Application Success Popup
   ========================================================= */
    .membership-success-overlay {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background: rgba(17, 17, 17, 0.55);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        opacity: 1;
        animation: membershipPopupFadeIn 0.2s ease;
    }

    .membership-success-overlay[hidden] {
        display: none;
    }

.membership-success-popup {
    position: relative;
    width: min(100%, 500px);
    padding: 36px 34px 32px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
    text-align: center;
    animation: membershipPopupScaleIn 0.25s ease;
}

.membership-success-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #53657e;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

    .membership-success-close:hover {
        background: #f3f4f6;
        color: #76143f;
    }

.membership-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf7ef;
    color: #198754;
    font-size: 34px;
    font-weight: 700;
}

.membership-success-popup h2 {
    margin: 0 0 12px;
    color: #111;
    font-family: "Funnel Display", "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.membership-success-popup p {
    margin: 0 auto 24px;
    max-width: 420px;
    color: #53657e;
    font-size: 14px;
    line-height: 1.65;
}

.membership-success-ok {
    min-width: 120px;
    min-height: 43px;
    padding: 10px 25px;
    border: 1px solid #76143f;
    border-radius: 6px;
    background: #76143f;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

    .membership-success-ok:hover {
        transform: translateY(-1px);
        filter: brightness(1.05);
    }

    .membership-success-close:focus-visible,
    .membership-success-ok:focus-visible {
        outline: 3px solid #76143f33;
        outline-offset: 2px;
    }

.membership-popup-open {
    overflow: hidden;
}

@keyframes membershipPopupFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes membershipPopupScaleIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 600px) {
    .membership-success-overlay {
        padding: 16px;
    }

    .membership-success-popup {
        padding: 32px 22px 26px;
        border-radius: 16px;
    }

        .membership-success-popup h2 {
            font-size: 21px;
        }

        .membership-success-popup p {
            font-size: 13px;
        }
}

/* Tablet */
@media (max-width: 760px) {
    .Contact-container {
        width: 90%;
        padding: 52px 0 65px;
    }

        .Contact-container .section-title {
            margin-bottom: 28px;
        }

            .Contact-container .section-title p {
                font-size: 14px;
            }

    .contact-form-card {
        padding: 30px 24px;
        border-radius: 18px;
    }

    .contact-form-heading h2 {
        font-size: 24px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-field-full {
        grid-column: auto;
    }

    .contact-form-footer {
        justify-content: stretch;
    }

    .contact-submit {
        width: 100%;
    }
}

/* Small mobile */
@media (max-width: 430px) {
    .Contact-container {
        width: 92%;
        padding: 42px 0 55px;
    }

    .contact-form-card {
        padding: 24px 18px;
    }

    .contact-form-heading {
        margin-bottom: 24px;
    }

        .contact-form-heading span {
            font-size: 10px;
        }

        .contact-form-heading h2 {
            font-size: 22px;
        }

        .contact-form-heading p {
            font-size: 13px;
        }

    .contact-field input {
        height: 48px;
    }

    .contact-field textarea {
        min-height: 130px;
    }
}


/* =========================================
   APPLICATION SUBMISSION LOADER
   ========================================= */

.application-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

    .application-loader-overlay[hidden] {
        display: none;
    }

.application-loader {
    width: min(90%, 380px);
    padding: 38px 30px;
    background: #ffffff;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);
}

/* Spinner */

.loader-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 22px;
    border: 4px solid #e8e8e8;
    border-top-color: #00a6c7;
    border-radius: 50%;
    animation: applicationLoaderSpin 0.8s linear infinite;
}

@keyframes applicationLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Text */

.loader-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.loader-message {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #777;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 480px) {

    .application-loader {
        width: 100%;
        max-width: 330px;
        padding: 32px 22px;
        border-radius: 12px;
    }

    .loader-spinner {
        width: 42px;
        height: 42px;
        border-width: 4px;
        margin-bottom: 18px;
    }

    .loader-title {
        font-size: 18px;
    }

    .loader-message {
        font-size: 13px;
    }
}
