/* Scoped styles for the premium overhaul of Contact Page */
.contact-premium-section {
    background-color: #05070e !important;
    position: relative;
    z-index: 1;
    padding: 120px 0 80px 0;
    overflow: hidden;
}

/* Animated glowing background blobs */
.contact-premium-section::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 50%;
    background: radial-gradient(circle, rgba(68, 97, 223, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
    animation: pulseBlob 12s infinite alternate;
}

.contact-premium-section::after {
    content: "";
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(69, 224, 255, 0.12) 0%, transparent 75%);
    z-index: -1;
    pointer-events: none;
    filter: blur(100px);
    animation: pulseBlobTwo 15s infinite alternate;
}

@keyframes pulseBlob {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(30px, 20px); }
}

@keyframes pulseBlobTwo {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-40px, -30px); }
}

/* Breadcrumb/Eyebrow styling */
.premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #45e0ff;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 20px rgba(69, 224, 255, 0.05);
}

.premium-eyebrow i {
    font-size: 8px;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Unified Container Card */
.contact-premium-card {
    background: rgba(13, 20, 38, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-premium-card:hover {
    border-color: rgba(69, 224, 255, 0.2);
    box-shadow: 0 25px 60px rgba(69, 224, 255, 0.06);
}

/* Left Side Intro styling */
.contact-premium-intro {
    padding: 60px;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-premium-intro h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 20px;
}

.contact-premium-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
}

/* Quick metrics badges */
.premium-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 35px;
}

.premium-metric-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.premium-metric-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(69, 224, 255, 0.15);
}

.premium-metric-card h4 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 26px;
    font-weight: 700;
    color: #45e0ff;
    margin-bottom: 6px;
}

.premium-metric-card p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* Contact details list */
.premium-links-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.premium-link-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.premium-link-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(68, 97, 223, 0.25);
    transform: translateX(5px);
}

.premium-link-item .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(68, 97, 223, 0.15);
    border: 1px solid rgba(68, 97, 223, 0.3);
    color: #45e0ff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.premium-link-item:hover .icon-wrapper {
    background: #4461DF;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(68, 97, 223, 0.4);
}

.premium-link-item .info-wrap h5 {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 2px 0;
}

.premium-link-item .info-wrap p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 4px 0;
}

.premium-link-item .info-wrap a,
.premium-link-item .info-wrap span {
    font-size: 13px;
    font-weight: 600;
    color: #45e0ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.premium-link-item .info-wrap a:hover {
    color: #8fe8ff;
}

/* Right Side Form styling */
.contact-premium-form-wrap {
    padding: 60px;
    background: rgba(255, 255, 255, 0.01);
    height: 100%;
}

.contact-premium-form-wrap .form-title h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-premium-form-wrap .form-title p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
}

/* Advanced Custom Floating Inputs */
.premium-form-group {
    position: relative;
    margin-bottom: 24px;
}

.premium-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.premium-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.premium-input-wrapper .input-icon {
    position: absolute;
    left: 16px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    transition: color 0.3s ease;
    pointer-events: none;
}

.premium-input-wrapper input,
.premium-input-wrapper select,
.premium-input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Specific padding adjustment for select elements without custom icon */
.premium-input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='rgba(255, 255, 255, 0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
}

.premium-input-wrapper textarea {
    padding-left: 16px;
    resize: none;
}

.premium-input-wrapper input:focus,
.premium-input-wrapper select:focus,
.premium-input-wrapper textarea:focus {
    background: rgba(255, 255, 255, 0.04);
    border-color: #45e0ff;
    box-shadow: 0 0 0 3px rgba(69, 224, 255, 0.12), inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.premium-form-group:focus-within label {
    color: #45e0ff;
}

.premium-form-group:focus-within .input-icon {
    color: #45e0ff;
}

/* Input field validation state indicators */
.premium-form-group span.field-validation-error {
    display: block;
    margin-top: 6px;
    color: #ff5e62;
    font-size: 12px;
    font-weight: 500;
}

/* Beautiful glowing alert blocks */
.premium-alert {
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    animation: slideDownIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-alert-success {
    background: rgba(69, 224, 255, 0.08);
    border: 1px solid rgba(69, 224, 255, 0.2);
    color: #8fe8ff;
}

.premium-alert-error {
    background: rgba(255, 94, 98, 0.08);
    border: 1px solid rgba(255, 94, 98, 0.2);
    color: #ff8e91;
}

@keyframes slideDownIn {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Honeypot anti-spam hiding */
.homev2-contact-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Interactive Premium Button */
.premium-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #4461DF 0%, #304cc4 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(68, 97, 223, 0.3);
}

.premium-submit-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5370f1 0%, #3e5be0 100%);
    box-shadow: 0 15px 30px rgba(68, 97, 223, 0.45);
    border-color: rgba(255, 255, 255, 0.2);
}

.premium-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(68, 97, 223, 0.3);
}

.premium-submit-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.premium-submit-btn:hover i {
    transform: translateX(4px);
}

/* Responsiveness overrides */
@media (max-width: 991px) {
    .contact-premium-intro {
        padding: 40px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .contact-premium-form-wrap {
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .contact-premium-section {
        padding: 100px 0 60px 0;
    }

    .contact-premium-intro,
    .contact-premium-form-wrap {
        padding: 30px 20px;
    }

    .premium-metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
