/* AMVIZ Digital - Contact Page Stylesheet (Premium UI matching User Request) */

body {
    background-color: #fcfbf9 !important; /* Premium warm/light base background */
    color: var(--text-primary) !important;
}

.contact-page-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 7rem 2rem 8rem 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

/* Two-column layout grid */
.contact-split-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: stretch;
}

/* Left Card: Contact Information */
.contact-info-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    box-shadow: 0 10px 45px rgba(15, 23, 42, 0.015);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.info-card-title {
    font-family: var(--font-primary);
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.info-card-desc {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* List Items */
.info-list {
    display: flex;
    flex-direction: column;
}

.info-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.65rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-list-item:first-child {
    padding-top: 0;
}

.info-list-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.info-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFF5F1;
    color: #1359D6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.info-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.info-value {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

.info-value a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-value a:hover {
    color: #1359D6;
}

.contact-form-card-new {
    background: rgba(19, 89, 214, 0.03); /* Soft tint of primary brand blue */
    border: 1px solid rgba(19, 89, 214, 0.1);
    border-radius: 28px;
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
}

.form-card-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.form-card-desc {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Badge Pills */
.contact-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    border: 1px solid rgba(19, 89, 214, 0.15);
    color: #1359D6;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    width: fit-content;
}

/* Inputs & Form Groups */
.contact-grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-input-full {
    grid-column: span 2;
}

.input-field-custom {
    width: 100%;
    background-color: #ffffff;
    border: 1.5px solid #e8e3da;
    border-radius: 14px;
    padding: 0.95rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: #0f172a;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-field-custom:hover {
    border-color: #cbd5e1;
}

.input-field-custom:focus {
    border-color: #1359D6;
    box-shadow: 0 0 0 4px rgba(19, 89, 214, 0.1);
}

.select-field-custom {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.1rem;
    padding-right: 3rem;
}

.textarea-field-custom {
    min-height: 140px;
    resize: vertical;
}

/* Custom Orange submit button with diagonal arrow */
.btn-orange-pill {
    background: #1359D6;
    color: #ffffff;
    border: none;
    outline: none;
    padding: 0.9rem 2.25rem;
    border-radius: 9999px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(19, 89, 214, 0.2);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    align-self: flex-start;
    box-sizing: border-box;
    margin-top: 0.75rem;
}

.btn-orange-pill:hover {
    background: #0b45ab;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(19, 89, 214, 0.3);
}

.btn-orange-pill:active {
    transform: translateY(0);
}

.arrow-circle-white {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    color: #1359D6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-orange-pill:hover .arrow-circle-white {
    transform: rotate(45deg);
}

.btn-orange-pill:disabled {
    background-color: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* Location / Office Section */
.office-location-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.office-title {
    font-family: var(--font-primary);
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-top: 1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    letter-spacing: -0.025em;
}

.map-iframe-wrapper {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.015);
}

.map-iframe-wrapper iframe {
    display: block;
}

/* Validation error highlighting */
.input-field-custom.error {
    border-color: #fca5a5;
    background-color: #fffefd;
}

.input-field-custom.error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

/* Form success overlay styling */
.form-success-container-new {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 28px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
    min-height: 480px;
    padding: 3rem;
    box-sizing: border-box;
    animation: fade-in-scale 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon-wrap-orange {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.08);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.success-icon-wrap-orange svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5;
}

.btn-gray-pill {
    background-color: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.btn-gray-pill:hover {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
}

/* Responsive breakdowns */
@media (max-width: 1024px) {
    .contact-split-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .contact-page-container {
        padding: 5rem 1.5rem 6rem 1.5rem;
        gap: 4.5rem;
    }
}

@media (max-width: 768px) {
    .contact-info-card {
        padding: 2.5rem 2rem;
    }
    .contact-form-card-new {
        padding: 3rem 2rem;
    }
    .office-title {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-grid-form {
        grid-template-columns: 1fr;
    }
    .form-input-full {
        grid-column: span 1;
    }
}
