body, html {
  font-family: 'Open Sans', sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: rgba(255,255,255,0.5);
  width: 100% !important;
  height: 100% !important;
}

h1 {
  font-weight: 400;
}

h2 {
  line-height: 20px;
  margin: 0;
  color: #25BAD0;
  margin-bottom: 30px;
  font-size: 40px;
  font-weight: 400;
  text-transform: uppercase;
  padding-bottom: 10px;
}

h3, h4 {
  color: #333;
  font-size: 20px;
  font-weight: 400;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}

p {
  font-size: 15px;
}

  p.intro {
    font-size: 16px;
    margin: 12px 0 0;
    line-height: 24px;
  }

a {
  color: #fff;
}

  a:hover, a:focus {
    text-decoration: none;
    color: #25BAD0;
  }

ul, ol {
  list-style: none;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.clearfix {
  display: inline-block;
}

* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

ul, ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
/* Navigation */
#menu {
  padding: 20px;
  transition: all 0.8s;
}

  #menu.navbar-default {
    background-color: rgba(248, 248, 248, 0);
    border-color: rgba(231, 231, 231, 0);
  }

  #menu a.navbar-brand {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

    #menu a.navbar-brand i.fa {
      color: #25BAD0;
    }

  #menu.navbar-default .navbar-nav > li > a {
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    letter-spacing: 1px;
  }

    #menu.navbar-default .navbar-nav > li > a:hover {
      color: #25BAD0;
    }

.on {
  background-color: #03252b !important;
  padding: 0 !important;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  color: #25BAD0 !important;
  background-color: transparent;
}

.navbar-toggle {
  border-radius: 0;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
  background-color: #25BAD0;
  border-color: #25BAD0;
}

  .navbar-default .navbar-toggle:hover > .icon-bar {
    background-color: #FFF;
  }

.btn-default {
  color: #25BAD0;
  background-color: transparent;
  border: 2px solid #25BAD0;
  padding: 12px 20px;
  margin: 0;
  font-size: 15px;
  border-radius: 0;
  text-transform: uppercase;
}

  .btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active {
    color: #053740;
    background-color: #25BAD0;
    border-color: #25BAD0;
  }

.btn:active, .btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

  a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    outline: none;
    outline-offset: none;
  }
/* Home Section */
.intro {
  display: table;
  width: 100%;
  height: auto;
  text-align: center;
  color: #fff;
  background: url(../img/intro-bg.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

  .intro .overlay {
    padding: 100px 0;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#053740+0,053740+100&1+0,0.6+100 */
    background: -moz-linear-gradient(top, rgba(5,55,64,1) 0%, rgba(5,55,64,0.6) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(5,55,64,1) 0%, rgba(5,55,64,0.6) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(5,55,64,1) 0%, rgba(5,55,64,0.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#053740', endColorstr='#99053740', GradientType=0 ); /* IE6-9 */
  }

.section-title {
  padding: 25px 0 60px 0;
}

.intro H1 {
  font-size: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.9);
}

.intro .brand {
  color: #25BAD0;
  font-weight: 700;
}

.intro .intro-text p {
  font-size: 18px;
  margin-bottom: 40px;
  margin-top: 20px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

header .intro-text {
  padding-top: 150px;
  padding-bottom: 150px;
}
/* Services Section */
#services {
  padding: 120px 0;
  background: #053740;
}

  #services h4 {
    color: #25BAD0;
    text-transform: uppercase;
  }

  #services i.fa {
    font-size: 32px;
    margin-bottom: 20px;
    transition: all 0.5s;
    color: #053740;
    width: 100px;
    height: 100px;
    padding: 33px 0;
    border: 1px solid #25BAD0;
    background: #25BAD0;
    border-radius: 50%;
  }
/* About Section */
#about {
  padding: 100px 0;
  color: rgba(255,255,255,0.9);
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#20a6bb+0,25bad0+50 */
  background: rgb(32,166,187); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(32,166,187,1) 0%, rgba(37,186,208,1) 50%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(32,166,187,1) 0%, rgba(37,186,208,1) 50%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(32,166,187,1) 0%, rgba(37,186,208,1) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#20a6bb', endColorstr='#25bad0', GradientType=0 ); /* IE6-9 */
}

  #about h2 {
    color: rgba(255,255,255,0.8);
  }

  #about h4 {
    color: #0a4b55;
  }

  #about .about-text {
    margin-left: 10px;
  }

  #about p {
    margin-top: 20px;
    margin-bottom: 30px;
  }
/* Portfolio Section */
#portfolio {
  padding: 100px 0;
  background: #053740;
}

.categories {
  padding-bottom: 30px;
  text-align: center;
}

ul.cat li {
  display: inline-block;
}

ol.type li {
  display: inline-block;
  margin-left: 20px;
  text-transform: uppercase;
}

  ol.type li a {
    background: transparent;
    border: 2px solid #25BAD0;
    color: #25BAD0;
    padding: 10px 20px;
  }

    ol.type li a.active {
      background: #25BAD0;
      color: #053740;
    }

    ol.type li a:hover {
      background: #25BAD0;
      color: #053740;
    }

.isotope-item {
  z-index: 2
}

.isotope-hidden.isotope-item {
  z-index: 1
}

.isotope, .isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
  -moz-transition-duration: 0.8s;
  transition-duration: 0.8s;
}

.isotope-item {
  margin-right: -1px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.isotope {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  transition-property: height, width;
}

  .isotope .isotope-item {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    transition-property: transform, opacity;
  }

.portfolio-item {
  margin: 15px 0;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

  .portfolio-item:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
  }

  .portfolio-item .hover-bg {
    height: 260px;
    overflow: hidden;
    position: relative;
  }

.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.66);
  padding: 33% 0 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}

  .hover-bg .hover-text > h4 {
    opacity: 0;
    color: #fff;
    font-weight: 400;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    transition: all 0.3s;
  }

.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.hover-bg .hover-text > i {
  opacity: 0;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  transition: all 0.3s;
}

.hover-bg:hover .hover-text > i {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}

.hover-bg:hover .hover-text {
  opacity: 1;
}

#portfolio i.fa {
  font-size: 20px;
  padding: 5px;
  color: #E87E04;
}
/* Team Section */
#team {
  padding: 100px 0;
  color: rgba(255,255,255,0.9);
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#20a6bb+0,25bad0+50 */
  background: rgb(32,166,187); /* Old browsers */
  background: -moz-linear-gradient(top, rgba(32,166,187,1) 0%, rgba(37,186,208,1) 50%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(32,166,187,1) 0%, rgba(37,186,208,1) 50%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(32,166,187,1) 0%, rgba(37,186,208,1) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#20a6bb', endColorstr='#25bad0', GradientType=0 ); /* IE6-9 */
}

  #team h2 {
    color: rgba(255,255,255,0.8);
  }

  #team h3 {
    color: #0a4b55;
  }

img.img-circle.team-img {
  width: 160px;
  height: 160px;
}

#team .thumbnail {
  background: transparent;
  border: 0;
}

  #team .thumbnail .caption {
    padding: 9px;
    color: rgba(255,255,255,0.9);
  }
/* Contact Section */
#contact {
  background: url(../img/contact-bg.jpg) no-repeat center top;
  background-color: #7bc3d1;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

  #contact .overlay {
    padding: 100px 0 40px 0;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#053740+0,053740+100&1+0,0.75+100 */
    background: -moz-linear-gradient(top, rgba(5,55,64,1) 0%, rgba(5,55,64,0.75) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(5,55,64,1) 0%, rgba(5,55,64,0.75) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(5,55,64,1) 0%, rgba(5,55,64,0.75) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#053740', endColorstr='#bf053740', GradientType=0 ); /* IE6-9 */
  }

  #contact h3 {
    padding-top: 20px;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
  }

  #contact form {
    padding: 20px 0;
  }

  #contact i.fa {
    color: #121d1f;
    margin-bottom: 10px;
  }

  #contact .text-danger {
    color: #ff6600;
    text-align: left;
  }

label {
  font-size: 12px;
  font-weight: 400;
  float: left;
}

#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.42857143;
  color: #fff;
  background-color: rgba(255,255,255,0.2);
  background-image: none;
  border: 0;
  border-radius: 2px;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

  #contact .form-control:focus {
    border-color: inherit;
    outline: 0;
    -webkit-box-shadow: transparent;
    box-shadow: transparent;
  }

.form-control::-webkit-input-placeholder {
  color: #ccc;
}

.form-control:-moz-placeholder {
  color: #ccc;
}

.form-control::-moz-placeholder {
  color: #ccc;
}

.form-control:-ms-input-placeholder {
  color: #ccc;
}

#contact .btn {
  margin-top: 20px;
}

#contact .social {
  margin-top: 80px;
}

  #contact .social ul li {
    display: inline-block;
    margin: 0 20px;
  }

  #contact .social i.fa {
    font-size: 30px;
    padding: 4px 5px;
    color: #fff;
    transition: all 0.5s;
  }

    #contact .social i.fa:hover {
      color: #25BAD0;
    }
/* Footer Section*/
#footer {
  background: #03252b;
  padding: 25px 0 20px 0;
}

  #footer p {
    font-size: 13px;
  }

  #footer a {
    color: #aaa;
  }

    #footer a:hover {
      color: #25BAD0;
    }

/* Media Queries */
@media (max-width: 1024px) {
  .intro H1 {
    font-size: 42px;
  }

  header .intro-text {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  #about img {
    margin-bottom: 20px;
  }
}

.icon-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.rowp {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100%;
}

  .rowp .col-xs-6, .row .col-md-3 {
    flex: 0 0 50% !important; /* For mobile devices, it will take 50% width (2 items per row) */
  }

@media (min-width: 768px) {
  .rowp .col-md-3 {
    flex: 0 0 25% !important; /* For larger screens, it will take 25% width (4 items per row) */
  }
}