/* Global styles */
body {
    background-color: #FAFAFA; /* Very light gray, providing a clean background */
    font-family: Raleway, Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

header {
    background-color: #374151; /* Cool Slate Gray */
    color: #fff;
    padding: 0; /* Remove padding here, adjust padding in .navbar instead */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #374151; /* Cool Slate Gray */
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: inline;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover {
    background-color: transparent;
    color: #60A5FA; /* Soft Sky Blue */
    border-radius: 5px;
}

.signup a {
    background-color: #3B82F6; /* Vibrant Blue */
    padding: 8px 16px;
    border-radius: 4px;
    color: #fff;
}

.signup a:hover {
    background-color: transparent;
    color: #FFD700; /* Gold */
}

/* Navigation Toggle for Small Screens */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

main {
    padding: 20px;
    max-width: 600px;
    margin: 30px auto;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
}

form {
    background-color: #FFDAB9; /* Light Peach */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #374151; /* Cool Slate Gray */
}

.input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.input-addon {
    position: relative;
}

.input-wrapper input {
    width: calc(100% - 40px); /* Adjust based on icon size */
    padding: 10px 30px 10px 40px; /* Space for icon and padding */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.input-wrapper .input-addon i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #9e9e9e;
}

.input-wrapper .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
    color: #9e9e9e;
}

input[type="password"] {
    width: calc(100% - 40px);
}

button {
    background-color: #3B82F6; /* Vibrant Blue */
    color: white;
    border: none;
    padding: 12px 20px; /* Increase padding for better button size */
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #1E90FF; /* Dodger Blue */
}

p {
    text-align: center;
}

p a {
    color: #3B82F6; /* Vibrant Blue */
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

.image-container {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}



/* Footer */
footer {
    list-style: none;
    background-color: #374151; /* Cool Slate Gray for footer */
    color: #6B7280;
    text-align: center;
    padding: 15px;
    position: relative; /* Allows for better positioning */
    width: 100%; /* Make sure the footer spans the full width */
    margin-top: auto; /* Ensure the footer stays at the bottom */
}

footer p {
    margin: 0.5rem 0; /* Margin for paragraph spacing */
    color: #6B7280;
}


/* Social Media Links */
.social-media {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between social media links */
    margin-top: 10px; /* Added margin to separate from text */
}

.social-media a {
    color: #60A5FA; /* Soft sky blue */
    text-decoration: none;
    font-size: 1.2rem; /* Slightly larger font size for better visibility */
}

.social-media a:hover {
    text-decoration: underline; /* Underline on hover */
}


/* Responsive design */
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 40%; /* Full width */
        height: 100vh; /* Full height */
        background-color: white; /* Deep Charcoal */
        z-index: 120; /* Ensure it is below the toggle */
        padding-top: 90px; /* Space for header */
        opacity: 1; /* Always visible when active */
        transform: translateX(-100%); /* Initially off-screen */
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0); /* Slide in from the left */
    }

    .nav-menu a {
        color:#374151 ; /* Set to white explicitly */
    }

    .nav-menu li {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle:before {
        content: "\2630"; /* Hamburger icon */
    }

    .nav-toggle.active:before {
        content: "\2715"; /* Close icon */
    }
    img {
        max-width: 100%;
        height: auto;
    }

    
       
footer {
    padding: 15px 10px;
}

footer p {
    font-size: 0.9rem; /* Slightly smaller text for mobile */
}

.social-media {
    gap: 10px; /* Reduce gap between icons for smaller screens */
}

.social-media a {
    font-size: 1rem; /* Adjust icon size for mobile */
}


/* Social Media Links */
.social-media {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between social media links */
    margin-top: 10px; /* Added margin to separate from text */
}

.social-media a {
    color: #60A5FA; /* Soft sky blue */
    text-decoration: none;
    font-size: 1.2rem; /* Slightly larger font size for better visibility */
}

.social-media a:hover {
    text-decoration: underline; /* Underline on hover */
}


}

@media (max-width: 480px) {
    img {
        object-fit: contain;
    }

    
    footer {
        padding: 8px; /* Further reduce padding on extra small screens */
    }

    .social-media a {
        font-size: 0.9 rem; /* Reduce font size for icons */
    }

    footer p {
        font-size: 0.8rem; /* Smaller text for extra small screens */
    }
}
