/* General Body and Font Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e1f6fc;
}

/* Header Styles */
header {
    text-align: center;
    padding: 20px;
    background-color: #2c3e50; /* Dark blue for header */
    color: white;
}

.container1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* Logo container should be a flex column to stack text */
.logo {
    display: flex;
    align-items: center;
}

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

.logo p {
    margin: 0;
    font-size: 1.5em;
    color: white;
    font-family: 'Dancing Script', cursive;
}

/* Container for the Work Finder text */
.logo-text {
    display: flex;
    flex-direction: column; /* Stack the texts vertically */
}

.logo-text p:first-child {
    margin-bottom: 5px; /* Adjust the spacing between Work Finder and subsidiary text */
    font-size: 1.5em;
    color: white;
}

.logo-text p:nth-child(2) {
    font-size: 0.9em;
    color: #ccc; /* Lighter color for the subsidiary text */
}

nav {
    margin-left: auto;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-left: 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #f39c12;
}

/* Form Styles */
.form-wrapper {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    max-width: 500px;
    margin: 40px auto; /* Center form on the page */
}

.form-wrapper h2 {
    text-align: center;
    color: #333;
}

/* Label and Input Styles */
label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"], /* Email and Phone fields */
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px; /* Increased margin for better spacing */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box; /* Ensure padding does not affect width */
}

textarea {
    resize: vertical; /* Allow vertical resizing */
}

/* Button Styles */
button {
    padding: 12px 20px;
    background-color: #4CAF50; /* Green background */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%; /* Full width button */
    margin-top: 10px; /* Margin above button */
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049; /* Darker green on hover */
}

button:focus {
    outline: none;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    padding: 0 10%; /* Padding to create space from edges */
}

.footer-section {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    background-color: rgba(44, 62, 80, 0.9); /* Transparent background */
}

.social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.icon-container {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.social-icons a {
    color: #fff;
    margin: 0 15px;
    font-size: 30px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    color: #f39c12;
    transform: scale(1.2); /* Enlarge icons on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .container1 {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    nav ul {
        text-align: center;
    }

    .form-wrapper {
        width: 90%; /* Slightly reduce form width on smaller screens */
    }
}
