/* =========================================
   CONTACT PAGE
========================================= */

.contact-wrapper {
    max-width: 720px;
    margin: 0 auto 6rem;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

/* =========================================
   SOCIAL LINKS
========================================= */

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a6fa8;
    text-decoration: none;
    background: rgba(45, 147, 214, 0.08);
    border: 1.5px solid rgba(45, 147, 214, 0.25);
    border-radius: 2rem;
    padding: 0.45rem 1rem;
    transition: background 0.2s, border-color 0.2s;
}

.contact-social-link svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.contact-social-link:hover {
    background: rgba(45, 147, 214, 0.16);
    border-color: #2d93d6;
}

/* =========================================
   TABS
========================================= */

.contact-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    background: rgba(45, 147, 214, 0.06);
    border-radius: 1rem;
    padding: 0.35rem;
}

.contact-tab {
    flex: 1;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    background: transparent;
    border: none;
    border-radius: 0.75rem;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.contact-tab.active {
    background: white;
    color: #1a6fa8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-tab:hover:not(.active) {
    color: #2d93d6;
}

/* =========================================
   FORM WRAPPER
========================================= */

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(45, 147, 214, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-form-wrapper.hidden {
    display: none;
}

/* =========================================
   BUSINESS INTRO
========================================= */

.business-intro {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(45, 147, 214, 0.15);
}

.business-intro h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
}

.business-intro p {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* =========================================
   FORM ELEMENTS
========================================= */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #444;
}

.optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #999;
    font-size: 0.75rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(45, 147, 214, 0.25);
    border-radius: 0.6rem;
    padding: 0.65rem 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2d93d6;
    box-shadow: 0 0 0 3px rgba(45, 147, 214, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232d93d6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* =========================================
   SUBMIT BUTTON
========================================= */

.form-submit {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: white;
    background: linear-gradient(135deg, #2d93d6, #1a6fa8);
    border: none;
    border-radius: 0.75rem;
    padding: 0.85rem 2rem;
    cursor: pointer;
    align-self: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(45, 147, 214, 0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 147, 214, 0.4);
}

.form-submit.business {
    background: linear-gradient(135deg, #3db87a, #27845a);
    box-shadow: 0 4px 14px rgba(61, 184, 122, 0.3);
}

.form-submit.business:hover {
    box-shadow: 0 6px 20px rgba(61, 184, 122, 0.4);
}

/* =========================================
   SUCCESS MESSAGE
========================================= */

.contact-success {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    color: #27845a;
    background: rgba(61, 184, 122, 0.1);
    border: 1.5px solid rgba(61, 184, 122, 0.3);
    border-radius: 0.75rem;
    padding: 0.85rem 1.2rem;
    margin-bottom: 1.25rem;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .contact-wrapper {
        padding: 0 1rem;
    }

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

    .contact-form-wrapper {
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .contact-tab {
        font-size: 0.78rem;
        padding: 0.5rem 0.5rem;
    }

    .form-submit {
        width: 100%;
        text-align: center;
    }

}