body {
  font-family: 'Lato', sans-serif;
  overflow-x: hidden;
}

#top-bar {
  background: #fff;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#top-bar header h1 {
  text-indent: -9999px;
  display: inline-block;
  width: 152px;
  height: 28px;
  margin: 40px auto 0 20px;
  background-image: url(../img/logo.png);
  background-repeat: no-repeat;
  padding-bottom: 60px;
}

#top-bar a {
  margin: 26px 30px 0 0;
}

#top-bar .top-links {
  margin-top: 15px;
}

#top-bar .top-links a {
  margin-left: 20px;
}

#introduction {
  background-image: url(../img/background.png);
  color: #fff;
}

#introduction-content {
  padding: 120px 0;
}

#introduction-content p {
  font-size: 20px;
  line-height: 30px;
}

#introduction-content header h2 {
  font-size: 24px;
}

#introduction-content a {
  color: #f3e0d5;
  text-decoration: underline;
}

.container-fluid.services {
  background-color: #fff;
  padding-top: 20px;
}

.row.project {
  margin-bottom: 40px;
}

header h3 {
  margin-bottom: 40px;
}

h4{
  font-weight: 800;
  margin:30px 0 20px 0;
}

.project {
  margin-bottom: 40px;
}

.section {
  margin-bottom: 40px;
}

.section p {
  font-size: 16px;
  color: #777;
  margin-bottom: 20px;
}

.section .btn-primary {
  font-size: 18px;
  border-radius: 8px;
  padding: 10px 20px;
  background-color: #1d7b9b;
}

.section .btn-primary:hover {
  background-color: #1a6a86;
}

.selected-work img {
  width: 100%;
  margin-bottom: 20px;
}

.selected-work .thumb-details {
  position: absolute;
  bottom: 20px;
  height: 50px;
  width: calc(100% - 30px);
  height: 70px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: none;
}

.thumb-details {
  text-indent: 15px;
}


/* PROJECT PAGES */
#project-introduction {
  background-color: #1D7A9B;
  color:#fff;
}

#project-introduction-content {
  padding: 40px 0;
}

#introduction-content header h2 {
  font-size: 24px;
}

.project-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project, .project img {
  margin-top: 20px;
  background-color: #fff;
}

.project, .project-summary {
  font-size: 16px;
}

.project img {
  width: 100%;
}

.project h2 {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  color: #c4632b;
}

.project p.description {
  text-align: center;
  color: #777;
  margin: 20px 0 0 0;
}

p.clients {
  color: #999;
}

.footer {
  background-color: #efefef;
  padding-bottom: 40px;
}

.footer a img {
  width: 24px;
}

footer p {
  font-size: 16px;
  line-height: 24px;
  color: #666;
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Apply Flexbox to the row */
.project {
  display: flex;
  flex-wrap: wrap;
}

.project::after {
  content: "";
  display: table;
  clear: both;
}

/* Reverse order on small screens */
@media (max-width: 991px) {
  .project {
      flex-direction: column;
      overflow: hidden;
  }

  .button-container {
    display: flex;
    justify-content: center;
  }

  .md-second-column {
      order: 2; /* Move image below text */
  }

  .md-first-column {
      order: 1; /* Move text above image */
  }

  .md-first-column, .md-second-column {
    width: 100%;
    float: none;
  }

  .md-first-column.project-description {
    width: 75%;
    margin: 0 auto;
  }

  .md-second-column.project-description {
    width: 75%;
    margin: 0 auto;
  }
}









