* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-image: url("/public/bg1.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: white;
}

.hero {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
}

nav {
  /* background-color: #ffffff; */
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

nav .logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  user-select: none;
  margin: 0;
}

nav .logo span {
  color: #2563eb; /* accent color */
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  color: #ff4c68; /* neutral gray */
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: block;
  font-weight: 500;
  font-size: 1rem;
}

nav ul li a:hover,
nav ul li a:focus {
  background-color: #f3f4f6; /* subtle light background on hover */
  color: #111827; /* darker accent on hover */
  outline: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

.content {
    position: absolute;
    top: 35%;
    left: 10%;
    max-width: 600px;
}

.content h1 {
    font-size: 50px;
    margin-bottom: 20px;
}

.content p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.content button {
    padding: 12px 25px;
    font-size: 18px;
    background-color: #ff4c68;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}

.content button:hover {
    background-color: #e8435f;
}

#role
{
  width: 60px;
  height: 30px;
}
/* Custom height and width for the entire carousel */
.carousel-image {
  width: 100%;         /* Full width */
  height: 500px;       /* Increase height */
  object-fit: cover;   /* Maintain aspect ratio without distortion */
}

/*icon on view page*/
  .icon i {
    font-size: 20px;
    margin: 0 10px;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
    
  }

  /* Edit icon hover effect */
  .icon.edit i:hover {
    color: #007bff;   /* Blue */
    transform: scale(1.3);
  }

  /* Delete icon hover effect */
  .icon.delete i:hover {
    color: #dc3545;   /* Red */
    transform: scale(1.3);
  }

