/* Custom Card Styles */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
}

.card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card-title {
  margin-bottom: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
}

.card-text {
  margin-bottom: 1rem;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer:last-child {
  border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

/* Service Card Styles */
.service-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.service-card .card-body {
  padding: 2rem;
  text-align: center;
}

.service-card .icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.service-card:hover .icon-box {
  background-color: #dfb162;
  color: #fff;
}

.service-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card .card-text {
  margin-bottom: 1.5rem;
  color: #6c757d;
}

/* Content Card Styles */
.content-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.content-card:hover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.content-card .card-body {
  padding: 2rem;
}

.content-card .card-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.content-card .card-text {
  margin-bottom: 1rem;
  color: #555;
}

/* Team Card Styles */
.team-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.team-card .card-img-top {
  width: 100%;
  height: auto;
}

.team-card .card-body {
  padding: 1.5rem;
  text-align: center;
}

.team-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-card .card-subtitle {
  font-size: 1rem;
  color: #dfb162;
  margin-bottom: 1rem;
}

/* Testimonial Card Styles */
.testimonial-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
  padding: 2rem;
}

.testimonial-card:hover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.testimonial-card .card-img-top {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.testimonial-card .card-body {
  padding: 1.5rem 0 0;
}

.testimonial-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.testimonial-card .card-subtitle {
  font-size: 1rem;
  color: #dfb162;
  margin-bottom: 1rem;
  font-style: italic;
}

/* Project Card Styles */
.project-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.project-card .card-img-top {
  width: 100%;
  height: auto;
}

.project-card .card-body {
  padding: 1.5rem;
}

.project-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.project-card .card-text {
  color: #6c757d;
  margin-bottom: 1rem;
}

/* Utility Classes */
.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow-none {
  box-shadow: none !important;
}