/*

Template 2087 Kalay - Modified for Justice Skinner Therapy

*/

@import url('https://fonts.googleapis.com/css?family=Poppins:300,400');

body {
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: normal;
    overflow-x: hidden;
}

html, body {
  width: 100%;
  height: 100%;
}

/*---------------------------------------
  Typography              
-----------------------------------------*/

h1,h2,h3,h4,h5,h6 {
  font-style: normal;
  font-weight: bold;
  letter-spacing: 0px;
}

h1 {
  color: #ffffff;
  font-size: 45px;
  line-height: normal;
}

h2 {
  color: #2b2b2b;
  font-size: 35px;
  line-height: 52px;
  margin-top: 0px;
}

h3 {
  color: #282828;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 6px;
  text-transform: uppercase;
}

h4 {
  color: #353535;
  font-size: 20px;
}

p {
  color: #878787;
  font-size: 16px;
  font-weight: normal;
  line-height: 25px;
  letter-spacing: 0.2px;
}

.bg-grey {
  background: #2b2b2b !important;
}

.white-color {
  color: #f0f0f0;
}

/*---------------------------------------
  Buttons               
-----------------------------------------*/

.section-btn {
  background: #000000;
  border: none;
  border-radius: 50px;
  color: #f0f0f0;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.5px;
  padding: 18px 32px;
  margin-top: 42px;
  text-transform: uppercase;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.section-btn:focus,
.section-btn:hover {
  background: #ffffff;
  color: #000000;
}

/*---------------------------------------
  General               
-----------------------------------------*/

html{
  -webkit-font-smoothing: antialiased;
}

a {
  color: #757557;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}

a:hover, a:active, a:focus {
  color: #000000;
  outline: none;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

.section-title {
  margin: 0;
  padding-bottom: 32px;
}

#service, #about, #work,
#contact, footer {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}

#service, #work {
  background: #f2ddd6;
  text-align: center;
}

/*---------------------------------------
  Pre loader 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;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 65px;
  height: 65px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid #454545;
  border-top-color: #ffffff;
  animation: spinner .9s linear infinite;
}

@-webkit-@keyframes spinner {
  to {transform: rotate(360deg);}
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}

/*---------------------------------------
  Acuity Booking Bar              
-----------------------------------------*/

.acuity-booking-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 15px;
}

.acuity-embed-button {
  background: #f2ddd6;
  color: #592C34;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.acuity-embed-button:hover {
  background: #ffffff;
}

.schedule-btn {
  display: inline-block;
  background: #592C34;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.schedule-btn:hover {
  background: #7a3d48;
  color: #ffffff;
}

/*---------------------------------------
  Navigation             
-----------------------------------------*/

.navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: bold;
  color: #592C34;
}

.navbar-toggle {
  border: none;
  background: transparent;
  margin-top: 12px;
}

.navbar-toggle .icon-bar {
  background: #592C34;
  height: 3px;
}

.navbar-nav li a {
  color: #592C34;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 10px 15px;
}

.navbar-nav li a:hover {
  color: #7a3d48;
}
.navbar {
    top: 0; /* Will be adjusted by JS */
    transition: top 0.3s ease;
}

.acuity-booking-bar {
    z-index: 10000; /* Ensure it's above navbar */
}

body {
    padding-top: 0; /* Will be adjusted by JS */
}

/* Fix for mobile viewports */
@media (max-width: 576px) {
    .acuity-booking-bar {
        padding: 5px 10px;
    }
    
    .navbar {
        padding: 5px 0;
    }
}

/*---------------------------------------
  Home section              
-----------------------------------------*/

#home {
  background: url('../images/justice_skinner.jpg') 50% 0 fixed;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  height: 100vh;
  position: relative;
  text-align: right;
  padding-top: 60px; /* Added padding for fixed navbar */
}

.home-thumb {
  background: rgba(89, 44, 52, 0.7);
  border-radius: 5px;
  padding: 30px;
  max-width: 600px;
  margin-left: auto;
}

/*---------------------------------------
  Service section              
-----------------------------------------*/

.service-thumb {
  background: #ffffff;
  border-radius: 5px;
  padding: 42px 22px;
  cursor: crosshair;
  position: relative;
  top: 0;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
  margin-bottom: 30px;
  height: 100%;
}

.service-thumb:hover {
  background: #2b2b2b;
  top: -5px;
}

.service-thumb:hover .fa,
.service-thumb:hover h4 {
  color: #ffffff;
}

.service-thumb h4 {
  padding-bottom: 5px;
}

.service-thumb .fa {
  color: #592C34;
  font-size: 62px;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 22px;
}

/*---------------------------------------
  About section              
-----------------------------------------*/

#about {
  padding-top: 100px;
}

.about-image-thumb img {
  border-radius: 5px;
  margin-bottom: 22px;
  max-width: 100%;
  height: auto;
}

.about-image-thumb .social-icon li a {
  background: #f0f0f0;
}

.about-thumb {
  padding: 32px 12px;
}

.about-thumb p {
  padding: 2px 0;
}

/*---------------------------------------
  Work section              
-----------------------------------------*/

.work-thumb {
  margin: 22px 0 12px 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  text-align: left;
}

.work-thumb img {
  border-radius: 5px;
  width: 100%;
  height: auto;
}

.rates-info {
  background: #ffffff;
  border-radius: 5px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: left;
}

/*---------------------------------------
  Contact section              
-----------------------------------------*/

.contact-info {
  background: #ffffff;
  border-radius: 5px;
  padding: 30px;
  margin-bottom: 30px;
}

.contact-info .fa {
  padding-right: 5px;
  color: #592C34;
}

/*---------------------------------------
  Footer section              
-----------------------------------------*/

footer {
  background: #000;
  text-align: center;
  padding: 50px 0;
}

footer p {
  padding-bottom: 16px;
}

.rcc-logo img {
  max-width: 200px;
  height: auto;
  margin: 20px auto;
}

/*---------------------------------------
  Social icon             
-----------------------------------------*/

.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
  text-align: center;
}

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

.social-icon li a {
  background: #ffffff;
  border-radius: 100%;
  color: #454545;
  cursor: pointer;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  vertical-align: middle;
  position: relative;
  top: 0;
  margin: 0px 6px 10px 6px;
}

.social-icon li a:hover {
  background: #000000;
  color: #ffffff;
  transform: scale(1.1);
  top: -5px;
}

/*---------------------------------------
  Mobile Responsive styles              
-----------------------------------------*/

@media (max-width: 1200px) {
  .home-thumb {
    padding: 25px;
  }
  
  h1 {
    font-size: 38px;
  }
}

@media (max-width: 992px) {
  #home {
    text-align: center;
    padding-top: 80px;
  }
  
  .home-thumb {
    margin: 0 auto;
    text-align: center;
  }
  
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
    line-height: 38px;
  }
}

@media (max-width: 768px) {
  #home {
    height: auto;
    min-height: 85vh;
    padding-top: 60px;
    padding-bottom: 60px;
    background-attachment: scroll;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    border-top: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .navbar-nav {
    margin: 0;
    padding: 10px 0;
  }
  
  .navbar-nav li {
    padding: 5px 15px;
  }
  
  .home-thumb {
    max-width: 90%;
    padding: 20px;
  }
  
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
    line-height: 34px;
  }
  
  .service-thumb, 
  .about-thumb, 
  .work-thumb, 
  .contact-info {
    margin-bottom: 20px;
  }
  
  .about-image-thumb img {
    width: 80%;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 576px) {
  #home {
    min-height: 100vh;
  }
  
  .acuity-booking-bar {
    flex-direction: column;
    padding: 5px;
  }
  
  .acuity-embed-button {
    margin-top: 5px;
    font-size: 14px;
    padding: 6px 12px;
  }
  
  .home-thumb {
    max-width: 100%;
    padding: 15px;
  }
  
  h1 {
    font-size: 24px;
  }
  
  h2 {
    font-size: 22px;
    line-height: 30px;
  }
  
  p {
    font-size: 14px;
    line-height: 22px;
  }
  
  .section-btn {
    font-size: 11px;
    padding: 12px 20px;
    margin-top: 20px;
  }
  
  footer {
    padding: 30px 0;
  }
}

@media (max-width: 320px) {
  .home-thumb {
    padding: 10px;
  }
  
  h1 {
    font-size: 22px;
  }
}