/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    margin-top: 80px;
    /* Push content below the header */
}

h2 {
    color: #333;
}

/* Header Styling */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333;
    color: #f0c929;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
}

.header h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: goldenrod;
    text-align: center;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-bar {
    width: 150px;
    padding: 5px 10px;
    box-sizing: border-box;
    border-radius: 70px;
    margin-right: 40px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.search-bar:focus {
    outline: none;
    border-color: goldenrod;
    box-shadow: 0 0 5px goldenrod;
}

/* Main Section */
.main-section {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Toggle Buttons */
.form-toggle {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.toggle-button {
    flex: 1;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}

.toggle-button.active {
    background-color: goldenrod;
}

.toggle-button:not(:last-child) {
    margin-right: 10px;
}

.toggle-button:hover {
    background-color: #555;
}

/* Forms */
.form {
    display: none;
}

.form.active {
    display: block;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover {
    border-color: goldenrod;
}

.terms {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.terms input {
    margin-right: 10px;
}

.submit-btn {
    width: 95%;
    padding: 10px;
    background-color: goldenrod;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #333;
}

/* Footer Styling */
footer {
    background-color: #333;
    box-sizing: border-box;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #bbb;
    /* Subtle separator */
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-left img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.footer-left h3 {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    color: white;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-media a {
    font-size: 18px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.2);
    color: goldenrod;
}

.footer-center {
    text-align: center;
    color: white;
    font-size: 12px;
    flex-grow: 1;
    font-weight: bold;
}

.footer-copyright {
    margin-top: 10px;
    font-size: 12px;
    color: white;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 600px) {
    .main-section {
        padding: 10px;
        max-width: 90%;
    }

    .toggle-button {
        font-size: 14px;
        padding: 8px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
        width: 100%;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}