/* Global Styles */
.our-services__wrapper * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.our-services__wrapper {
  font-family: "Montserrat", sans-serif;
  background-color: #fff;
  line-height: 1.6;
  color: #0032a0;
}

.our-services__header {
  background: url("https://rixstinewebsitephotos.s3.us-east-2.amazonaws.com/Websitestaticspages/vecteezy_blue-abstract-futuristic-technology-background_12978128.jpg")
    no-repeat center center/cover;
  color: #ffffff;
  padding: 6rem 3rem;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.our-services__header {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.our-services__header h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.our-services__header p {
  font-size: 2rem;
  opacity: 0.85;
  font-weight: 400;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.our-services__section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Service Section */
.our-services__section .service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.our-services__section .service-item {
  background: #f4f4f4;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.our-services__section .service-item h3 {
  font-size: 3rem;
  font-weight: 600;
  margin-top: 1rem;
  color: #ffffff;
  word-break: break-word;
}

.our-services__section .service-item p {
  font-size: 1.4rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.our-services__section .service-item .image-block {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
}

.our-services__section .service-item .image-block img {
  width: 100% !important;
  max-width: 100% !important;
  height: 250px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  display: block !important;
  background: #ffffff !important; /* keeps it clean if there’s empty space */
}

/* Materials Box */
.our-services__section .materials-box {
  background-color: #f0f0f0;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);

  /* Keep CTA pinned to bottom */
  display: flex;
  flex-direction: column;
}

.our-services__section .materials-box h4 {
  font-size: 1.6rem;
  color: #0032a0;
  margin-bottom: 1rem;
}

.our-services__section .materials-box ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding-left: 0;
  color: #0032a0;
  margin-bottom: 12px; /* space above the button */
}

.our-services__section .materials-box li {
  font-size: 1.2rem;
  margin-right: 1rem;
}

/* Wrapper that pushes the button to the bottom of the box */
.our-services__section .materials-cta {
  margin-top: auto;
}

/* Materials Box – Contact Us Button */
.our-services__section .materials-box .materials-quote-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #f0f0f0; /* same as materials box */
  color: #0032a0;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid #0032a0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.our-services__section .materials-box .materials-quote-btn:hover {
  background-color: #0032a0;
  color: #ffffff;
  text-decoration: none;
}

/* Blue text for specific services (heading and paragraph) */
.our-services__section .service-item.rotary-engraving,
.our-services__section .service-item.etching,
.our-services__section .service-item.uv-printing,
.our-services__section .service-item.wide-format-printing,
.our-services__section .service-item.custom-online-stores {
  color: #0032a0;
}

.our-services__section .service-item.embroidery h3,
.our-services__section .service-item.etching h3,
.our-services__section .service-item.screen-printing h3,
.our-services__section .service-item.ribbons h3,
.our-services__section .service-item.wide-format-printing h3,
.our-services__section .service-item.custom-online-stores h3 {
  color: #0032a0;
}

.our-services__section .service-item.embroidery p,
.our-services__section .service-item.etching p,
.our-services__section .service-item.screen-printing p,
.our-services__section .service-item.ribbons p,
.our-services__section .service-item.wide-format-printing p,
.our-services__section .service-item.custom-online-stores p {
  color: #0032a0;
}

/* Responsive Design */
@media (max-width: 767.98px) {
  .our-services__header h1 {
    font-size: 3rem;
  }

  .our-services__section .service-item {
    padding: 1.5rem;
  }

  .our-services__section .service-block {
    grid-template-columns: 1fr;
  }

  .our-services__section .image-block {
    flex-direction: column;
    gap: 0.5rem;
  }

  .our-services__section .image-block img {
    width: 80px;
    height: 80px;
  }
}

