/* Contact Page Specific Styles */

.contact-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.contact-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.pulse-btn {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(70, 197, 255, 0.3);
    animation: btn-pulse 2s infinite;
}

@keyframes btn-pulse {
    0% { box-shadow: 0 0 0 0 rgba(70, 197, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(70, 197, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(70, 197, 255, 0); }
}

.social-uplinks {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.uplink-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: 0.3s;
}

.uplink-item i {
    font-size: 2rem;
}

.uplink-item span {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.uplink-item:hover {
    color: var(--accent);
    transform: translateY(-5px);
}

/* Dialog Overlay */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
}

.dialog-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Liquid Glass Card */
.liquid-glass-card {
    width: 90%;
    max-width: 550px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(30px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(50px) scale(0.9);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dialog-overlay.open .liquid-glass-card {
    transform: translateY(0) scale(1);
}

/* Liquid Background Animation */
.liquid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    filter: blur(50px);
    opacity: 0.5;
}

.blob {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 50%;
    animation: blob-float 15s infinite alternate;
}

.blob:nth-child(2) {
    background: var(--secondary);
    width: 250px;
    height: 250px;
    right: -50px;
    top: -50px;
    animation-duration: 18s;
    animation-delay: -2s;
}

.blob:nth-child(3) {
    background: var(--accent);
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: 20%;
    animation-duration: 12s;
    animation-delay: -5s;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(100px, 50px) rotate(120deg); }
    66% { transform: translate(-50px, 150px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 3rem;
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.dialog-header h3 {
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dialog-header h3 i {
    color: var(--accent);
}

.close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* Form Styles */
.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.input-group textarea {
    resize: none;
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.input-group input:focus ~ .input-focus-border,
.input-group textarea:focus ~ .input-focus-border {
    width: 100%;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 128, 0.3);
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s infinite linear;
    display: none;
}

.submit-btn.loading .btn-loader {
    display: block;
}

/* Success Feedback */
.feedback-msg {
    text-align: center;
    padding: 2rem 0;
}

.feedback-msg i {
    font-size: 4rem;
    color: #00ff88;
    margin-bottom: 1.5rem;
    animation: scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feedback-msg h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feedback-msg p {
    color: rgba(255, 255, 255, 0.7);
}

.hidden {
    display: none;
}

@keyframes scale-up {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@media (max-width: 768px) {
    .contact-content h1 { font-size: 3rem; }
    .social-uplinks { gap: 1.5rem; }
    .card-content { padding: 2rem; }
}
