@font-face {
    font-family: 'Poppins Medium';
    src: url('/assets/font/Poppins-Medium.ttf') format('truetype');
    font-display: swap;
}

* {
    box-sizing: border-box;
}

:root {
    --clr-bergus-darkblue: #3b6472;
    --clr-bergus-cyan: #49c1c5;
    --clr-bergus-cyan-100: hsl(182, 52%, 90%);
    --clr-bergus-cyan-200: #b1e5e7;
    --clr-bergus-cyan-300: hsl(182, 52%, 70%);
    --clr-bergus-cyan-400: hsl(182, 52%, 60%);
}

html {
    scroll-behavior: smooth;
}

body, h1, h2, h3, p, a {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin:0;
    padding:0;
} 

h1, h2, h3 {
    font-family: 'Poppins Medium', 'Arial Bold', sans-serif;
}

a {
    color: var(--clr-bergus-darkblue);
}

.ia {
    scroll-margin-top:calc(80px + 4rem);
}


.chevron {
    fill: var(--clr-bergus-darkblue);
    width: 16px;
    height: 12px;
}

.container {
    margin:0 auto;
    max-width: 960px;
}


header {
    display: flex;
    /* justify-content: center; */
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    padding:0.5rem 1rem;
    background:white;
    box-shadow: 0 1px 16.83px .17px rgba(0, 0, 0, .05);
    height:80px;
    z-index: 1000;
}

header a {
    padding:0;
    margin:0;
}
header a:hover {
    cursor: pointer;
}

    


header img {
    /* background-color: violet; */
}

header nav {
    /* background-color: violet; */
}


header div {
    /* background-color: violet; */
}

header nav a {
    font-family: 'Poppins Medium';
    font-size: 18px;
    /* font-weight: 700; */
    text-decoration: none;
    /* text-transform: uppercase; */
    transition: all .4s ease;
    padding: 0 20px;
}

.hero {
    text-align: center;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero video {
    height: 100svh;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

 .hero #overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height:100%;
    background-color: #0006;
    color: whitesmoke;
    z-index: 1
}

.hero #overlay div {
    margin-top:30vh;
    text-align: left;
    display: inline-block;
}

.hero h1 {
    font-size: 6vw;
    font-weight: 700;
}

.hero h2 {
    font-size: 3vw;
    font-weight: 400;
    font-style: italic;
}


.hero .scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: calc(50% - 17.5px);
    bottom: 10%;
    height: 70px;
    width: 35px;
    /* border: 1px solid var(--clr-bergus-darkblue); */
    border-radius: 20px;
    /* background-color: var(--clr-bergus-cyan); */
    /* background-color: var(--clr-bergus-darkblue); */
    /* color: whitesmoke; */
    /* color: var(--clr-bergus-darkblue); */
    color: whitesmoke;
    background-color: #fff6;


    font-size: 22px;
    z-index: 3
}

.bounce {
    animation: bounce 2s infinite
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    to {
        transform: translateY(0)
    }

    40% {
        transform: translateY(-30px)
    }

    60% {
        transform: translateY(-15px)
    }
}



#services {
    padding: 2.5rem 0;
}

#services h2 {
    font-size: 1.8em;
    font-weight: 100;
    margin-bottom: 10px;
    color:var(--clr-bergus-darkblue);
}

#services p {
    max-width:70%;
    color:var(--clr-bergus-darkblue);
    font-weight: 200;
}

#services #areas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap:2rem;
    margin-top: 2.5rem;
}

#services .areas-item {
}

.areas-item > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width:180px;
    aspect-ratio: 1/1;
    background-color: var(--clr-bergus-cyan);
}
.areas-item > div:hover {
    background-color: var(--clr-bergus-cyan-300);
}

.areas-item svg {
        fill:white;
        width:60%;
}


.areas-item label {
    display:inline-block;
    width:100%;
    font-size: 1.1em;
    font-weight:400;
    margin-top: 0.5rem;
    color: var(--clr-bergus-cyan);
    text-align: center;
}


#testimonials {
    padding: 2.5rem 0;
    background-color: #f9f9f9;
    background-image: url('/assets/image/pikaso_reimagine_watercolor-painting-Abstract-gradient-background-w.jpeg');
    background-size: cover;
    background-position: center;
    padding:2rem 0;
}


    .testimonial-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
      grid-auto-rows: minmax(-webkit-min-content, -webkit-max-content);
      grid-auto-rows: minmax(min-content, max-content);
      grid-gap: 1rem;
      list-style: none;
      padding: 1rem;
      flex-basis: 75%;
      min-width: 50%;
      max-width: 100%;
    }
    
    .testimonial {
    background: #fffa;
    border-radius: 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem 3rem;
    overflow: hidden;
    position: relative;
    }
    
    .testimonial::before {
      background: var(--clr-darkgreen);
      content: "";
      display: inline-block;
      width: 100%;
      height: 7rem;
      position: absolute;
    }

    .testimonial img {
      border-radius: 50%;
      border: 0.4rem solid var(--clr-darkgreen);
      display: block;
      width: 8rem;
      height: 8rem;
      margin: 3rem 0 2rem;
      padding: 0;
      z-index: 1;
    }

    .testimonial blockquote {
        color:var(--clr-bergus-darkblue);
      font-size: 1.2rem;
      max-width: 75ch;
      margin: 0;
      padding: 0 0 1rem;
    }
    .testimonial blockquote p {
      /* border-left: 0.3rem solid rgba(234, 106, 71, 0.25); */
      display: inline-block;
      position: relative;
      /* line-height: 1.5; */
      letter-spacing: 0.01em;
      padding: 0 0 0 1.5rem;
      margin-left: -0.5rem;
    }
    .testimonial blockquote p::before, .testimonial blockquote p::after {
      display: inline-block;
      font-size: 2.5em;
      line-height: 0;
      margin-top: 0.25em;
      opacity: 0.2;
      vertical-align: middle;
    }
    .testimonial blockquote p::before {
      content: "“";
      margin-right: 0.2em;
    }
    .testimonial blockquote p::after {
      content: "”";
      margin-left: 0.2em;
    }
    .testimonial blockquote cite {
      display: block;
      font-size: 0.8em;
      font-style: normal;
      text-align: right;
      text-transform: capitalize;
      margin: 1em 1em 1em 2rem;
    }
    .testimonial blockquote cite::before {
      content: "— ";
    }

    .testimonial blockquote div {
        display: flex;
        justify-content: flex-end; 
        align-items: center;
    }

    .testimonial blockquote div a {
        padding-top:0.5rem;
    }

#testimonials h2 {
    font-size: 1.8em;
    font-weight: 100;
    margin-bottom: 10px;
    color:var(--clr-bergus-darkblue);
}

#testimonials p {
    color:var(--clr-bergus-darkblue);
    padding: 0.75rem 0;
}


#contact {
    color: var(--clr-bergus-darkblue);
    padding: 2.5rem 1rem;
    /* background-color: #0002; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

#contact div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 220px;
    aspect-ratio: 1/1;
    border:var(--clr-bergus-cyan) 2px solid;
    border-radius: 50%;
    margin-right:1rem;
}

#contact svg {
    fill: var(--clr-bergus-cyan-400);
    width:100px;
    height:100px;
}

#contact form {
    /* background-color: red; */
}   

#contact form h2 {
    font-size: 1.8em;
    font-weight: 100;
    margin-bottom: 10px;
    color:var(--clr-bergus-darkblue);
}

#contact form p {
    max-width:70%;
    color:var(--clr-bergus-darkblue);
    font-weight: 200;
    padding-bottom: 2rem;
}

#contact form input {
    width:50ch;
    font-size:1.2rem;
    color:var(--clr-bergus-darkblue);
    border:none;
    border-bottom: 3px solid var(--clr-bergus-cyan-200);
    margin-bottom: 1rem;
}

#contact form input[type="image"] {
    margin-left: 1rem;
    width:40px;
    height:40px;
    border:none;
    /* filter: invert(35%) sepia(35%) saturate(474%) hue-rotate(149deg) brightness(93%) contrast(93%); */
    /* filter: invert(92%) sepia(19%) saturate(434%) hue-rotate(129deg) brightness(96%) contrast(88%); */
    filter: invert(78%) sepia(26%) saturate(930%) hue-rotate(129deg) brightness(85%) contrast(85%);
} 


#footer {
    background-color: bisque;
    color: var(--clr-bergus-darkblue);
}



#footer .container {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    gap:2rem;
}

#footer .container > * {
    flex: 1;
}

#footer .container img {
    margin-bottom: 1rem;
    height:2.5rem;
}

#footer .container h2 {
    margin-top: 0.5rem;
    height:2.5rem;
    font-size: 1.0em;
    font-weight: 100;
}

#footer .container a {
    display:block;
    padding-bottom: 0.5rem;
    text-decoration: none;
}

#footer .container a span {
    white-space: nowrap;
}

#footer .container a:hover span {
    text-decoration: underline;
}

#footer .container a::before {
    content: ">";
    margin-right: 0.5rem;
    font-size: 75%;
    position: relative;
    top: -2px;
}

#footer .container a.nocaret::before {
    content: none;
}



/* STUFF FOR SERVICE SUB PAGES------------------------------------------ */

.allServices {
    display:flex;
    /* justify-content: space-evenly; */
    justify-content: space-around;
    gap:1rem;
    padding:2.5rem 0;
}

.svc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.svc label {
    font-size: 12px;
    color: var(--clr-bergus-cyan);
    /* text-align: center; */
}

.svc .svcCircle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        width:75px;
        aspect-ratio: 1/1;
        border:1px solid var(--clr-bergus-cyan);
        background-color: white;
    }

.svc .svcCircle svg {
    fill: var(--clr-bergus-cyan);
    width:50px;
}

.svc:hover .svcCircle {
    background-color: var(--clr-bergus-cyan);
}

.svc:hover .svcCircle svg {
    fill: white;
}



#subpage p {
    color: var(--clr-bergus-darkblue);
    font-size: 1.2rem;
    padding-bottom: 1rem;
}
.subhero {
    margin-top:80px;
    display:flex;
    justify-content: center;
    align-items: center;
    color:white;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-image: url("assets/image/pikaso_reimagine_watercolor-painting-Abstract-gradient-background-w.jpeg");     */
    height:200px;
}
.subhero h1 {
    font-size: clamp(0.8rem, 6vw, 4rem);
    font-weight: 700;
    color: white;
}

#subpage h2 {
    font-size: 1.8em;
    font-weight: 100;
    margin-bottom: 10px;
    color:var(--clr-bergus-darkblue);
}

.activeService,
.activeService * {
    border:1px solid var(--clr-bergus-cyan);
    fill:white !important;
    background-color: var(--clr-bergus-cyan) !important;
}

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