/*



*/

body {
		background: #ffffff;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
	}

html,body {
  width: 100%;
  overflow-x: hidden;
}

html {
  font-size: 100%;
}


/* Typography */
h1,h2,h3, .btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
}

h1 {
  font-weight: bold;
  font-size: 100px;
}

h2 {
	color: #666;
	font-size: 40px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: 8px;
	font-weight: bold;
}

#feature h2 {
	color: #FFF;
	font-size: 40px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: 8px;
	font-weight: bold;
}

#about h6 {
	color: #666;
	font-size: 30px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: 8px;
	font-weight: bold;
	margin-bottom: 10px;
}

#gallery h2 {
	margin-top: 10px;
}


#contact h2 {
  color: #ffffff;
}

h3 {
	color: #444;
	font-size: 20px;
	line-height: 26px;
	letter-spacing: 1px;
	padding-bottom: 5px;
}
#menu h3 {
	color: #555;
	padding-left: 10px;
	margin-top: 12px;
	margin-bottom: -5px;

}

#menu h5 {
	text-align: center;

}

#about h3 {
	padding-bottom: 10px;
}

}
#gallery h3 {
	padding-bottom: -50px;
}

h4 {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
}

p {
	font-size: 18px;
	letter-spacing: 0.8px;
	line-height: 28px;
	color: #666666;
}

#team .join-team p{
	color: #FFFFFF;
	font-weight: normal;
	font-size: 18px;
	line-height: 22px;
	padding-top: 3px;
}

a {
  text-decoration: none !important;
}
a:visited,
a:focus {
	outline: none;
	text-decoration: none !important;
	font-weight: bold;
}

.parallax-section {
  background-attachment: fixed !important;
  background-size: cover !important;
}

/* hover min css */
.hvr-bounce-to-bottom:before,
.hvr-bounce-to-top:before {
  background-color: #ffffff;
}


/* All Section styles */
#about,
#feature,
#video,
#menu,
#team,
#gallery,
#contact {
	color: #656565;
	padding-top: 50px;
	padding-bottom: 100px;
}

#feature,
#video,
#team,
#gallery,
#contact {
  text-align: center;
}

#feature {
	background-color: rgb(255,255,255);
	background-image: url(../images/Back.webp);
}

#team {
	background-color: rgb(210,210,210);
}

#menu {
	background-color: rgb(210,210,210);
}

/* section title */
.section-title {
	padding-bottom: 30px;
}
#about .section-title,
#menu .section-title {
	text-align: center;
	padding-bottom: 30px;
}
#contact .section-title {
  color: #f0f0f0;
}



/* Preloader section  */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.sk-spinner-pulse {
  width: 60px;
  height: 60px;
  background-color: #222;
  border-radius: 100%;
  -webkit-animation: sk-pulseScaleOut 1s infinite ease-in-out;
          animation: sk-pulseScaleOut 1s infinite ease-in-out; }

@-webkit-keyframes sk-pulseScaleOut {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0); }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 0; } }

@keyframes sk-pulseScaleOut {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0); }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 0; } }


/* Home section */
#home {
  color: #ffffff;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
        align-items: center;
  text-align: center;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

#home .gradient-overlay {
	opacity: 0.7;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100vh;
	background-position: left;
	background-color: #005eb8;
}

#home .btn {
	background: transparent;
	border: 3px solid #ffffff;
	color: #ffffff;
	font-size: 12px;
	letter-spacing: 2px;
	margin-top: 34px;
	text-transform: uppercase;
	padding-top: 13px;
	padding-right: 30px;
	padding-bottom: 13px;
	padding-left: 30px;
}
#home .btn:hover,
#home .btn:focus {
	color: #000000;
}


/* Navigation section */
.navbar-default {
	background: rgb(255,255,255);
	box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.04);
	margin: 0 !important;
	background-color: #FFF;
	background-position: 0%;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-bottom-color: #999;
}

.navbar-default .navbar-brand {
	color: #505050;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: 2px;
	line-height: 40px;
	margin: 0;
}

.navbar-default .navbar-nav li a {
	color: #666666;
	font-size: 19px;
	font-weight: bold;
	line-height: 50px;
	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.navbar-default .navbar-nav > li a:hover {
	color: #006BD7 !important;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	color: #66B6FF;
	background-color: transparent;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
	color: #CCCCCC;
	background-color: transparent;
}

.navbar-default .navbar-toggle {
	border: none;
	padding-top: 10px;
  }

.navbar-default .navbar-toggle .icon-bar {
    border-color: transparent;
  }

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { 
  background-color: transparent;
}



/* Feature section */
#feature .feature-thumb {
	background-color: #ffffff;
	position: relative;
	padding: 40px;
	margin-top: 30px;
	margin-bottom: 40px;
	height: 400px;
	border-radius: 10px;
}
#feature .feature-icon {
	background: #0078d7;
	width: 85px;
	height: 85px;
	margin: 0 auto;
	top: 0;
	margin-top: -70px;
	margin-bottom: 10px;
	position: relative;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	border-radius: 50%;
	display: table;
	text-align: center;
	transition: all 0.4s ease-in-out;
}
#feature .feature-icon:hover {
	background-color: #666666;
}
#feature .feature-icon span {
  display: table-cell;
  vertical-align: middle;
}
#feature .feature-icon .fa {
	color: #ffffff;
	font-size: 36px;
	margin: 0;
	padding: 0;
	font-family: FontAwesome;
}

#feature p {
	font-size: 14px;
        padding-top: 5px;
        padding-bottom: -25px;
}

#feature h3 {
	color: #333333;
	padding-bottom: -10px;
}
#feature h4 {
	color: #FFFFFF;
	font-weight: Bold;
	margin-bottom: -15px;
}


/* About section  */
#about .col-md-4 ul {
  padding-top: 4px;
  padding-left: 28px;
}

#about .col-md-4 ul li {
  color: #777;
  font-size: 18px;
  font-weight: 400;
  padding-top: 2px;
  padding-bottom: 2px;
}



/* Video section  */
#video {
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center center;
	position: relative;
	color: #999;
	background-attachment: fixed;
	background-image: url(../images/video-bg.jpg);
	background-repeat: repeat-y;
}

#video .overlay {
  background: rgba(03,03,03,0.6);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

#video h2 {
  color: #ffffff;
  padding-top: 20px;
  padding-bottom: 16px;
}

#video .fa {
  position: relative;
  border: 2px solid #ffffff;
  border-radius: 100px;
  color: #ffffff;
  font-size: 28px;
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  vertical-align: middle;
  margin-top: 22px;
}



/* Menu section */
#menu .media {
	background-color: rgb(235,235,235);
	border-radius: 4px;
}

#menu .media-object img {
	width: 60px;
	height: 50px;
	position: relative;
	object-fit: cover;
	border-radius: 4px;
	margin-right: 10px;
	padding: 2px;
	border-bottom-style: none;
	border-top-style: none;
	border-right-style: none;
	border-left-style: none;
	
}

#menu .media-object span.menu-price {
	position: absolute;
	background-color: #FFFFFF;
	color: #222;
	font-size: 20px;
	font-weight: bold;
	padding: 6px 20px;
	top: 50%;
	left: 3%;
}




/* Team section */
#team h3 {
  padding-bottom: 0px;
}

#team .team-des h4 {
	color: #666;
	padding-top: 0px;
	padding-bottom: 10px;
	padding-right: 10px;
	padding-left: 10px;
}

#team img {
  width: 100%;
}

#team .team-thumb {
  width: 100%;
  position: relative;

}

#team .team-des {
	background: #ffffff;
	box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.04);
	position: absolute;
	bottom: 0px;
	width: 100%;
	height: 80px;
	overflow: hidden;
	transition: height 450ms;
}
#team .team-thumb:hover .team-des {
	color: #ffffff;
	height: 100%;
	background-color: #005eb8;
	padding-top: 32%;
	opacity: 0.9;
	border-radius: 4px;
}
#team .team-thumb:hover h3,
#team .team-thumb:hover h4,
#team .team-thumb:hover .social-icon li a {
  color: #eee;
}

#team .join-team {
	aspect-ratio: 1 / 1;
	background-color: #005eb8;
	color: #f0f0f0;
	padding: 20px 15px;
	text-align: center;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-radius: 4px;

}
#team .join-team .fa {
  font-size: 32px;
  padding-bottom: 14px;
}
#team .join-team .btn {
	background-color: transparent;
	border: 3px solid #ffffff;
	color: #ffffff;
	font-size: 18px;
	margin-top: 10px;
	margin-bottom: 1px;
	padding-top: 6px;
	padding-right: 26px;
	padding-bottom: 6px;
	padding-left: 26px;
}
#team .join-team .btn:hover {
  color: #222;
}

#team .col-md-6 {
  padding-top: 62px;
}
#team .col-md-6 h2 {
  padding-bottom: 16px;
}



/* Gallery section */
#gallery .gallery-thumb {
	position: relative;
	overflow: hidden;
	margin: 0;
} 

#gallery .gallery-thumb .gallery-overlay {
	background: #c21500;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	background-color: #005eb8;
	border-radius: 4px;
}

#gallery .gallery-thumb:hover .gallery-overlay {
    opacity: 0.9;
}

#gallery .gallery-thumb .gallery-overlay .gallery-item {
    text-align: center;
    position: absolute;
    top:50%;
    left: 50%;
    -webkit-transform:translate(-50%,-50%);
      -ms-transform:translate(-50%,-50%);
          transform:translate(-50%,-50%);
}

#gallery .gallery-thumb .fa {
  background: #ffffff;
  border-radius: 100%;
  font-size: 24px;
  color: #222;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  vertical-align: middle;
}

/*filter css*/
.filter-wrapper {
	width: 100%;
	margin-bottom: 20px;
	overflow: hidden;
}

.filter-wrapper li {
    display: inline-block;
    margin: 4px;
}

.filter-wrapper li a {
	color: #666;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 2px;
	margin-right: 2px;
	margin-left: 2px;
	text-transform: uppercase;
	display: block;
	text-decoration: none;
	-webkit-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	padding-top: 8px;
	padding-right: 15px;
	padding-bottom: 8px;
	padding-left: 17px;
}
.filter-wrapper li a:hover,
.filter-wrapper li a:focus {
	color: #005eb8;
}

/*isotope box css*/
.iso-box-section {
    width: 100%;
}

.iso-box-section h3 {
	font-size: 15px;    
}


.iso-box-wrapper {
    width: 100%;
    padding: 0;
    clear: both;
    position: relative;
}

.iso-box {
	position: relative;
	min-height: 50px;
	float: left;
	overflow: hidden;
	margin-bottom: 20px;
}

.iso-box > a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
} 

.fluid-img {
	display: block;
	width: 100%;
	object-fit: cover;
	height: 80px;
	border-radius: 4px;
}


/* Contact section  */
#contact {
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center center;
	position: relative;
	background-attachment: fixed;
	background-image: url(../images/contact-bg.jpg);
	background-repeat: repeat-y;
}

#contact .overlay {
  background: rgba(0,0,0,0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

#contact .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid #666;
  border-radius: 0px;
  box-shadow: none;
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 16px;
  transition: all 0.4s ease-in-out;
}

#contact .form-control:hover {
  border-color: #ddd;
}

#contact input {height: 45px;}

#contact input[type='submit'] {
	background: #ffffff;
	border-radius: 4px;
	color: #000000;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 2px;
	height: 50px;
	margin-top: 20px;
	transition: all 0.4s ease-in-out;
}
#contact input[type='submit']:hover {
	background-color: #333333;
	border-color: transparent;
	color: #ffffff;
}


/* Footer section  */
footer {
	color: #000000;
	padding-top: 40px;
	padding-bottom: 50px;
	background-color: #0078D7;
}

footer p{
	color: #FFF;
}


footer h3 {
	color: #CCCCCC;
	text-transform: uppercase;
	padding-bottom: 14px;
}

footer strong {
  color: #f0f0f0;
  font-size: 20px;
  display: block;
  padding-top: 6px;
  padding-bottom: 2px;
}


/* copyright section  */
#copyright p {
	padding: 20px;
}

.gototop {
	background-color: #242424;
	color: #ffffff;
	font-size: 40px;
	text-align: right;
	transition: all 0.4s ease-in-out;
	padding-top: 20px;
	padding-right: 32px;
	padding-bottom: 20px;
	padding-left: 32px;
}
.gototop:hover {
	background-color: #005eb8;
	color: #fff;
}

/* social icon section  */
.social-icon {
  padding: 0;
  margin: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
}

.social-icon li a {
  border-radius: 100px;
  color: #626262;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  margin-bottom: 12px;
  margin-right: 10px;
}

.social-icon li a:hover {
  background: #111;
  color: #ffffff;
}



/* Mobile Responsive */
@media (max-width: 980px) {

  #home {
    height: 65vh;
  }

  #feature .col-md-4:last-child,
  #about .col-md-4 {
    margin-top: 42px;
  }

  #team .team-thumb {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  #team .join-team {
    padding: 71px 50px;
    margin-top: 10px;
  }

}


@media (max-width: 900px) {

  h1 {font-size: 70px;}

}


@media (max-width: 768px) {

  .navbar-default .navbar-brand {
    line-height: 46px;
  }

}

@media (max-width: 767px) {

  .navbar-default .navbar-brand {
    line-height: 15px;
  }
  .navbar-default .navbar-nav li a {
    line-height: 30px;
  }

  #feature .col-md-4,
  #about .col-md-5,
  footer .col-md-4 {
	padding-top: 10px;
	padding-bottom: -15px;
	height: auto;
  }

  .filter-wrapper {
    padding: 0px;
  }

}

@media (max-width: 650px) {

  #home {
    height: 100vh;
  }

  h1 {
    font-size: 60px;
  }
  h2 {
	font-size: 30px;
  }

  #feature {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  #about,
  #feature,
  #video,
  #menu,
  #team,
  #gallery,
  #contact {
	padding-top: 40px;
	padding-bottom: 80px;
  }

  #menu .media-object img {
    width: 40px;

  }
  #menu .media-object span.menu-price {
    top: 30%;
    left: 6%;
  }

  footer {text-align: center;}

}

/* Performance-safe enhancements: preserve the original layout and transitions. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}


/* Keep the brochure button in its normal visual state after mouse activation. */
.join-team .hvr-bounce-to-bottom:focus {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

/* Mobile layout refinements: desktop remains unchanged. */
@media (max-width: 767px) {
  /* Follow Us: keep the four tiles compact in a 2 x 2 grid on phones. */
  #team > .container > .row > .col-md-3.col-sm-6 {
    width: 50%;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
  }

  #team .team-thumb {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  /* Services: one card per row, with only enough height for its content. */
  #feature .col-md-4.col-sm-6 {
    width: 100%;
    float: none;
    padding-left: 15px;
    padding-right: 15px;
  }

  #feature .feature-thumb {
    height: auto;
    min-height: 0;
    padding: 28px 24px 18px;
    margin-top: 30px;
    margin-bottom: 28px;
  }

  #feature .feature-thumb h3 {
    margin-bottom: 12px;
  }

  #feature .feature-thumb p {
    margin-bottom: 0;
  }
}

/* v7 narrow-mobile refinements: desktop/tablet layout remains unchanged. */
@media (max-width: 767px) {
  /* Keep the brochure tile proportional and prevent text/button overflow on narrow phones. */
  #team .join-team {
    padding: 18px 14px;
    min-height: 0;
    overflow: hidden;
  }

  #team .join-team p {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 10px;
  }

  #team .join-team .btn {
    font-size: 15px;
    line-height: 1.25;
    padding: 6px 14px;
    white-space: normal;
  }

  /* Give gallery thumbnails a real gutter so adjacent images cannot touch or overlap. */
  #gallery .iso-box {
    width: 50%;
    box-sizing: border-box;
    padding: 0 6px;
    margin-bottom: 12px;
  }

  #gallery .gallery-thumb {
    width: 100%;
  }

  #gallery .fluid-img {
    width: 100%;
    height: 100px;
  }
}

@media (max-width: 420px) {
  #team .join-team {
    padding: 14px 10px;
  }

  #team .join-team p {
    font-size: 14px;
    line-height: 1.35;
  }

  #team .join-team .btn {
    font-size: 14px;
    padding: 6px 10px;
  }

  /* On very narrow phones, one clean thumbnail per row is more readable than cramped pairs. */
  #gallery .iso-box {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  #gallery .fluid-img {
    height: auto;
    max-height: 180px;
  }
}

/* v8 desktop services: each row of three cards shares the height of the
   tallest card in that row, without forcing all nine cards to the same height. */
@media (min-width: 992px) {
  #feature .service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  #feature .service-grid > .col-md-4 {
    width: auto;
    float: none;
    display: flex;
    padding-left: 15px;
    padding-right: 15px;
  }

  #feature .service-grid .feature-thumb {
    height: auto;
    flex: 1 1 auto;
  }
}


/* v10 product hover: keep the thumbnail unchanged and show a separate magnified
   preview box only while the mouse is over the product image itself. */
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  #menu .media-object img {
    cursor: zoom-in;
  }

  .product-hover-zoom {
    position: fixed;
    z-index: 9999;
    width: 600px;
    height: 440px;
    box-sizing: border-box;
    overflow: hidden;
    border: 3px solid #ffffff;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #ffffff;
    background-size: contain;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: scale(.98);
    transition: opacity .12s ease, transform .12s ease;
  }

  .product-hover-zoom.is-visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }
}

/* Mobile Gallery: two thumbnails per row, with the compact desktop-style height. */
@media (max-width: 767px) {
  #gallery .iso-box {
    width: 50%;
    box-sizing: border-box;
    padding: 0 5px;
    margin-bottom: 10px;
  }

  #gallery .gallery-thumb {
    width: 100%;
    overflow: hidden;
  }

  #gallery .fluid-img {
    display: block;
    width: 100%;
    height: 80px;
    object-fit: cover;
  }

  /* Keep the mobile gallery captions compact so the two-column rhythm stays clean. */
  #gallery .iso-box > h3 {
    font-size: 15px;
    line-height: 20px;
    margin-top: 7px;
    margin-bottom: 4px;
  }
}

/* Even on very narrow phones, keep the requested two-wide gallery layout. */
@media (max-width: 420px) {
  #gallery .iso-box {
    width: 50%;
    padding-left: 4px;
    padding-right: 4px;
    margin-bottom: 9px;
  }

  #gallery .fluid-img {
    height: 75px;
  }

  #gallery .iso-box > h3 {
    font-size: 14px;
    line-height: 18px;
    margin-top: 6px;
  }
}

/* Mobile Follow Us: make the four tiles feel balanced and give the text enough room
   without making the cards excessively tall. */
@media (max-width: 767px) {
  #team > .container > .row > .col-md-3.col-sm-6 {
    width: 50%;
    float: left;
    padding-left: 7px;
    padding-right: 7px;
  }

  #team .team-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-top: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 4px;
  }

  #team .team-thumb > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #team .team-des {
    height: 68px;
    box-sizing: border-box;
    padding: 7px 5px 4px;
  }

  #team .team-des h3 {
    font-size: 17px;
    line-height: 21px;
    margin: 0 0 2px;
    padding: 0;
  }

  #team .team-des h4 {
    font-size: 11px;
    line-height: 15px;
    letter-spacing: 1px;
    margin: 0;
    padding: 0 3px 3px;
  }

  #team .social-icon li a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    margin-right: 5px;
    margin-bottom: 3px;
  }

  #team .join-team {
    aspect-ratio: 1 / 1;
    width: 100%;
    min-height: 0;
    padding: 12px 9px;
    margin-top: 8px;
    margin-bottom: 8px;
    box-sizing: border-box;
    justify-content: center;
  }

  #team .join-team p {
    font-size: 13px;
    line-height: 17px;
    letter-spacing: 0.4px;
    margin: 0 0 7px;
  }

  #team .join-team .btn {
    font-size: 13px;
    line-height: 18px;
    margin-top: 3px;
    padding: 5px 9px;
    border-width: 2px;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  #team > .container > .row > .col-md-3.col-sm-6 {
    padding-left: 5px;
    padding-right: 5px;
  }

  #team .team-thumb,
  #team .join-team {
    margin-top: 6px;
    margin-bottom: 6px;
  }

  #team .team-des {
    height: 64px;
    padding-top: 6px;
  }

  #team .team-des h3 {
    font-size: 15px;
    line-height: 19px;
  }

  #team .team-des h4 {
    font-size: 10px;
    line-height: 13px;
  }

  #team .social-icon li a {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 15px;
    margin-right: 3px;
  }

  #team .join-team {
    padding: 9px 7px;
  }

  #team .join-team p {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 6px;
  }

  #team .join-team .btn {
    font-size: 12px;
    line-height: 16px;
    padding: 4px 7px;
  }
}

/* Mobile Follow Us: show the information panels in their active/selected state
   so the links are immediately visible and easy to select on touch screens. */
@media (max-width: 767px) {
  #team .team-thumb .team-des {
    height: 100%;
    background-color: #005eb8;
    color: #ffffff;
    padding-top: 25%;
    opacity: 0.9;
    border-radius: 4px;
    box-sizing: border-box;
    transition: none;
  }

  #team .team-thumb .team-des h3,
  #team .team-thumb .team-des h4 {
    color: #ffffff;
  }

  #team .team-thumb .team-des h3 {
    font-size: 19px;
    line-height: 23px;
  }

  #team .team-thumb .team-des h4 {
    font-size: 12px;
    line-height: 16px;
  }

  /* Twice the normal mobile icon size, ready for touch selection. */
  #team .team-thumb .social-icon li a {
    width: 56px;
    height: 56px;
    line-height: 56px;
    font-size: 30px;
    margin-right: 6px;
    margin-bottom: 4px;
    color: #eeeeee;
    background: transparent;
  }

  #team .team-thumb .social-icon li a:hover,
  #team .team-thumb .social-icon li a:focus {
    background: #111111;
    color: #ffffff;
  }
}


/* v14 mobile Follow Us refinements: keep the Online logos in one row and
   make the Gallery call-to-action compact. Desktop remains unchanged. */
@media (max-width: 767px) {
  #team .team-online-tile .social-icon {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
  }

  #team .team-online-tile .social-icon li {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
  }

  #team .team-online-tile .social-icon li a {
    display: block;
    width: 56px;
    height: 56px;
    line-height: 56px;
    margin: 0 2px 4px;
    font-size: 30px;
  }

  #team .team-gallery-tile .team-des {
    padding-left: 4px;
    padding-right: 4px;
  }

  #team .team-gallery-tile .social-icon li a {
    width: auto;
    min-width: 0;
    height: auto;
    line-height: 20px;
    margin: 0;
    padding: 2px 5px;
    font-size: 16px;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  #team .team-online-tile .social-icon li a {
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-left: 1px;
    margin-right: 1px;
    font-size: 27px;
  }

  #team .team-gallery-tile .social-icon li a {
    font-size: 15px;
    line-height: 19px;
    padding-left: 3px;
    padding-right: 3px;
  }
}


/* v36: vertically centre the Gallery call-to-action on mobile. */
@media (max-width:767px){
  #team .team-gallery-tile .team-des{
    display:flex!important; flex-direction:column!important; justify-content:center!important;
    align-items:center!important; padding:0 4px!important; box-sizing:border-box!important;
  }
  #team .team-gallery-tile .team-des h4{
    width:100%!important; margin:0!important; padding:0 3px 4px!important; box-sizing:border-box!important;
    text-align:center!important;
  }
  #team .team-gallery-tile .social-icon{
    width:100%!important; margin:0!important; padding:0!important; text-align:center!important;
  }
  #team .team-gallery-tile .social-icon li{display:block!important; margin:0!important; padding:0!important; text-align:center!important;}
  #team .team-gallery-tile .social-icon li a{display:inline-block!important; margin:0!important;}
}


#about .online-brochure-cta {
  display: block !important;
  width: 100% !important;
  max-width: 430px !important;
  height: auto !important;
  margin: 0 0 0 auto !important;
}
@media (max-width: 1024px) {
  #about .online-brochure-cta-row {
    top: 0 !important;
    margin-top: -8px !important;
    margin-bottom: 0 !important;
    text-align: center !important;
  }
  #about .online-brochure-cta-row > div {
    float: none !important;
    margin-left: 0 !important;
    width: 100% !important;
  }
  #about .online-brochure-cta {
    margin: 0 auto !important;
  }
}


/* Online brochure button: stable desktop placement and a clean stacked tablet/mobile layout. */
#about .online-brochure-cta-row {
  clear: both;
  position: relative;
  top: -110px;
  margin-top: 0;
  margin-bottom: -110px;
  z-index: 5;
}
#about .online-brochure-cta {
  display: block;
  width: 100%;
  max-width: 430px;
  height: auto;
  margin: 0 0 0 auto;
}
@media (max-width: 1199px) {
  #about .online-brochure-cta-row {
    top: 0;
    margin-top: -8px;
    margin-bottom: 0;
  }
  #about .online-brochure-cta-row > div {
    float: none;
    width: 100%;
    margin-left: 0;
  }
  #about .online-brochure-cta {
    margin: 0 auto;
  }
}

/* Restore the original grey colour for the About Us section headings only. */
#about .section-title h2,
#about .section-title h3,
#about h6 { color: #666666; }


/* About Us body copy only: black text, while headings retain their original grey. */
#about p { color: #000000; }


/* Our Services: use consistent black text across all nine service cards. */
#feature .service-grid .feature-thumb p {
  color: #000000;
}
