@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,700;1,600&display=swap');

html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    text-transform: inherit;
    letter-spacing: 0px;
    color: black;
    font-weight: 400;
    line-height: 1.8;
    font-style: normal;
    box-sizing: border-box;
    font-size: 14px;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 0px;
    padding-top: 0px; /* Ensures navbar does not overlap content */
}

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

.front-top-image img {
    width: 140px;
}

.front-top-image {
    width: 140px;
    margin: 0 auto;
}

.front-hand {
    display: inline-block;
    width: 34px;
    margin-right: 10px;
    margin-bottom: 0;
}

.front-page-h1 {
    font-size: 44px;
    text-align: center;
    color: black;
}

.front-page-intro {
    font-size: 20px;
    line-height: 146%;
    font-weight: 300;
    width: 700px;
    margin: 0 auto;
    color: black;
}

mark.front-highlight {
    background-color: #CCF3DE;
    display: inline-block;
    line-height: 0;
    padding-bottom: 20px;
}

.front-case-studies {
    display: flex;
    margin-top: 82px;
    flex-wrap: wrap;
    justify-content: center;
}

.case-study {
    width: 180px;
    height: 100px;
    background-color: #CCF3DE;
    margin: 15px 15px;
    border-radius: 7px;
    padding: 35px;
    transition: all 0.3s ease-in-out;
    display: block;
    text-decoration: none;
}

.case-study span {
    color: white;
}

.front-social {
    margin-top: 50px;
}

.front-social h2 {
    font-size: 24px;
    text-align: center;
}

.case-study:hover {
    -webkit-box-shadow: 0px 0px 20px -9px rgb(0 0 0 / 75%);
    -moz-box-shadow: 0px 0px 20px -9px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 20px -9px rgb(0 0 0 / 75%);
    -ms-transform: translate(0, -10px);
    -webkit-transform: translate(0, -10px);
    transform: translate(0, -10px);
}

.case-study h2 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.case-study a {
    color: white;
    border-bottom: 1px solid white;
    text-decoration: none;
}

.purple {
    background: #bf8abe;
    background: -moz-linear-gradient(-45deg, #bf8abe 0%, #a34070 100%);
    background: -webkit-linear-gradient(-45deg, #bf8abe 0%, #a34070 100%);
    background: linear-gradient(135deg, #bf8abe 0%, #a34070 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bf8abe', endColorstr='#a34070', GradientType=1);
}

.violet {
    background: #8c6da6;
    background: -moz-linear-gradient(45deg, #8c6da6 0%, #9b97b8 100%);
    background: -webkit-linear-gradient(45deg, #8c6da6 0%, #9b97b8 100%);
    background: linear-gradient(45deg, #8c6da6 0%, #9b97b8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8c6da6', endColorstr='#9b97b8', GradientType=1);
}

.green {
    background: #8ea8b2;
    background: -moz-linear-gradient(-45deg, #8ea8b2 0%, #abdcc2 100%);
    background: -webkit-linear-gradient(-45deg, #8ea8b2 0%, #abdcc2 100%);
    background: linear-gradient(135deg, #8ea8b2 0%, #abdcc2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8ea8b2', endColorstr='#abdcc2', GradientType=1);
}

.blue {
    background: #87b7be;
    background: -moz-linear-gradient(45deg, #87b7be 0%, #4050a3 100%);
    background: -webkit-linear-gradient(45deg, #87b7be 0%, #4050a3 100%);
    background: linear-gradient(45deg, #87b7be 0%, #4050a3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#87b7be', endColorstr='#4050a3', GradientType=1);
}

.front-social a {
    display: inline-block;
    margin: 0 25px;
    font-weight: 300;
    border-bottom: 1px solid black;
    color: black;
    transition: all 0.35s ease;
    text-decoration: none;
}

.front-social a:hover {
    color: #78999B;
    padding-bottom: 10px;
    border-bottom: 1px solid transparent;
}

.social-links {
    display: block;
    text-align: center;
    height: 45px;
}

.front-links {
    display: flex;
    justify-content: space-around;
}

.front-links ul {
    padding-left: 0;
    line-height: 270%;
    list-style-type: none;
    margin-left: 0;
    margin-top: 10px;
}

.front-links ul li a.front-text-link {
    font-weight: 300;
    color: black;
    transition: all 0.35s ease;
    text-decoration: none;
}

.front-links ul li a.front-text-link:hover {
    background-color: rgb(247, 211, 228);
    color: black;
}

.front-links h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.front-certifications {
    display: flex;
}

.front-nnbadge {
    width: 123px;
}

.front-idfbadge {
    width: 118px;
}

.case-study-h1 {
    font-size: 44px;
    font-weight: 700;
    text-align: center;
}

.case-study-h1 mark {
    background-color: #CCF3DE;
    display: inline-block;
    line-height: 0;
    padding-bottom: 20px;
}

.case-study-sep {
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: absolute;
    height: 20px;
    top: 220px;
    background: linear-gradient(184.36deg, #A44474 3.58%, #BC83B7 100%);
}

.case-study-h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 1.2em;
    margin-top: -15px;
}

.case-study-content {
    padding-top: 80px;
    font-size: 20px;
    font-weight: 300;
    color: black;
}

.img-full-width {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    position: relative;
    right: 50%;
    width: 100vw;
}

.breadcrumbs{
    margin-bottom: 30px;
    position: absolute;
    top: 50px;
}

.breadcrumbs a {
    font-size: 16px;
    color:black;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color:#a34070
}


/* Full-width navbar but content inside aligns with .container */
.navbar {
    display: flex;
    justify-content: center; /* Center contents */
    align-items: center;
    padding: 10px 0;
    background-color: black;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 30px;
}

/* Container inside navbar to control alignment */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px; /* Restrict width */
    padding: 0 20px; /* Prevent touching screen edges */
}

/* Align the logo to the left */
.nav-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

/* Align the menu items to the right */
.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 35px; /* Adds spacing between links */
}

/* Style the text links */
.nav-right a, .nav-left a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

/* Center the main content */
.container {
    max-width: 1024px; /* Restrict content area */
    margin: 0 auto;
    padding: 50px 20px;
}


.gradient-text {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(90deg, #6de3d2, #a685e2, #f25eff); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}



@media (max-width: 425px) {

    .case-study-content {
        font-size: 14px;
    }

    .container {
        max-width: 100%;
        margin: 0 auto;
        margin-left:30px;
        margin-right:30px;
    }

    .front-links {
        flex-direction: column;
    }

    .front-page-h1 {
        font-size: 30px;
    }

    .front-links h2,
    .front-links ul {
        text-align: center;
    }

    .front-certifications {
        justify-content: center;
    }

    .front-page-intro{
        width: 100%;
        font-size: 16px;
    }

    .case-study {
        width: 100%;
    }

    .front-case-studies {
        margin-top: 30px;
    }

    .front-social a {
        border: 0;
        display: block;
    }

    .social-links {
        height: auto;
    }


.front-social h2 {
    margin-bottom: 5px;
}

    
}