/* profile */
/* Ensure body takes full height with scrollable content */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #ffffff, #ff4d4d);
}

/* Fix Overlapping by Adding Top Padding */
.profile{
    flex-grow: 1;
    /* padding: 20px; */
    flex: 1;
    overflow-x: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 40px; /* Adjusted for fixed navbar */
}

/* Profile Card Styling */
.profile-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 700px;
}

.profile-card h3 {
    text-align: center;
    color: #ff4d4d;
    margin-bottom: 20px;
}

.form-label {
    font-weight: bold;
    margin-top: 10px;
}

/* Footer stays at bottom */
footer {
    background: rgba(255, 77, 77, 0.9);
    color: white;
    text-align: center;
    padding: 15px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .profile {
        padding: 140px 10px 40px; /* Extra spacing for mobile */
        
    }

    .profile-card {
        width: 90%;
        padding: 20px;
    }
}
