.header {
  position: relative;
}

body {
  padding-top: 0;
  padding-bottom: 0;
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: #313334;
}

a {
  color: #3b55b1;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1220px;
  }
}

nav {
  z-index: 1;
}
.navbar {
  justify-content: space-between;
}

li.nav-item > a {
  text-transform: uppercase;
}
.navbar-expand-md .navbar-nav .nav-link {
  padding: 0 12px;
}
.dropdown-menu {
  margin-top: 10px;
  border-radius: 5px;
  border-color: white;
  box-shadow: 0px 4px 8px 0px #00000059;
  padding: 0;
}

.dropdown-item {
  padding: 10px 24px;
  margin: 2px 0;
  border-bottom: 1px solid #efefef;
}
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #f6f6f6;
  border-bottom: 1px solid #c4c4c4;
  color: #313334;
}
.navbar {
  padding: 20px 0;
}

.nav-width {
  max-width: 70em;
}

.container .header-head {
  line-height: 84px;
  font-size: 56px;
  font-weight: 600;
  color: #fff;
}

.header .container {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
}

.header .container::before {
  position: absolute;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  right: 0;
  bottom: 0;
}

.header.gov .container::before {
  background: url(../images/header/govt.png) no-repeat right bottom;
  background-size: contain;
}

.header.fm .container::before {
  background: url(../images/header/fm.png) no-repeat right bottom;
  background-size: contain;
}

.header.hr .container::before {
  background: url(../images/header/hr.png) no-repeat right bottom;
  background-size: contain;
}

.header.pm .container::before {
  background: url(../images/header/pm.png) no-repeat right bottom;
  background-size: contain;
}
.header.ac .container::before {
  background: url(../images/header/fm.png) no-repeat right bottom;
  background-size: contain;
}

/* carousel & call to actions 
===============================
*/

.carousel-item > img {
  height: auto;
  min-width: 100%;
}
.carousel-caption {
  bottom: 6rem;
}

.carousel {
  margin: 0;
}

.call-to-actions {
  top: -100px;
  position: relative;
}

.carousel-control-next,
.carousel-control-prev {
  align-items: flex-end;
  bottom: 25%;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 30px;
  height: 30px;
}
.home-head {
  font-family: "Raleway", sans-serif;
  font-size: 56px;
  line-height: 84px;
  font-weight: 900;
  color: #fff;
}

.home-subhead {
  font-family: "Raleway", sans-serif;
  font-size: 28px;
  line-height: 40px;
  font-weight: 500;
  color: #fff;
}

.bg-home {
  background-image: url("../images/home-bg.png");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 100vh;
  /* border: 1px solid red; */
  z-index: 0;
}

.section-head {
  font-family: "Raleway", sans-serif;
  font-size: 40px;
  line-height: 56px;
  font-weight: 700;
  color: #313334;
  /* border: 1px solid red; */
}

.subtext {
  font-family: "Raleway", sans-serif;
  font-size: 28px;
  line-height: 40px;
  font-weight: 500;
  color: #313334;
}

.text {
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  color: #313334;
}
.imp-text {
  font-family: "Playfair Display", sans-serif;
  font-size: 20px;
  line-height: 32px;
  color: #313334;
  padding: 0 70px;
}
.footer-text {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  color: #313334;
}

.card {
  background-color: transparent;
}

.box {
  min-height: 180px;
  min-width: 290px;
  position: relative;
  transition: all 0.2s;
}

.box1:before {
  position: absolute;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: url(../images/gov.png) no-repeat right bottom;
  background-size: 150px;
}

.box2:before {
  position: absolute;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: url(../images/hr.png) no-repeat right bottom;
  background-size: 150px;
}
.box3:before {
  position: absolute;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: url(../images/pm.png) no-repeat right bottom;
  background-size: 150px;
}

.box4:before {
  position: absolute;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: url(../images/fn.png) no-repeat right bottom;
  background-size: 150px;
}

.box1 {
  background-color: #3b52b7;
  /* min-width: 275px; */
}
.box2 {
  /* min-width: 275px; */
  background-color: #fbc100;
}
.box3 {
  background-color: #03b5aa;
  /* min-width: 275px; */
}
.box4 {
  background-color: #29bf12;
  /* min-width: 275px; */
}

.card-icon-block {
  position: absolute;
  bottom: 0%;
  z-index: 0;
}

.box-head {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  line-height: 40px;
  font-weight: 700;
  color: #fff;
  z-index: 1;
  padding: 8px 20px;
}

.card-purple-button {
  background-color: #fff;
  box-shadow: 8px 4px 8px 0px rgba(0, 0, 0, 0.15);
  border: none;
  color: #3b52b7;
  cursor: pointer;
  position: absolute;
  z-index: 1;
  width: 80%;
  bottom: 10%;
  left: 10%;
}
.card-yellow-button {
  background-color: #fff;
  box-shadow: 8px 4px 8px 0px rgba(0, 0, 0, 0.15);
  border: none;
  color: #fbc100;
  cursor: pointer;
  position: absolute;
  z-index: 1;
  width: 80%;
  bottom: 10%;
  left: 10%;
}
.card-teal-button {
  background-color: #fff;
  box-shadow: 8px 4px 8px 0px rgba(0, 0, 0, 0.15);
  border: none;
  color: #03b5aa;
  cursor: pointer;
  position: absolute;
  z-index: 1;
  width: 80%;
  bottom: 10%;
  left: 10%;
}

.card-green-button {
  color: #ffffff;
  display: inline-block;
  padding: 2px 10px;
  right: 20px;
  width: inherit;
  font-size: 16px;
  position: absolute;
  bottom: 5px;
  left: 10px;
}
.box:hover .card-green-button,
.box:active .card-green-button,
.box:focus .card-green-button {
  color: #ffffffa8;
  text-decoration: none;
}
.box:hover {
  box-shadow: 0px 3px 14px 1px #00000045;
  text-decoration: none;
}

.call-to-actions a:hover {
  text-decoration: none;
}
.box-head:hover {
  text-decoration: none;
}
.about-project {
  padding-bottom: 40px;
}

.about-project img {
  margin: 0 auto;
  display: block;
}
.about-eurosis {
  padding: 50px 0;
  background-color: rgba(49, 51, 52, 0.05);
}

.about-eurosis .text {
  padding: 60px 0 0;
}
.blue-ribbon {
  background-color: rgba(59, 82, 183, 0.75);
  height: 25px;
}
.small-blue-ribbon {
  background-color: rgba(59, 82, 183, 0.75);
  height: 4px;
  width: 30%;
  margin: 0 auto;
}

.partners {
  min-height: 150px;
  background-color: rgba(49, 51, 52, 0.05);
  background-image: url("../images/map-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  align-items: center;
}

.partners .container {
  display: flex;
  justify-content: center;
  position: relative;
}

.partners p {
  position: absolute;
  left: 0;
  font-weight: bold;
}

.text-name {
  margin: 0 auto;
}

.testimonials {
  padding: 65px 0;
}

/* carousel testimonal 
===============================
*/

.testimonials .carousel-control-prev-icon:before {
  content: "\f053";
  color: #e0e0e2;
  font-family: FontAwesome;
}

.testimonials .carousel-control-next-icon:before {
  content: "\f054";
  color: #e0e0e2;
  font-family: FontAwesome;
}

.testimonials .carousel-control-next-icon,
.testimonials .carousel-control-prev-icon {
  position: absolute;
  top: 50%;
  font-size: 40px;
}

footer {
  padding: 50px 0 20px;
}

/* inner pages */

.std-img {
  max-width: 465px;
}

.std-img img {
  width: 100%;
  box-shadow: 0px 3px 10px 2px #0000002e;
}

.section-about,
.strategic-plan,
.process-plan,
.org-struct,
.white-plan {
  padding: 80px 0;
}

.section-subhead {
  font-weight: bold;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
  color: rgba(0, 0, 0, 0.5);
}

/* inner page image carousel*/

.std-img .carousel-indicators .active {
  background: #3b52b7;
}

.std-img .carousel-indicators li {
  height: 15px;
  border-radius: 50%;
  width: 15px;
  cursor: pointer;
  background: #dfdfdf;
  transition: all 0.7s;
}

.std-img .carousel-indicators {
  bottom: -50px;
}

.std-img .carousel {
  margin-bottom: 30px;
}

/* dropbtn */
.topnav {
  overflow: hidden;
}

.topnav a {
  float: left;
  display: block;
  color: #333333;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav .icon {
  display: none;
}

.dropdownx {
  float: left;
  overflow: hidden;
}

.dropdownx .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 16px;
}

.dropdown-content a:hover {
  background-color: #efefef;
  color: black;
}

.dropdownx:hover .dropdown-content {
  display: block;
}
.dropdownx a,
.dropdownx .dropbtn,
.topnav a {
  text-transform: uppercase;
  font-size: 15px;
}

@media (max-width: 480px) {
  .topnav a {
    width: 100%;
    padding: 5px 0;
  }

  .dropdownx a,
  .dropdownx .dropbtn,
  .topnav a {
    font-size: 15px;
  }

  .dropdownx {
    text-align: center;
    width: 100%;
  }

  .dropdownx:hover .dropdown-content {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
  }

  .dropdownx:hover .dropdown-content a {
    text-align: center;
  }
}

@media (max-width: 760px) {
  .partners .container {
    display: block;
    text-align: center;
  }
  .partners p {
    position: relative;
  }
  .imp-text {
    font-size: 20px;
    line-height: 28px;
    padding: 0;
  }

  .home-head {
    font-size: 40px;
    line-height: 50px;
  }

  .carousel-item > img {
    height: 100%;
  }
  .navbar > a {
    max-width: 300px;
  }
  .partners .container img {
    max-width: 230px;
    height: auto;
  }
  .navbar-nav {
    top: 12px;
    position: relative;
  }

  .call-to-actions {
    margin-bottom: -80px;
  }

  section h2 {
    font-size: 17px;
  }

  h2.section-head {
    font-size: 28px;
  }

  .subtext {
    font-size: 20px;
    line-height: 32px;
  }

  .text {
    font-size: 16px;
  }

  .about-eurosis .text {
    padding: 0;
  }

  .testimonials p {
    font-size: 16px;
  }
  .container .header-head {
    line-height: 38px;
    font-size: 28px;
  }

  .header .container {
    min-height: 140px;
  }

  .section-head {
    font-size: 30px;
    line-height: 38px;
  }
  .text,
  ul li,
  .text-block {
    font-size: 16px;
    line-height: 26px;
  }

  .subtext {
    font-size: 22px;
  }

  .section-about,
  .strategic-plan,
  .process-plan,
  .org-struct,
  .white-plan {
    padding: 20px;
  }

  .navbar {
    justify-content: center;
    text-align: center;
    padding: 20px 0 10px;
  }

  .topnav {
    margin: 10px 0 0;
  }
}
