@keyframes revealImage {
    0% {
        clip-path: inset(0 0 100% 0);
        /* Start fully hidden from the top */
    }

    100% {
        clip-path: inset(0 0 0 0);
        /* Fully reveal the image from top to bottom */
    }
}

/*hero*/
.logo-watermark {
    position: absolute;
    top: 0;
    z-index: -1;
}

.logo-watermark img {
    max-width: none;
    width: 106vw;
    opacity: .4;
    clip-path: inset(0 0 100% 0);
    /* Initially hides the image from top */
    animation: revealImage 5s ease-in-out .8s forwards;
}

h1,
.h1-like {
    font-family: 'PF BeauSans ProSemiBold';
    line-height: 3.625rem;
}

.hero-container {
    position: relative;
    overflow-x: clip;
}

.first-title {
    color: #E8E8E3;
    margin-bottom: 88px;
}

.second-title {
    margin-left: 26%;
    margin-bottom: 88px;
    color: var(--wp--preset--color--regulargrey);
}

.third-title-container {
    margin-block-start: 0;
    display: flex;
    height: 83px;
    background-color: #E8E8E3;
    position: relative;
}

p.third-title {
    position: relative;
    padding-left: 58%;
    line-height: 69%;
}

p.third-title.h1-like:after {
    content: '';
    background-color: #E8E8E3;
    width: 100%;
    display: inline-block;
    max-height: 87%;
    height: 5vw;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

/*capabilities section*/


.circle {
    position: absolute;
    width: 92px;
    height: 92px;
    background-color: var(--wp--preset--color--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    z-index: 99;
}

.show-circle {
    opacity: 1;
}

.circle::after {
    content: '';
    background-image: url('https://smelqumian.com/wp-content/uploads/2025/02/desk-project-expand.svg');
    opacity: 0;
    font-size: 3rem;
    width: 42px;
    height: 42px;
    background-repeat: no-repeat;
    background-position: center;
}

.circle.show-text::after {
    opacity: 1;
}



.articles-container {
    /* background-color: var(--wp--preset--color--contrast);
    border-radius: var(--radius-border); */
    padding-top: 310px;
    padding-bottom: 60px;
}

.article-container {
    position: relative;
    padding-top: 30px;
    padding-bottom: 38px;
}

.article-container::after {
    content: '';
    position: absolute;
    width: 79.38%;
    border-top: .5px solid #707070;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.articles-container h3 {
    color: var(--wp--preset--color--contrast);
    font-size: 3rem;
    padding-left: 10.11%;
    line-height: 87px;
    padding-top: 62px;
    padding-bottom: 62px;
    position: relative;
    margin-top: 0;
    max-width: 100%;
}

.articles-container h3::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    max-height: 295px;
    background-color: var(--wp--preset--color--base);
    z-index: -1;
    height: 100%;
    -webkit-clip-path: inset(50% 0 50% 0);
    clip-path: inset(50% 0 50% 0);
    -webkit-transition: -webkit-clip-path .4s cubic-bezier(.165, .84, .44, 1);
    transition: -webkit-clip-path .4s cubic-bezier(.165, .84, .44, 1);
    transition: clip-path .4s cubic-bezier(.165, .84, .44, 1);
    transition: clip-path .4s cubic-bezier(.165, .84, .44, 1), -webkit-clip-path .4s cubic-bezier(.165, .84, .44, 1);
}

.article-container.is-hover h3::before {
    -webkit-clip-path: inset(0);
    clip-path: inset(0);
    -webkit-transition: -webkit-clip-path .6s cubic-bezier(.165, .84, .44, 1);
    transition: -webkit-clip-path .6s cubic-bezier(.165, .84, .44, 1);
    transition: clip-path .6s cubic-bezier(.165, .84, .44, 1);
    transition: clip-path .6s cubic-bezier(.165, .84, .44, 1), -webkit-clip-path .6s cubic-bezier(.165, .84, .44, 1);
}

.articles-container h3 a {
    text-decoration: none;
    max-width: 70.29%;
    display: inline-block;
}

.articles-container figure {
    border-radius: 56px;
    overflow: hidden;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    display: none !important;
    width: 25%;
}

.articles-container figure img {
    height: 100%;
    object-fit: cover;
}

.article-container.is-hover figure {
    z-index: 1;
    right: 4%;
    width: 20.61vw;
    height: 20.61vw;
    max-width: 400px;
    max-height: 400px;
    bottom: 0;
    display: block !important;
    opacity: 1;
    padding-left: 0;
    padding-right: 0;
    top: 50%;
}

.load-background {
    background-color: #E8E8E3;
    margin-top: 0;
    justify-content: center;
    display: flex;
    padding-top: 48px;
    padding-bottom: 48px;
    margin-block-end: 60px !important;
}

.load-button {
    font-size: 1rem;
    color: var(--wp--preset--color--contrast);
    font-weight: 400;
    box-shadow: none;
    border: 1px solid #707070;
    border-radius: 56px;
    background-color: transparent;
    padding: 8px 32px;
    cursor: pointer;
}

.load-button:hover {
    background-color: var(--wp--preset--color--secondbuttonbg);
    box-shadow: 4px 5px 0px #000000;
    font-size: 1.05rem;
}

@media screen and (min-width: 1000px) {

    h1,
    .h1-like {
        font-size: clamp(3.61rem, 7.21vw, 6rem);
    }

    .parallax-container.before-footer {
        margin-bottom: 144px !important;
    }

}

@media screen and (min-width: 2050px) {
    .articles-container {
        max-width: 2050px;
        margin: auto;
    }
}

@media screen and (max-width: 1633px) {
    .articles-container h3 {
        /* font-size: 6rem; */
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 1500px) {
    .articles-container h3 {
        /* font-size: 6rem; */
        font-size: clamp(1.8rem, 1.9vw + 1rem, 3rem);
        line-height: 60px;
        padding-top: 3%;
        padding-bottom: 3%;
    }

    .article-container.is-hover figure {
        width: 18.61vw;
        height: 18.61vw;
        max-width: 400px;
        max-height: 400px;
        top: 50%;
    }
}

@media screen and (max-width: 1200px) {

    h1,
    .h1-like {
        line-height: 2.8rem;
    }

    .articles-container h3 {
        /* font-size: clamp(1.8rem, 3.7vw + 1rem, 6rem); */
    }

    .articles-container.is-hover figure {
        top: -142%;
    }
}

@media screen and (max-width: 999px) {

    h1,
    .h1-like {
        font-size: 2.5rem;
        line-height: 3.8rem;
    }

    .first-title {
        margin-bottom: -10px;

    }

    .second-title {
        margin-bottom: 7px;
        margin-top: 0;
    }

    .third-title {
        margin-top: 0;
    }

    .parallax-container.before-footer {
        margin-bottom: 79px !important;
    }

    .articles-container {
        padding-top: 124px;
        margin-top: 0;
        padding-left: 9.6px;
        padding-right: 9.6px;
    }

    .article-container figure,
    .article-container.is-hover figure,
    .circle,
    .articles-container h3::before {
        display: none !important;
    }

    .articles-container h3 {
        /* font-size: 6rem; */
        padding-left: 1.4%;
        line-height: 40px;
        font-weight: 400;
    }

    .articles-container h3::after {
        content: '';
        background-image: url('https://smelqumian.com/wp-content/uploads/2025/02/desk-project-expand.svg');
        font-size: clamp(1.3rem, 7.21vw, 3rem);
        background-color: var(--wp--preset--color--secondary);
        border-radius: 50%;
        min-width: 32px;
        min-height: 32px;
        position: absolute;
        right: 1.4%;
        color: var(--wp--preset--color--base);
        text-align: center;
        width: 8vw;
        height: 8vw;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 50%;
        transform: translateY(-50%);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 60%;
    }

    /* .circle::after {
        content: '';
        
        opacity: 0;
        font-size: 3rem;
        
        background-repeat: no-repeat;
        background-position: center;
    } */


    .articles-container h3 a {
        /* font-size: 6rem; */
        font-size: 1.5rem;
        width: 78%;
        max-width: unset;
    }

    .article-container::after {
        width: 96.3%;
    }

    .load-background {
        padding-top: 10px;
        padding-bottom: 14px;
    }

    .load-button {
        font-size: .6rem;
        padding: 4.5px 20.6px;
    }
}

@media screen and (max-width: 700px) {

    h1,
    .h1-like {
        font-size: 1.667rem;
        line-height: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    .second-title {
        margin-left: 26%;
    }


    p.third-title {
        padding-left: 50%;
    }

    .articles-container h3 {
        line-height: 29px;
    }

    .articles-container h3 a {
        font-size: 1rem;
    }

    .articles-container h3::after {
        background-size: 50%;
    }
}

.parallax-inner video {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  z-index: -1 !important;
  pointer-events: none !important;
  max-width: none !important;
  max-height: none !important;
}

@media (max-width: 768pxpx) {
  .parallax-inner video {
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    top: 0 !important;
    left: 0 !important;
    right: unset !important;
    bottom: unset !important;
    position: fixed !important;  /* Κράτα το fixed! */
    z-index: -1 !important;
  }
  .parallax-inner, .parallax-container.before-footer {
    min-height: 100vh !important;
    min-height: 100svh !important;
  }
}
