/* contact.css */
:root {
    --primary-bg: #020e2a;     /* Rich Space Blue */
    --secondary-bg:#0c182b;     /* Royal Navy */
    --accent: #FFC300;           /* Vibrant Gold */
    --highlight: #FFD700;        /* Pure Gold */
    --text-primary: #F0F3FD;     /* Milky White */
    --glass-bg: rgba(19, 27, 46, 0.9);
    --neon-glow: 0 0 20px rgba(255, 195, 0, 0.4);
    --gold-gradient: linear-gradient(45deg, #FFD700, #FFC300);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
    color: var(--text-primary);
    min-height: 100vh;
}

.contact {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
}

/* contact.css में बैक बटन के लिए नया CSS */

.back-btn {
    position: fixed;
    top: 2rem;
    left: 2rem;
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, #FFD700, #FFC300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 195, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 2px solid #FFD700;
    animation: buttonFloat 2s ease-in-out infinite;
}

.back-btn i {
    color: #0A0F1D;
    font-size: 1.6rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.back-btn:hover {
    transform: scale(1.15) rotate(-15deg);
    box-shadow: 0 0 30px rgba(255, 195, 0, 0.6);
}



/* मोबाइल रेस्पॉन्सिव */
@media (max-width: 768px) {
    .back-btn {
        width: 45px;
        height: 45px;
        top: 1.5rem;
        left: 1.5rem;
    }
    
    .back-btn i {
        font-size: 1.4rem;
    }
}
.content {
    text-align: center;
    margin-bottom: 3rem;
}

.content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: var(--neon-glow);
    animation: slideDown 0.8s ease;
    color: var(--highlight);
    font-family: 'Cinzel', serif;
}

.content p {
    color: #FFEAAE;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid var(--accent);
}

.contactInfo {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 195, 0, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.box:hover {
    background: rgba(255, 195, 0, 0.1);
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-bg);
    transition: transform 0.3s ease;
}

.box:hover .icon {
    transform: scale(1.1) rotate(360deg);
}

.text h3 {
    color: var(--highlight);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.text p {
    color: #FFEAAE;
    opacity: 0.9;
}

.contactForm {
    position: relative;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

form h2 {
    color: var(--highlight);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-family: 'Cinzel', serif;
    text-shadow: var(--neon-glow);
}

.inputBox {
    position: relative;
}

.inputBox input,
.inputBox textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 195, 0, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.inputBox input:focus,
.inputBox textarea:focus {
    border-color: var(--highlight);
    box-shadow: var(--neon-glow);
}

.inputBox span {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #FFEAAE;
    pointer-events: none;
    transition: 0.3s;
   
    padding: 0 5px;
}

.inputBox input:focus ~ span,
.inputBox textarea:focus ~ span,
.inputBox input:valid ~ span,
.inputBox textarea:valid ~ span {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--highlight);
}

.inputBox textarea {
    height: 150px;
    resize: none;
}

input[type="submit"] {
    background: var(--gold-gradient);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    color: var(--primary-bg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--neon-glow);
}

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

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

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .vector {
        left: 1rem;
        top: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .content h2 {
        font-size: 2rem;
    }
    
    .box {
        padding: 1rem;
    }
    
    .icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}