/* Header and navigation styling */
nav ul {
    list-style: none;
    display: flex;
    justify-content: start;
    background-color: #56bb8a;
    padding: 10px;
    gap: 20px;
  }
  nav li {
    margin-right: 20px;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
  }
  nav li img{
    padding-left: 20px;
    height: 40px;
    width: 60px;
  }
  nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s;
  }
  nav a:hover {
    color: #56bb8a;
  }

/* Button styles for 'Login' and 'Register' */
nav ul li a.btn {
    padding: 10px 20px; /* Padding inside the buttons */
    background-color: #56bb8a; /* Background color for the buttons */
    color: white; /* Text color for the buttons */
    border-radius: 20px; /* Rounded corners for the buttons */
    transition: background-color 0.3s ease; /* Smooth transition for hover effects */
}

nav ul li a.btn:hover {
    background-color: #56bb8a; /* Darker shade on hover */
}

nav ul li a.btn.btn-register {
    background-color: #56bb8a; /* for the 'Register' button */
}

/* Add a basic reset */
* {
    margin: 0;
    padding: 3px;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Arial', sans-serif;
}
/* Navigation link styles */
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    padding: 0 15px; /* Space out the links */
}

.nav-links a {
    text-decoration: none;
    color: #333; /* Dark text for readability */
    font-weight: bold;
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.nav-links a:hover {
    color: #0d1a13; /* Highlight color on hover */
}

body, html {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
}

.nav-links a, .appointment-link {
    text-decoration: none;
    color: #333;
    margin: 0 10px;
    font-size: 16px;
}

/* Main content and form styling */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0px;
    background-image: url('../img/dd.jpeg'); /* Update the relative path to where your image is stored */
    background-size: cover;
    background-position: center;
    position: relative; /* This will allow us to absolutely position an overlay */
}

main::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5); /* White background with 50% opacity */
    z-index: 0; /* Sit below the content */
}

.appointment-section {
    position: relative; /* Make sure this is positioned relative to the pseudo-element */
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 900px;
    margin: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1; /* Sit above the pseudo-element */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.form-container {
    width: calc(60% - 10px); /* Adjust width and account for the gap */
    margin-right: 20px; /* Ensure there is a gap between the form and the health tips */
}

.health-tips-container {
    width: calc(40% - 10px); /* Adjust width and account for the gap */
}

.tips-list {
    list-style-type: none;
    padding: 0;
}

.tips-list li {
    background: #f5f5f5;
    color: #333;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.tips-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .appointment-section {
        flex-direction: column;
    }

    .form-container,
    .health-tips-container {
        width: 100%; /* Full width on smaller screens */
        margin-right: 0; /* Remove the margin on smaller screens */
    }

    .tips-list li {
        padding: 8px; /* Adjust padding for smaller screens if necessary */
    }
}


#appointment-form {
    display: flex;
    flex-direction: column;
}

#appointment-form input[type="text"],
#appointment-form input[type="email"],
#appointment-form select,
#appointment-form input[type="date"],
#appointment-form input[type="time"] {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#appointment-form button {
    padding: 10px;
    background-color: #56bb8a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

#appointment-form button:hover {
    background-color: #003d82;
}

/* Footer styling */
footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Responsive styling */
@media (max-width: 768px) {
    .appointment-section {
        flex-direction: column;
        padding: 20px;
    }
}

/* Basic Styling for Footer */
footer {
  background-color: #56bb8a;
  color: #333;
  padding: 20px 0;
  font-size: 15px;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section h4 {
  color: #000;
  margin-bottom: 10px;
}

.footer-section ul,
.footer-section p {
  list-style: none;
  padding: 0;
}

.footer-section ul li a,
.footer-section {
  color: #555;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover,
.footer-section a:hover {
  color: #007bff;
}
