html, body {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    font-family: Verdana, Geneva, sans-serif;
}

body::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
 body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }

.fade-in-element {
    animation: fade-in 1.4s;
}

@keyframes fade-in {
    from {opacity: 0; transform: scale(.7,.7)}
    to {opacity: 1;}
}

.no-scroll {
    overflow: hidden; 
}

.scroll-text {
    position: fixed;
    bottom: 2rem;
    left: 1rem;
    color: rgb(19, 19, 19);
    writing-mode: vertical-lr;
    transform: rotate(-180deg);
    text-orientation: mixed;
    background-color: rgb(218, 218, 218);
}

.menu-container {
    height: 100vh;
    width: 0%;
    text-align: center;
    transition: 1s;
    position: absolute;
    top: -110%;
    left: -10%;
    font-size: 30px;
    margin-left: 50px;
    z-index: 1;
    background-color: white;
}

.chat-link {
    text-decoration: none;
    color: rgb(156, 54, 54);
}

.chat-link:hover {
    cursor: pointer;
    color: rgb(180, 80, 80);
}

.chat-container {
    font-family: Helvetica, sans-serif, Arial;
    position: fixed;
    background-color: rgb(46, 46, 46);
    border-radius: 5px;
    color: white;
    right: 1rem;
    bottom: 6rem;
    border: 1px solid #d1d1d1;
    transform: translateY(150%);
    transition: all 1s ease-in-out;
    width: 300px;
    margin: 0 auto;
    padding: 2rem;
}

.chat-header {
    display: flex;
    border-bottom: 1px solid rgb(122, 122, 122);
}

.chat-header p {
    font-size: 1rem;
    padding-left: 1rem;
}

.stat-body {
    margin-left: 1rem;
}

.chat-btn {
    border-radius: 80%;
    font-size: 1rem;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    padding: 0.5rem;
    border: none;
}

.chat-btn:hover {
    cursor: pointer;
}

.chat-btn:focus {
    outline: none;
}

.chat-container.visible {
    transform: translateY(0);
}

.show {
    width: 110%;
    position: fixed;
    top: 0;
    left: -4rem;
}

.menu-list {
    list-style: none;
    padding: 5% 0 0 0;
}

.menu-item {
    padding: 1rem 0;
    font-size: 4vh;
}

.menu-item p {
    text-decoration: none;
    color: black;
}

.menu-btn {
    font-size: 1.5rem;
    border: none;
    background: none;
    padding: 0.5rem;
}
 
.menu-btn:hover {
    cursor: pointer;
} 

.menu-item p:hover {
    text-decoration: underline;
    cursor: pointer;
}

.menu-btn:focus {
    outline: none;
}

.top-bar {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: white;
}

.menu-btn-cont, .brand {
    width: 100%;
}

.menu-btn-cont {
    text-align: right;
    margin: 1rem;
}

.brand {
    margin: 1rem;
}

.banner {
    background-image: url('../img/jozi.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
}

.banner-rule {
    width: 5%;
    border: 1px solid #000000;
}

.banner-text {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    text-align: center;
    font-size: 3rem;
    padding-top: 10%;
    color: white;
}

.contact-form {
    font-size: 1.2rem;
    max-width: 30rem;
    margin: 5rem auto;
    padding: 2rem 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.911);
}

.contact-inputs {
    width: 70%;
    margin: 0 auto;
}

.form-text {
    color: #000000;
}

.modal {
    display: none;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    text-align: center;
    background-color: #fefefe;
    color: black;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 40%; /* Could be more or less, depending on screen size */
}

.show {
    display: block;
}

.popupbtn {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    margin: 2rem 0;
    width: 60%;
    background-color: #000000;
    color: white;
    border: none;
}

.popupbtn:hover {
    cursor: pointer;
}

.mail-input { 
    padding: .5rem;
    margin-left: 0.5rem;
    width: 60%;
    border: 0;
    outline: 0;
    border-bottom: 1px solid #000000;
    background: none;
}

::placeholder {
    color: black;
}

.sub-submit-btn {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    margin: 2rem 0;
    width: 60%;
    background-color: #000000;
    color: white;
    border: none;
}

.sub-submit-btn:hover {
    cursor: pointer;
}

.submit-btn:hover {
    cursor: pointer;
    background-color: white;
    color: #000000;
}

.privacy-link {
    font-size: 1rem;
    color: #0e0e0e;
}

.privacy-link:hover {
    color: #2b2b2b;
    cursor: pointer;
}

.socials {
    position: fixed;
    top: 25%;
    right: 2rem;
    z-index: 99;
}

.social-icon {
    padding: 1rem 0;
}

.social-icon a{
    font-size: 1.5rem;
    color: rgb(128, 128, 128);
}

.social-icon a:hover{
    color: #181818;
}

.services, .clients, .about {
    background-color: rgb(255, 255, 255);
    padding: 6rem 0;
}

.vision-headings {
    width: 30%;
    margin: 0 auto;
}

.visionh1 {
    font-size: 1.3rem;
}

.visionh2 {
    font-size: 2rem;
}

.vision-text-cont {
    width: 60%;
    background-color: rgb(236, 236, 236);
    margin: 0 auto;
    padding: 2rem 1rem;
}

.vtext-heading {
    font-size: 1.7rem;
    text-align: center;
}

.vision-text {
    width: 70%;
    margin: 0 auto;
}

.service-item {
    max-width: 300px;
    margin: 0 auto;
    border-bottom: 2px dotted gray;
}

.serv-img {
    width: 100px;
    margin: 0 auto;
}

.serv-img img {
    width: 100%;
}

.about-cont {
    display: flex;
    width: 100%;
}

.serv-cont {
    display: flex;
    width: 100%;
}

.cli-cont {
    display: flex;
    width: 100%;
    margin: 0 auto;
}

.client-content {
    height: 400px;
    width: 400px;
    margin-left: 1rem;
    padding: auto;
}

.company {
    width: 100%;
}

.complogo {
    display: block;
    height: 20vh;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.logoname {
    font-size: 1.5rem;
    text-align: center;
}

.logodescr {
    font-size: 1.3rem;
    text-align: center;
}

.client-names-cont {
    width: 700px;
    margin: 0 auto;
}

th {
    padding: 1rem 0;
}

tr {
    text-align: left;
}

td {
    padding: 2rem 0;
    border-top: 1px dotted gray;
}

td:hover {
    cursor: pointer;
}

.number {
    width: 20%;
}

.name {
    width: 50%;
}

.role {
    width: 40%;
}

.contact {
    background-color: black;
    color: white;
    text-align: left;
    padding: 6rem 0;
}

.contact-container, .services-container, .clients-container, .about-container {
    width: 80%;
    margin: 0 auto;
}

.small-line {
    width: 10%;
    border-bottom: 0.5rem solid white;
    margin: 0px;
}

.serv-small-line, .cli-small-line, .about-small-line {
    width: 10%;
    border-bottom: 0.5rem solid rgb(0, 0, 0);
    margin: 0px;
}

.contact-heading, .serv-heading, .cli-heading, .about-heading {
    font-size: 5vh;
}

.info-container {
    display: flex;
}

.cont-left-container {
    width: 100%;
    padding: 1rem 3rem;
    font-size: 1.3rem;
}

.cont-form-container {
    width: 100%;
    margin-left: 2rem;
    padding: 0 3rem;
}

.form-heading {
    font-size: 1.5rem;
}

.form-input {
    font-size: 1rem;
    padding: 0.3rem;
    width: 100%;
    margin-bottom: 0.3rem;
    border: none;
    resize: none;
    background-color: rgb(197, 196, 196);
}

.form-input:focus {
    outline: none;
}

::placeholder {
    color: rgb(34, 34, 34);
}

.submit-btn {
    font-size: 1rem;
    padding: 0.3rem 2rem;
    width: 40%;
    margin: 0 auto;
}

.submit-btn:hover {
    cursor: pointer;
}

.footer {
    background-color: #ffffff;
    margin: 0;
    padding: 3rem;
    text-align: center;
    color: rgb(0, 0, 0);
}

.footer-logo {
    font-size: 1.7rem;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.footer-container { 
    display: flex;
    margin: 0 auto;
}

.footer-info {
    max-width: 40rem;
    margin: 0 auto;
}

.contact-socials {
    max-width: 30rem;
    margin: 0 auto;
}

.copyright {
    margin: 4rem 0;
}

.contacts a {
    font-size: 1.5rem;
    margin-left: 1rem;
    color: black;
}

.contacts a:hover {
    color: rgb(78, 78, 78);
}

@media screen and (max-width: 1220px){
    .service-item {
        max-width: 100%;
        margin: 0 1rem;
    }
}

@media screen and (max-width: 800px){
    
    .chat-container {
        right: 0.2rem;
        width: 290px;
    }
    
    .menu-item {
        padding: 2rem 0;
        font-size: 4vh;
    }

    .about-cont {
        display: block;
    }

    .vision-headings {
        width: 80%;
    }

    .vision-text-cont {
        width: 90%;
        padding: 1rem;
    }

    .vision-text {
        width: 80%;
    }
    
    .info-container {
        display: block;
    }

    .cont-left-container {
        padding: 1rem 1rem;
    }
    
    .cont-form-container {
        margin-left: 0;
        padding: 0 1rem;
    }

    .service-item {
        max-width: 80%;
        margin: 0 auto;
    }

    .serv-cont {
        display: block;
    }

    .cli-cont {
        display: block;
    }

    .client-names-cont, .client-content {
        width: 100%;
    }
}

@media screen and (max-width: 420px){
    .banner-text {
        font-size: 2.5rem;
        padding-top: 20%;
    }

    th, td {
        font-size: 0.8rem;
    }

    .modal-content {
        margin: 30% auto;
    }

    .menu-container {
        height: 120vh;
    }
    
    .menu-item {
        padding: 1.8rem 0;
        font-size: 3vh;
    }

    .service-item {
        max-width: 100%;
    }

    .cont-left-container {
        font-size: 1rem;
    }

    .footer-container { 
        display: block;
    }
    
}