/* CSS Document */

:root {
    --colour1: rgb(35, 14, 13);
    --colour2: rgb(148, 97, 93);

}


body {
    font-family: 'Montserrat', sans-serif;
}


h1,
h2,
h3,
h4 {
    font-family: "sofia-pro-soft", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    color: #867a77;
}

p,
li {
    font-weight: 300;
    font-size: 17px;
    line-height: 23px;
    letter-spacing: .5px;
    color: #444;
}

b,
strong {
    color: var(--colour1);
}

a {
    text-decoration: none;
    color: var(--colour1);
}

.heading {
    font-weight: 400;
    width: 100%;
    border-bottom: 1px solid var(--colour1);
    padding-bottom: 16px;
}

#page-content {
    display: grid;
    width: 100%;
    grid-gap: 32px;
    padding: 64px 0 64px;
    background-color: #F8F5E8;
    z-index: 4;
}

.workspace {
    grid-gap: 32px;
}

.secondColour {
    color: var(--colour2);
}

/* - */

#header {
    display: grid;
    background-color: #f9f5e8;
    z-index: 4;
}

.header-inner {
    display: grid;
    width: 100%;
    grid-gap: 16px;
    padding-bottom: 32px;
}

@media(min-width:768px) {
    #header {}
}

@media(min-width:992px) {
    #header {
        grid-template-columns: auto 950px auto;
    }

    .header-inner {
        grid-column: 2;
        grid-template-columns: repeat(3, 33%);
        padding: 32px 0;
        grid-gap: 0;
    }
}

@media(min-width:1200px) {
    #header {
        grid-template-columns: auto 1200px auto;
    }
}

/* - */

.social-container {
    display: grid;
    justify-self: center;
    align-self: center;

    grid-gap: 16px;
    margin-top: 16px;
}

@media(min-width: 992px) {
    .social-container {
        justify-self: start;
        margin: 0;
    }
}

.social-container a {
    grid-row: 1;
}

.social-icon {
    font-size: 40px;
}

#logo-container {
    display: grid;
    align-self: center;
    justify-self: center;
}

#logo {
    max-height: 150px;
    justify-self: center;
}

@media(max-width: 600px) {
    #logo {
        justify-self: center;
        max-width: 320px;
    }

}

.contact-details {
    display: grid;
    justify-content: center;
    grid-gap: 16px;
    align-self: center;
}

.contact-details h4,
.contact-details a {
    overflow-wrap: anywhere;
}

@media(min-width: 992px) {
    .contact-details {
        justify-self: end;
    }
}

/* - */

.contact-details a {
    display: flex;
    /* grid-row: 1; */
    justify-self: center;
    align-content: center;
    grid-gap: 8px;
}

.contact-details-icon {
    grid-row: 1;
    align-self: center;
}

.contact-details h4 {
    grid-row: 1;
    align-self: center;
}

/* - */





























hr {
    width: 80%;
    height: 1px;
    background-color: var(--colour1);
    border: none;
}

@media(min-width: 768px) {
    hr {
        width: 750px;
    }
}

@media(min-width: 992px) {
    hr {
        width: 950px;
    }
}

@media(min-width: 1200px) {
    hr {
        width: 1200px;
    }
}

/* - */

.btn {
    display: grid;
    justify-self: start;

    background-color: var(--colour1);
}

.btn h4 {
    grid-row: 1;
    grid-column: 1;
    z-index: 2;

    border: none;
    color: #fff;
    padding: 16px 32px;
    text-align: center;
    font-size: 16px;
    transition: ease .25s;
}

.btn::before {
    content: "";

    grid-row: 1;
    grid-column: 1;
    z-index: 1;
    background-color: #111;

    width: 0;
    height: 100%;

    transition: ease .25s;

    color: #fff;

    overflow: hidden;

    justify-self: end;
    align-self: center;
}

.btn:hover {
    cursor: pointer;
}

.btn:hover h4 {
    color: #fff;
}

.btn:hover::before {
    height: 100%;
    width: 100%;
}

/* - */

.banner {
    display: grid;
}

#banner-image {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    z-index: 1;

    width: 100%;
    height: 128px;
    background-size: cover;
    background-image: url('../img/banner-bg.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

#banner-overlay {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    z-index: 2;

    width: 100%;
    height: 128px;
    background-size: cover;
    opacity: 0.65;

    background-color: var(--colour1);
}

#banner-container {
    display: grid;
    grid-row: 1;
    grid-column: 1;
    z-index: 3;

    width: 100%;
    height: 128px;
    align-content: center;
    justify-content: center;
}

@media (min-width: 768px) {
    #banner-image {
        height: 256px;
    }

    #banner-overlay {
        height: 256px;
    }

    #banner-container {
        height: 256px;
    }
}

#banner-container h1 {
    color: #fff;
}

/* - */



/* - */

.contact-items {
    grid-gap: 20px;
}

.contact-icon {
    grid-row: 1;
    color: rgb(35, 14, 13);
    align-self: center;
    justify-self: start;
    border-right: solid 1px;
    padding-right: 12px;
    font-size: 20px;
    width: 15px;
    max-width: 15px;
}

.contact-items h3 {
    color: var(--colour1);
    grid-row: 1;
    margin: 0;

    align-self: center;
    justify-self: start;
}

.contact-items p {
    grid-row: 1;
    margin: 0;

    align-self: center;
    justify-self: start;
}

.contact-items p,
.contact-items a {
    overflow-wrap: anywhere;
}

.contact-items .element {
    align-content: start;
    justify-content: start;
    grid-gap: 16px;
}







/* Testimonials */

.testimonial-container {
    display: grid;
    width: 100%;
    background-image: url('../img/testimonial-bg.jpg');

    background-position: center center;
    background-color: #111;
    background-repeat: no-repeat;
    background-size: cover;

    min-height: 400px;
}

@media(min-width: 992px) {
    .testimonial-container {
        background-attachment: fixed;
    }
}

.testimonial {
    display: grid;
    align-self: center;
    justify-self: center;

    grid-row: 1;
    grid-column: 1;

    grid-gap: 16px;

    width: 512px;
    max-width: 80vw;

    opacity: 1;

    transition: opacity ease .5s;

    z-index: 3;
}

.opacity-0 {
    opacity: 0 !important;
}

.testimonial h3 {
    color: #fff;
    justify-self: center;
    font-size: 32px;
}

.testimonial p {
    color: #fff;
    justify-self: center;
    text-align: center;
}

.star-container {
    display: grid;
    align-content: center;
    justify-content: center;
}

.star {
    color: rgb(35, 14, 13);
    grid-row: 1;
}


.testimonial-controls {
    display: grid;
    z-index: 1;
    grid-row: 2;
    grid-column: 1;
    align-content: center;
    padding: 0 32px;
}

@media(min-width: 992px) {
    .testimonial-controls {
        grid-row: 1;
        grid-column: 1;
    }
}


.testimonial-arrow {
    color: #fff;
    font-size: 32px;
    grid-row: 1;
    grid-column: 1;

    transition: opacity .5s ease;
}

.testimonial-arrow:hover {
    cursor: pointer;
    opacity: 0.5;
}

.testimonial-left {
    justify-self: start;
}

.testimonial-right {
    justify-self: end;
}

.testimonial-dots {
    display: grid;
    grid-gap: 8px;
    justify-content: center;
    justify-self: center;
    align-self: center;
    z-index: 3;

    grid-row: 2;
    grid-column: 1;
}

.testimonial-dot {
    grid-row: 1;
    width: 8px;
    height: 8px;
    border-radius: 16px;
    background-color: #fff;
    align-self: center;
}

.testimonial-dot:hover {
    cursor: pointer;
    background-color: var(--colour1);
}

.active-testimonial-dot {
    background-color: var(--colour1);
    /*border: none;*/
}


/* - Table - */

.w100 {
    width: 100%;
}

.elem-table {
    border: 1px solid #fff;
    background-color: #fff;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

thead {
    background-color: var(--colour1);
    border-bottom: 2px solid #fff;
}

th {
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    border-left: 2px solid #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: solid 1px;

    height: 20px;
}

th h1 {
    font-size: 14px;
}

tr:nth-child(2n) {
    background: rgba(222, 222, 222, 0.30);
}


/*** TABLE STYLING ***/

table {
    border: 1px solid #fff;
    background-color: #fff;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

table td,
table th {
    border: 1px solid #fff;
    padding: 10px 10px;
}

table tbody td {
    font-size: 13px;
}

table thead th:first-child {
    border-left: none;
}

table tfoot td {
    font-size: 14px;
}

table tfoot .links {
    text-align: right;
}

/* Catch-all Centering Class */
.cent {
    justify-self: center;
    text-align: center;
}

.gatehouse {
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.roof .workspace .element {
    align-self: center;
    justify-self: center;
}

.roof .workspace .element .element h1,
.roof .workspace .element .element h3,
.roof .workspace .element .element p {
    justify-self: center;
    text-align: center;
}

@media(max-width: 768px) {
    .roof .workspace .element {
        align-self: left;
        justify-self: left;
    }

    .roof .workspace .element .element h1,
    .roof .workspace .element .element h3,
    .roof .workspace .element .element p {
        justify-self: left;
        text-align: left;
    }
}

/* Mobihide and Mobishow */

.mobishow {
    display: none !important;
}

.mobihide {
    display: grid !important;
}

@media (max-width: 768px) {
    .mobishow {
        display: grid !important
    }

    .mobihide {
        display: none !important;
    }
}

.card {
    padding: 32px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: all ease .25s;
    cursor: pointer;
}

.card:hover {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.button {
    position: relative;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    color: #230e0e;
    cursor: pointer;
    background-color: #d8c1b8;
    transition: all 0.2s ease;
}

.button:active {
    transform: scale(0.95);
}

.button:before,
.button:after {
    position: absolute;
    content: "";
    width: 150%;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    z-index: -1000;
    background-repeat: no-repeat;
}

.button:hover:before {
    top: -70%;
    background-image: radial-gradient(circle, #d8c1b8 20%, transparent 20%),
        radial-gradient(circle, transparent 20%, #d8c1b8 20%, transparent 30%),
        radial-gradient(circle, #d8c1b8 20%, transparent 20%),
        radial-gradient(circle, #d8c1b8 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, #d8c1b8 15%, transparent 20%),
        radial-gradient(circle, #d8c1b8 20%, transparent 20%),
        radial-gradient(circle, #d8c1b8 20%, transparent 20%),
        radial-gradient(circle, #d8c1b8 20%, transparent 20%),
        radial-gradient(circle, #d8c1b8 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
        10% 10%, 18% 18%;
    background-position: 50% 120%;
    animation: orangeTopBubbles 0.6s ease;
}

@keyframes orangeTopBubbles {
    0% {
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%,
            40% 90%, 55% 90%, 70% 90%;
    }

    50% {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%,
            50% 50%, 65% 20%, 90% 30%;
    }

    100% {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%,
            50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

.button:hover::after {
    bottom: -70%;
    background-image: radial-gradient(circle, #d8c1b8 20%, transparent 20%),
        radial-gradient(circle, #d8c1b8 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, #d8c1b8 15%, transparent 20%),
        radial-gradient(circle, #d8c1b8 20%, transparent 20%),
        radial-gradient(circle, #d8c1b8 20%, transparent 20%),
        radial-gradient(circle, #d8c1b8 20%, transparent 20%),
        radial-gradient(circle, #d8c1b8 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
    background-position: 50% 0%;
    animation: orangeBottomBubbles 0.6s ease;
}

@keyframes orangeBottomBubbles {
    0% {
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,
            70% -10%, 70% 0%;
    }

    50% {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%,
            105% 0%;
    }

    100% {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%,
            110% 10%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

button {
    margin: 0.5cm;
}

.Btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    position: relative;
    /* overflow: hidden; */
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s;
}

.svgContainer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    backdrop-filter: blur(0px);
    letter-spacing: 0.8px;
    border-radius: 10px;
    transition: all 0.3s;
    /*    border: 1px solid rgba(156, 156, 156, 0.466);*/
}

.BG {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #24a1de;
    z-index: -1;
    border-radius: 10px;
    pointer-events: none;
    transition: all 0.3s;
}

.Btn:hover .BG {
    transform: rotate(35deg);
    transform-origin: bottom;
}

.Btn:hover .svgContainer {
    border: 1px solid rgba(226, 226, 226, 0.466);
    background-color: rgba(204, 204, 204, 0.466);
    backdrop-filter: blur(4px);
}

.Btntwit {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    position: relative;
    /* overflow: hidden; */
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s;
}

.svgContainertwit {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    backdrop-filter: blur(0px);
    letter-spacing: 0.8px;
    border-radius: 10px;
    transition: all 0.3s;
    border: 1px solid rgba(156, 156, 156, 0.466);
}

.BGtwit {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #181818;
    z-index: -1;
    border-radius: 10px;
    pointer-events: none;
    transition: all 0.3s;
}

.Btntwit:hover .BGtwit {
    transform: rotate(35deg);
    transform-origin: bottom;
}

.Btntwit:hover .svgContainertwit {
    background-color: rgba(156, 156, 156, 0.466);
    backdrop-filter: blur(4px);
}

.Btninsta {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    position: relative;
    /* overflow: hidden; */
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
}

.svgContainerinsta {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    backdrop-filter: blur(4px);
    letter-spacing: 0.8px;
    border-radius: 10px;
    transition: all 0.3s;
    /*    border: 1px solid rgba(156, 156, 156, 0.466);*/
}

.BGinsta {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #f09433;
    background: -moz-linear-gradient(45deg,
            #f09433 0%,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%);
    background: -webkit-linear-gradient(45deg,
            #f09433 0%,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%);
    background: linear-gradient(45deg,
            #f09433 0%,
            #e6683c 25%,
            #dc2743 50%,
            #cc2366 75%,
            #bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f09433', endColorstr='#bc1888', GradientType=1);
    z-index: -1;
    border-radius: 9px;
    pointer-events: none;
    transition: all 0.3s;
}

.Btninsta:hover .BGinsta {
    transform: rotate(35deg);
    transform-origin: bottom;
}

.Btninsta:hover .svgContainerinsta {
    background-color: rgba(156, 156, 156, 0.466);
}

.Btnstock {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    position: relative;
    /* overflow: hidden; */
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s;
}

.svgContainerstock {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    backdrop-filter: blur(0px);
    letter-spacing: 0.8px;
    border-radius: 10px;
    transition: all 0.3s;
    border: 1px solid rgba(156, 156, 156, 0.466);
}

.BGstock {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #f48024;
    z-index: -1;
    border-radius: 10px;
    pointer-events: none;
    transition: all 0.3s;
}

.Btnstock:hover .BGstock {
    transform: rotate(35deg);
    transform-origin: bottom;
}

.Btnstock:hover .svgContainerstock {
    background-color: rgba(202, 202, 202, 0.466);
    backdrop-filter: blur(4px);
}

.LinkedinBtn {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    position: relative;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s;
}

.LinkedinBtn .svgContainer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    backdrop-filter: blur(4px);
    letter-spacing: 1px;
    /* Adjusted letter spacing */
    border-radius: 10px;
    transition: all 0.3s;
    /*    border: 1px solid rgba(156, 156, 156, 0.466);*/
}

.LinkedinBtn .BG {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: #0165e1;
    z-index: -1;
    border-radius: 9px;
    pointer-events: none;
    transition: all 0.3s;
}

.LinkedinBtn:hover {
    /*    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
    /* Added box shadow effect */
}

.LinkedinBtn:hover .BG {
    transform: rotate(35deg);
    transform-origin: bottom;
}

.LinkedinBtn:hover .svgContainer {
    background-color: rgba(156, 156, 156, 0.466);
}
