html {
    scroll-behavior: smooth;
}

:where([class^="ri-"])::before {
    content: "\f3c2";
}

.contact-hero-shell {
    isolation: isolate;
}

.contact-hero-simple {
    max-width: 40rem;
    margin: 0 auto;
}

.contact-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-hero-kicker::before {
    content: "";
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 9999px;
    background: #ffcb08;
    box-shadow: 0 0 0 6px rgba(255, 203, 8, 0.12);
}

.contact-hero-social-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.contact-social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 4.35rem;
    height: 4.35rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(14px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    animation: socialFloat 5s ease-in-out infinite;
}

.contact-social-pill::after {
    content: attr(aria-label);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.8rem);
    transform: translateX(-50%) translateY(6px);
    padding: 0.45rem 0.7rem;
    border-radius: 9999px;
    background: rgba(17, 17, 17, 0.92);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-social-pill:nth-child(2) {
    animation-delay: 0.5s;
}

.contact-social-pill:nth-child(3) {
    animation-delay: 1s;
}

.contact-social-pill:nth-child(4) {
    animation-delay: 1.5s;
}

.contact-social-pill:hover {
    transform: translateY(-5px) scale(1.04);
    border-color: rgba(255, 203, 8, 0.62);
    background: linear-gradient(180deg, rgba(255, 203, 8, 0.18), rgba(255, 255, 255, 0.08));
}

.contact-social-pill:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.contact-social-pill i {
    color: #ffcb08;
    font-size: 1.48rem;
}

.contact-social-pill-sahibinden {
    background: linear-gradient(180deg, rgba(255, 239, 0, 0.22), rgba(255, 255, 255, 0.08));
}

.contact-social-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.95rem;
    background: #ffef00;
    color: #202020;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(255, 239, 0, 0.22);
}

.social-glow {
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.contact-scroll-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 500;
}

.contact-scroll-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    animation: scrollPulse 2s ease-in-out infinite;
}

.contact-form-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2.15rem;
    background:
        radial-gradient(circle at top right, rgba(255, 203, 8, 0.12), transparent 24%),
        linear-gradient(180deg, #2f2f2f, #191919 82%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.25s ease;
}

.contact-form-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 42%, rgba(255, 203, 8, 0.04));
}

.contact-form-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 203, 8, 0.16), transparent 32%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.contact-form-shell.is-tilting::after {
    opacity: 1;
}

.contact-form-head,
.contact-form-grid {
    position: relative;
    z-index: 1;
    transform: translateZ(18px);
}

.contact-form-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.95rem;
    padding: 0.46rem 0.8rem;
    border-radius: 9999px;
    background: rgba(255, 203, 8, 0.12);
    color: #ffcb08;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 1.85rem;
}

.contact-field-wide {
    grid-column: 1 / -1;
}

.contact-field label {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.contact-input-shell {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 4rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(56, 56, 56, 0.92), rgba(34, 34, 34, 0.96));
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-input-shell-textarea {
    align-items: flex-start;
}

.contact-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, rgba(255, 203, 8, 0.16), rgba(255, 255, 255, 0.05));
    color: #ffcb08;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.contact-input-shell-textarea .contact-input-icon {
    top: 1.08rem;
    transform: none;
}

.form-input {
    width: 100%;
    padding-left: 4.5rem !important;
    border-width: 1px;
    border-color: rgba(255, 255, 255, 0.08);
    background: transparent !important;
    color: #f8fafc;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder {
    color: rgba(203, 213, 225, 0.56);
}

.contact-input-shell select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-input:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(2, 8, 23, 0.2);
}

.contact-field.focused .contact-input-shell,
.contact-field.filled .contact-input-shell {
    transform: translateY(-2px);
    border-color: rgba(255, 203, 8, 0.38);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.contact-field[data-static-border="true"] .contact-input-shell,
.contact-field[data-static-border="true"].focused .contact-input-shell,
.contact-field[data-static-border="true"].filled .contact-input-shell {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.contact-field.focused .contact-input-icon,
.contact-field.filled .contact-input-icon {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 203, 8, 0.34), rgba(255, 255, 255, 0.08));
    transform: translateY(-50%) scale(1.05);
}

.contact-field.focused .contact-input-shell-textarea .contact-input-icon,
.contact-field.filled .contact-input-shell-textarea .contact-input-icon {
    transform: scale(1.05);
}

.contact-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, #ffcb08, #ffd95a);
    box-shadow: 0 20px 38px rgba(255, 203, 8, 0.22);
}

.contact-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 42px rgba(255, 203, 8, 0.28);
}

.contact-form-footer {
    display: grid;
    gap: 0.95rem;
    transform: translateZ(20px);
}

.contact-submit-note {
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.82rem;
    line-height: 1.6;
    text-align: center;
}

@keyframes socialFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.14);
    }
    50% {
        transform: translateY(6px);
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }
}

@media (max-width: 767px) {
    .contact-social-pill {
        width: 3.7rem;
        height: 3.7rem;
        border-radius: 1.2rem;
    }

    .contact-form-shell {
        padding: 1.45rem;
        border-radius: 1.5rem;
    }

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