/* Core CSS */

/*- rgb( 0, 119, 252) -*/


body {
    font-family: "Montserrat", Helvetica, Arial, "sans-serif";
    display: grid;
    margin: 0;
}

h1,
h2,
h3 {
    color: rgb(0, 119, 252);
    margin: 0;
    font-family: "dazzle-unicase", sans-serif;
    font-weight: 700;
    font-style: normal;
}

h4 {
    color: #144f89;
    font-family: "ofelia-display", sans-serif;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
}

p,
li {
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    margin: 0;
    color: #444;
}

b,
strong {
    color: rgb(0, 119, 252);
}

a {
    margin: 0;

    text-decoration: none;

    color: #094887;
    transition: ease color .5s;
}

a:hover {
    curor: pointer;
    color: #094887;
}

a:visited {
    color: #094887;
}

.secondColour {
    color: rgb(132, 130, 130);
}

/* - - - - - - - - - - */

#page-content {
    padding: 64px 0;
    display: grid;
    grid-gap: 32px;
}


.workspace {
    grid-gap: 32px;
}

/* - - - - - - - - - */

.desktop-img {
    display: none;
}

@media(min-width:768px) {
    .desktop-img {
        display: block;
    }

    .mobile-img {
        display: none;
    }
}

/* - */

.feature-1 {
    /*  background-color: #222; */
    padding: 24px;
    z-index: 3;
    /* border: solid 4px aliceblue; */
    margin-top: -96px;
    width: 80%;
}

@media(min-width: 768px) {
    .feature-1 {
        margin-top: -32px;
    }
}

@media(min-width: 1200px) {
    .feature-1 {
        margin-top: -64px;
    }
}

@media(min-width: 1600px) {
    .feature-1 {
        width: 100%;
        margin-top: -128px;
    }
}

.feature-img-border {
    border: 1px solid #fff;
    padding: 8px;
    width: calc(100% - 16px);
}

.feature-container {
    display: grid;
    align-content: start;

    padding: 15px;
    background-color: #7e7e7e;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.feature-content {
    display: grid;

    border-left: solid 2px #fff;
    border-right: solid 2px #fff;
    border-bottom: solid 2px #fff;

    margin: 24px 0px 16px;
}

.feature-title {
    display: grid;

    grid-template-columns: 5% max-content auto;
    grid-gap: 16px;
}

.feature-title h3 {
    margin-top: -11px;
    letter-spacing: 1px;
    color: #fff;
}

.feature-title-bar {
    width: 100%;
    height: 2px;
    background-color: #fff;
}

.feature-content p {
    color: #fff;
    padding: 16px;
    font-size: 15px;
    line-height: 24px;
}

.feature-read-more {
    display: grid;
    justify-self: center;
    border: 1px solid #fff;
    padding: 8px 16px;
    transition: ease opacity .5s;
}

.feature-read-more:hover {
    opacity: 0.5;
}


.feature-read-more h4 {
    text-transform: capitalize;
    color: #fff;
    font-weight: 400;
    letter-spacing: 1px;
}

.feature-1 .btn {
    color: #fff;
    padding: 8px;
    text-align: center;
    background-color: rgb(0, 119, 252);
    border: none !important;
    width: -webkit-fill-available;
}

.feature-1 .btn:hover {
    background-color: rgb(0, 119, 252);
}

/* - */

.centered {
    display: grid;
    justify-self: center;
    justify-content: center;
}

.centered h1,
.centered h2,
.centered h3,
.centered h4,
.centered p,
.centered a {
    justify-self: center;
}

/* - */

.stack {
    align-self: start;
}

/* - */

.sec {
    padding: 16px 0;
}

.heading {
    grid-gap: 8px;
}

.heading h1 {
    color: rgb(0, 119, 252);
    font-size: 32px;
}

.heading h3 {
    color: #676767;
    border-top: solid 2px rgb(0, 119, 252);
    padding-top: 8px;
}


/* - */


.dark {
    background-color: #222;
}


/* - */


.btn {
    display: grid;
    border: solid #222 2px;
    justify-self: start;
    padding: 8px 16px;
    font-weight: 400;
    font-size: 14px;
    transition: ease background .5s;
}

.btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.btn h4 {
    text-transform: capitalize;
    color: #222;
    letter-spacing: 1px;
}

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

.list {
    display: grid;
    align-content: center;
}

.list p {
    align-content: center;
    display: grid;
    grid-template-columns: max-content auto;
}

.list p:before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    color: rgb(0, 119, 252);
    align-self: start;
    content: "\f1b0";
    margin-right: 8px;
    font-size: 16px;
    border-right: solid 2px;
    padding-right: 8px;
}

/* - */



/* - 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(132, 130, 130);
    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;
    border: #fff solid 1px;
    align-self: center;
}

.testimonial-dot:hover {
    cursor: pointer;
    border-color: rgb(0, 119, 252);
}

.active-testimonial-dot {
    background-color: rgb(132, 130, 130);
    border-color: rgb(132, 130, 130);
    /*border: none;*/
}

/* - */

.contact-page-details {
    display: none !important;
}

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

@media(min-width: 768px) {
    .contact-page-details {
        display: grid !important;
    }
}


/* - */

hr {
    width: 80%;
    height: 1px;
    background-color: rgb(0, 119, 252);
    border: none;
}

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

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

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

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


/* - Table - */

.w100 {
    width: 100%;
}

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

thead {
    background-color: rgb(0, 119, 252);
    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;
}


/* - */

.contact-box {
    border: solid 1px;
    border-top: none;
    color: #6f6f6f;
}

.contact-box-top {
    display: grid;
    grid-template-columns: 32px max-content auto;
    grid-gap: 16px;
}

.contact-box-line {
    border-top: 1px solid;
}

.contact-box-top h2 {
    margin-top: -16px;
}

.contact-box-content {
    padding: 0px 32px 24px;
}

.anti-overflow {
    overflow-wrap: anywhere;
}

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

.mobishow {
    display: none !important;
}

.mobihide {
    display: grid !important;
}

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

    .mobihide {
        display: none !important;
    }
}

/* From Uiverse.io by kamehame-ha */
.cards {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
}

.cards .red {
    background-color: #1c2734;
}

.cards .blue {
    background-color: #214860;
}

.cards .green {
    background-color: #0e5684;
}


.cards .pink {
    background-color: #3e8cbc;
}

.cards .yellow {
    background-color: #e2cfb3;
}

.cards .card {
    max-width: 394px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    /*
    height: 100px;
    width: 250px;
*/
    padding: 40px 10px 40px 10px;
    border-radius: 15px;
    /*    color: white;*/
    cursor: pointer;
    transition: 400ms;
    /*    padding: 10px*/
}

.cards .card p.tip {
    /*
    font-size: 1em;
    font-weight: 700;
*/
    margin-bottom: 8px;
    font-size: 21px;
    justify-self: left;
    text-align: left;
    font-family: "ofelia-display", sans-serif;
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
    color: #fff;
}

.cards .card p.second-text,
.card li {
    justify-self: center;
    text-align: center;
    /*    font-size: .7em;*/
    color: #fff;
}

.cards .card:hover {
    transform: scale(1.1, 1.1);
}

.cards:hover > .card:not(:hover) {
    filter: blur(10px);
    transform: scale(0.9, 0.9);
}

@media(max-width: 768px) {

    /* From Uiverse.io by kamehame-ha */
    .cards {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .cards .red {
        background-color: #1c2734;
    }

    .cards .blue {
        background-color: #214860;
    }

    .cards .green {
        background-color: #0e5684;
    }


    .cards .pink {
        background-color: #3e8cbc;
    }

    .cards .yellow {
        background-color: #e2cfb3;
    }



    .cards .card {
        /*    width: 100%;*/
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        /*
    height: 100px;
    width: 250px;
*/
        padding: 40px 10px 40px 10px;
        border-radius: 15px;
        /*    color: white;*/
        cursor: pointer;
        transition: 400ms;
        /*    padding: 10px*/
    }

    .cards .card p.tip,
        {
        justify-self: left;

        /*
    font-size: 1em;
    font-weight: 700;
*/
        font-size: 21px;

        font-family: "dystopian", sans-serif;
        font-weight: 900;
        font-style: normal;
        text-transform: uppercase;
        color: #fff;
    }

    .cards .card p.second-text,
    .card li {
        text-align: left;
        justify-self: left;
        /*    font-size: .7em;*/
        color: #fff;
    }

    .cards .card:hover {
        transform: scale(1.1, 1.1);
    }

    .cards:hover > .card:not(:hover) {
        filter: blur(10px);
        transform: scale(0.9, 0.9);
    }
}


/* From Uiverse.io by Madflows */
.button2 {
    position: relative;
    overflow: hidden;
    height: 3rem;
    padding: 0 2rem;
    border-radius: 1.5rem;
    background: #1c2734;
    background-size: 400%;
    color: #fff;
    font-family: "ofelia-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.button2:hover::before {
    transform: scaleX(1);
}

.button2-content {
    position: relative;
    z-index: 1;
}

.button2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: 0 50%;
    width: 100%;
    height: inherit;
    border-radius: inherit;
    background: linear-gradient(82.3deg,
            rgba(14, 86, 132, 1) 10.8%,
            rgba(112, 176, 216, 1) 94.3%);
    transition: all 0.475s;
}
