/* ============================================
   P2P Speech Solutions — Custom Styles
   ============================================ */

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

html {
  font-size: 1em;
  scroll-behavior: smooth;
}

body {
  background-color: white;
  font-family: Raleway;
  font-weight: 400;
  line-height: 1.45;
  color: #333;
  margin: 0;
  padding: 0;
}

p {
  margin-bottom: 1.3em;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: inherit;
  line-height: 1.2;
}

h1 {
  margin-top: 0;
  font-size: 3.063em;
  font-weight: 700;
}

h2 {
  font-size: 2.1em;
  font-weight: 700;
}

h3 {
  font-size: 1.75em;
}

h4 {
  font-size: 1.414em;
}

h5 {
  font-size: 0.875em;
}

small, .font_small {
  font-size: 0.707em;
}

.heading {
  font-weight: 700;
}

.sub-heading {
  font-weight: 300;
}

.italics {
  font-style: italic;
}

@media (max-width: 768px) {
  h1 { font-size: 2.25em; }
  h2 { font-size: 1.75em; }
  h3 { font-size: 1.5em; }
}

@media (max-width: 392px) {
  h1 { font-size: 1.75em; }
}

/* --- Sticky Header --- */

.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1030;
}

.site-header.scrolled .navigation-brand {
  max-height: 60px;
}

/* --- Navigation --- */

.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 0;
}

.navbar-toggler {
  border: none;
  margin: 8px auto;
}

.navbar .navbar-collapse {
  padding: 0 8em;
}

.navbar .navbar-nav .nav-link {
  color: #726789;
  font-size: 14px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus {
  color: #639d47;
  background-color: transparent;
}

.nav, .navbar-nav {
  text-transform: uppercase;
  font-weight: 700;
}

.navbar-nav a {
  color: #726789;
}

.navbar-nav a:hover {
  color: #639d47;
}

.navbar-nav li a {
  line-height: 50px;
}

.nav-icon {
  font-size: 1.2em;
  display: inline-block;
  color: #726789;
  margin: 0 8px;
}

.nav-icon:hover {
  color: #639d47;
}

.nav-social-icons {
  flex-direction: row;
  align-items: center;
}

.navigation-brand {
  height: auto;
  max-height: 130px;
  width: auto;
  padding: 5px;
  margin-left: 60px;
  display: inline;
  transition: max-height 0.3s ease;
}

/* Center nav links between logo and social icons (desktop) */
@media (min-width: 577px) {
  .navbar .container-fluid {
    display: flex;
    align-items: center;
  }

  .navbar .navbar-collapse {
    display: flex !important;
    justify-content: center;
    flex: 1;
  }

  .nav-links-center {
    margin: 0 auto !important;
    flex: 0 0 auto;
  }

  .nav-social-icons {
    flex: 0 0 auto;
    margin-left: auto !important;
  }
}

/* Mobile nav */
@media (max-width: 965px) {
  .navigation-brand {
    display: none;
  }
}

@media (max-width: 886px) {
  .navbar {
    background-color: white;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* --- Footer --- */

footer {
  color: #828282;
  border-top: 2px solid #f3f3f3;
  background: #fbfbfb;
}

@media (max-width: 768px) {
  footer {
    text-align: center;
    padding: 1% 3%;
  }

  footer h5 {
    padding-top: 2em;
  }
}

.upper-footer {
  padding: 1%;
}

.upper-footer a {
  color: #828282;
  text-decoration: none;
}

.upper-footer a:hover {
  text-decoration: none;
  color: #1c1c1c;
}

.upper-footer .footer-about p {
  font-size: 0.9em;
}

.upper-footer .footer-about.col-sm-4 {
  text-align: center;
}

.upper-footer .footer-about .cta-button {
  margin-top: 1em;
  font-size: 0.85em;
  padding: 8px 16px;
}

.upper-footer .footer-about .asha-logo {
  display: block;
  max-width: 120px;
  height: auto;
  margin: 1.5em auto 0;
}

.upper-footer .footer-about .asha-logo + p {
  font-size: 0.85em;
}

.upper-footer .footer-icon {
  margin: 1% 1% 3%;
}

.lower-footer {
  text-align: center;
  border-top: 2px solid #f3f3f3;
  background: #f7f7f7;
  padding: 1%;
}

/* --- Hero Sections --- */

#hero {
  text-align: center;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

#hero .index-hero {
  background: url("../img/test.png") center center fixed;
  background-size: cover;
  padding-top: 40px;
}

#hero .index-hero h1 {
  font-weight: 700;
  font-size: 3.5em;
}

#hero .contact-hero {
  background: url("../img/HeroOrange.jpg") center center fixed;
  background-size: cover;
  padding: 2% 0 0;
  padding-top: 40px;
}

#hero .about-hero {
  background: url("../img/HeroBlue.jpg") center center fixed;
  background-size: cover;
  padding: 2% 0 0;
  padding-top: 40px;
}

#hero .services-hero {
  background: url("../img/HeroBlue.jpg") center center fixed;
  background-size: cover;
  padding: 2% 0 0;
  padding-top: 40px;
}

#hero .specialities-hero {
  background: url("../img/HeroBlue.jpg") top center fixed;
  background-size: cover;
  padding: 5% 0;
  padding-top: 40px;
}

#hero .resources-hero {
  background: url("../img/HeroPurple.jpg") center center fixed;
  background-size: cover;
  padding: 2% 0 0;
  padding-top: 40px;
}

#hero .contact-hero h1,
#hero .about-hero h1,
#hero .services-hero h1,
#hero .specialities-hero h1,
#hero .resources-hero h1 {
  padding-top: 0.5em;
}

#hero .contact-hero h3,
#hero .about-hero h3,
#hero .services-hero h3,
#hero .specialities-hero h3,
#hero .resources-hero h3 {
  padding: 2%;
}

#hero .container .hero-logoImage {
  height: auto;
  max-width: 200px;
  width: 40%;
}

#hero .container h3 {
  font-weight: 400;
}

#hero .container h4 {
  padding-top: 0.5em;
  letter-spacing: 1px;
}

#hero .container .hero-link {
  color: #fff;
}

#hero .container .hero-link:hover {
  text-decoration: none;
  color: #639d47;
}

#hero .container p {
  margin-top: 3em;
}

/* --- CTA Button --- */

.cta-button {
  border: 2px solid #fff;
  padding: 10px;
  margin: 1%;
  border-radius: 6px;
  color: #fff;
  font-size: 1.2em;
  transition: all .2s ease-in-out;
}

.cta-button:hover {
  transform: scale(1.05);
}

a.cta-button:hover {
  text-decoration: none;
  color: #fff;
}

/* --- Homepage: Intro Section --- */

#intro {
  padding: 5% 0 6%;
  border-top: 1px solid #f3f3f3;
}

#intro .intro-about .intro-about-main p {
  margin-top: 1em;
  line-height: 1.6;
}

#intro .intro-about .intro-about-aside {
  margin-top: 2%;
  text-align: center;
}

#intro .intro-about .intro-about-aside .profile-image {
  margin: 1%;
}

#intro .intro-about .intro-about-aside .intro-profile-h3 {
  margin-bottom: 5px;
}

#intro .intro-about .intro-about-aside .intro-profile-h4 {
  margin-bottom: 5px;
}

#intro .intro-about .intro-about-aside .asha-logo,
.asha-logo {
  margin-top: 2em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#intro .intro-about .intro-about-aside .team-link,
.team-link {
  color: #726789;
  font-size: 1.2em;
  margin: 4% 0;
  display: block;
  text-decoration: none;
}

#intro .intro-about .intro-about-aside .team-link:hover,
.team-link:hover {
  text-decoration: none;
  color: #639d47;
}

#intro .intro-disc {
  border-top: 2px solid #f3f3f3;
  background: #fbfbfb;
  padding: 3%;
}

#intro .intro-disc p {
  max-width: 60em;
  margin: 0 auto;
  padding: 1em;
}

#intro .intro-disc p:last-of-type {
  font-style: italic;
}

#intro .intro-about .intro-about-callout {
  border: 2px #000000;
}

#intro .intro-about .intro-about-callout p {
  margin-top: 1em;
  line-height: 1.6;
}

/* --- Homepage: Process Section --- */

#process .intro-process {
  padding: 2% 0 1%;
  text-align: center;
  background: #fbfbfb;
  border-top: 1px solid #f3f3f3;
}

#process .intro-process .subclass {
  font-weight: 400;
}

#process .intro-process h4 {
  font-weight: 700;
}

#process .intro-process img.icon {
  height: auto;
  max-height: 85px;
  margin: 5%;
}

#process .intro-process .process {
  border-right: 1px solid #f3f3f3;
  padding: 2%;
  margin-top: 1%;
}

#process .intro-process .process:last-of-type {
  border-right: none;
}

/* --- Homepage: CTA Bar --- */

#cta {
  text-align: center;
  background: #726789;
  color: #fff;
  padding: 3%;
}

#cta h4 {
  display: inline;
}

#cta a.cta-button:hover {
  text-decoration: none;
}

@media (max-width: 940px) {
  #cta {
    padding: 10%;
  }

  #cta .cta-button {
    display: block;
  }
}

/* --- Homepage: Services Section --- */

#services {
  text-align: center;
  padding: 5% 4% 6%;
  background: #fbfbfb;
  border-bottom: 1px solid #f3f3f3;
}

#services .row {
  padding-top: 5%;
}

#services .service-block {
  color: #fff;
  display: table;
  min-height: 550px;
  max-height: 850px;
  width: 100%;
  padding: 5%;
  transition: all .2s ease-in-out;
}

#services .service-block:hover {
  transform: scale(0.95);
}

#services .service-block h4 {
  display: table-cell;
  vertical-align: middle;
}

#services .service-block .hidden-service {
  display: none;
}

#services .RedBlock    { background: url("../img/ServicesRed.jpg"); background-size: cover; }
#services .OrangeBlock { background: url("../img/ServicesOrange.jpg"); background-size: cover; }
#services .GBlueBlock  { background: url("../img/ServicesBlueGreen.jpg"); background-size: cover; }
#services .PurpleBlock { background: url("../img/ServicesPurple.jpg"); background-size: cover; }
#services .GreenBlock  { background: url("../img/ServicesGreen.jpg"); background-size: cover; }
#services .YellowBlock { background: url("../img/ServicesBlue.jpg"); background-size: cover; }

#services .cta-button {
  color: #726789;
  border-color: #726789;
  display: inline-block;
  margin: 3% auto;
  min-width: 30%;
}

@media (max-width: 768px) {
  #services .row { padding-top: 0; }
  #services .service-block {
    margin-top: 10px;
    min-height: 0;
    max-height: 300px;
    padding: 1%;
  }
}

@media (max-width: 400px) {
  #services .service-block {
    margin-top: 10px;
    min-height: 0;
    max-height: 650px;
  }
}

/* --- Homepage: Specialties Section (inline) --- */

#specialities {
  text-align: center;
  background: url("../img/HeroGreen.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  padding: 5%;
}

#specialities .specialities-list {
  padding: 3% 0 1%;
}

#specialities .specialities-list li {
  font-weight: 400;
  margin-top: 10px;
}

#specialities .cta-button {
  display: inline-block;
  margin: 3% auto;
  min-width: 30%;
}

/* --- Homepage: Progression CTA --- */

#progression-cta {
  text-align: center;
}

#progression-cta .progression {
  margin: 5% auto;
  background: #726789;
  padding: 0;
}

#progression-cta .progression .progression-text {
  color: #fff;
  padding-top: 5%;
}

#progression-cta .progression .progression-text p {
  padding: 3em 3em 0;
}

#progression-cta .progression .progression-text .cta-button {
  display: inline-block;
  margin: 5% auto 0;
  width: 70%;
}

#progression-cta .progression .progression-image {
  width: 100%;
  height: auto;
  margin-left: 5%;
}

@media (max-width: 768px) {
  #progression-cta .progression .progression-text {
    padding: 5%;
  }

  #progression-cta .progression .progression-text p {
    margin-top: 0;
  }

  #progression-cta .progression .progression-text .cta-button {
    display: block;
    margin: 0 auto;
    width: 70%;
  }

  #progression-cta .progression .progression-image {
    display: none;
  }
}

/* --- Contact Page --- */

#contact {
  text-align: center;
  padding: 5%;
}

#contact .col-sm-2:hover {
  color: Orange;
}

#contact h4 {
  padding: 1% 0 3%;
}

#contact .fa-solid, #contact .fa-brands {
  font-size: 3em;
}

#contact p {
  font-weight: bold;
}

#contact a {
  color: #333;
}

#contact a:hover {
  text-decoration: none;
  color: Orange;
}

/* --- Contact: Hiring Section --- */

#hiring {
  text-align: center;
  background: url(../img/PurpleBackground.jpg) top center fixed;
  background-size: cover;
  color: #fff;
  padding: 10% 5%;
}

#hiring .row {
  padding-top: 5%;
}

#hiring .hiring-contact {
  display: inline-block;
  margin: 2%;
}

#hiring .fa-solid, #hiring .fa-brands {
  font-size: 3em;
}

#hiring a {
  color: white;
}

#hiring a:hover {
  text-decoration: none;
}

/* --- Services Page --- */

#services-main {
  text-align: center;
  padding: 5%;
}

#services-main .row {
  padding-top: 5%;
}

#services-main .service-block {
  color: #fff;
  padding: 5%;
  height: 600px;
  text-align: left;
}

#services-main .service-block h4 {
  text-align: center;
  padding-bottom: 2%;
}

#services-main .RedBlock    { background: url("../img/ServicesRed.jpg"); background-size: cover; }
#services-main .OrangeBlock { background: url("../img/ServicesOrange.jpg"); background-size: cover; }
#services-main .GBlueBlock  { background: url("../img/ServicesBlueGreen.jpg"); background-size: cover; }
#services-main .PurpleBlock { background: url("../img/ServicesPurple.jpg"); background-size: cover; }
#services-main .GreenBlock  { background: url("../img/ServicesGreen.jpg"); background-size: cover; }
#services-main .YellowBlock { background: url("../img/ServicesBlue.jpg"); background-size: cover; }

@media (max-width: 1010px) {
  #services-main .service-block {
    margin-top: 10px;
    height: 850px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  #services-main .row { padding-top: 0; }
  #services-main .service-block {
    margin-top: 10px;
    height: auto;
  }
}

/* --- About Page --- */

#intro-about {
  padding: 3% 0;
  text-align: center;
  background: #fbfbfb;
  border-top: 1px solid #f3f3f3;
  border-bottom: 1px solid #f3f3f3;
}

#main-about {
  padding: 3% 0;
  text-align: center;
}

#main-about .about-image {
  border: 2px solid #f3f3f3;
  border-radius: 100%;
  margin: 1%;
  width: 200px;
  height: auto;
}

#main-about .sub-heading {
  padding: 1% 0;
}

#main-about p {
  text-align: left;
  max-width: 50em;
  margin: 1em auto;
}

#main-about .profile-image {
  margin: 1%;
  width: 150px;
  height: auto;
}

.profile-image-circle {
  border-radius: 50%;
  object-fit: cover;
  width: 150px;
  height: 150px;
}

/* --- About: Testimonials --- */

#testimonials {
  padding: 3% 0;
  text-align: center;
}

#testimonials .testimonial-one {
  background: url("../img/testimonialBackgroundGreen.jpg") center center fixed;
  background-size: cover;
  color: white;
  margin: 2%;
  padding: 2% 3%;
}

#testimonials .testimonial-two {
  background: url("../img/testimonialBackgroundOrange.jpg") center center fixed;
  background-size: cover;
  color: white;
  margin: 2%;
  padding: 2% 3%;
}

/* --- Specialties Page --- */

#specialties-main {
  text-align: center;
  padding: 3% 0 5%;
}

#specialties-main h4.sub-heading {
  margin-bottom: 2em;
}

.specialities-button {
  display: block;
  margin: 1% auto 0;
  width: 50%;
  padding: 1%;
  background: #726789;
  color: #fff;
  border: 2px solid #726789;
  border-radius: 4px;
}

.specialities-button:active,
.specialities-button:hover,
.specialities-button:focus {
  border: 2px solid #fff;
}

@media (max-width: 768px) {
  .specialities-button {
    width: 80%;
    margin: 5% auto 1%;
  }
}

#articulation, #oral-motor, #phonological, #tongue, #apraxia,
#language, #preliteracy, #executive, #early, #stuttering,
#social, #autism, #aac > p {
  text-align: left;
  width: inherit;
  margin: 10px auto;
}

/* --- Resources Page --- */

#progression-chart {
  text-align: center;
}

#progression-chart h4.heading {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid white;
}

#progression-chart ul {
  padding-top: 2em;
}

#progression-chart .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

#progression-chart .six-months    { color: white; background: url("../img/Green1.jpg") center center fixed; background-size: cover; padding: 2%; }
#progression-chart .one-years     { color: white; background: url("../img/Green2.jpg") center center fixed; background-size: cover; padding: 2%; }
#progression-chart .two-years     { color: white; background: url("../img/GreenPurple.jpg") center center fixed; background-size: cover; padding: 2%; }
#progression-chart .three-years   { color: white; background: url("../img/Purple2.jpg") center center fixed; background-size: cover; padding: 2%; }
#progression-chart .four-years    { color: white; background: url("../img/Purple1.jpg") center center fixed; background-size: cover; padding: 2%; }

#progression-chart .links-container {
  text-align: center;
  padding: 2%;
}

#progression-chart .links-container a {
  display: block;
  margin: 0.5%;
  color: #726789;
}

#progression-chart .links-container a:hover {
  color: #639d47;
  text-decoration: none;
}

#more-resources {
  text-align: center;
  padding: 1% 0 2%;
}

#more-resources .resources-image {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

#more-resources .resources-link {
  display: block;
}
