/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

header {
    background-color: #073e64;
    padding: 10px 0;
    color: white;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.site-name {
    font-size: 1.5em;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-right: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1em;
}

.nav-link:hover {
    text-decoration: underline;
}

/* Profile Form Section */
.profile-section {
    padding: 60px 0; /* Adjust padding for top margin */
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    margin-top: 20px; /* Added top margin */
}

.profile-form {
    max-width: 800px;
    width: 100%;
    background-color: #ffffff;
    padding: 40px; /* Increased padding */
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); /* More pronounced shadow */
}

.profile-form h2 {
    text-align: center;
    margin-bottom: 30px; /* More space below the heading */
    color: #073e64;
}

.profile-form .input-group {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-form label {
    display: inline-block;
    width: 150px; /* Fixed width to align labels */
    font-weight: bold;
    color: #333;
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="tel"],
.profile-form input[type="date"] {
    width: calc(100% - 160px); /* Adjusted to fit with the label */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    margin-bottom: 10px; /* Adds space between the existing value and input box */
}

.profile-form .btn {
    display: block;
    background-color: #28a745; /* Green color for Save button */
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    text-align: center;
    margin-top: 20px;
}

.profile-form .btn:hover {
    background-color: #218838; /* Darker green on hover */
}

/* Footer */
.footer {
    background-color: #073e64;
    color: white;
    padding: 10px 0;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .profile-form {
        padding: 20px; /* Reduced padding for smaller screens */
    }

    .profile-form .input-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-form label {
        width: 100%; /* Labels take full width on small screens */
        margin-bottom: 5px;
    }

    .profile-form input[type="text"],
    .profile-form input[type="email"],
    .profile-form input[type="tel"],
    .profile-form input[type="date"] {
        width: 100%; /* Inputs take full width on small screens */
    }
}
