.step-card:hover {
    border: 1px solid #2e867e;
}

.step-card:hover .step-icon {
    color: #fff;
}

#work-banner {

    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 120px 15px 80px;
    position: relative;
    overflow: hidden;
    height: 53rem;
    background-color: #F9F3EE;
    background-image: url("../img/about-banner_bg.webp");
    position: relative;
}

#work-banner .banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #39A79C;
}

.banner-social {
    position: absolute;
    top: 33%;
    left: 10%;
}

.icon-circle {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: #39A79C10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(57, 167, 156, 0.15);
}

.icon-circle img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.icon-circle:hover {
    background: #39A79C;
    transform: scale(1.1);
}

#work-banner .work-banner-image {
    position: relative;
    margin-top: 70px;
}

#work-banner .banner-image {
    width: 60%;
    max-width: 90%;
    margin-top: 3rem;
    
    animation: float 5s ease-in-out infinite;
}

.work-banner-card {
    position: absolute;
    top: 33%;
    right: 10%;
}

.work-client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.work-client-card p {
    font-weight: 600;
    margin: 0;
    font-size: 16px;
    color: #444;
}

#work-process {
    background: linear-gradient(135deg, #1D272E 0%, #106E74 100%);
    position: relative;
    padding: 5rem 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 2px 32px 0 rgba(57, 167, 156, 0.07);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(57, 167, 156, 0.14);
    position: relative;
    min-height:160px;
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.03);
    border: 2px solid #39A79C;
    box-shadow: 0 4px 44px 0 rgba(57, 167, 156, 0.18);
}

.step-icon svg {
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 6px #39A79C20);
    transition: filter 0.3s;
}

.step-card:hover .step-icon svg {
    filter: drop-shadow(0 4px 16px #39A79C50);
}

.vertical-connector {
    position: absolute;
    left: 50%;
    top: 9%;
    width: 2.5px;
    height: 80%;
    background: linear-gradient(#39A79C 0%, #106E74 100%);
    opacity: 0.33;
    border-radius: 2px;
    z-index: 0;
    animation: connectorGlow 2s ease-in-out infinite;
}

#word-collection {
    padding: 3rem 2rem;
    background-color: #fff;
}

.btn-group {
    display: inline-flex;
    gap: 1rem;
}

.work-control {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.filter-btn {
    display: inline-block;
      padding: 1rem 2.5rem;
    color: #fff;
    border-radius: 2rem;
    background: linear-gradient(95deg, #01c3c1 0%, #39A79C 100%);
    border: none;
    font-family: "spacegrotesk";
    font-size: 18px;
    text-transform: capitalize;

}

.collection-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    transition: opacity 0.5s ease;
}

.word-card {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: #f9f9f9;
}

.word-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
}

.word-card:hover img {
    transform: scale(1.05);
}

.word-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 576px) {
.step-card {
        padding: 1.5rem 1rem;
    }
}

@media screen and (max-width: 1280px) and (max-height: 800px) {
#work-banner .banner-image {
        margin-top: 9.2rem;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1024px) and (min-height: 600px) and (max-height: 600px) {
#work-banner {
        height: 100%;
        padding: 120px 14px 0px;
    }
#work-banner .banner-image {
        margin-top: 10.2rem;
    }
.banner-social {
    top: 35%;
}
.icon-circle {
    width: 4rem;
    height: 4rem;
}
}

@media (max-width: 992px) {
.vertical-connector {
        display: none;
    }
}

@media(max-width:768px) {
#work-banner {
        padding: 100px 15px 0px !important;
        height: 100% !important;
    }
#work-banner .work-banner-image {
        position: relative;
        margin-top: 0px;
    }
.banner-social {
        position: relative !important;
        left: 0;
    }
.work-banner-card {
        position: relative !important;
        right: 0;
    }
#work-banner .banner-title {
        font-size: 27px;
    }
#work-banner .banner-image {
        width: 90%;
        margin-top: 0px;
        position: relative;
        bottom:-1rem;
    }
.icon-circle {
        width: 3rem;
        height: 3rem;
    }
.filter-btn {
        padding: 1rem !important;
    }
#word-collection {
        padding: 2rem 0rem;
    }
}