/* Contact/About page styles, loaded only on the contact route. */

.glass-card {
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.aira-delay-100 {
    transition-delay: 100ms;
}

.aira-delay-200 {
    transition-delay: 200ms;
}

.aira-delay-300 {
    transition-delay: 300ms;
}

.styled-form .wpcf7-form-control-wrap {
    position: relative;
    display: block;
    margin-bottom: 1.5rem;
}

.styled-form label {
    display: block;
    margin: 0;
}

.styled-form label br {
    display: none;
}

.styled-form .wpcf7-form-control-wrap input,
.styled-form .wpcf7-form-control-wrap textarea,
.styled-form .wpcf7-form-control-wrap select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background-color: #f8fafc;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
    color: #1e293b;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.styled-form .wpcf7-form-control-wrap textarea {
    min-height: 120px;
    resize: vertical;
}

.styled-form .wpcf7-form-control-wrap input::placeholder,
.styled-form .wpcf7-form-control-wrap textarea::placeholder {
    opacity: 1;
    color: #94a3b8;
}

.styled-form .wpcf7-form-control-wrap input:focus,
.styled-form .wpcf7-form-control-wrap textarea:focus,
.styled-form .wpcf7-form-control-wrap select:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.styled-form .wpcf7-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem 1.5rem;
    border: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.styled-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.3);
}

.styled-form .wpcf7-not-valid-tip {
    position: absolute;
    bottom: -1.25rem;
    left: 0.5rem;
    display: block;
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.styled-form .wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip) {
    margin-bottom: 2rem;
}

.styled-form .wpcf7-not-valid {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

.styled-form form.submitting .wpcf7-form-control-wrap,
.styled-form form.submitting .wpcf7-submit {
    opacity: 0.6;
    filter: blur(4px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.styled-form .wpcf7-spinner {
    position: absolute;
    z-index: 50;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: 0;
    transform: translate(-50%, -50%);
    visibility: hidden;
    opacity: 0;
    border: 4px solid rgba(59, 130, 246, 0.2);
    border-top-color: #3b82f6;
    border-radius: 50%;
    background: transparent;
    animation: aira-contact-spin 1s infinite linear;
}

.styled-form form.submitting .wpcf7-spinner {
    visibility: visible;
    opacity: 1;
}

.styled-form form {
    position: relative;
}

@keyframes aira-contact-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
