header {
	position: absolute !important;
	top: -4%!important;
}
.header-contact {
	 color: #000!important;
}
.header-contact-phone a {
color: #000 !important;
}  */
.menu-sec {
background: #D1D3D4!important;
opacity: 0.8!important;
}
.service-sec h2{
	 margin-top: 22%;
	 text-align: center;
}
 .service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  position: relative;
  display: block;
  background: white;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
   border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.image-wrapper {
  position: relative;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-date {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 8px;
  z-index: 2;
}

.overlay {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0, 123, 255, 0.4); /* Прозрачный синий */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.blog-card:hover .overlay {
  opacity: 1;
}

.read-more-center {
  position: absolute;
  top: 50%;
  left: -100%; /* Начальная позиция за пределами слева */
  transform: translate(-50%, -50%);
  background: #007BFF; /* Фон кнопки */
  color: white;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: left 0.3s ease; /* Анимация выезда */
  z-index: 4;
  pointer-events: none;
}

.blog-card:hover .read-more-center {
  left: 50%; /* Выезд в центр */
  transform: translate(-50%, -50%); /* Центрирование по горизонтали и вертикали */
}

.blog-content {
  padding: 20px;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-description {
  font-size: 0.95rem;
  color: #555;
}
@media screen and (max-width: 600px) {


 header {
	top: -100px;
}
  .blog-card {
  margin: 0 30px;
  left: -10px;
}


.blog-card img {
  width: 320px;
}
}


