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

header {
    background-color: #121212;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 60px; /* Adjust height as needed */
}

.header-container {
    display: flex;
    align-items: center; /* Align items vertically */
    width: 100%;
}

.logo {
    display: flex;
    align-items: center; /* Align items vertically */
}

.logo h1 {
    color: white;
    text-decoration: none;
    font-size: 30px;
    transition: color 0.3s ease;
    font-weight: bold;
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    color: white; /* Icon color */
    font-size: 24px; /* Adjust icon size */
    margin-left: 10px; /* Space between company name and icon */
}

nav {
    margin-left: auto; /* Pushes navigation to the right */
}

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

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    font-weight: bold;
}

nav ul li a:hover {
    color: #007bff; /* Green color on hover */
   text-decoration: solid;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        height: auto;
    }

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

    nav ul {
        flex-direction: column;
        padding: 10px 0;
    }

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

#search {
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#search-form {
    margin: 0 auto;
    max-width: 500px;
}

#search-form input[type="text"] {
    width: 80%;
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#search-form button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#search-form button:hover {
    background-color: #218838;
}

#info {
    padding: 20px;
    background-color: #fff;
    text-align: center;
}

.info-item {
    margin-bottom: 20px;
}

.info-item h3 {
    margin-top: 0;
    color: #333;
}

.info-item p {
    color: #666;
}

#testimonials {
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonial {
    margin: 20px auto;
    max-width: 600px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.testimonial footer {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

/* Style for the Login/Sign Up button */
.icon-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

/* Adjust the positioning in the nav */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center; /* Aligns all items in the center */
}

nav ul li {
    margin: 0 15px;
}


/* Footer Styling */
footer {
    background-color: #121212;
    color: white;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 1300px;  /* Adjust width as per your requirement */
    height: 700px;  /* Adjust height as per your requirement */
}

.footer-header {
    width: 100%;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
}

.footer-header h1 {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.footer-container {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.footer-section {
    width: 18%; /* Adjust for each section to fit 5 in a row */
    padding: 10px;
}

.footer-section h3 {
    font-size: 18px; /* Reduced heading size */
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px; /* Reduced font size */
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #007bff; /* Green color on hover */
}

@media (max-width: 1200px) {
    .footer-section {
        width: 45%; /* Adjust to 2 per row on smaller screens */
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}

.footer-copyright {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 10px;
    background-color: #333;
    color: white;
    font-size: 5px;
    border-top: 1px solid #444;
    margin-left: 0px;
    margin-right: 0px;
}

.footer-copyright p {
    margin: 0;
    font-weight: bold;
    font-size: 18px;
}
#about-us {
    padding: 50px;
    background-color: #fff;
    text-align: left;
    max-width: 1200px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
   
}

.about-content {
    flex: 1;
    max-width: 60%;
}

.about-content h1 {
    font-size: 42px;
    color: #007bff;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.about-image {
    flex: 1;
    text-align: right;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .about-image {
        text-align: center;
    }
}
/* Container styling */
#find-mechanics .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
  }
  
  /* Heading styling */
  #find-mechanics h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
  }
  
  /* Paragraph styling */
  #find-mechanics p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
  }
  
  /* Input and button styling */
  #find-mechanics-form {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }
  
  #location-input {
    width: 300px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-right: 10px;
  }
  
  #find-mechanics-form button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  #find-mechanics-form button:hover {
    background-color: #218838;
  }
  
  /* Mechanics list styling */
  #mechanics-list {
    margin-top: 40px;
  }
  
  .mechanic-item {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #eee;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .mechanic-item h3 {
    font-size: 22px;
    color: #333;
  }
  
  .mechanic-item p {
    color: #555;
  }
  
  /* Main Section */
#find-mechanics {
    background-color: #f9f9f9;
    padding: 60px 200px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 800px;
    padding-top: 0px;
}

#find-mechanics h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

#find-mechanics p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* Form Styling */
#find-mechanics-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.form-group {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

#location-input {
    width: 70%;
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

#location-input:focus {
    border-color: #007bff;
    outline: none;
}

/* Button Styling */
.btn {
    padding: 15px 30px;
    font-size: 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* Mechanics List Styling */
#mechanics-list {
    margin-top: 40px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none; /* Initially hidden, will be displayed when mechanics are found */
}

/* Responsive Design */
@media (max-width: 768px) {
    #find-mechanics h2 {
        font-size: 2rem;
    }

    #location-input {
        width: 100%;
    }
}
/* Styling the map container */
#map {
    height: 500px;
    border: 2px solid #333;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Form Styling */
#find-mechanics-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

#location-input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#find-mechanics-form button {
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#find-mechanics-form button:hover {
    background-color: #28a745;
}
.icon-button {
    background: none;
    border: none;
    color: #121212; /* Icon color */
    font-size: 24px; /* Adjust icon size */
    cursor: pointer;
    border-radius: 5px; /* Ensure the border radius is consistent */
    padding: 10px 20px; /* Apply padding if necessary */
    background-color: #feffff; /* Use the same background color as defined */
    font-weight: bold;
}
/* Modal Container */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease; /* Fade effect when modal appears */
}

/* Show the modal when the class 'show' is added */
.modal.show {
    display: flex; /* Display modal as flex when shown */
}

/* Modal Content */
.modal-content {
    background-color: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
    position: relative;
    transform: translateY(-50px); /* Entrance animation */
    opacity: 0; /* Initial opacity for animation */
    animation: slideDown 0.4s ease forwards; /* Slide-down animation */
    justify-content: center;
}

/* Modal Content Animation */
.modal.show .modal-content {
    transform: translateY(0); /* Final position */
    opacity: 1; /* Fully visible */
}

/* Close Button */
.close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close:hover {
    color: #ff4444;
    transform: scale(1.1); /* Slight scaling effect */
}

/* Modal Header */
.modal-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-align: center;
    animation: popIn 0.3s ease; /* Pop-in effect for header */
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
}

form label {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

form input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: border-color 0.3s;
    justify-content: center;
}

form input:focus {
    border-color: #007BFF;
    outline: none;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.2);
}

form button {
    padding: 12px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

form button:hover {
    background-color: #007BFF;
    transform: scale(1.05);
}

/* Form Toggle */
#form-toggle {
    text-align: center;
    margin-top: 20px;
    color: #555;
}

#form-toggle a {
    color:#007BFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

#form-toggle a:hover {
    text-decoration: underline;
    color: #007BFF;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    .modal-header h2 {
        font-size: 20px;
    }
    form label,
    form input {
        font-size: 14px;
    }
}

/* General styles for the main section */
main {
    font-family: 'Arial', sans-serif;
}

/* Hero banner styles */
#hero-banner {
    position: relative;
    overflow: hidden;
    height: 100vh; /* Full height */
}

#slideshow-container {
    position: relative;
    height: 100%; /* Full height */
}

.slide-image {
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    object-fit: cover; /* Cover the entire section */
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the text */
    color: white; /* Text color */
    text-align: center; /* Center the text */
    padding: 20px; /* Add some padding */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Text shadow for better visibility */
}

h1 {
    font-size: 3rem; /* Large heading */
    margin: 0; /* Remove default margin */
}

p {
    font-size: 1.5rem; /* Adjust paragraph size */
    margin: 0; /* Remove default margin */
}

/* Styles for navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none; /* Prevent selection */
    z-index: 10; /* Keep above other elements */
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.6); /* Dark background on hover */
}

/* Fade effect for the slides */
.mySlides {
    display: none; /* Hide all slides by default */
}

.fade {
    animation: fade 1.5s; /* Fade animation */
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}
/* Styles for the content-info section */
#content-info {
    background-color: #f9f9f9; /* Light gray background */
    padding: 40px; /* Space inside the section */
    margin: 30px auto; /* Space outside the section and center alignment */
    max-width: 1100px; /* Limit the width for better readability */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow for a subtle lift effect */
    text-align: center; /* Center the text */
    font-weight: bold;
}

/* Styles for the heading */
#content-info h2 {
    font-size: 2rem; /* Larger font size for the heading */
    color: #007BFF; /* Blue color to match the theme */
    margin-bottom: 20px; /* Space below the heading */
    font-weight: bold;
}

/* Styles for the paragraphs */
#content-info p {
    font-size: 1.1rem; /* Slightly larger font size for better readability */
    color: #555; /* Dark gray color for the text */
    line-height: 1.6; /* Improved line spacing */
    margin-bottom: 15px; /* Space below each paragraph */
}

/* Add a subtle border line between paragraphs for separation */
#content-info p:not(:last-of-type) {
    border-bottom: 1px solid #ddd; /* Light gray border */
    padding-bottom: 10px; /* Space below the border */
    margin-bottom: 20px; /* Additional margin after the border */
}
/* CSS for the Services Section */
#services {
    background-color: #f9f9f9; /* Light gray background */
    padding: 60px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
}

#services h2 {
    font-size: 2.5em;
    color: #333; /* Dark gray for a professional look */
    margin-bottom: 30px;
    font-weight: bold;
}

.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 280px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

.service-box img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.service-box h3 {
    font-size: 1.5em;
    color: #007BFF; /* Bright color for emphasis */
    margin-bottom: 10px;
    font-weight: bold;
}

.service-box p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}
#testimonials {
    background-color: #f0f8ff; /* Light blue background */
    padding: 40px;
    text-align: center;
    margin-top: 5%;
}

#testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #007bff; /* Blue color for heading */
}

.testimonial {
    background-color: #ffffff; /* White background for testimonials */
    border: 2px solid #007bff; /* Blue border */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2); /* Soft shadow */
    padding: 20px;
    margin: 20px auto; /* Centering the testimonials */
    max-width: 600px; /* Limiting width */
    transition: transform 0.3s; /* Smooth scaling on hover */
    
}

.testimonial:hover {
    transform: scale(1.02); /* Slightly scale up on hover */
}

.testimonial p {
    font-style: italic;
    font-size: 1.2em;
    color: #333; /* Dark gray for text */
    margin-bottom: 10px;
}

.testimonial span {
    display: block;
    font-size: 1em;
    color: #007bff; /* Blue color for names */
    font-weight: bold; /* Bold name */
}



/* CSS for the How It Works Section */
#how-it-works {
    background-color: #ffffff; /* White background for clarity */
    padding: 60px 20px; /* Space around the section */
    text-align: center; /* Centered text */
    font-family: 'Arial', sans-serif; /* Font style */
    max-width: 1200px; /* Max width to align with other sections */
    margin: 0 auto; /* Center the section */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    margin-top: 50px; /* Space from previous section */
}

#how-it-works h2 {
    font-size: 2.5em; /* Larger heading */
    color: #333; /* Dark gray color */
    margin-bottom: 40px; /* Space below heading */
    font-weight: bold; /* Bold heading */
}

.steps-container {
    display: flex; /* Flexbox for horizontal layout */
    justify-content: space-around; /* Space between items */
    flex-wrap: wrap; /* Wrap items on smaller screens */
}

.step-box {
    background-color: #f9f9f9; /* Light gray background */
    border-radius: 10px; /* Rounded corners */
    padding: 30px; /* Padding inside the box */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Shadow for depth */
    margin: 20px; /* Space between boxes */
    flex: 1 1 30%; /* Flex properties to control size */
    max-width: 300px; /* Max width for each step box */
    transition: transform 0.3s, box-shadow 0.3s; /* Animation for hover effect */
}

.step-box:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.step-box img {
    width: 50px; /* Set a fixed width for icons */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 15px; /* Space between icon and text */
}

.step-box h3 {
    font-size: 1.5em; /* Heading size for steps */
    color: #007BFF; /* Blue color for headings */
    margin: 15px 0; /* Space above and below headings */
}

.step-box p {
    font-size: 1em; /* Normal font size */
    color: #555; /* Dark gray color for text */
    line-height: 1.5; /* Spacing between lines */
}
/* CSS for the Call to Action Section */
#cta {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%); /* Gradient background */
    color: white; /* White text color */
    padding: 60px 20px; /* Padding around the section */
    text-align: center; /* Center text */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    position: relative; /* Position for pseudo-element */
    margin-top: 50px; /* Space from previous section */
    margin-bottom: 50px;
}

#cta h2 {
    font-size: 2.5em; /* Larger heading */
    margin-bottom: 15px; /* Space below heading */
    font-weight: bold; /* Bold heading */
}

#cta p {
    font-size: 1.2em; /* Slightly larger text */
    margin-bottom: 30px; /* Space below paragraph */
}

/* Button styles */
#cta button {
    background-color: #FFD700; /* Gold background for button */
    color: #333; /* Dark text color for contrast */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded button corners */
    padding: 15px 30px; /* Button padding */
    font-size: 1.2em; /* Button text size */
    cursor: pointer; /* Pointer on hover */
    transition: background-color 0.3s, transform 0.3s; /* Animation for hover effect */
}

#cta button:hover {
    background-color: #FFC107; /* Lighter gold on hover */
    transform: translateY(-3px); /* Lift effect on hover */
}

/* Decorative Elements */
#cta::before {
    content: ""; /* Empty content for pseudo-element */
    position: absolute; /* Positioning */
    top: -50px; /* Move up above section */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust to center */
    width: 80%; /* Width of the decorative element */
    height: 80px; /* Height of the decorative element */
    background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
    border-radius: 50%; /* Circular shape */
    z-index: 0; /* Behind the content */
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s; /* Fade-in animation */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.btn {
    background-color: #4CAF50; /* Green */
    color: white;
    border: none;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px; /* Rounded corners */
    transition: background-color 0.3s; /* Smooth background transition */
}

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

.hidden {
    display: none; /* Hide elements by default */
}

/* Animation for modal */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* change in email input box  */
  #loginForm {
    margin-left: 5px;
    margin-right: 5px;
    justify-content: center;
    width: 480px;
    
  }
#signupForm{
    margin-left: 5px;
    margin-right: 5px;
    justify-content: center;
    width: 480px;
}
/* Modal styling */
.modal-mechanic {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.5); 
}

/* Modal content styling */
.modal-content-mechanic-unique {
    background-color: #fff;
    margin: 15% auto;       
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Close button styling */
.close-mechanic {
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 20px;
    cursor: pointer;
}

.close-mechanic:hover,
.close-mechanic:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Input fields and button */
input[type="tel"], input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}
/* Container Styles */
.login-signup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    padding: 30px;
    border: 1px solid #007bff;
    border-radius: 15px;
    background-color: #f0f8ff;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease; /* Fade-in animation */
}

/* Heading Style */
.login-signup-container h2 {
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
    color: #007bff;
    font-size: 24px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Label Style */
.login-signup-container label {
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

/* Input Field Styles */
.login-signup-container input {
    width: calc(100% - 20px);
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #007bff; /* Blue border */
    border-radius: 10px; /* Rounded corners */
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s; /* Transition for focus effect */
}

/* Input Field Focus Effect */
.login-signup-container input:focus {
    border-color: #0056b3; /* Darker blue */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Light blue shadow */
}

/* Button Styles */
.login-signup-container button {
    margin-top: 15px;
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s; /* Transition for hover effect */
}

/* Button Hover Effect */
.login-signup-container button:hover {
    background-color: #0056b3;
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Animation for the container */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px); /* Slide from top */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 500px) {
    .login-signup-container {
        width: 95%;
        padding: 20px;
    }

    .login-signup-container h2 {
        font-size: 20px;
    }

    .login-signup-container input,
    .login-signup-container button {
        font-size: 14px;
    }
}
