/* Custom CSS for Attorney Profile */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --info-color: #0dcaf0;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #212529;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
}

/* Hero Section */
.hero-section {
  background-color: var(--light-color);
  border-bottom: 1px solid #dee2e6;
  position: relative;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/Pattern-3d.png'); /* Update with your image path */
  background-size: cover;
  background-position: center;
  opacity: 0.09; /* Adjust opacity as needed */
  z-index: 1;
}
.hero-section > * {
  position: relative;
  z-index: 2;
}

/* Profile Image */
.profile-image {
  width: 80px;
  height: 80px;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Custom Breadcrumb */
.custom-breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.custom-breadcrumb .breadcrumb-item a {
  color: var(--secondary-color);
  transition: color 0.2s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
  color: var(--primary-color);
}

.custom-breadcrumb .breadcrumb-item.active {
  color: var(--dark-color);
  font-weight: 500;
}

/* Badge Styles */
.bg-outline-primary {
  background-color: transparent !important;
  border: 1px solid var(--primary-color);
  color: var(--primary-color) !important;
}

.bg-primary-subtle {
  background-color: rgba(13, 110, 253, 0.1) !important;
}

.text-primary-emphasis {
  color: var(--primary-color) !important;
}

.bg-secondary-subtle {
  background-color: rgba(108, 117, 125, 0.1) !important;
}

.text-secondary-emphasis {
  color: var(--secondary-color) !important;
}

/* Stars */
.stars i {
  font-size: 0.875rem;
}

/* Contact Overlay */
.contact-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Achievement Icons */
.achievement-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.bg-success-subtle {
  background-color: rgba(25, 135, 84, 0.1) !important;
}

.text-success {
  color: var(--success-color) !important;
}

.bg-info-subtle {
  background-color: rgba(13, 202, 240, 0.1) !important;
}

.text-info {
  color: var(--info-color) !important;
}

/* Card Enhancements */
.card {
  border: 1px solid rgba(0, 0, 0, 0.125);
  transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Button Enhancements */
.btn {
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .profile-image {
    width: 60px;
    height: 60px;
  }

  .display-5 {
    font-size: 1.75rem;
  }

  .contact-overlay {
    position: static;
    margin-top: 1rem;
    background: rgba(248, 249, 250, 0.95);
  }
}

/* Utility Classes */
.text-muted {
  color: var(--secondary-color) !important;
}

.fw-medium {
  font-weight: 500 !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}