* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
} 

/* body {
    background-color: #edf8f4;
} */

@media not all and (min-resolution:.001dpcm)
{ @supports (-webkit-appearance:none) and (stroke-color:transparent) {
    section.parallaxSaf {
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-position: center;
        background-size: cover;
        height: 50rem;
    }
}}


/* //////////VERTICAL-NAV//////////// */

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 999999; /* Stay on top */
    top: 0; /* Stay at the top */
    right: 0;
    background-color: #f5af8d; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    border-left: 3px solid #75b7a6;
  }
  
  /* The navigation menu links */
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    transition: 0.3s;
  }
  
  /* When you mouse over the navigation links, change their color */
  .sidenav a:hover {
    color: #fff;
  }
  
  /* Position and style the close button (top right corner) */
  .sidenav .closebtn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 3.2rem;
    margin-left: 50px;
  }

  .sub-link {
    margin-left: 1rem;
  }
  
  /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
  #main {
    transition: margin-left .5s;
    padding: 20px;
  }
  
  /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }

  .open-nav {
      z-index: 999;
      width: 3.2rem;
      color: #333;
      display: none;
      margin-right: 1.2rem;
      list-style-type: none;
  }

  li {
    list-style-type: none;
  }


/* //////////NAV//////////// */

.nav {
    background-color: #75b7a6;
    margin: 0 auto;
    position: fixed;
    width: 100%;
    height: 6rem;
    z-index: 9;
    border-bottom: 3px solid #f5af8d;
}

.nav-box {
    display: flex;
    justify-content: flex-end;
    height: 100%;
}

.nav-logos {
    display: flex;
    gap: 1.2rem;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0.6rem;
    z-index: 10;
}

.nav-logo {
    width: 4.6rem;
    height: 4.6rem;
    transition: all 0.3s;
    /* margin-bottom: -4rem; */
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-socials {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.nav-social {
    width: 4rem;
    height: 4rem;
    transition: all 0.3s;
}

.nav-social:hover {
    transform: scale(1.05);
}

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

.nav-list {
    list-style: none;
}

.nav-link {
    display: block;
    padding: 1.2rem 2.4rem;
    text-decoration: none;
    font-size: 3.2rem;
    color: #FFF;
}

.nav-active {
    background-color: #f5af8d;
}

li.nav-active:hover {
    background-color: #f5af8d;
}

.nav-list:hover {
    background-color: #f5af8d;
}

.nav-special {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-special-img {
    width: 4rem;
}


.nav-down-arrow {
    width: 1.6rem;
}


  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #75b7a6;
    min-width: 26rem;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 3px solid #f5af8d;
    border-top: 0px;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    padding: 1.2rem 2.4rem;
    text-decoration: none;
    font-size: 3rem;
    color: #FFF;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #f5af8dc7;}
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {display: block;}
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  .dropdown:hover .nav-link {background-color: #f5af8d;}


/* ------HEADER-------- */

.header {
    padding: 2.4rem;
    background-color: #f5af8d;
}

.header-box {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    width: 8rem;
    border-radius: 50%;
}

.header-name {
    font-size: 6rem;
    color: #75b7a6;
    text-align: center;
}

/* ------NAVIGATION-------- */

/* .navigation {
    padding: 2.4rem 1.2rem 2.4rem;
    background-color: #f5af8d;
    border-bottom: 3px solid #75b7a6;
}

.navigation-box {
    margin: 0 auto;
}

.navigation-container {
    display: flex;
    gap: 2.4rem;
    align-items: center;
    justify-content: center;
}

.navigation-link {
    text-decoration: none;
    color: #555;
    font-size: 3.2rem;
    transition: all 0.3s;
    border-bottom: 1px solid #f5af8d;
}

.navigation-link:hover {
    color:#92bba9;
    border-bottom: 1px solid #75b7a6;
} */


/* ------HERO-------- */

.hero {
    background-image: url("imgs/hero.jpg");
    background-size: cover;
    background-position: center;
    height:80vh;
}

.hero-box {
    margin: 0 auto;
    max-width: 140rem;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8.4rem;
}

.hero-header {
    font-size: 12rem;
    color: #fff;
    text-align: center;
}


/* ------ABOUT-------- */

.about {
    padding: 4.8rem 2.4rem;
    background-color: #efdbd76b;
}

.about-box {
    margin: 0 auto;
    max-width: 120rem;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    align-items: center;
    justify-content: center;
}

.about-img {
    width: 35rem;
    border-radius: 50%;
}

.about-header {
    font-size: 4.8rem;
    color: #333;
}

.about-text {
    font-size: 2.4rem;
    color: #555;
    text-align: center;
}

.about-link {
    font-size: 2.4rem;
    color: #555;
    background-color: #def0f3;
    border: 1px solid #555;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 13px;
    text-align: center;
    width: 14rem;
}





/* ------PARALLAX-------- */

.parallax1 {
    background-image: url("imgs/parallax1.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 50rem;
}


.parallax2 {
    background-image: url("imgs/parallax2.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 50rem;
}

.parallax3 {
    background-image: url("imgs/parallax3.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 50rem;
}


/* -----------SERVICES----------- */

.services {
    padding: 9.6rem 2.4rem;
}

.middle-background {
    background-color: #efdbd7;
}

.services-box {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    row-gap: 4.8rem;
    max-width: 120rem;
}

.services-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4.8rem;
}

.services-img {
    width: 60rem;
}

.services-text-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.8rem;
}

.services-header {
    font-size: 4.8rem;
    color:#333;
}

.services-text {
    color: #555;
    font-size: 2.4rem;
}

.services-btn {
    font-size: 2.4rem;
    color: #555;
    background-color: #def0f3;
    border: 1px solid #555;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 13px;
    text-align: center;
    width: 14rem;
}


/* -----------CONTACT----------- */

.contact {
    padding: 9.6rem 2.4rem;
}

.contact-box {
    margin: 0 auto;
    max-width: 120rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    height: 50rem;
    border-radius: 26px;
    overflow: hidden;
}

.contact-img-box {
    background-image: url("imgs/cta.png");
    background-size: cover;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2.4rem;
    justify-content: center;
}

.contact-header {
    padding: 2.4rem;
    font-size: 4.8rem;
    color: #333;
    text-align: center;
}

.input-box {
    border: none;
    border-bottom: 3px solid #def0f3;
    resize: none;
    padding: 1.2rem;
    /* background-color: #e9ecf4; */
}

.mobile-input::-webkit-inner-spin-button, .mobile-input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.mobile-input {
    -moz-appearance:textfield !important;
}

.message-input {
    height: 12rem;
    /* background-color: #e9ecf4; */
}

.submit-btn {
    width: 25%;
    align-self: flex-end;
    padding: 0.8rem;
    border-radius: 13px;
    border: none;
    background-color: #def0f3;
    color: #555;
    font-weight: bold;
    font-size: 2.2rem;
    font-family: 'Josefin Slab', serif;
    border: 1px solid #555;
    cursor: pointer;
}

/* -------INTRO SECTION------ */

.intro {
    padding: 0 0.6rem;
}



.intro-box {
    max-width: 200rem;
    margin: 0 auto;
}

.intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.intro-img-box {

    overflow: hidden;
}

.intro-img-box-mobile {
    overflow: hidden;
    display: none;
    justify-self: center;
    align-self: center;
}

.intro-img {
    width: 100%;
    transition: all 0.3s;
}

.intro-img:hover {
    transform: scale(1.1);
}

.intro-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    overflow: hidden;
    padding: 0.6rem 0.6rem;
    justify-self: center;
    align-items: center;
}

.intro-header {
    font-size: 4.8rem;
    font-weight: 100;
    color: #333;
    text-align: center;
}

.intro-text {
    text-align: center;
    font-size: 2.2rem;
    color: #555;
    max-width: 84rem;
    align-self: center;
    font-weight: 400;
}

.intro-link {
    font-size: 2.2rem;
    padding: 0.6rem 1.2rem;
    font-weight: 100;
    background-color: #3a747e;
    color: #fff;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    align-self: center;
    width: 40rem;
}

.intro-link:hover {
    background-color: #fff;
    color: #3a747e;
    border: 1px solid #3a747e;
}


/* -------FOOTER SECTION------ */

.footer {
    padding: 9.6rem 0.6rem;
    background-color: #fff;
    color: #333;
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    border-top: 3px solid #75b7a6;
}

.footer-img {
    position: absolute;
    right:5%;
    bottom: 0;
}

.footer-box {
    max-width: 150rem;
    margin: 0 auto;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 3rem;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    text-align: center;
}

.footer-logo-copy {
    align-items: center;
}

.footer-logo {
    width: 30rem;
}

.copyright {
    font-size: 2.6rem;
    line-height: 1.4;
    color: #333;
    text-align: center;
}

.footer-socials-box {
    display: flex;
    gap: 2.4rem;
}

.footer-social {
    width: 4.8rem;
    transition: all 0.3s;
    cursor: pointer;
}

.footer-social:hover {
    transform: scale(1.05);
}

.footer-header {
    font-size: 3.6rem;
    padding-bottom: 1.8rem;
    color: #333;
}

.footer-details {
    font-size: 2.6rem;
    text-align: center;
}

.footer-link {
    font-size: 2.6rem;
    text-decoration: none;
    color: #333;
    position: relative;
}

.created-by {
    justify-self: center;
    margin-top: 5rem;
    font-size: 2.4rem;
    color:#333;
    text-align: center;
}

.pauledward {
    justify-self: center;
    margin-top: 5rem;
    font-size: 2rem;
    color:#333;
    text-align: center;
    text-decoration: none;
    color: #222;
}

.footer-placeholder {
    font-size: 4.8rem;
}



/* //////////PAGE//////////// */

.spacer {
    height: 4.8rem;
}

.page-title {
    padding: 4.8rem 2.4rem;
    font-size: 7.2rem;
    color:#75b7a6;
    /* background-color: #f5af8d; */
}

.page {
    padding: 4.8rem 2.4rem;
}

.page-box {
    margin: 0 auto;
    max-width: 80rem;
}

.page-container {
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
}

.page-info-box {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.page-header {
    font-size: 4.8rem;
    color: #333;
}

.page-text {
    font-size: 2.2rem;
    color: #666;
}

.counselling-para {
    background-image: url("imgs/counselling-para.jpg");
    background-repeat: no-repeat;        background-attachment: fixed;        background-size: cover;        
    height: 50rem;
}
