/* ========================================
   SPECTACULAR CONTACT PAGE
   ======================================== */

.contact-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;}

/* Animated Background */
.contact-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;}

.contact-bg .star {
    position: absolute;
    background: rgba(110, 193, 255, 0.6);
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1);}
    50% { opacity: 1; transform: scale(1.2);}
}

.contact-bg .orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(139, 211, 255, 0.3), rgba(110, 193, 255, 0.05));
    filter: blur(50px);
    animation: orbDrift 25s infinite ease-in-out;}

@keyframes orbDrift {
    0%, 100% { transform: translate(0, 0) scale(1);}
    33% { transform: translate(80px, -80px) scale(1.15);}
    66% { transform: translate(-60px, 60px) scale(0.9);}
}

/* Hero Section */
.contact-hero {
    text-align: center;
    padding: 60px 20px 40px;
    margin-bottom: 40px;}

.contact-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 15px; color: var(--mv-text);}

@keyframes shimmer {
    0% { background-position: 0% center;}
    100% { background-position: 200% center;}
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}

/* Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 460px) minmax(0, 360px);
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin-bottom: 30px;}

/* Contact Form */
.contact-form-section {
    background: var(--glass);
    border: 2px solid var(--border);
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--mv-glow);
    align-self: start;}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;}

.section-title i {
    color: var(--primary);
    font-size: 2rem;}

.form-group {
    margin-bottom: 20px;}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text);
    font-size: 0.95rem;}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--mv-elev-1);
    border: 2px solid var(--border);
    border-radius: 15px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--mv-elev-3);
    box-shadow: var(--mv-glow);}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted);}

.form-textarea {
    min-height: 150px;
    resize: vertical;}

.submit-btn {
    width: 100%;
    padding: 15px 30px; background: var(--mv-accent);
    color: var(--mv-text-inverse);
    border: none;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--mv-elev-4);
    border-radius: 50%; transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;}

.submit-btn:hover::before {
    width: 400px;
    height: 400px;}

.submit-btn:hover {}

.submit-btn span {
    position: relative;
    z-index: 1;}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    gap: 16px;}

.info-card {
    background: var(--glass);
    border: 2px solid var(--border);
    border-radius: 25px;
    padding: 22px 26px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%; background: rgba(110, 193, 255, 0.1);
    animation: cardShine 4s linear infinite;}

@keyframes cardShine {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

.info-card:hover {
    border-color: var(--primary);}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: var(--mv-text-inverse);
    box-shadow: var(--mv-glow);
    position: relative;
    z-index: 1;
    animation: iconFloat 3s ease-in-out infinite;}

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

.info-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;}

.info-details {
    color: var(--muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;}

.info-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;}

.info-details i {
    color: var(--primary);
    width: 20px;}

.info-link {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;}

.info-link:hover {
    color: var(--accent);
    text-decoration: underline;}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;}
    
    .contact-hero-title {
        font-size: 2rem;}
    
    .contact-form-section,
    .info-card {
        padding: 25px;}
}

@media (max-width: 480px) {
    .contact-hero { padding: 30px 16px;}
    .contact-hero-title { font-size: 1.5rem;}
    .contact-hero-sub { font-size: 0.85rem;}
    .contact-form-section, .info-card { padding: 18px; border-radius: 16px;}
    .form-group input, .form-group textarea, .form-group select { font-size: 0.9rem; padding: 12px 14px;}
    .form-group label { font-size: 0.8rem;}
    .info-item { font-size: 0.85rem; gap: 10px;}
    .info-item i { font-size: 1rem; min-width: 30px;}
    .contact-submit-btn { padding: 14px; font-size: 0.9rem;}
}
