/* Critical CSS - Above the fold styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1a1a1a;
  color: #fff;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-container {
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #333;
  border-top: 4px solid #4a90e2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  margin-top: 15px;
  color: #888;
  font-size: 14px;
}

.sidebar {
  background: #2d2d2d;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.avatar-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.name {
  font-size: 24px;
  font-weight: 600;
  margin: 10px 0 5px 0;
}

.title {
  color: #888;
  font-size: 14px;
}

.main-content,
.service,
.clients {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-content.loaded,
.service.loaded,
.clients.loaded {
  opacity: 1;
}


/* Utility classes */
.hidden {
  display: none;
}

.modal-cert-image {
  max-width: 100%;
  height: auto;
}
