@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  background-color: #ffffff;
  scroll-behavior: smooth;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(90deg, #4e54c8, #8f94fb);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 65px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

.navbar .logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #ff9800;
}

.nav-links .nav-btn {
  background-color: #ff9800;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links .nav-btn:hover {
  background-color: #ff5722;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

.search-bar {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 85px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 500px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 8px;
  z-index: 1000;
}

.search-bar input {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.search-results {
  margin-top: 1rem;
  max-height: 300px;
  overflow-y: auto;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
}

.result-item:hover {
  background: #f4f4f4;
}

.result-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.result-item p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.nav-links{
  display: none;
}

.search-icon{
  font-size: 21px;
}

.search-icon:hover{
  color: #ff5722;
  transition: 0.3s;
  cursor: pointer;
}

.search-icon:active{
  transform: scale(0.99);
}

.main-logo{
  height: 50px;
  width: 50px;
  position: relative;
  top: 18px;
}

.main-logo:hover{
  cursor: pointer;
}

.logo-txt{
  color: #ffffff;
  position: relative;
  top: -30px;
  left: 58px;
}

a{
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-links{
    display: block;
  }

  .search-icon:hover{
    color: #fff;
  }
}

@media (max-width: 768px) {
  .logo-txt{
    display: none;
  }
  
  .main-logo{
    top: 1.5px;
    position: relative;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 250px;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    padding-top: 2rem;
    transition: left 0.3s ease;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 1rem 0;
    text-align: center;
  }

  .nav-links .close-btn {
    position: absolute;
    top: -230px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: white;
    transition: 0.3s ease;
  }

  .nav-links .close-btn:active{
    transform: rotate(90deg);
  }
}

.position {
  margin-top: 200px;
}

.user-profile-card {
  background: #fff;
  border: 1px solid #ccc;
  width: 430px;
  max-width: 90vw;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: 0.3s ease;
  margin: 20px auto;
}

.user-profile-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.user-profile-img img {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid #4e54c8;
}

.user-profile-pic-change-btn {
  display: inline-block;
  color: black;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 20px;
  transition: 0.3s;
}

.user-profile-pic-change-btn:hover {
  color: #ff5722;
  cursor: pointer;
}

.user-info-section {
  text-align: left;
  margin-top: 10px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 0.95rem;
  color: #333;
}

.label {
  font-weight: 600;
}

.value {
  font-weight: 400;
  text-align: right;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.goHome {
  border: none;
  outline: none;
  font-size: 14px;
  background: none;
  padding: 8px 12px;
  transition: color 0.4s ease;
}

.goHome:hover {
  color: #ff5722;
  cursor: pointer;
}

.status-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-active-status {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: #4caf50;
}

@media (max-width: 480px) {
  .position {
    top: 100px;
  }

  .user-profile-card {
    width: 95vw;
    padding: 15px;
  }

  .user-profile-img img {
    height: 80px;
    width: 80px;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.9rem;
  }

  .value {
    max-width: 100%;
    text-align: left;
    white-space: normal;
  }

  .goHome {
    font-size: 16px;
    padding: 10px 16px;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .user-profile-card {
    width: 80vw;
  }

  .user-profile-img img {
    height: 90px;
    width: 90px;
  }

  .info-row {
    font-size: 0.95rem;
  }
}

.site-footer {
  background: #0b141d;
  color: #ccc;
  padding: 60px 20px 30px;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 40px;
  border-bottom: 1px solid #222;
  column-gap: 60px;
  row-gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 280px;
  padding: 0 10px;
}

.footer-col h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
}

.info-box {
  display: flex;
  gap: 12px;
  background: #111a22;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 15px;
  align-items: flex-start;
}

.info-box i {
  color: #ff4a4a;
  font-size: 18px;
  margin-top: 4px;
}

.info-text .line {
  font-size: 13px;
  color: #aaa;
}

.highlight {
  color: #ff4a4a;
  font-weight: bold;
  text-decoration: none;
}

.about-links {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 30px;
}

.about-links li {
  margin-bottom: 10px;
}

.about-links li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.about-links li a:hover {
  color: #ff4a4a;
}

.footer-middle {
  text-align: center;
  margin-top: 40px;
}

.footer-middle img {
  height: 40px;
  margin: 10px;
  transition: transform 0.2s;
}

.footer-middle img:hover {
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #666;
  border-top: 1px solid #222;
  padding-top: 20px;
}

.users-welcome {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 20px 30px;
  z-index: 10;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.user-welcome {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
}

.for-user-notify {
  font-size: 1rem;
  color: #555;
  margin: 0;
}
