/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Style */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f4f4f4;
}

/* Navbar */
.navbar {
  background: #004d40;
  color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: #00695c;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  z-index: 1;
  border: 1px solid #ccc;
}

.dropdown-content a {
  color: #004d40;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #e0f2f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero Section */
.hero {
  background: #009688;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
}

/* Sections */
.section {
  padding: 40px 20px;
  background-color: #fff;
  margin: 20px auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.section h2 {
  color: #00796b;
  margin-bottom: 15px;
}

/* Notices */
.notices ul {
  list-style: disc inside;
  color: #444;
}

.notices li {
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background-color: #004d40;
  color: white;
  text-align: center;
  padding: 15px 0;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

.form-container {
  max-width: 450px;
  background-color: #ffffff;
  margin: 60px auto;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  transition: transform 2.0s;
}

.form-container:hover {
  transform: scale(1.02);
}

.form-container h2 {
  margin-bottom: 25px;
  color: #00695c;
  text-align: center;
  font-size: 1.8em;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="password"],
.form-container input[type="submit"] {
  width: 100%;
  padding: 14px;
  margin: 10px 0 25px 0;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}

.form-container input[type="submit"] {
  background-color: #00796b;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-container input[type="submit"]:hover {
  background-color: #004d40;
}

.form-container a {
  display: block;
  text-align: right;
  font-size: 0.9rem;
  color: #00796b;
  text-decoration: none;
  margin-top: -15px;
}

.message {
  color: red;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 20px;
}

/* Static Background Hero Section */
.hero {
  position: relative;
  text-align: center;
  background: url('vet5.jpg') no-repeat center center/cover;
  color: #ffffff;
  height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-text p {
  font-size: 1.4rem;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Dropdown Hover Show Timer */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  animation: dropdownVisible 0s linear 5s forwards;
}

@keyframes dropdownVisible {
  0% { opacity: 1; }
  100% { opacity: 0; display: none; }
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: #00796b;
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
.sidebar {
  width: 240px;
  background: #2c3e50;
  color: #ecf0f1;
  position: fixed;
  height: 100%;
  top: 0;
  left: 0; /* Was -240px */
  transition: left 0.5s;
  padding-top: 60px;
}

.toggle-area {
  position: fixed;
  left: 0;
  top: 50%;
  width: 30px;
  height: 100px;
  background-color: #1b7b26; /* visible area */
  cursor: pointer;
  z-index: 999;
}
.forgot-password {
    text-align: center;
    margin-top: 12px;
}

.forgot-password a {
    display: inline-block;
    padding: 8px 16px;
    color: #fff;
    background-color: #22985f;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

.forgot-password a:hover {
    background-color: #15855a;
}
/* Floating Button */
.floating-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #2e8b57;
    color: white;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    border: none;
}

.floating-btn:hover {
    background-color: #256e48;
}

/* Side Navigation */
.nav-options {
    position: fixed;
    top: 60px;
    left: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    width: 180px;
    z-index: 100;
}

.nav-options a {
    text-decoration: none;
    color: #2e8b57;
    font-weight: 600;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-options a:hover {
    background-color: #2e8b57;
    color: white;
}

.nav-options .close-btn {
    background-color: #e74c3c;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

/* Form Container */
.form-container {
    max-width: 600px;
    margin: 30px auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

h2 {
    text-align: center;
    font-size: 24px;
    color: #2e8b57;
}

/* Input Fields */
input[type="text"], input[type="email"], input[type="password"], input[type="submit"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #2e8b57;
    color: white;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #256e48;
}

/* Message Style */
.message {
    margin-bottom: 15px;
    font-size: 14px;
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 10px;
}
/* Back to Home Button Styling */
/* Back to Home Button Styling */
.back-button {
    background-color: #3498db; /* Blue background */
    color: white;
    padding: 12px 20px;
    border-radius: 8px; /* Rounded corners */
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.3s ease-in-out, box-shadow 0.3s ease;
    width: 100%; /* Make the button take the full width of the form */
}

.back-button:hover {
    background-color: #2980b9; /* Darker blue on hover */
    transform: scale(1.05); /* Slightly enlarge the button */
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4); /* Add a shadow effect */
}

.back-button:active {
    background-color: #1c5f82; /* Even darker blue on click */
    transform: scale(0.98); /* Slightly shrink the button when clicked */
}

.back-button:focus {
    outline: none; /* Remove outline on focus */
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.7); /* Add a glowing effect when focused */
}

/* About Us Section */
#about {
    background-color: #f9f9f9;  /* Light gray background for the About Us section */
    padding: 60px 20px;  /* Padding to give some breathing room */
    text-align: center;  /* Centering the text */
}

#about h2 {
    font-size: 36px;  /* Larger font size for the section title */
    color: #2c6e2c;  /* Dark green color for the heading */
    font-weight: bold;
    margin-bottom: 30px;  /* Adds space below the title */
}

.about-content {
    display: flex;  /* Flexbox layout to arrange the content */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;  /* Adds space between text and images */
}

.about-text {
    max-width: 800px;  /* Limits the width of the text to ensure readability */
    font-size: 18px;  /* Sets a comfortable font size for the text */
    color: #333;  /* Dark gray color for the text */
    line-height: 1.6;  /* Increases line spacing for better readability */
    padding: 0 20px;  /* Adds padding on left and right sides */
}

.about-text p {
    margin-bottom: 20px;  /* Adds space between paragraphs */
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;  /* Stacks text and image vertically on smaller screens */
        text-align: center;  /* Centers the text on small screens */
    }
}

/* For mobile devices, making sure the content is well aligned */
@media (max-width: 480px) {
    #about h2 {
        font-size: 28px;  /* Smaller title on mobile */
    }

    .about-text {
        font-size: 16px;  /* Adjusting text size for mobile */
    }
}
/* Style for the Notice Board */
#notices {
    background: linear-gradient(145deg, #f4f9f4, #f4f9f4); /* Green gradient background */
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    color: #fff; /* White text for contrast */
}

#notices h2 {
    font-size: 32px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

#notices ul {
    list-style-type: none;
    padding: 0;
}

#notices li {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent background for the cards */
    padding: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

#notices li:hover {
    background-color: rgba(240, 240, 240, 0.8); /* Lighter shade on hover */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
}

#notices li div {
    margin-bottom: 12px;
}

#notices li strong {
    color: #2c3e50;
    font-size: 18px;
}

#notices li span {
    color: #3498db;
    font-weight: bold;
}

#notices .training-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#notices .training-info div {
    flex-basis: 48%; /* Two items per row */
    margin-bottom: 12px;
}

#notices .training-info div span {
    font-weight: bold;
    color: #34495e;
}
