/* General Styles */
    html, body {
      height: 100%;
      margin: 0;
    }
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
 main {
      flex: 1;
    }

    /* --- Navigation Bar --- */
    .navbar {
      background-color: #1F3D7A;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .navbar .nav-left {
      display: flex;
      align-items: center;
    }

    .navbar .nav-left .logo{
      font-size: 22px;
      font-weight: bold;
      color: white;
    }
.navbar .nav-left #manager {
  margin-left: 30px;
  font-size: 18px;
}
.navbar .nav-left a {
  background-color: #3E5BA8; /* Slightly lighter blue than navbar */
  color: white;
  text-decoration: none;
  font-weight: bold;
  margin-right: 15px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.navbar .nav-left a:hover {
  background-color: #2e4a90;
  color: #fff;
}

    .navbar .nav-right {
      display: flex;
      align-items: center;
    }
    .navbar .nav-right img {
      width: 35px;
      height: 35px;
      border-radius: 50%;
      margin-right: 10px;
      object-fit: cover;
    }
    .navbar .nav-right span {
      color: white;
      font-weight: bold;
      margin-right: 20px;
    }
  .navbar .nav-right button {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
  }
  .navbar .nav-right button:hover {
    background-color: #d32f2f;
  }

/* Hero Section */
.hero {
  position: relative;
  background: url('https://source.unsplash.com/1600x800/?technology,abstract') center/cover no-repeat;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: white;
}

/* Dark Overlay for better contrast */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-content h2 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 19px;
  margin-bottom: 15px;
}

/* Features Section */
.features {
    flex-grow: 1;
    padding: 40px 20px;
    text-align: center;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.feature {
    width: 300px;
    padding: 20px;
    background: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.feature:hover {
    background-color: #1F3D7A;
    color: white;
}

.feature a {
    text-decoration: none;
    color: black;
}

.feature a:hover,
.feature a:visited,
.feature a:active {
    color: black;
    text-decoration: none;
}

.feature h3 {
    font-size: 20px;
    font-weight: bold;
}

.feature p {
    font-size: 14px;
}

    /* hidden upload form styling */
    #uploadCertFormAdmin {
      display: none;
      max-width: 400px;
      margin: 1rem auto;
      padding: 1rem;
      border: 1px solid #ccc;
      background: #fff;
      box-shadow: 0 0 10px rgba(0,0,0,.1);
    }
    #uploadCertFormAdmin input,
    #uploadCertFormAdmin button {
      display: block;
      width: 100%;
      margin-top: .5rem;
    }

    /* hidden employee upload form styling */
    #uploadEmployeeFormAdmin {
      display: none;
      max-width: 400px;
      margin: 1rem auto;
      padding: 1rem;
      border: 1px solid #ccc;
      background: #fff;
      box-shadow: 0 0 10px rgba(0,0,0,.1);
    }
    #uploadEmployeeFormAdmin input,
    #uploadEmployeeFormAdmin button {
      display: block;
      width: 100%;
      margin-top: .5rem;
    }

  .accordion {
    background-color: #add8e6;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    max-height: 400px; /* Set a maximum height */
    overflow: auto;    /* Enable scrolling when needed */ 
  }
  
  .active, .accordion:hover {
    background-color: #ccc; 
  }
  
  .panel {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
  }
  
  * {
    box-sizing: border-box;
  }
  
  /* Create three equal columns that floats next to each other */
  .jcolumn {
    float: left;
    width: 49.50%;
    padding: 10px;
  }
  
  /* Clear floats after the columns */
  .jrow:after {
    content: "";
    display: table;
    clear: both;
  } 
  .logsheader
  {
   width: 100%;   
  }

/* Footer */
.footer {
  background-color: #1F3D7A;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  font-weight: bold;
  margin-top: auto;
}
