.desktop-our-services-header {
  display: none;
}
.service-card {
  background-size: cover;
  background-position: center;
  padding: 50px 0;
  margin: 10px 0px;
}
.service-card h2 {
  color: white;
  text-align: center;
  font-size: 40px;
}

.learn-more-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.learn-more-btn a {
  color: white;
  font-size: 20px;
  font-weight: bold;
}
.service-info i {
  display: flex;
  color: white;
  justify-content: center;
  align-items: center;
}
.icon-circle-blue {
  display: flex;
  border-radius: 50%;
  background-color:#005A9C;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.icon-circle-red {
  display: flex;
  border-radius: 50%;
  background-color: #C62E2E;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}


@media screen and (min-width: 800px) {

.our-services h1 {
  font-size: 40px;
  margin-bottom: 50px;
  color:#005A9C;
}
.services-container {
  display: flex;
  min-height: 500px;
  padding: 0px 40px;
}
.main-container {
  display: flex;
  width: 50%;
  min-height: 300px;
  margin: 15px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}
.extra-margin {
  margin-top: 60px;
}
.service-img {
  width: 50%;
  height: 100%;
  
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.service-info {
  display: flex;
  flex-direction: column;
  width: 50%;
  padding-top: 20px;
  background-color: #F6F7F8;
  text-align: center;
  align-items: center;
  justify-content: center; 
}
.icon-circle-blue {
  width: 40px;
  height: 40px;
}
.icon-circle-red {
  width: 40px;
  height: 40px;
}
.service-info i {
  font-size: 20px;
}
.service-info h2 {
  font-weight: bold;
  font-size: 24px;
  color: #005A9C;
  padding-bottom: 20px;
}
.service-info p {
  line-height: 1.6;
  font-size: 24px;
  color: #5B5B5A;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 20px;
}
.learn-btn a {
  text-decoration: none;
}
.learn-btn p {
  border: 3px solid #005A9C;
  padding: 0px 20px;
  color:#005A9C;
  font-weight: bold;
}

.desktop-our-services-header {
  display: block;
  padding-top: 50px;
}
.desktop-our-services-header h2 {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  color: #296AB1;
}
.our-services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  width: 90%;
  margin: 0 auto;
  padding: 50px 0px 0px 0px;
}
.service-card {
  height: 300px;
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 5px 5px rgba(0,0,0,0.5);
}
.service-card h2 {
  color: white;
  text-align: center;
  font-size: 40px;
}

.learn-more-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.learn-more-btn a {
  color: white;
  font-size: 20px;
  font-weight: bold;
}
}

/* Mobile service cards improvements */
@media screen and (max-width: 799px) {
  .our-services {
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .our-services h1 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #005A9C;
    text-align: center;
  }
  
  .services-container {
    width: 90%;
  }
  
  .main-container {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .main-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .service-img {
    height: 200px;
    overflow: hidden;
  }
  
  .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .main-container:hover .service-img img {
    transform: scale(1.05);
  }
  
  .service-info {
    justify-content: center;
    padding: 20px;
    background-color: #F6F7F8;
    text-align: center;
  }
  .icon-circle-blue {
    width: 30px;
    height: 30px;
    
  }
  .icon-circle-red {
    width: 30px;
    height: 30px;
  }
  
  .service-info h2 {
    font-size: 22px;
    margin: 10px 0;
    color: #005A9C;
  }
  
  .service-info p {
    font-size: 16px;
    line-height: 1.5;
    color: #5B5B5A;
    margin-bottom: 15px;
  }
  
  .icon-circle-blue, .icon-circle-red {
    margin: 0 auto 15px;
  }
  
  .learn-btn {
    margin-top: 15px;
  }
  
  .learn-btn p {
    display: inline-block;
    border: 2px solid #005A9C;
    padding: 8px 20px;
    color: #005A9C;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .learn-btn p:hover {
    background-color: #005A9C;
    color: white;
  }
}

/* Desktop service cards improvements */
@media screen and (min-width: 800px) {
  .main-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .main-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .service-img img {
    transition: transform 0.5s ease;
  }
  
  .main-container:hover .service-img img {
    transform: scale(1.05);
  }
  
  .learn-btn p {
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .learn-btn p:hover {
    background-color: #005A9C;
    color: white;
  }
  
  .service-info {
    padding: 25px 15px;
  }
}