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

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

body {
    overflow-x: hidden;
    font-family: 'Josefin Slab', serif;
}



.btn {
    padding: 0.5rem 1rem;
    border-radius: 3px;
    font-family: 'Josefin Slab', serif;
}

.main-nav-link:after,
.footer-link:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.main-nav-link:hover:after,
.footer-link:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* //////////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: #B6A39E; /* 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 #3a747e;
  }
  
  /* 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: 0;
    right: 5px;
    font-size: 36px;
    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;
      font-size: 5rem;
      color: #333;
      display: none;
      padding-right: 0.6;
  }


/* -------NAV SECTION------ */

.spacer {
    height: 4.8rem;
}
/* //////////NAV//////////// */

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

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

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

.nav-logo {
    width: 27rem;
    height: 100%;
    overflow: visible;
}

.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;
    height: 100%;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    align-self: center;
    height: 100%;
    justify-self: center;
}

.nav-link {
    padding: 1.2rem 2.4rem;
    text-decoration: none;
    font-size: 3.2rem;
    color: #FFF;
    height: 100%;
    align-self: center;
    justify-content: center;
}

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

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

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

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

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


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

.logo-link {
    height: 100%;
}

  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #B6A39E;
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 3px solid #867874;
    border-top: 0px;
    margin-top: 1.2rem;
  }
  
  /* 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: #867874;}
  
  /* 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: #867874;}

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


.hero {
    min-height: max(90vh, 700px);
    padding: 9.6rem 4.8rem;
    background-image: linear-gradient(90deg,#44444400, #85858500), url(imgs/banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

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

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

.hero-text-box {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 3.2rem;
}

.caption-title {
    font-size: 3.6rem;
    font-weight: 100;
    display: inline-block;
    color: #B6A39E;
}


.hero-title {
    font-size: 7.2rem;
    line-height: 0.8;
    color: #92827e;
}

.hero-text {
    font-size: 2.8rem;
    line-height: 3rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px #B6A39E;
    color: #b6a39e;
}

.hero-btns {
    display: flex;
    gap: 2.2rem;
    font-size: 2.8rem;
}

.hero-btn {
    font-size: 2.8rem;
}

.contact-us-btn {
    background-color: #B6A39E;
    border: none;
    color: #fff;
}

.learn-more-btn {
    background-color: rgba(255, 255, 255, 0.548);
    border: 1px solid #fff;
    color: #B6A39E;
}

/* -------CARDS SECTION------ */

.cards {
    padding: 9.6rem 4.8rem;
}

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

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

.card-item {
    display: flex;
    position: relative;
    flex-direction: column;
    gap: 2.4rem;
    max-width: 50rem;
    padding: 3.2rem;
    justify-content: center;
    background-color: #B6A39E;
    color: #fff;
}

.card-title {
    align-self: center;
    font-size: 3.6rem;
}

.card-text {
    text-align: center;
    font-size: 2rem;
    line-height: 1.4;
}

.card-image {
    max-width: 50rem;
    /* border-radius: 2%; */
}

/* -------STRIP SECTION------ */

.strip {
    padding: 4.8rem;
}

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

.strip-container {
    display: grid;
    justify-content: center;
    border-top: 2px solid #B6A39E;
    border-bottom: 2px solid #B6A39E;
    padding: 4.4rem;
}

.strip-info {
    color: #B6A39E;
    font-size: 2.8rem;
    text-align: center;
    user-select: none;
}
/* -------TABBED SECTION------ */

.tabbed {
    padding: 9.6rem 4.8rem 4.8rem;
}

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

.tabbed-container {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    /* border: 2px solid #B6A39E; */
    box-shadow: 10px 10px 5px #b6a39e6e;
}


.tabbed-title-box {
    height: 100%;
    width:100%;
    display: grid;
    /* border-bottom: 2px solid #B6A39E; */
    border-right: 2px solid #fff;
    border-radius: 2%;
    color: #fff;
    cursor: pointer;
    background-color: #B6A39E;
}

.last-tab {
    border-right: none;
}

.active-tab {
    border-top: 1rem solid #B6A39E;
    /* border-right: none; */
    color: #B6A39E;
    background-color: #fff;
}

.tabbed-text.active-tab-text {
    display: block;
}

.tabbed-title {
    font-size: 3.2rem;
    align-self: center;
    justify-self: center;
    text-align: center;
    padding: 1.6rem;    
    user-select: none;
}

.tabbed-text-box {
    grid-column: 1/5;
    /* background-color: #b6a39e3b; */
}

.tabbed-text {
    font-size: 2.2rem;
    line-height: 1.4;
    /* transform: skew(10deg); */
    padding: 4.8rem;
    display: none;
    color: #555;
}

.tabbed-text span {
    color:#B6A39E;
}

/* -------SLIDESHOW SECTION------ */

.slideshow {
    padding-top: 4.6rem;
    position: relative;
    background-image:url(imgs/slide1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position:bottom;
    min-height: max(80vh, 700px);
    display: grid;
    grid-template-columns: 1fr 2fr 8fr 1fr;
}

.slideshow-box {
    margin: 0 auto;
    max-width: 150rem;
    display: grid;

}

.slide-arrow {
    align-self: center;
    justify-self: center;
    padding: 1.2rem;
    margin: 1.2rem;
    width: 10rem;
    background-color: rgba(255, 255, 255, 0.623);
    border-radius: 50%;
}

.slideshow-container {
    display: grid;
}

.slideshow-text-box {
    display: flex;
    flex-direction: column;
    justify-self: flex-start;
    align-self: flex-start;
    background-color: rgba(51, 51, 51, 0.733);
    padding: 1.2rem;
    border-radius: 1%;
    display: none;
}

.active-slide {
    display: block;
}


.inactive-slide {
    display: none;
}

.slideshow-title {
    font-size: 7.2rem;
    color: #fff;
    padding-bottom: 1.2rem;
}

.slideshow-text {
    font-size: 2.8rem;
    color: #fff;
    letter-spacing: 2px;
}

.pagination-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,-50%);
}

.pagination span {
    display: inline-block;
    position: relative;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
}

.pagination span.active-pagination{
    border: 0.5rem solid #fff;
  }

.pagination span:before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    background: #fff;
    border-radius: 50%;
  }

/* -------ICONS SECTION------ */

.icons {
    padding: 9.6rem 4.8rem 9.6rem;
}

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

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

.icon-item {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    align-items: center;
    justify-items: center;
}

.icon-title {
    font-size: 3.6rem;
    text-align: center;
    color: #333;
}

.icon-text {
    font-size: 2.2rem;
    text-align: center;
    color: #555;
}

/* -------GALLERY SECTION------ */

.gallery {
    padding: 9.6rem 4.8rem;
}

.gallery-box {
    margin: 0 auto;
}

.gallery-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.gallery-item {
    width: 100%;
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: scale(107%);
}

/* -------CTA SECTION------ */

.cta {
    padding: 9.6rem 4.8rem 9.6rem;
}

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

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

.cta-text {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    justify-items: center;
    align-items: center;
    color: #555;
}

.cta-title {
    font-size: 4.4rem;
    color: #333;
    text-align: center;
}

.cta-text-box {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    font-size: 2.2rem;
    text-align: center;
    padding: 1.2rem;
}

.cta-socials {
    align-self: center;
    justify-self: center;
    display: flex;
    gap: 6.2rem;
    padding: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.input-box {
    border: none;
    border-bottom: 3px solid #B6A39E;
    resize: none;
    padding: 1.2rem;
}

.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;
}

.submit-btn {
    width: 25%;
    align-self: flex-end;
    padding: 0.8rem;
    border-radius: 3px;
    border: none;
    background-color: #B6A39E;
    color: #fff;
    font-weight: bold;
    font-size: 2.2rem;
    font-family: 'Josefin Slab', serif;
}

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

.footer {
    padding: 9.6rem 4.8rem;
    background-color: #B6A39E;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr;
}

.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;
}

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

.footer-logo {
    width: 30rem;
}

.copyright {
    font-size: 1.8rem;
    line-height: 1.4;
}

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

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

.footer-details {
    font-size: 1.8rem;
}

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

.created-by {
    justify-self: center;
    margin-top: 5rem;
    font-size: 1.8rem;
    color:#ddd;
}

.pauledward {
    text-decoration: none;
    color: #fff;
}

/* //////////PAGE-Z SECTION//////// */

.page-z {
    padding: 4.8rem 2.4rem;
}

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

.page-z-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    gap: 4.8rem;
}

.page-z-img {
    width: 95%;
}

.page-z-text-box {
    display: flex;
    flex-direction: column;
    gap: 3.6rem;
    align-items: center;
    justify-content: center;
}

.page-z-header {
    color: #92827e;
    font-size: 3.6rem;
    text-align: center;
}

.page-z-text {
    color: #666;
    font-size: 2.4rem;
    text-align: center;
    font-weight: 300;
}

/* -------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 0.6rem;
    justify-self: center;
}

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

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

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

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

.page-title {
    padding: 4.8rem 2.4rem;
    font-size: 7.2rem;
    font-weight: 100;
    color:#222;
    border-bottom: 3px solid #867874;
    border-top: 3px solid #867874;
}

.page {
    padding: 4.8rem 1.2rem;
}

.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: 6rem;
    font-weight: 200;
    color: #444;
    position: relative;
    text-align: center;
}


/* -------REVIEWS------ */

.reviews {
    padding: 9.6rem 0.6rem;
}

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

.review-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 4.8rem;
    row-gap: 4.8rem;
    /* align-items: center;
    justify-content: center; */
}

.review-item {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background-color: #fff;
    padding: 1.2rem 2.4rem;
    box-shadow: 0.6rem 0.6rem #3333332d;
}

.review-item-top-box {
    display: flex;
    gap: 2.4rem;
    align-items: center;
}

.review-item-header-box {
    display: flex;
    flex-direction: column;
}

.review-profile-img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #867874;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    padding: 1.2rem;
}

.review-profile-letter {
    /* border-radius: 50%; */
    color: #fff;
    font-size: 3rem;
    text-align: center;
    margin-bottom: -0.3rem;
}

.review-name {
    font-size: 2rem;
    color: #333;
    display: flex;
    gap: 1.2rem;
}

.review-verified-img {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.6rem;
}

.stars {
    color: gold;
    font-size: 2rem;
}

.review-item-text-box {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.review-item-text {
    font-size: 1.8rem;
    color: #777;
}

.google-logo {
    width: 9rem;
    margin-top: auto;
}


/* -------FAQ------ */

.faq {
    background-color: #fafafa;
    padding: 9.6rem 0.6rem;
}

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

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.faq-text-box {
    display: flex;
    flex-direction: column;
    gap: 3.6rem;
    align-items: center;
    justify-content: center;
    max-width: 60rem;
    margin: auto;
    padding-bottom: 4.8rem;
}

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

.faq-text {
    font-size: 2.4rem;
    color: #777;
    text-align: center;
}

.faq-link {
    background-color: #B6A39E;
    color: #fff;
    text-decoration: none;
    font-size: 2.4rem;
    text-align: center;
    padding: 0.6rem 2.4rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.faq-link:hover {
    background-color: #867874;
    color: #fff;
}

.faq-link:hover > .faq-arrow {
    filter: brightness(0%);
}

.faq-arrow {
    width: 2rem;
    margin-bottom: -0.3rem;
    margin-left: 1rem;
}

.faq-item {
    display: flex;
    flex-direction: column;
}

.accordion-arrow {
    margin-left: auto;
    width: 3rem;
}

.accordion {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    padding: 2.4rem 2.4rem;    
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 3.6rem;
    border-radius: 13px;
    transition: 0.4s;
  }
  
  .active, .accordion:hover {
    background-color: #B6A39E; 
    color: #fff;
  }
  
  .panel {
    padding: 2.4rem 2.4rem 4.8rem;
    display: none;
    background-color: #B6A39E;
    overflow: hidden;
    font-size: 2.4rem;
    color: #fff;
    border-radius: 13px;
  }
