* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
} 

body {
    font-family: "Nunito", serif;
    line-height: 1;
    overflow: hidden;
    background-color: #fff;
}

.parallax {
    background-image: url('/imgs/carparallax.webp');
    /* height: 20rem;  */
    height: 35rem;
    /* background-attachment: fixed; */
    max-width: 190rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.navy-background {
    background-color: #0f7173 !important;
}

.pink-text {
    color: #f05d5e !important;
}

.pink-background {
    background-color: #f05d5e !important;
}

.white-text {
    color: #fff !important;
}

.yellow-background {
    background-color: #FED766 !important;
}

.black-text {
    color: #222 !important;
}

.darker-text {
    color: #555 !important;
}

.white-background {
    background-color: #fff !important;
}

/* //////////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: #0f7173; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; 
    border-left: 3px solid #f05d5e;
  }
  
  /* 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.6rem;
    right: 2rem;
    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;
      margin-left: auto;
      align-self: flex-end;
      justify-self: flex-end;
      margin-bottom: 0.3rem;

      filter: brightness(0);
  }

  .closebtn,
  .open-nav {
    width: 3rem;
  }
  

/*------- Navbar styling */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #FED766;
    color: #333;
    z-index: 1000;
    box-shadow: 0 2px 5px #0f7173;
  }
  
  .navbar-container {
    display: flex;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 3.6rem;
}


.nav-logo {
    width: 15rem;
    margin-bottom: -9rem;
}

/* Menu styling */
.nav-menu {
    margin: 0 auto;
    list-style: none;
    display: flex;
    align-self: center;
    justify-content: center;
    gap: 2.4rem;
    padding: 0;
  }
  
  .nav-menu li {
    display: inline-block;
    justify-self: center;
    align-self: center;
    margin: 0 auto;
  }
  
  .nav-link {
    text-decoration: none;
    color: #222;
    font-size: 2.6rem;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: #f05d5e;
  }
  
  /* Responsive menu for small screens */
  @media screen and (max-width: 768px) {
    .nav-menu {
      display: none; /* Hide menu initially */
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 0;
      background-color: #333;
      width: 100%;
      padding: 10px 0;
    }
  
    .nav-menu.show {
      display: flex; /* Show menu when toggled */
    }
  
    .navbar-container {
      justify-content: space-between;
    }
  }

/*------------ HERO */

.hero {
    padding: 0.6rem 0.6rem 0rem;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.774), rgba(0, 0, 0, 0.002)), 
    url('/imgs/heroBanner.jpg'); 
    background-position: top;
    background-size: cover;
    height: 80vh;
}

.hero-box {
    margin: 0 auto;
    max-width: 120rem;
    display: flex;
    height: 100%;
    align-items: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    justify-content: flex-start;
    padding-left: 3.6rem;
}

.hero-sub-header {
    font-size: 2.4rem;
    color: #FED766;
    line-height: 0.1;
    margin-left: 0.6rem;
    font-weight: bold;
}

.hero-header {
    font-size: 6rem;
    color: #fff;
    width: 50rem;
}

.hero-caption {
    font-size: 2.4rem;
    color: #fff;
    width: 40rem;
}

.hero-btn-box {
    display: flex;
    gap: 2.4rem;
    margin-right: auto;
}

.hero-button {
    background-color: #fff;
    font-size: 2.4rem;
    color: #333;
    padding: 0.6rem 1.2rem;
    border-radius: 2px;
    text-decoration: none;
}

.hero-button-two {
    background-color: #FED766;
    font-size: 2.4rem;
    color: #222;
    padding: 0.6rem 1.2rem;
    border-radius: 2px;
    text-decoration: none;
}

/*------------ QUADBOX */

.quadBox {
    padding: 0rem 0.6rem 4.8rem;
}

.quadBox-box {
    margin: 0 auto;
    max-width: 120rem;
}

.quadBox-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.6rem;
}

.quadBox-item {
    padding: 1.2rem;
    box-shadow: 0px 8px 20px rgba(50, 50, 50, 0.15);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.quadBox-header {
    font-size: 2.4rem;
    color: #333;
    font-weight: bold;
    text-align: center;
}

.quadBox-text {
    color: #888;
    font-size: 2.2rem;
    text-align: center;
}

.quadBox-line {
    width: 90%;
    height: 3px;
    background-color: #f05d5e;
    align-self: center;
    border-radius: 3px;
}

/*------------ ABOUT */

.aboutHeadings {
    padding: 3.6rem 0.6rem 1.2rem;
}

.aboutHeadings-box {
    margin: 0 auto;
    max-width: 120rem;
}

.aboutHeadings-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.aboutHeadings-caption {
    font-size: 2.4rem;
    color: #0f7173;
}

.aboutHeadings-heading {
    font-size: 3.6rem;
    color: #333;
}

.about {
    padding: 1.2rem 0.6rem 3.6rem;
}

.about-box {
    margin: 0 auto;
    max-width: 120rem;
}

.about-container {
    display: flex;
    gap: 3.6rem;
}

.about-imgBox {
    position: relative;
}

.about-imgBox::after {
    content: "";
    position: absolute;
    bottom: -2rem;  /* Adjusts vertical offset */
    right: 2rem; /* Adjusts horizontal offset */
    width: 100%;
    height: 50%;
    background: rgba(236, 22, 22, 0.774); /* Light greyish shadow */
    z-index: -1;
    border-radius: 8px; /* Optional for rounded corners */
}

.about-img {
    width: 45rem;
    border-radius: 15px;
}

.about-textBox {
    display: flex;
    flex-direction: column;
    gap: 3.6rem;
    align-items: center;
    justify-content: center;
}

.about-text {
    font-size: 2rem;
    color: #777;
    justify-self: center;
}

.about-bottomBox {
    display: flex;
    gap: 0.6rem;
    width: 90%;
    justify-content: space-evenly;
}

.about-captionBox {
    display: flex;
    gap: 3.6rem;
    width: 90%;
    justify-content: space-evenly;
    transform: skew(20deg); 
    background-color: #0f7173;
    padding: 0.6em 1.2rem;
    border-radius: 3px;
}

.about-caption {
    
    font-size: 3rem;
    color: #fff;
    transform: skew(-20deg); /* Counteracts the parent skew */
    text-align: center;
}


/*------------ QUADCARDS */

.quadCards {
    padding: 3.6rem 0.6rem;
}

.quadCards-box {
    margin: 0 auto;
    max-width: 120rem;
}

.quadCards-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-content: center;
    justify-items: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 8px 20px rgba(50, 50, 50, 0.15);
}

.quadCards-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
    box-shadow: 0px 8px 20px rgba(50, 50, 50, 0.15);
    border-right: 2px solid #eee;
    transition: all 0.3s;
}

.quadCards-item:hover {
    transform: scale(0.95);
    cursor: pointer;
}

.quadCards-icon {
    height: 8rem;
    padding: 0.6rem;
    justify-self: center;
    padding-top: 1.2rem;
    padding-left: 1.2rem;
}


.quadCards-header {
    font-size: 2.4rem;
    color: #333;
    padding: 1.2rem;
}

.quadCards-text {
    font-size: 2rem;
    color: #777;
    padding: 0 1.2rem 1.2rem;
}

.quadCards-img {
    width: 100%;
    margin-top: auto;
}

/*------------ DUOBLOCK */

.duoBlock {
    padding: 2.4rem 0.6rem;
}

.duoBlock-box {
    margin: 0 auto;
    max-width: 120rem;
}

.duoBlock-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    border-left: 6px solid #FED766;
}

.duoBlock-textBox {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background-color: #0f7173;
    padding: 2rem 4.8rem;
    justify-content: center;
}

.duoBlock-caption {
    font-size: 1.8rem;
    color: #fff;
}

.duoBlock-header {
    font-size: 3.6rem;
    color: #fff;
}

.duoBlock-text {
    font-size: 1.8rem;
    color: #fff;
}

.duoBlock-iconsBox {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.4rem;
}

.duoBlock-iconItem {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.duoBlock-icon {
    width: 6rem;
}

.duoBlock-iconText {
    font-size: 1.8rem;
    color: #fff;
}

.duoBlock-arrow {
    width: 4rem;
}

.duoBlock-imgBox {
    position: relative;
    height: 100%;
}

#duoBlockMobile {
    display: none;
}

.duoBlock-img {
    width: 100%;
}

/* Create a content container inside the box */
.duoBlock-content {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25rem;
    background: #FED766;
    border-radius: 3px;
    color: #222;
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.duoBlock-content p {
    font-size: 1.8rem;
    align-self: flex-start;
}

.duoBlock-content img {
    width: 3rem;
    filter: brightness(0);
    margin-left: auto;
}

.duoBlock-contentIconBox {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

/* -------CTA  */

.cta {
    padding: 4.8rem 0.6rem 2.4rem;
    background-color: #fff;
}

.cta .cta-box {
    max-width: 120rem;
    margin: 0 auto;
    letter-spacing: 0.5px;
    padding: 1.2rem;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    border-left: 6px solid #f05d5e;
}

.cta-form {
    align-self: center;
}

.cta-text {
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    justify-items: center;
    align-items: center;
    color: #777;
}

.cta-title {
    font-size: 6rem;
    font-weight: 200;
    color: #333;
    text-align: center;
}

.cta-text-box {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    font-size: 2.4rem;
    text-align: center;
    padding: 1.2rem;
}

.email-text,
.number-text {
    color: #333;
    text-decoration: none;
    font-size: 2rem !important;
}

.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 #0f7173;
    resize: none;
    padding: 1.2rem;
    background-color: #fff;
}

.input-box::placeholder {
    font-family: 'Quicksand', sans-serif;
    color: #999;
}

.message-input {
    height: 12rem;
}

.message-input::placeholder {
    font-family: 'Quicksand', sans-serif;
    color: #999;
}

.submit-btn {
    width: auto;
    align-self: flex-end;
    padding: 0.6rem 1.2rem;
    border: none;
    background-color: #0f7173;
    color: #fff;
    border-radius: 2px;
    font-size: 2.4rem;
    cursor: pointer;
    /* border: 1px solid #0d3b66; */
}


  /* ---------FOOTER */

.footer {
    padding: 4.8rem;
    background-color: #0f7173;
    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;
    column-gap: 3rem;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    align-self: center;
    justify-self: center;
}

.footer-logo-copy {
    align-items: center;
    text-align: center;
}

.footer-logo {
    width: 20rem;
}

.copyright {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #fff;
}

.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: 2.8rem;
    padding-bottom: 1.8rem;
    color: #fff;
}

.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:#fff;
    text-align: center;
}

.pauledward {
    text-decoration: none;
    color: #fff;
}

.footer-placeholder {
    font-size: 4.8rem;
}


.page {
    padding: 9.6rem 0.6rem 2.4rem;
}

.page-box {
    max-width: 100rem;
    margin: 0 auto;
}

.page-container {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;    
}

.page-title
 {
    font-size: 4.8rem;
    color: #0f7173;
    border-bottom: 3px solid #0f7173;
    margin-right: auto;
    border-radius: 15px;
}

.page-header {
    color: #444;
    font-size: 3.6rem;
    text-align: center;
    font-weight: 100;
}

.page-text {
    font-size: 2.4rem;
    color: #666;
    text-align: center;
}

.mini-cta {
    padding: 0rem 0.6rem !important;
}