main{
    width: 100%;
    height: calc(70vh - 60px);
    background-color: rgb(53, 65, 65);

    margin-top:60px;
    background-image: url(../img/rctlogotransparent.png),url(../img/crane-1200.jpeg);
    background-size: 30vh, cover;
    background-repeat: no-repeat;
    background-position:bottom left calc(50% + 80px), center;
   padding-left: 10%;
    display: flex;
    justify-content: center;
    align-items:center;
   
}

main h1{
    font-size: 3rem;
    line-height: 1.7;
    color: #fff;
    font-weight: 600;
    text-shadow: 0px -2px 0 #000;

}
main p{
    font-size: 2.6rem;
    line-height: 1.8;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0px -2px 0 #000;
}

main a{
    margin-top:30px;
    display: block;
    text-transform: uppercase;
    background-color: var(--site-color-01);
    padding: 10px 20px;
    width: fit-content;
    border-radius: 10px;
     border-bottom: #d4a017 1px solid;
}

main a:hover{
    color:#fff;
   
}

.services {
  padding: 5rem 1rem;
  background-color: #2d535f;
  background-attachment: fixed;
  background-size: contain;
  font-family: "Poppins", sans-serif;
   width: 100%;
}

.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.services-intro h2 {
  font-size: 3rem;
  color: #1e293b; /* deep slate */
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.services-intro h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #d4a017; /* gold accent */
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.services-intro p {
  font-size: 1.7rem;
  color: #fff;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.services-grid ul {
  list-style: none;
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #d4a017;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-grid ul:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.services-grid li {
  display: flex;
  align-items: center;
  padding: 0.6rem 0;
  font-size: 1.5rem;
  color: #334155;
  border-bottom: 1px solid #f0f0f0;
}

.services-grid li:last-child {
  border-bottom: none;
}

.check {
  color: #d4a017; /* gold accent */
  margin-right: 0.75rem;
  font-weight: bold;
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .services {
    padding: 3rem 1rem;
  }
  .services-intro p {
   display:none;
}

  .services-intro h2 {
    font-size: 1.8rem;
  }
}
