.doc-hero {
  background-color: #ffffff;
  padding: 2.5rem;
  margin: 2rem auto 3rem;
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  max-width: 850px;
}

.doc-hero h2 {
  color: #00588f;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.doc-hero p {
  font-size: 1.1rem;
  color: #333;
}

.tool-grid.doc-grid a.tool-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 0.75rem;
  padding: 1.2rem 1.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: none;
}

.tool-grid.doc-grid a.tool-card:hover {
  border-color: #00588f;
  background-color: #f9fbfc;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 88, 143, 0.08);
}

.tool-grid.doc-grid .tool-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #00588f;
  font-family: 'Poppins', sans-serif;
}

.tool-grid.doc-grid .tool-card p {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
}

.doc-search {
  max-width: 700px;
  margin: 2rem auto 1rem;
  text-align: center;
}

.doc-search input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.75rem;
  outline: none;
  transition: border-color 0.2s ease;
  caret-color: auto !important;
}

.doc-search input:focus {
  border-color: #00588f;
}

.tool-grid.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.doc-hero-modern {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  border-radius: 1.2rem;
  margin: 2rem auto 3rem;
  max-width: 950px;
}

.doc-hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/csct.jpg') center/cover no-repeat;
  filter: blur(4px) brightness(0.6);
  z-index: 0;
}

.doc-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 88, 143, 0.5), rgba(253, 131, 1, 0.4));
  z-index: 1;
}

.doc-hero-text {
  position: relative;
  z-index: 2;
  padding: 2rem 2.5rem;
  max-width: 800px;
}

.doc-hero-text h2 {
  font-size: 2rem;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  color: #ffffff;
}

.doc-hero-text p {
  font-size: 1.05rem;
  color: #f0f0f0;
  line-height: 1.6;
}

.logout-button {
  background-color: #00588f;
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
  height: 100%;
}

.logout-button:hover {
  background-color: #e56f00;
  transform: translateY(-1px);
}

