/*----------------------------------------------------------------------------------------
  File:         home.css
  Author:       Sebastian Morgan, Julie Ragsdale
  Custodian:    Sebastian Morgan (sm@enpira.io), Julie Ragsdale (jr@enpira.io)
  Date Added:   2019-03-18
  Date Updated: 2020 
  Purpose:      Provides style markup for the homepage.
  Notes:        -
----------------------------------------------------------------------------------------*/

/* General styles */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 165%;
}

#numbers h3 {
  font-size: 48px;
}

.card-title {
  font-size: 24px !important;
}

.card-text {
  font-size: 18px !important;
}

.carousel-control-next,
.carousel-control-prev {
  filter: invert(65%);
}

ol.carousel-indicators {
  position: absolute;
  bottom: 0;
  margin: 0;
  left: 0;
  right: 0;
  width: auto;
}

ol.carousel-indicators li,
ol.carousel-indicators li.active {
  float: left;
  width: 12px;
  height: 12px;
  margin: 0 4px 4vh 4px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.5);
}

ol.carousel-indicators li.active {
  background: rgba(0, 0, 0, 0.5);
}

li {
  list-style: none;
}

/* color scheme */
.bgEnpiraBlue {
  background: #3e5aa8;
}

.bgEnpiraLightBlue {
  background: #8196cc;
}

.bgEnpiraDarkBlue {
  background: #2A2871;
}

.textEnpiraBlue {
  color: #3e5aa8;
}

.textEnpiraDarkBlue {
  color: #2A2871;
}

.bg-charcoal {
  background: #32373f;
}


/* Section 1: Header and branding */
.scrollBtn {
  position: absolute;
  bottom: 5vh;
}

.branding {
  background-image: url("/modules/homePage/images/00-background/bg-grid.svg");
  background-size: cover;
  background-position: left;
  color: #fff;
  height: 92vh;
  margin-bottom: 0;
  border-radius: 0;
  margin-top: 1vh;
}

#brandingText {
  /* margin-top: 5vh; */
}

.learnMoreBtn {
  color: #fff;
  background-color: #3d5ba9; 
  border: none;
}

.learnMoreBtn:hover {
  color: #fff;
  background-color: #4263b7;
}

.learnMoreBtn:focus {
  color: #fff;
  background-color: #4263b7;
}

.learnMoreBtn:active {
  color: #fff;
  background-color: #283578 !important;
}


/* Section 2: Services */
#whatWeDo,
#behindTheScenesContainer {
  justify-content: center;
}

.whatWeDo a {
  color: #333;
  text-decoration: none;
}

.whatWeDo .card {
  margin: 10px;
  -webkit-box-shadow: 0 7px 30px -10px rgba(150, 153, 180, 0.5);
  -moz-box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
  box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
  cursor: pointer;
  transition: .5s ease-in-out;
}

.whatWeDo:hover .card,
.whatWeDo:target .card,
.whatWeDo:active .card {
  opacity: 0.5;
  -webkit-box-shadow: 0 7px 30px -10px rgba(150, 153, 180, 0.5);
  -moz-box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
  box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
  transition: border .5s ease-in-out;
}

.whatWeDo .card:hover,
.whatWeDo .card:target,
.whatWeDo .card:active {
  opacity: 1;
  -webkit-box-shadow: 
      0  5px 10px rgba(42, 40, 113, 0.05),
      0 15px 40px rgba(166,173,201,0.2);
  -moz-box-shadow: 
      0  5px 10px rgba(42, 40, 113, 0.05),
      0 15px 40px rgba(166,173,201,0.2);
  box-shadow: 
      0  5px 10px rgba(42, 40, 113, 0.05),
      0 15px 40px rgba(166,173,201,0.2);
}

.whatWeDo .card > img,
#behindTheScenes .card > img {
  width: 12vw;
  margin: 0 auto;
}



/* Section 3: Case Studies */
#caseStudiesCarouselIndicators .carousel-item {
  /* height: 500px !important; */
  height: fit-content !important;
  padding: 4vh 36px;
}

#caseStudiesCarouselIndicators .card-title {
  font-size: 24px !important;
}

#caseStudiesCarouselIndicators .card-text {
  /* font-size: 20px !important; */
}

#caseStudiesCarouselIndicators {
  /* height: 50vh; */
}



/* Section 4: Behind the Scenes */
#behindTheScenes {
  padding: 4vh;
  padding-bottom: 4vh;
}

#behindTheScenesContainer .card {
  margin: 10px;
  -webkit-box-shadow: 0 7px 30px -10px rgba(150, 153, 180, 0.5);
  -moz-box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
  box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
}

/* Section 5: Testimonials */
#testimonials {
  background: #f5f6f7 !important;
}

#testimonialsCarouselIndicators .carousel-indicators {
  top: 100%;
}

#testimonialsCarouselIndicators .carousel-inner .card {
  -webkit-box-shadow: 0 7px 30px -10px rgba(150, 153, 180, 0.5);
  -moz-box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
  box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
}

.carousel-item p {
  font-size: 24px;
}


#numbers {
  height: fit-content;
  /* background: #32373f; */
}

#numbers .card {
  padding-top: 4vh;
  padding-bottom: 4vh;
  border: none;
  color: #fff;
}


footer > nav {
  height: 100px;
  /* background-image: url("/assets/images/enpiraFooterArtboard.png");
  background-position: center;
  background-size: contain;
  background-blend-mode: soft-light; */
}


/* Case Studies */
.caseStudiesContainer {
  padding-top: 4vh;
  padding-bottom: 4vh;
}

.caseStudiesContainer > .row {
  justify-content: space-evenly;
}

.caseStudiesCard {
  position: relative;
  transition: all 0.3s ease-in-out;
  -webkit-box-shadow: 0 7px 30px -10px rgba(150, 153, 180, 0.5);
  -moz-box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
  box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
  cursor: pointer;
}

.caseStudiesHoverDiv {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: #32373f;
  padding: 24px;
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
  overflow-y: hidden;
  color: #fff;
}

.caseStudiesCard:hover .caseStudiesHoverDiv,
.caseStudiesCard:active .caseStudiesHoverDiv {
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  overflow-y: scroll;
  -webkit-box-shadow: 
    0  5px 10px rgba(42, 40, 113, 0.05),
    0 15px 40px rgba(166,173,201,0.2);
  -moz-box-shadow: 
    0  5px 10px rgba(42, 40, 113, 0.05),
    0 15px 40px rgba(166,173,201,0.2);
  box-shadow: 
    0  5px 10px rgba(42, 40, 113, 0.05),
    0 15px 40px rgba(166,173,201,0.2);
}

#caseStudies {
  padding-top: 4vh;
  padding-bottom: 4vh;
}

.caseStudiesText {
  font-size: 16px;
  margin-top: 1vh;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.caseStudiesHoverDiv::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.caseStudiesHoverDiv {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}


/* Devices with a width of 1199px or smaller */
@media all and (max-width: 1199px) { 

  h1 {
    font-size: 55px !important;
  }

  h2 {
    font-size: 26px;
  }

  #numbers .card {
    padding-top: 2vh;
    padding-bottom: 2vh;
  }

  #numbers h3 {
    font-size: 40px;
  }

  #brandingText {
    margin-top: 0;
  }

  #caseStudies .carousel-item img {
    width: 33vw !important;
    margin: 0 auto;
  }

  #caseStudies .carousel-indicators {
    /* top: 40vh; */
  }

  .scrollBtn {
    margin-top: 42vh;
  }
}

/* Devices with a width of 991px or smaller */
@media all and (max-width: 991px) { 
  h1 {
    font-size: 42px !important;
  }

  h2 {
    font-size: 26px;
  }

  #numbers .card {
    padding-top: 2vh;
    padding-bottom: 2vh;
  }

  #brandingText {
    margin-top: 0;
  }
}

/* Devices with a width of 768px or smaller */
@media all and (max-width: 768px) {
  .branding {
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    height: 94vh;
    margin-top: 3vh;
  }
  
  h1 {
    font-size: 40px !important;
  }

  h2 {
    font-size: 28px;
  }

  #services .card {
    margin: 18px auto;
    width: 85vw !important;
  }
}

/* Phones with a width of 575px or smaller */
@media all and (max-width: 575px) {
  .branding {
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    height: 90vh;
    margin-bottom: 0;
    border-radius: 0;
    margin-top: 3vh;
  }

  #brandingLogo {
    display:flex; 
    justify-content:center;
  }

  .branding img {
    width: 60vw;
  }

  .branding .row {
    margin-bottom: 45vh !important;
  }

  #brandingText {
    text-align: center;
  }

  #brandingText h1 {
    font-size: 30px !important;
  }

  #brandingText h2 {
    font-size: 20px;
    margin-top: 2vh;
  }
  
  .scrollBtn {
    font-size: 36px !important;
    top: 50vh;
  }

  #whatWeDo .card,
  #testimonials .card-deck,
  #behindTheScenes .card {
    margin: 18px auto;
    width: 85vw;
  }

  #whatWeDo img,
  #behindTheScenes .card img {
    width: 33%;
  }

  #caseStudies .card-title {
    font-size: 20px!important;
  }

  #caseStudies,
  #caseStudies .carousel-item,
  #caseStudies .carousel-item .row {
    height: fit-content !important;
    /* margin-bottom: 200px !important; */
    margin-bottom: 2vh !important;
  }

  #caseStudies .caseStudiesTextContainer {
    padding: 0 30px;
   }
  #caseStudies .carousel {
    padding-bottom: 6vh;
  }

  #caseStudies .carousel-indicators {
    /* top: 60vh; */
  }

  #caseStudies .carousel-item img {
    width: 66vw !important;
    margin: 0 auto;
  }

  #numbers .card {
    padding-top: 1vh;
    padding-bottom: 1vh;
  }

  #numbers h3 {
    font-size: 42px;
  }
}

/* Phones with a width of 360px or smaller */
@media all and (max-width: 360px) {

  .branding img {
    width: 50vw;
  }

  .branding .row {
    margin-bottom: 20vh !important;
  }

  #brandingText h1 {
    font-size: 24px !important;
  }

  #brandingText h2 {
    font-size: 20px;
    margin-top: 2vh;
  }
  
  .scrollBtn {
    font-size: 30px !important;
    top: 54vh;
  }

}


/* html {
	background: #323232;
}

body, p {
	font-family: "lato", Times, 'Times New Roman', serif;
	font-style: normal;
	font-weight: 400;
	color: #333;
  overflow-x: hidden;
  font-size: 18px;
}

h1, h2, h3, h4, h5, h6, .button {
	font-family: "lato", Times, 'Times New Roman', serif !important;
	font-style: normal;
  font-weight: 400;
}
