/*
Theme Name: Body Rehab Physiotherapy Limited
Based on Fox template
*/

body {
  font-family: 'Lato', sans-serif;
  overflow-x: hidden; /* stop sideways scroll */
  background-color: #202220;
}


body .bg-img {
  background-repeat: no-repeat;
  background-position: center;
  padding-bottom: 100px;
}

.hero-banner-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 15px 60px;
}

body nav {
  background: rgba(64, 67, 50, 0.8); /* semi-transparent dark */
}

body nav .navbar-nav a {
  font-size: 16px;
  text-transform: uppercase;
  color: #BCB690 !important;
  transition: all 0.3s;
}

body nav .navbar-nav a:hover {
  color: #494B37 !important;
}

body nav .navbar-nav .btn-danger {
  background: #BCB690;
  border-color: #BCB690;
  border-radius: 0;
}

body nav .navbar-nav .btn-danger:hover {
  background: #494B37;
  border-color: #494B37;
}

a, a:hover {
  color: #BCB690;
}

/* ---------------- Banner ---------------- */
.fh5co-banner-text-box {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  padding: 30px 40px;
  background: rgba(32, 34, 32, 0.6); /* semi-transparent dark overlay */
  border-radius: 10px;
  max-width: 90%; /* responsive width */
  text-align: center;
}

.fh5co-banner-text-box .quote-box {
  max-width: 100%;
  padding: 10px 0;
}

.fh5co-banner-text-box .quote-box h2 {
  display: inline-block;       /* ensures span stays inside */
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2em;
  margin: 0;
  color: #BCB690;
  text-align: center;
  white-space: normal;         /* allows wrapping */
}

.fh5co-banner-text-box .quote-box h2 span {
  display: block;              /* puts span on new line */
  font-size: 42px;
  color: #404332;
  margin-top: 5px;
}

.fh5co-banner-text-box .quote-box::before,
.fh5co-banner-text-box .quote-box::after {
  display: none; /* hide original quote decorations */
}

.fh5co-banner-text-box a {
  color: #BCB690;
  border-color: #494B37;
  border-radius: 0;
  min-width: 150px;
}

.fh5co-banner-text-box a:hover {
  background: transparent;
  border-color: #282A25;
  color: #404332;
}

/* ---------------- Sections ---------------- */
.fh5co-network, .fh5co-about-us {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
	
}
.fh5co-network{
padding: 30px 0 50px 0;
}
.fh5co-about-us {
padding: 30px 0 350px 0;
}

.fh5co-network::before, .fh5co-about-us::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(32,34,32,0.5);
  z-index: 1;
}

.fh5co-network h2, .fh5co-about-us h2 {
  color: #BCB690;
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.fh5co-network h4, .fh5co-about-us h4,
.fh5co-network h5, .fh5co-about-us h5,
.fh5co-network p, .fh5co-about-us p {
  color: #BCB690;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.fh5co-network hr, .fh5co-about-us hr {
  border-color: #404332;
  border-width: 5px;
  max-width: 100px;
  margin-left: 0;
  border-radius: 5px;
  position: relative;
  z-index: 2;
}

.fh5co-about-us {
  background: transparent;
  background-size: cover;
  background-position: center;
}

.fh5co-about-us::before {
  background: rgba(32,34,32,0.35);
}

.fh5co-about-us p {
  color: #BCB690;
}

.fh5co-about-us a {
  color: #BCB690 !important;
  border-color: #494B37;
  border-radius: 0;
}

.fh5co-about-us a:hover {
  color: #404332;
  border-color: #282A25;
}

/* ---------------- Content Boxes ---------------- */
.fh5co-content-box {
  background: #404332;
  padding-bottom: 100px;
}

.fh5co-content-box img {
  width: 100%;
}

.fh5co-content-box .card-img-overlay {
  color: #BCB690;
  text-align: center;
  top: 35%;
}

.fh5co-content-box .trainers {
  position: relative;
  background-image: url("../images/pautama.png"); /* nearly opaque overlay dims the pautama graphic */
  background-size: stretch;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden; /* contain pseudo-element background */
}

/* Decorative borders */
.fh5co-content-box .trainers::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  bottom: -10px;
  border-top: 5px solid #404332;
  border-bottom: 5px solid #404332;
  pointer-events: none;
  z-index: 1;
}

.fh5co-content-box .trainers > * {
  position: relative;
  z-index: 2;
}

.fh5co-content-box .trainers .card {
  border: none;
  background: transparent;
}

.fh5co-content-box .trainers .card .card-body {
  background: rgba(73, 75, 55, 0.9);
  border-radius: 15px;
  padding: 30px 20px 50px 20px;
  margin-top: 30px;
  color: #BCB690;
  position: relative;
}

.fh5co-content-box .trainers .card .card-body::before {
  content: "";
  position: absolute;
  border: 20px solid transparent;
  border-bottom-color: rgba(73, 75, 55, 0.9);
  margin-top: -70px;
  margin-left: -15px;
}

.fh5co-content-box .trainers .team-heading {
  color: #BCB690;
  font-weight: 700;
  font-size: 40px;
  margin: 40px 0 20px;
}

.fh5co-content-box .trainers .team-divider {
  border-color: #404332;
  border-width: 5px;
  max-width: 100px;
  margin: 15px 0 40px;
  border-radius: 5px;
  margin-left: 0;
}

.gallery .card {
  border: none;
  background: transparent;
}

.gallery .card .card-body {
  background: rgba(188, 182, 144, 0.85);
  color: #202220;
}

.gallery .card .card-body h4 {
  color: #202220;
}

/* ---------------- Contact Section ---------------- */
.contact-section {
  background: #282A25;
  color: #BCB690;
}

.contact-section h2 {
  font-weight: 700;
  letter-spacing: 1px;
}

.contact-section hr {
  border-color: #494B37;
  border-width: 4px;
  border-radius: 5px;
  margin: 20px 0 30px;
  max-width: 80px;
}

.contact-section .lead {
  color: #BCB690;
}

.contact-section .contact-details li {
  margin-bottom: 12px;
}

.contact-section .contact-details strong {
  display: inline-block;
  min-width: 85px;
}

.contact-section .contact-actions .btn {
  border-radius: 0;
  border-color: #BCB690;
  color: #BCB690;
  transition: all 0.2s ease-in-out;
}

.contact-section .contact-actions .btn:hover,
.contact-section .contact-actions .btn:focus {
  background: #BCB690;
  color: #202220;
  text-decoration: none;
}

.contact-section .contact-form {
  background: rgba(32, 34, 32, 0.85);
  border: 1px solid #494B37;
  border-radius: 12px;
  padding: 35px;
  color: #BCB690;
}

.contact-section .contact-form h5 {
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.contact-section .form-control,
.contact-section .form-control:focus,
.contact-section .form-control:hover {
  background: #202220;
  border-color: #494B37;
  color: #BCB690;
}

.contact-section .form-control::placeholder {
  color: rgba(188, 182, 144, 0.6);
}

.contact-section .btn-dark {
  border-radius: 0;
  background: #494B37;
  border-color: #494B37;
}

.contact-section .btn-dark:hover,
.contact-section .btn-dark:focus {
  background: #BCB690;
  border-color: #BCB690;
  color: #202220;
}

/* ---------------- Footer ---------------- */
footer {
  background: #282A25;
  color: #BCB690;
  position: relative;
}

footer .footer-brand p {
  line-height: 1.6;
}

footer .footer-brand .btn {
  border-radius: 0;
  border-color: #BCB690;
  color: #BCB690;
}

footer .footer-brand .btn:hover,
footer .footer-brand .btn:focus {
  background: #BCB690;
  color: #202220;
}

footer .footer-links h5,
footer .footer-contact h5 {
  color: #BCB690;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

footer .footer-links ul {
  margin: 0;
  padding: 0;
}

footer .footer-links ul li {
  margin-bottom: 12px;
}

footer .footer-links a {
  color: #BCB690;
  text-decoration: none;
}

footer .footer-links a:hover,
footer .footer-links a:focus {
  color: #FFFFFF;
  text-decoration: none;
}

footer .footer-contact p {
  margin-bottom: 12px;
}

footer .footer-contact strong {
  display: inline-block;
  min-width: 90px;
}

footer .footer-contact .btn-secondary {
  background: #BCB690;
  border-color: #BCB690;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .footer-contact .btn-secondary:hover,
footer .footer-contact .btn-secondary:focus {
  background: #404332;
  border-color: #404332;
}

footer .footer-bottom {
  border-top: 1px solid #404332;
  margin-top: 40px;
  padding-top: 20px;
}

/* ---------------- Media Queries ---------------- */
@media (max-width: 1199px) {
  .fh5co-content-box .pr-0 img { margin-top: -107px; }
}

@media (max-width: 991px) {
  .fh5co-banner-text-box {
    padding: 20px 25px;
  }
  .fh5co-banner-text-box .quote-box h2 {
    font-size: 36px;
  }
  .fh5co-banner-text-box .quote-box h2 span {
    font-size: 30px;
  }
  .fh5co-content-box .pr-0 img { margin-top: -78px; }
  .fh5co-content-box .card-img-overlay { top: 20%; }
}

@media (max-width: 767px) {
  body nav .navbar-nav { margin-left: 0 !important; max-width: 50px; }
  .fh5co-banner-text-box {
    margin-top: 180px;
    padding: 15px 20px;
  }
  .fh5co-banner-text-box .quote-box h2 {
    font-size: 28px;
  }
  .fh5co-banner-text-box .quote-box h2 span {
    font-size: 24px;
  }
  .fh5co-network figure, .fh5co-about-us figure { margin-top: 0 !important; }
  .fh5co-content-box .pr-0 img { margin: 20px auto; }
  .fh5co-content-box .col-md-5, .fh5co-content-box .col-md-7 { padding: 0 !important; }
  .gallery .card { margin-bottom: 25px; }
  footer .footer-brand,
  footer .footer-links {
    margin-bottom: 30px;
  }

  .contact-section .contact-actions .btn {
    width: 100%;
  }
}
