body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #444;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0 0 100px 0;
  }
  
  .custom-navbar {
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 20px auto;
    max-width: 1200px;
  }
  
  .custom-navbar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
  }
  
  .custom-navbar li a {
    text-decoration: none;
    cursor: pointer;
    color: #4a4a4a;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  
  .custom-navbar li a:hover,
  .custom-navbar li a.active {
    background-color: #F4FA58;
    color: black;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }
  
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
    width: 100%;
    justify-content: center;
    margin-top: 40px;
  }
  
  .id-card {
    width: 100%;
    height: 280px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: hidden;
    display: flex;
    transition: all 0.3s ease;
  }
  
  .id-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  }
  
  /* Card color styles */
  .card-blue {
    border-left: 5px solid #0061ff;
  }
  
  .card-green {
    border-left: 5px solid #11998e;
  }
  
  .card-purple {
    border-left: 5px solid #8e2de2;
  }
  
  .card-orange {
    border-left: 5px solid #f5af19;
  }
  
  .card-red {
    border-left: 5px solid #eb3349;
  }
  
  .card-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-size: cover;
    opacity: 0.04;
    z-index: 0;
  }
  
  .card-blue .card-pattern {
    background: radial-gradient(circle, #0061ff 0%, transparent 70%);
  }
  
  .card-green .card-pattern {
    background: radial-gradient(circle, #11998e 0%, transparent 70%);
  }
  
  .card-purple .card-pattern {
    background: radial-gradient(circle, #8e2de2 0%, transparent 70%);
  }
  
  .card-orange .card-pattern {
    background: radial-gradient(circle, #f5af19 0%, transparent 70%);
  }
  
  .card-red .card-pattern {
    background: radial-gradient(circle, #eb3349 0%, transparent 70%);
  }
  
  .profile-section {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
  }
  
  .profile-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background-color: #f2f2f2;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .qr-code {
    width: 75px;
    height: 75px;
    margin-top: 10px;
    background-color: white;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
  }
  
  .qr-code img {
    width: 100%;
    height: 100%;
  }
  
  .info-section {
    width: 70%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
  }
  
  .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
  }
  
  .logo {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
  }
  
  .logo img {
    width: 50px;
    height: 45px;
    margin-right: 8px;
    border-radius: 6px;
  }
  
  .card-id {
    font-size: 9px;
    font-weight: 600;
    background-color: #f8f9fa;
    padding: 4px 10px;
    border-radius: 20px;
    color: #666;
  }
  
 
  .card-body {
    flex: 1;
  }
  
  .nameof {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
  }
  
  .title {
    font-size: 13px;
    color: #666;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.07);
  }
  
  .details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .details {
    font-size: 12px;
    color: #555;
    display: flex;
    align-items: center;
  }
  
  .details .label {
    color: #888;
    margin-right: 5px;
    font-weight: 500;
    min-width: 60px;
    display: inline-block;
  }
  
  .employee-joined-dept {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 12px;
    color: #555;
  }
  
  .joined-info, .department-info, .validity-info {
    display: flex;
    align-items: center;
  }
  
  .joined-info .label, .department-info .label, .validity-info .label {
    color: #888;
    margin-right: 5px;
    font-weight: 500;
  }
  
  .card-footer {
    margin-top: 15px;
    font-size: 11px;
    color: #888;
  }
  
  .bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .card-blue .validity-info {
    color: #0061ff;
    font-weight: 500;
  }
  
  .card-green .validity-info {
    color: #11998e;
    font-weight: 500;
  }
  
  .card-purple .validity-info {
    color: #8e2de2;
    font-weight: 500;
  }
  
  .card-orange .validity-info {
    color: #f5af19;
    font-weight: 500;
  }
  
  .card-red .validity-info {
    color: #eb3349;
    font-weight: 500;
  }
  
  /* Responsive adjustments */
  @media (max-width: 1200px) {
    .card-grid {
      grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    }
  }
  
  @media (max-width: 992px) {
    .card-grid {
      grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .card-grid {
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 20px;
    }
    
    .profile-section {
      width: 30%;
    }
    
    .info-section {
      width: 70%;
    }
    
    .profile-image {
      width: 80px;
      height: 80px;
    }
    
    .qr-code {
      width: 65px;
      height: 65px;
    }
    
    .employee-joined-dept {
      flex-direction: column;
      gap: 5px;
    }
    
    .joined-info, .department-info, .validity-info {
      justify-content: space-between;
      width: 100%;
    }
  }
  
  @media (max-width: 576px) {
    .id-card {
      height: auto;
      flex-direction: column;
    }
    
    .profile-section {
      width: 100%;
      padding: 20px 20px 10px;
      flex-direction: row;
      justify-content: space-around;
    }
    
    .profile-image {
      width: 150px;
      height: 150px;
    }
    
    .qr-code {
      width: 100px;
      height: 100px;
      margin-top: 0;
    }
    
    .info-section {
      width: 100%;
      padding: 0 20px 20px;
    }
    
    .employee-joined-dept {
      flex-direction: column;
      gap: 5px;
    }
  }
  
  @media (max-width: 400px) {
    .card-grid {
      grid-template-columns: 1fr;
    }
    
    .custom-navbar li a {
      padding: 8px 12px;
      font-size: 16px;
    }
  }
  
  /* Bottom navigation */
  .bottom-nav {
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
  
  .fixed-bottom {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
  }
  
  *, ::after, ::before {
    box-sizing: border-box;
  }
  
  .bottom-nav .row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
  }
  
  .bottom-nav .col {
    flex: 1;
  }
  
  .bottom-nav a {
    text-decoration: none;
    color: #4a4a4a;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .bottom-nav .icon img {
    width: 30px;
    display: block;
  }
  
  .bottom-nav a.active,
  .bottom-nav a:hover {
    color: #764ba2;
  }
  
  .complain-btn {
    cursor: pointer;
  }
  
  /* Helper class */
  .mb-4 {
    margin-bottom: 1.5rem;
  }