
/* //===================navbar  design===================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    height: 80px;
    padding: 10px 20px;
}

.navbar .logo  {
    background-image: url("navlogo1.jpg");
    width:100px;
    height: 60px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.navbar .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar .nav ul li {
    margin: 0 15px;
}

.navbar .nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}
.navbar .nav ul li a {
    color: white;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding: 5px 10px;
    display: inline-block;
}

.navbar .nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: #f1c40f;
    transition: width 0.3s ease;
}

.navbar .nav ul li a:hover {
    color: #f1c40f;
    transform: scale(1.05);
}

.navbar .nav ul li a:hover::after {
    width: 100%;
}


/* Dropdown Styling */
.navbar .nav ul li.dropdown {
    position: relative;
}


.navbar .nav ul li.dropdown .dropbtn {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.navbar .nav ul li.dropdown:hover .dropbtn {
    background-color: #444;
}

 #log{
     font-size: 20px;
    font-weight: bold;
    color:orange;
    
}

.navbar .nav ul li.dropdown:hover .dropdown-content {
    display: block;
}

.navbar .nav ul li.dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    z-index: 1;
}

.navbar .nav ul li.dropdown .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.navbar .nav ul li.dropdown .dropdown-content a:hover {
    background-color: #575757;
}

/* //===================home page design===================== */

.home {
    position: relative;
    width: 100%;
    height: 610px;
    background-color: beige;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Pseudo-element for background image with opacity */
.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("homeback1.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* Opacity only affects background */
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.homed1,.homed2 {
    position: relative; /* Ensure these are above the background */
    z-index: 1;
    margin-bottom: 25px;
    width: 500px;
    height: 500px;
    font-family:'Times New Roman', Times, serif;
    font-size: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
     border-style:solid;
}

.homed1 {
  position: relative;
  background-image: url("homeback2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.homed1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* black overlay with 50% opacity */
  z-index: 0;
}

.homed1 > * {
  position: relative;
  z-index: 1; /* keep content above overlay */
}

.homed1 h1{
  color:white;
  font-style:oblique;
  text-align: center;
  margin-top: 40px;
  
}

.homed1 h4
{
  margin:50px 20px 20px 20px;
  text-align: center;
  font-style: italic;
  color:white;
}

.homed2 {
    background-color: blueviolet;
    background-image: url("egg.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
}


.dashboard {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.dashboard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("dash2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3; /* Adjust the opacity as needed */
  z-index: 0;
}



.dashboard > * {
  position: relative;
  z-index: 1; /* Bring all content above the background */
}

.dashmenu {
  width: 250px;
  height: 100vh;
  /* background-color:#25464d; */
  color: white;
  padding: 20px 0; 
  background: #2E4057;
}

.dashlogo {
  height:100px;
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
  background-color: #25507b;
  padding: 15px 0
  color: #fff;
}


.dashnav ul {
  list-style: none;
}

.dashnav ul li {
  position: relative;
}

.dashnav ul li a,
.dropdown-label {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
  cursor: pointer;
}

.dashnav ul li a:hover,
.dropdown-label:hover {
  background-color: #0E94A0;
}

/* Dropdown checkbox and label */
.has-dropdown input[type="checkbox"] {
  display: none;
}

.has-dropdown .dropdown {
  display: none;
  background-color:#25464d;
}

.has-dropdown input[type="checkbox"]:checked ~ .dropdown {
  display: block;
}

.dropdown li a {
  padding-left: 40px;
  font-size: 15px;
}

.dashcontent {
  flex: 1;
  padding: 30px;
  background-color: #fff;
}


.staff-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh; /* Full viewport height */
  padding: 20px;
  font-family: Arial, sans-serif;
  text-align: center;
}

.staff-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.staff-section h2::after {
  content: "";
  width: 50%;
  height: 2px;
  background-color: #ccc;
  display: block;
  margin: 5px auto 0;
}

.staff-form {
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.staff-form label {
  font-weight: bold;
}

.staff-form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 15px;
}

.staff-form button {
  background-color: #298A81;
  border: none;
  padding: 12px;
  font-weight: bold;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.staff-form button:hover {
  background-color: #488A99;
}

