body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

header {
  background-color: #990000;
  color: #fff;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

h2 {
  font-size: 24px;
  margin-bottom: 10px;
  text-align: center;
}

p {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.hero {
  background-color: #f0f0f0;
  text-align: center;
  padding: 40px 0;
}

.hero a {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 20px;
}

.services {
  background-color: #990000;
  margin-bottom: 20px;
}

.services ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: white;
}

.middle-section {
  display: flex;
  flex-direction: row;
}

.services li {
  margin-bottom: 10px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.service-list li {
  margin: 10px 15px;
}

.contact a {
  color: #990000;
}

footer {
  text-align: center;
  padding: 10px 0;
  background-color: #990000;
  color: #fff;
}
.hero-button {
  margin-top: 20px;
  align-self: center;
  width: fit-content;
}

.image-container {
  position: relative; /* Allows positioning phone numbers on top */
  width: 100%; /* Ensures horizontal fill */
}

.cover-image {
  width: 100%; 
  height: auto; /* Maintains aspect ratio */
  opacity: 0.7;
}

.phone-numbers-image {
  position: absolute; /* Positions phone numbers on top of the image */
  top: 120px; /* Adjust top position as needed */
  right: 120px; /* Adjust right position as needed */
  font-size: 30px;
  background-color: #990000;
  padding: 20px;
}

.services h1 {
  color: white;
}
.services li {
  font-size: 20px;
}
.phone-numbers a {
  font-size: 20px;
  text-decoration: underline;
}

.image-container a {
  color: white;
  font-size: 24px;
}

.image-container h1 {
  color: white;
}

.service-title {
    font-size: 30px;
}

.poze_expresoare{
    text-align:center;
}


@media only screen and (max-width: 767px) {
  .phone-numbers-image {
    display: none;
  }
} 

@media only screen and (min-width: 768px) {
  .phone-numbers-image-mobile {
    display: none;
  }
} 

@media only screen and (max-width: 767px) {
  .services {
    padding: 20px;
    margin-top:20px;
    
  }
  
  .services a {
       color: #fff !important;
  }
} 





