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

body {
    box-sizing: border-box;
    background-color: #000;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neua', 'Helvetica', sans-serif;
}

main {
    display: flex;
    justify-content: center;
    align-items: start;
    /* height: 100vh; */
}

.container {
    position: relative;
    display: flex;
    /* align-items: center; */
    width: 80%; /* Use 80% of the viewport width */
    margin-top: 5%; /* Adjusted top margin to raise the block */
    transition: all 300ms ease;

}

h1 {
    top:0;
    font-family: 'Helvetica Neue',  BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, 'Helvetica Neue', 'Arial Black', 'Arial', 'Ubuntu';
    transition: all 300ms ease;
    -webkit-transition: all 0.8s;
    /* line-height: 1em; */
    font-weight: 900;
    /* word-break: break-word; */
    white-space: normal;
    font-size: 12vw;
    background: linear-gradient(to right, #0d4673, #1d8f92, #32b593, #5a9fc6, #8551a0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    margin-bottom: 1em;
}

h1 span {
    display: block;
    line-height: 0.80em;
}
h1 span:last-child {
    padding-bottom: 0.2em;
}
.clients {
    display: flex;
    margin: auto;
    width: 80%;
    justify-content: space-between;
}
.contact-info {
    top: 0;
    position: relative;
    color: #fff;
    left: 5%;
    margin: 10% 0% 0;
    padding: 0;
}
.contact-info .inner {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}


.contact-info article {
    font-size: 3vh;
    /* 2rem; Responsive font size for paragraph */
    color: #fff;
    margin: 0;
    font-family: 'Playfair Display', 'Georgia', Times;
    font-style: normal;
}

a[type="phone"], a[type="email"] {
    transition: all 0.3s;
    position: relative;
    display: inline-block;
    border-radius: 1em;
    padding: 5px 1em;
    background: linear-gradient(to right, #0d4673, #1d8f92, #32b593, #5a9fc6, #8551a0);
    -webkit-background-clip: text; /* Clip the background over the text for webkit browsers */
    background-clip: text;
    color: transparent; /* Make the text color transparent to show the gradient */
    text-decoration: none; /* Optional: removes the underline from links */
    border: solid 2px transparent; /* Transparent border, the same width as the pseudo-element border */
    z-index: 1;
}

a[type="phone"]::after {
    content: attr(data-text);
    position: absolute;
    top: -2px; /* Adjust these values to match the border width */
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(to right, #0d4673, #1d8f92, #32b593, #5a9fc6, #8551a0);
     -webkit-mask: /* Mask for webkit browsers to clip the content */
     linear-gradient(to right, #0d4673, #1d8f92, #32b593, #5a9fc6, #8551a0) content-box,
     linear-gradient(to right, #0d4673, #1d8f92, #32b593, #5a9fc6, #8551a0);
    -webkit-mask-composite: xor; /* Using xor to clip the inner part of the pseudo-element */
    mask-composite: exclude; /* Standard syntax for xor effect */
}

footer {
    box-sizing: border-box;
    transition: all 300ms ease;
    display: flex;
    align-items: center;
    position: fixed;
    justify-content: space-between;
    bottom: 0;
    left: 0;
    height: 155px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2em 10%;
    width: 100%;
    backdrop-filter: blur(10px);
    margin-bottom: 0;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 0.9em;
}
.clients::before {
    content: '';
    height: 360px;
    display: block;
    position: static;
}

/* You might want to add vendor prefixes for better cross-browser support */
footer {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
footer nav {
    display: block;
}
footer nav ul {
    margin: 0;
    padding: 0;
    display: flex;
}

footer nav ul li {
    display: block;
    list-style: none;
    position: relative;
    height: 100%;
    margin: 0 30px;
    padding: 5% 30px;
}
footer nav ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(to right, #1d8f92, #32b593, #5a9fc6, #8551a0);
    -webkit-background-clip: text; /* Clip the background over the text for webkit browsers */
}
footer nav ul li a::before {
        content: '';
        position: absolute;
        top: -2px; /* Adjust these values to match the border width */
        left: -2px;
        right: -2px;
        bottom: -2px;
        z-index: -1;
        width: 4px;
        height: 50px;
        background: linear-gradient(to right, #0d4673, #1d8f92, #32b593, #5a9fc6, #8551a0);
   
}

h2 {
    font-size: 2rem;
    line-height: 1em;
}

/* Add responsiveness for smaller screens */
@media (max-width: 999px) {
    h1 {
        /* font-size: 48px; */
    }

    .contact-info {
        left: auto;
        margin-top: 0;
    }

    .container {
        margin-top: auto;
        display: block;
    }
    footer {
    }
}

@supports not ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    a[type="phone"]::after {
        background: #000; /* Assuming the page background is black */
    }
}
