.transition_card{
	width: 650px;
	height: 433px;
	overflow: hidden;
}

.transition_card img{
	transition: all 0.5s ease-in-out;
}

.transition_card:hover img{
	-webkit-transform: scale(1.15);
	-ms-transform: scale(1.15);
	transform: scale(1.15);
}

.custom-card {
	background-color: #333;
	color: #fff;
	border-radius: 8px;
	border: 1px solid #fff;
}

.custom-card .card-head {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.custom-card .icon-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	border: 2px solid #fff;
	border-radius: 50%;
}

.custom-card .icon-container svg {
	width: 30px;
	height: 30px;
}

.custom-card .card-title {
	text-align: center;
	margin-top: 10px;
	font-size: 1.25rem;
}

.custom-card .card-text {
	text-align: center;
	font-size: 0.875rem;
	margin-top: 10px;
}

.custom-hr {
	border: none;
	height: 2px;
	width: 50px;
	background-color: #fff;
	margin: 0 auto;
}


.services {
    --bg-color: #003366;
    --bg-color-light: #004080;
    --text-color-hover: #e0e0e0;
    --box-shadow-color: rgba(0, 51, 102, 0.48);
}

.card-services {
  width: 100%;
  max-width: 300px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-out;
  text-decoration: none;
  padding: 20px;
  box-sizing: border-box;
  word-wrap: break-word;
  word-break: break-word;
  margin: 10px;
  flex-grow: 1;
}

.card-services .edit-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1001;
}

.card-services:hover {
  transform: translateY(-5px) scale(1.005) translateZ(0);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.2), 0 24px 46px var(--box-shadow-color);
}

.card-services:hover .overlay {
  transform: scale(1);
}

.card-services:hover .circle {
  border-color: var(--bg-color-light);
  background: var(--bg-color);
}

.card-services:hover .circle:after {
  background: var(--bg-color-light);
}

.card-services:hover p {
  color: var(--text-color-hover);
}

.card-services p {
  font-size: 17px;
  color: #000000;
  margin-top: 10px;
  z-index: 1000;
  transition: color 0.3s ease-out;
}

.circle {
  width: 131px;
  height: 131px;
  border-radius: 50%;
  background: #1c1c1c;
  border: 2px solid var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease-out;
  z-index: 2;
}

.edit-icon {
  z-index: 2;
}

.circle:after {
  content: "";
  width: 118px;
  height: 118px;
  display: block;
  position: absolute;
  background: var(--bg-color);
  border-radius: 50%;
  top: 7px;
  left: 7px;
  transition: opacity 0.3s ease-out;
}

.circle svg {
  z-index: 10000;
  transform: translateZ(0);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  border-radius: 10px;
  z-index: 1;
  transform: scale(0);
  transition: transform 0.3s ease-out;
}

.description-container {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
}

.description {
  max-height: 30px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.description.expanded {
  max-height: none;
  overflow: visible;
}

.toggle-description {
  display: block;
  margin: 5px auto 0;
  text-align: center;
  color: #007bff;
  cursor: pointer;
  padding: 5px;
}

/* Header */
.header {
	background-color: #13202f;
	color: #1c1c1c;
	padding-bottom: 80px;
	position: relative;
}
  
.header h1 {
	position: relative;
	z-index: 1001;
}

.container-offset {
    position: relative;
    z-index: 10;
    top: -40px;
}


.card-services .btn {
    z-index: 2;
    position: relative;
}

@media (max-width: 768px) {
  .card-services {
    margin: 0 auto;
  }
}
