.contact-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ffffff, #000000, #ffffff);
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y : auto; /* allow scrolling */
    scrollbar-width: thin;
    scrollbar-color: #fff4e3 #000000;
}

.contact-content header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0; 
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    border-bottom: 3px solid #fff4e3;
    background: transparent;
    color: #fff4e3;
    z-index: 1000;
    transition: background 0.5s ease, box-shadow 0.5s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Orbitron', Arial, sans-serif;
    box-shadow: 0 2px 10px rgba(20,1,63,0.15);
    animation: brumeAppear 1s ease-out;
    border-radius: 8px;
    padding: 1rem 2rem;
    
    
    /* margin-bottom: 1100px; <-- REMOVE this line */
}

.contact-content header h1 {
    margin: 0;
    font-size: 2rem;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    color: #fff4e3;
    text-shadow: 5px 3px 5px #000000;  
  
    
    
}

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

.contact-content .contact-left,
.contact-content .contact-right {
    flex: 1;
   
}

.contact-content .contact-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.contact-content .btn {
   background: linear-gradient(90deg, #000000, #fff4e3, #000000);
    color: #000000;
    border: 1px solid #fff4e3;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    margin: 0.5rem 0;
   width: 30%;
    transition: transform 0.3s ease;
}

.contact-content .btn:hover {
    background: linear-gradient(90deg, #376cff, #fff4e3, #376cff);
    color: #000000;
    transform: scale(1.1);
}



.contact-content .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    margin-top: 2rem !important;
}

.contact-content .card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(20,1,63,0.08);
    padding: 2rem 1rem;
    max-width: 1000px;
    width: 100%;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    
}

.contact-content .card h2 {
    margin-top: 0;
    color: #14013f;
    font-size: 1.2rem;
}

.contact-content .card p {
    color: #000000;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
}

.contact-content form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-height: auto;
    text-align: center;
    height: auto;
    background: linear-gradient(45deg, #ffffff, #000000, #ffffff);
    max-width: 900px;
    padding: 2rem;
    border: 3px solid #fff4e3;
    border-radius: 10px;
    margin-top: 2rem;
    box-sizing: border-box;
}

.contact-content .contact {
    max-width: 1000px;
    width: 100%;
}

.contact-content #message {
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    width: 100%;
    height: 35vh;
    box-sizing: border-box; /* Add this line */
    padding: 1.1rem;        /* Add padding if needed */
    border: #376cff solid 1px;
    resize: none; /* Prevents resizing */
    scrollbar-width: thin;
}


.contact-content .contact form label {
    font-weight: bold;
    color: #000000;
    margin-bottom: 1rem;
    margin-top: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
}

.contact-content span .required {
    color: rgb(255, 255, 255);
    margin-left: 0.3rem;
    font-size: 5.2rem;
    justify-content: flex-end;
    display :flex;
    align-items: flex-end;
}

.contact-content .contact form input,
.contact-content .contact form textarea {
    width: 50%;
    padding: 1.1rem;           /* Increased padding */
    border: 1px solid #cc9696;
    border-radius: 8px;
    font-size: 1.2rem;         /* Increased font size */
    font-family: 'Orbitron', sans-serif;
    resize: vertical;
    margin-bottom: 0.3rem;
    background-color: #ffffff;
}

.contact-content .contact form textarea {
    min-height: 120px;         /* Makes textarea taller */
}

.contact-content form button[type="submit"] {
    margin-top: 0;
    background: linear-gradient(90deg, #000000, #fff4e3, #000000);
    color: #000000;
    border: 1px solid #fff4e3;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
   font-size: 1rem;
    width: 30%;
    align-self: center;
    animation: transition 0.3s ease;
}

.contact-content form button[type="submit"]:hover {
    background: linear-gradient(90deg, #376cff, #fff4e3, #376cff);
    color: #000000;
    transform: scale(1.1);
}
