/* GLOBAL */
a {
    text-decoration: none;
    color: var(--text-col);
}

a:hover {
    text-decoration: none;
    color: var(--hover-col);
}

/* LETS TALK */

.talk-button-section {
    display: flex;
    justify-content: center;
    margin-top: 43px;
    margin-bottom: 43px;
}

.talk-button {
    width: 280px;
    height: 60px;
    color: var(--text-col);
    background: #611cff; /* Bright yellow-orange */
    /* color: #023047; Dark navy for contrast */
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 32px;
    overflow: hidden;
    user-select: none;
}

/* Text containers */
.text-container {
    position: absolute;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.email-text, .copied-text {
    opacity: 0;
}

/* Animated appearance of email */
.talk-button:hover .default-text {
    opacity: 0;
}

.talk-button:hover .email-text {
    opacity: 1;
    animation: fadeIn 0.3s ease-in-out;
}

/* Clicked state: "Copied!" */
.talk-button.clicked .default-text,
.talk-button.clicked .email-text {
    opacity: 0;
}

.talk-button.clicked .copied-text {
    opacity: 1;
    animation: fadeIn 0.3s ease-in-out;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CERTIFICATIONS*/
.badge-section {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 24px;
}

.badge-section a:hover {
    color: black !important;
    text-align: center;
}
.badges-logos {
    max-width: 75px;
}

/* TESTIMONIALS */

.swiper {
    margin-top: 40px;
    margin-bottom: 43px;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.swiper-pagination {
    position: relative !important;
}

.swiper-pagination-bullet {
    background-color: var(--mid-col) !important;
}

.swiper-pagination-bullet-active {
    background-color: white !important;
}

.testimonial-text{
    font-style: italic;
    display: flex;
    align-items: center;
}

.testimonial-author-container{
    display: flex;
    margin-top: 20px;
}

.testimonial-avatar-section .avatar {
    border-radius: 50%;
    width: 70px;

}

.testimonial-author-info{
    margin-left: 10px;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.testimonial-author-name {
    font-weight: 600;
}

.testimonial-author-role{
    color: var(--mid-col);
}

.blog-posts-header {
    display: flex;
    justify-content: space-between;
}

.posts-view-all {
    margin-top: 5.25rem;
}

.posts-view-all:hover{
    cursor: pointer;
    transform: scale(1.1);
    transition: all 0.3s;

}

/* PROJECTS */
.project {
    display: flex;
    flex-direction: row;
    border: 1px solid var(--navbar-border-col);
    border-radius: 24px;
    padding: 24px;
    width: 360px;
    background-color: var(--navbar-col);

}

.projects-section {
    margin-top: 25px;
    margin-bottom: 25px;
}

.project-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.project-logo-section{
    display: flex;
    align-items: center;
}

.project-logo {
    width: 70px;
    height: 70px;
    border-radius: 24px;
    
}

.project-description {
    margin-left: 20px;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-weight: 700;
    font-size: 24px;
}

.project-date {
    font-size: 16px;
    font-weight: 700;
}

.project-role {
    font-size: 16px;
    /* font-weight: 700; */
}

/* BLOG POSTS */

.post-preview-v2 {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--navbar-border-col);
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    height: 160px;
}

/* .post-preview-v2 a {
    text-decoration: none;
    font-family: var(--header-font);
    color: var(--text-col);
} */

.post-preview-v2 .post-description {
    justify-content: center;
    display: flex;
    flex-direction: column;
    max-width: 450px;
}

.post-preview-v2 .post-title {
    font-size: 24px;
    font-weight: 700;
}

.post-preview-v2 .post-meta {
    color: var(--mid-col);
    font-size: 1.125rem;
    font-style: italic;
    margin: 0 0 0.625rem;
    font-family: var(--body-font);
}

.post-preview-v2 .post-image a {
    display: block;
    height: 100%;
}

.post-preview-v2 .post-image a img {
    /* max-height: 100%;
    max-width: 100%; */
    height: 100%;
    width: auto;
    border-radius: 12px;
    object-fit: cover;
}

.post-preview-v2 .post-image {
    /* width: 12rem; */
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* 404 */
.not-found {
    margin-top: 30%;
    color: #fff;
    font-size: 96px;
    font-family: "Fira Mono", monospace;
    letter-spacing: -7px;
    animation: glitch 1s linear infinite;
    margin-left: 40%;
}

@media only screen and (max-width: 1200px) {
    .not-found {
        margin-top: 30%;
        color: #fff;
        font-size: 96px;
        font-family: "Fira Mono", monospace;
        letter-spacing: -7px;
        animation: glitch 1s linear infinite;
        margin-left: 30%;
    }

    .project-row {
        display: flex;
        flex-direction: column;
        margin-bottom: 0px;
    }

    .project {
        display: flex;
        flex-direction: row;
        /* border: 1px solid lightgray; */
        border-radius: 24px;
        padding: 24px;
        margin-bottom: 24px;
        width: 360px;
    
    }

    .post-preview-v2 {
        padding: 1.25rem 0;
        border-bottom: 1px solid #eee;
        overflow: hidden;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        height: auto;
    }
}

@keyframes glitch {

    2%,
    64% {
        transform: translate(2px, 0) skew(0deg);
    }

    4%,
    60% {
        transform: translate(-2px, 0) skew(0deg);
    }

    62% {
        transform: translate(0, 0) skew(5deg);
    }
}


.not-found:before,
.not-found:after {
    content: attr(title);
    position: absolute;
    left: 0;
    /* margin-left: 581px; */
}

.not-found:before {
    animation: glitchTop 1s linear infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

@keyframes glitchTop {

    2%,
    64% {
        transform: translate(2px, -2px);
    }

    4%,
    60% {
        transform: translate(-2px, 2px);
    }

    62% {
        transform: translate(13px, -1px) skew(-13deg);
    }
}

.not-found:after {
    animation: glitchBotom 1.5s linear infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitchBotom {

    2%,
    64% {
        transform: translate(-2px, 0);
    }

    4%,
    60% {
        transform: translate(-2px, 0);
    }

    62% {
        transform: translate(-22px, 5px) skew(21deg);
    }
}
