/*-----------------------------------------------------------
    1  General Styles
    2  Typography
    3  Buttons & Links 
    4  Header
    5  Services
    6  About  
    7  Portfolio
    8  Blog
    9  Contact
    10 Footer
    11 Social
    12 Responsive 
-------------------------------------------------------------*/


/*-----------------------------------------------------------
    1. General Styles 
-------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
}
html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}
a {
  font-weight: 600;
  color: #314584;
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
}
a:focus,
a:hover {
  color: rgba(44, 44, 44, 0.8);
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color: #314584;
  font-weight: 600;
  letter-spacing: 1px;
}
:active,
:focus {
  outline: none !important;
}
/*-----------------------------------------------------------
  2. Typography 
------------------------------------------------------------*/
body {
  color: #314584;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  overflow-x: hidden;
  transition: opacity 1s;
  min-width: 330px;
}
h1,
.h1 {
  font-size: 4.4rem;
  margin-bottom: 20px;
}
h2,
.h2 {
  font-size: 2.5rem;
  line-height: 3.5rem;
  margin-bottom: 50px;
}
.about h2 {
  margin-bottom: 25px;
}
h3,
.h3 {
  font-size: 1.9rem;
  line-height: 2.5rem;
  margin-bottom: 15px;
}
h4,
.h4 {
  font-size: 24px;
}

h5,
.h5 {
  font-size: 1rem;
  color: #0096FF;
}
h6,
.h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.about p {
  color: #314584;
}
p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #6E757A;
  margin-bottom: 15px;
  letter-spacing: 0.025em;
}
/*-----------------------------------------------------------
  3. Buttons & Links
-------------------------------------------------------------*/
.contact-btn button {
  width: 200px;
  height: 60px;
  border: 0px;
  -webkit-box-shadow: 0px 4px 6px 0px rgba(30,32,33,0.07);
  -moz-box-shadow: 0px 4px 6px 0px rgba(30,32,33,0.07);
  box-shadow: 0px 4px 6px 0px rgba(30,32,33,0.07);
  background-color: #fff;
  border-radius: 3px;
  font-size: 1.2rem;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  color: #00A36C;
}
.contact-btn i {
  font-size: 2rem;
  width: 100px;
  height: 100px;
  color: #00A36C;
}
.hero-btns a:first-child {
  background-color: #00A36C;
  border:2px solid #00A36C;
  color: #fff;
  padding: 17px 35px;
  font-size: 1.0rem;
  border-radius: 30px;
  -webkit-box-shadow: 0px 4px 5px 0px rgba(255,57,70,0.15);
  -moz-box-shadow: 0px 4px 5px 0px rgba(255,57,70,0.15);
  box-shadow: 0px 4px 5px 0px rgba(255,57,70,0.15);
}
.hero-btns a:first-child:hover {
  background-color: #fff;
  border:2px solid #00A36C;
  color: #314584;
  padding: 17px 35px;
  font-size: 1.0rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.hero-btns a:last-child {
  color: #314584;
  padding: 17px 35px;
  font-size: 1.0rem;
}
.hero-btns a:last-child:hover {
  color: #00A36C;
  transition: all 0.3s ease;
}
.navbar-light .navbar-toggler {
  color: #314584;
  border: none;
}
.navbar-toggler {
  padding: .5rem 1.2rem .25rem 0rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: .25rem;
}
.interactive-menu-button {
  position: relative;
}
.interactive-menu-button a {
  width: 20px;
  height: 20px;
  display: block;
  position: relative;
}
.interactive-menu-button a span {
  height: 4px;
  position: absolute;
  background: #314584;
  text-indent: -999em;
  width: 100%;
  top: 6px;
  transition: all 0.5s cubic-bezier(0, 0.275, 0.125, 1);
}
.interactive-menu-button a span:before,
.interactive-menu-button a span:after {
  content: '';
  height: 4px;
  background: #314584;
  width: 100%;
  position: absolute;
  top: -6px;
  left: 0;
  transition: all 0.5s cubic-bezier(0, 0.275, 0.125, 1);
}
.interactive-menu-button a span:after {
  top: 6px;
}
.interactive-menu-button a.active span {
  background: transparent;
}
.interactive-menu-button a.active span:before {
  transform: translateY(6px) translateX(1px) rotate(45deg);
}
.interactive-menu-button a.active span:after {
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
}
.navbar-nav .dropdown-menu {
  text-align: center;
  border: 0;
  background-color: #314584;
}
.navbar-nav .dropdown-menu a {
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  margin: 10px 0px;
}
.dropdown-item:focus, .dropdown-item:hover {
  color: #00A36C!important;
  text-decoration: none;
  background-color: #314584;
}
.service-btn a {
  color: #fff!important;
  font-size: 0.8rem!important;
}
.service-btn a:hover {
  color: #00A36C!important;
}
.more-btn {
  text-align: center;
  margin: 15px 0px 100px 0px;
}
.more-btn a {
  font-size: 1.2rem;
  color: #00A36C!important;
  cursor: pointer;
  padding: 20px 30px;
}
.more-btn a:hover {
  color: #314584!important;
}
.contact-btn {
  text-align: center;
  margin-top: 70px;
}
.contact-btn a {
  color: #fff!important;
}
.contact-btn a:hover {
  color: #314584!important;
}
/*-----------------------------------------------------------
  4. Header
-------------------------------------------------------------*/
.navbar-light .navbar-nav .nav-link {
  color: #314584;
  font-size: 1.1rem;
}
.hero-btns {
  margin-bottom: 350px;
}
.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: #00A36C;
}
.navbar {
  padding: 50px 0 0 0;
}
.navbar-light .navbar-brand {
  margin-right: 10%;
}
.nav-item {
  padding: 0 10px;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
  color: #00A36C;
}
.hero img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -9;
  margin-top: 30px;
  width: 50%;
}
.hero h1 {
  margin-top: 250px;
}
.hero p {
  margin-bottom: 50px;
}
/*-----------------------------------------------------------
  5. Services
-------------------------------------------------------------*/
.services {
  padding: 50px 0px;
}
.services p {
  font-size: 1.0rem;
  color: #314584;
  line-height: 1.5rem;
}
.side-img img {
  position: absolute;
  left: -20px;
}
.side2-img img {
  position: absolute;
  right: -20px;
  top: 1300px;
}
.service-box {
  background-color: #fff;
  padding: 40px 45px;
  margin: 10px;
  -webkit-box-shadow: 0px 3px 7px 0px rgba(28,31,33,0.15);
  -moz-box-shadow: 0px 3px 7px 0px rgba(28,31,33,0.15);
  box-shadow: 0px 3px 7px 0px rgba(28,31,33,0.15);
  min-height: 400px;
}
.service-box img {
  margin-bottom: 30px;
}
/*-----------------------------------------------------------
  6. About
-------------------------------------------------------------*/
.about {
  margin-bottom: 50px;
}

/*-----------------------------------------------------------
 6.5. Skills
-------------------------------------------------------------*/

.skills {
  max-width: 68.75rem;
  margin: auto;
  text-align: center;
  margin-top: 2.5rem;
}

.skill-header {
  margin-bottom: 0rem;
}

.skills-wrapper img {
  padding: 1.25rem;
}

.icon {
  width: 11.875rem;
  height: 11.25rem;
}

.icon-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px #a17a69;
  padding: 20px;
  margin: 10px;
}

/*-----------------------------------------------------------
 7. Portfolio
-------------------------------------------------------------*/
.projects {
  background-color: var(--bg-color);
  padding: 32px 0;
  margin-top: 2rem;
}

.portfolio-aside img {
  margin-top: 20px;
  position: absolute;
  left: -20px;
}

.project-pic {
  width: 65%;
  height: 60%;
}

.projects-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-title {
  text-align: center;
  margin-bottom: 1rem;
}

.project-container {
  text-align: center;
  width: 21.875rem;
  padding: 1rem;
}

.project-container p {
  padding: 0.4rem;
}

.project-title {
  margin-bottom: var(--bottom-margin);
}

.project-details {
  margin-bottom: var(--bottom-margin);
}

.project-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--primary-shadow);
  padding: 20px;
  margin: 10px;
}
/*-----------------------------------------------------------
  9. Contact
-------------------------------------------------------------*/
.contact {
  max-height: 550px;
}
.email input {
  width: 100%;
  height: 60px;
  background-color: #F4FAFE;
  border: none;
  padding: 0px 20px;
  color: #314584;
  font-weight: 600;
  margin-bottom: 15px;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #314584;
  font-weight: 600;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #314584;
  font-weight: 600;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #314584;
  font-weight: 600;
}
:-moz-placeholder { /* Firefox 18- */
  color: #314584;
  font-weight: 600;
}
textarea {
  background-color: #F4FAFE;
  border: none;
  width: 100%;
  padding: 20px;
  margin-top: 15px;
  color: #314584;
  font-weight: 600;
}
/*-----------------------------------------------------------
  10. Footer
-------------------------------------------------------------*/
footer {
  background-color: #FFFFFF;
  width: 100%;
  min-height: 400px;
  text-align: center;
  padding: 70px 0px 0px 0px;
}
footer h5{
  color: #314584;
  padding-bottom: 10px;
}
footer h3{
  color: #00A36C;
  font-size: 3rem;
  margin-bottom: 30px;
}
.contact-nav li {
  display: inline;
  color: #314584;
}
.contact-nav a {
  color: #314584;
  font-size: 1.1rem;
  padding: 20px 20px;
}
.contact-nav a:hover {
  color: #00A36C;
}
footer h6 {
  color: #314584;
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 50px;
  margin-bottom: 20px;
}
.social li {
  display: inline;
}
.social li a {
  font-size: 1.7rem;
  margin: 0px 30px;
}
.social li a:hover {
  color: #00A36C;
  transition: all 0.3s ease;
}

/*-----------------------------------------------------------
  11. Social Media
-------------------------------------------------------------*/

.socials {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 1%;
  bottom: 25%;
}

.socicon {
  width: 4rem;
  height: 4rem;
}


/*-----------------------------------------------------------
  12. Responsive
-------------------------------------------------------------*/
@media (max-width: 1700px) {
  .hero-btns {
    margin-bottom: 200px;
  }
}
@media (max-width: 1500px) {
  .hero img {
    margin-top: 130px;
  }
}
@media (max-width: 1350px) {
  .hero-btns {
    margin-bottom: 140px;
  }
}
@media (max-width: 1199px) {
  .nav-item {
    padding: 0px; 
  }
  .navbar-light .navbar-nav .nav-link {
    font-size: 1rem;
  }
  .contact-btn button {
    font-size: 1rem;
}
  .hero img {
    margin-top: 150px;
    width: 45%;
  }
  .hero h1 {
    margin-top: 150px;
  }
  h2 {
    font-size: 2rem;
    line-height: 3.0rem;
  }
  h3 {
    font-size: 1.4rem;
    line-height: 2rem;
    margin-bottom: 20px;
  }
  .services p {
    font-size: 0.8rem;
  }
  .hero-btns {
    margin-bottom: 120px;
  }
}
@media (max-width: 991px) {
  .navbar {
    padding: 15px 0 0 0;
  }
  .hero img {
    display: none;
  }
  .hero {
    text-align: center;
  }
  .hero h1 {
    margin-top: 80px;
  }
  .navbar-collapse {
    text-align: center;
    margin-top: 50px;
  }
  .navbar-light .navbar-nav .nav-link {
    font-size: 2rem;
  }
  .hero-btns {
    margin-bottom: 70px;
  }
  .service-txt {
    text-align: center;
  }
  .about img {
    margin-bottom: 70px;
  }
  .about {
    text-align: center;
  }
  .projects {
    text-align: center;
  }
  .contact {
    text-align: center;
  }

}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  .service-box {
    padding: 20px 25px;
    margin: 0px;
  }
  .contact-nav a {
    font-size: 1rem;
    padding: 20px 5px;
  }
  .icon {
    width: 5.875rem;
    height: 5.25rem;
  }
  .projects-container {
    flex-direction: column;
  }

  .project-container {
    width: 20.875rem;
  }
  .socials {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 5%;
  bottom: 25%;
  }
  .socicon {
  width: 1.5rem;
  height: 1.5rem;
  }
}

@media (max-width: 575px) {
  .service-box {
    padding: 20px 25px;
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 40px;
  }
  footer h3{
    font-size: 2.5rem;
  }
  .projects-container {
    flex-direction: column;
  }

  .project-container {
    width: 20.875rem;
  }
}
@media (max-width: 454px) {
  .hero h1 {
    font-size: 3.0rem;
    margin-top: 50px;
  }
  .hero p {
    font-size: 0.8rem;
  }
  .hero-btns a:first-child {
    font-size: 0.8rem;
    display: block;
    width: 70%;
    margin: 0 auto;
  }
  .hero-btns a:last-child {
    font-size: 0.8rem;
    display: block;
    width: 70%;
    margin: 0 auto;
  }
  footer h3{
    line-height: 2.6rem;
  }
  .contact-nav li {
    display: block;
  }
  .social li {
    display: block;
  }
  .projects-container {
    flex-direction: column;
  }

  .project-container {
    width: 20.875rem;
  }
  }
}
