.main-title {
    margin: auto;
    font-size: 50px;
    font-weight: 600;
    text-shadow: 0 0 2px #ffffff1a, 0 0 4px #ffffff4d, 0 0 8px #fff6, 0 0 136px #76b72f47;
    letter-spacing: -2px;
    color: #fff;
    background: linear-gradient(135deg, #fff, #76b72fcc, #436f14cc, #83e517cc, #cdedab, #fff);
    background-size: 200% 200%;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

    .main-title::before {
        content: "";
        width: auto;
        height: 0px;
        box-shadow: -2px 14px 20px 1px #ffffff4d;
        display: flex;
    }

    .main-title-block{
        margin: 0; 
        margin-top: 150px;
        margin-bottom: 30px;
    }

.our-work-subtitle {
/*    padding: 20px 10% 20px 10%;*/
    color: #a39f9f;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

    .our-work-subtitle p {
        margin: 0 auto;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 1.4rem;
        line-height: 1.6;
        font-weight: 600;
        text-align: center;
        max-width: 750px;
    }

/*        .our-work-subtitle p:first-of-type {
            margin-bottom: 40px;
        }
*/
.section-team {
    padding: 0px 70px;
}

#grid {
    grid-gap: 5px;
    grid-template-columns: repeat(auto-fill, minmax(270px, 4fr));
    width: 100%;
    display: grid;
}

#grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
}


 
.aboutTitle {
    margin-top: 70px;
}

.filter-bar {
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

    .filter-bar button {
        background-color: #1e1e1e;
        color: #ffffff;
        border: 1px solid #ffffff;
        padding: 10px 20px;
        border-radius: 30px;
        font-size: 17px;
        letter-spacing: 0.5px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .filter-bar button:hover, .filter-bar button.active {
            background-color: #ffffff;
            color: #1e1e1e;
            border-color: #1e1e1e;
        }




.card-icon {
    max-width: 100px;
    height: auto;
    margin-top: 10px;
}




.section-heading {
    width: fit-content;
    background: linear-gradient(0deg, var(--color-prgreen) 45%, #fff 92%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}




#project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card {
    justify-content: space-between;
    height: 100%;
}

    .project-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
        cursor: pointer;
    }

    .project-card .project-image {
        width: 100%;
        height: 120px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        padding: 0.5rem;
        box-sizing: border-box;
        margin-top: 20px;
    }

    .project-card .project-info {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        color: #fff;
    }

    .project-card .project-info {
        flex-grow: 1;
    }

    .project-card .project-name {
        font-size: 22px;
        font-weight: 700;
        line-height: 1.2;
        color: #ffffff;
        font-family: 'Montserrat', sans-serif;
        letter-spacing: 1.4px;
    }

 

.project-description p {
    all: unset; 
    display: block; 
    color: #bbbbbb;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 1.2px;
    font-family: 'Montserrat', sans-serif;
}



.learn-more-container {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.project-card .project-learn-more {
    display: inline-block;
    background-color: #1e1e1e;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 30px;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
    width: auto;
    white-space: nowrap;
}

    .project-card .project-learn-more:hover {
        background-color: #ffffff;
        color: #1e1e1e;
        border-color: #1e1e1e;
    }

.technology-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-bottom: 25px;
}

.footer-card {
    align-self: flex-start;
    display: inline-block;
    border-radius: 8px;
    padding: 6px 18px;
    background-color: #2e2e2e;
    color: #e0e0e0;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    cursor: default;
}

    .footer-card:hover {
        color: #ffffff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    }

.main-title-section.banner {
    margin-top: 80px;
}


.project-container {
    position: relative;
}


.project-location {
    margin: 0;
    font-size: 1rem;
    color: #777;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.8rem;
}




@media only screen and (max-width: 1240px) {
    #project-grid {
        grid-template-columns: repeat(2, minmax(300px, 400px));
        justify-content: center;
        gap: 1.5rem;
        max-width: 100%;
    }

    .project-card {
        max-width: 400px;
    }
}


@media only screen and (max-width: 918px) {

    #project-grid {
        grid-template-columns: repeat(2, minmax(300px, 350px));
        gap: 1.5rem;
    }

    .project-card {
        max-width: 350px;
    }

    .technology-tags {
        margin-top: 10px;
        gap: 8px;
    }

    .project-card .project-image {
        height: 80px;
    }

    .project-card .project-name {
        font-size: 20px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 1.4px;
    }

    .project-card .project-description {
        font-size: 13px;
        line-height: 1.4;
        letter-spacing: 1px;
    }

    .footer-card {
        font-size: 13px;
    }

    .project-card .project-learn-more {
        font-size: 14px;
        padding: 8px 15px;
    }
}

@media only screen and (max-width: 770px) {
    .main-title,
    .main-title.sub {
        font-size: 45px;
        max-width: 500px;
    }

        .main-title.sub {
            word-spacing: 1px;
            letter-spacing: 1.2px;
        }

    .our-work-subtitle {
        max-width: 550px;
        margin: 0 auto;
    }


    .main-title-section {
        margin: 0px;
        margin-bottom: 20px;
    }
      
  .our-work-subtitle p:first-of-type {
        margin-bottom: 20px;
     }


    .filter-bar {
        margin-bottom: 28px;
        gap: 15px;
    }

        .filter-bar button {
            padding: 10px 30px;
            font-size: 20px;
        }

    #project-grid {
        padding: 0rem 1rem;
        grid-template-columns: repeat(2, minmax(300px, 300px));
        gap: 1.2rem;
    }

    .section-heading {
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 1rem;
        max-width: 600px;
        line-height: 1.4;
    }


    #grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .our-clients-container {
        width: 90%;
    }

    .client-slider img {
        height: 100px;
        max-height: 100px;
    }

    .project-card {
        max-width: 300px;
    }
}

@media only screen and (max-width: 700px) {


    #project-grid {
        grid-template-columns: repeat(1, minmax(500px, 500px));
        gap: 1.2rem;
    }

    .project-card {
        max-width: 500px;
    }

    .technology-tags {
        margin-top: 10px;
        gap: 10px;
    }

    .project-card .project-image {
        height: 100px;
    }

    .project-card .project-name {
        font-size: 22px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 1.4px;
    }

    .project-card .project-description {
        font-size: 15px;
        line-height: 1.4;
        letter-spacing: 1px;
    }

    .footer-card {
        font-size: 15px;
    }

    .project-card .project-learn-more {
        font-size: 18px;
        padding: 8px 15px;
    }
}
/*
@media only screen and (max-width: 650px) {

    .our-work-subtitle p {
        font-size: 1.6rem;
        line-height: 1.4;
    }


    .filter-bar {
        margin-bottom: 28px;
        gap: 13px;
    }

        .filter-bar button {
            padding: 10px 27px;
        }

    .section-heading {
        font-size: 1.9rem;
        max-width: 500px;
    }

}*/

/*@media only screen and (max-width: 615px) {
    .section-heading {
        font-size: 1.7rem;
        margin-bottom: 1rem;
        max-width: 480px;
    }

    .our-work-subtitle p {
        font-size: 1.5rem;
        line-height: 1.3;
        font-weight: 500;
    }


    .main-title {
        font-size: 38px;
        max-width: 465px;
    }
}

@media only screen and (max-width: 550px) {
    .our-work-subtitle p {
        font-size: 1.2rem;
    }


}*/

/*@media (max-width: 515px) {

    .main-title {
        font-size: 35px;
        max-width: 290px;
    }



    .filter-bar {
        margin-bottom: 20px;
        gap: 8px;
    }

        .filter-bar button {
            padding: 8px 12px;
            font-size: 16px;
        }

    .our-work-subtitle p {
        font-size: 1.2rem;
    }

}
*/


@media only screen and (max-width: 590px){
    #project-grid {
        grid-template-columns: repeat(1, minmax(450px, 450px));
    }

    .project-card {
        max-width: 450px;
    }

    .our-work-subtitle {
        max-width: 400px;
    }

        .our-work-subtitle p {
            font-size: 1.4rem;
            line-height: 1.4;
        }


        .filter-bar button {
            padding: 10px 15px;
            font-size: 18px;
        }

}
@media only screen and (max-width: 480px) {
    #grid {
        grid-template-columns: 1fr;
    }

 
    .technology-tags {
        margin-top: 10px;
        gap: 8px;
    }

    .project-card .project-image {
        height: 80px;
    }

    .project-card .project-name {
        font-size: 24px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 1.4px;
    }

    .main-title {
        font-size: 38px;
        max-width: 280px;
    }

        .main-title.sub {
            max-width: 400px;
            font-size: 30px;
            word-spacing: 0px;
            letter-spacing: 1.1px;
        }



    .our-work-subtitle p:first-of-type {
        margin-bottom: 20px;
    }

    .filter-bar {
        margin-bottom: 15px;
    }


        .filter-bar button {
            padding: 5px 12px;
            font-size: 15px;
        }

    .project-card .project-name {
        font-size: 22px;
    }

    #project-grid {
        padding: 0rem 1rem;
    }

    .section-heading {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
        max-width: 350px;
    }

    .project-card .project-learn-more {
        font-size: 15px;
        padding: 10px 18px;
    }

    .project-description p {
        font-size: 15px;
        line-height: 1.5;
        letter-spacing: 1.2px;
    }

    .main-title-block {
        margin: 20px 0px;
    }

    .our-work-subtitle {
        max-width: 370px;
        margin: 0 auto;
        margin-bottom: 0px;
        padding: 0px;
    }


    .footer-card {
        font-size: 15px;
    }


    .our-work-subtitle p {
        font-size: 1.1rem;
        line-height: 1.4;
        font-weight: 500;
    }


    #project-grid {
        grid-template-columns: repeat(1, minmax(360px, 360px));
        gap: 1.2rem;
    }

    .project-card {
        max-width: 360px;
    }


    .project-location {
        font-size: 1.2rem;
    }
 

}

@media only screen and (max-width: 430px) {
    .main-title {
        font-size: 38px;
        max-width: 280px;
    }

   .main-title.sub {
            max-width: 400px;
            font-size: 30px;
            word-spacing: 0px;
            letter-spacing: 1.1px;
   }

    .main-title-block {
        margin: 20px 0px;
    }

    .project-location {
        font-size: 1rem;
    }
 

   .our-work-subtitle p:first-of-type {
            margin-bottom: 20px;
    }

    .filter-bar {
        margin-bottom: 15px;
    }


        .filter-bar button {
            padding: 5px 12px;
            font-size: 15px;
        }

    .project-card .project-name {
        font-size: 24px;
   
    }

    #project-grid {
        padding: 0rem 1rem;
    }

    .section-heading {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
        max-width: 350px;
    }

  

    .project-description p {
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 1.2px;
    }

   

    .our-work-subtitle {
        max-width: 350px;
        margin: 0 auto;
        margin-bottom: 0px;
        padding: 0px;
    }


    .footer-card {
        font-size: 17px;
    }


        .our-work-subtitle p {
            font-size: 1rem;
            line-height: 1.4;
            font-weight: 500;
        }


    #project-grid {
        grid-template-columns: repeat(1, minmax(350px, 350px));
        gap: 1.2rem;
    }

    .project-card {
        max-width: 350px;
    }

   
}

@media only screen and (max-width: 380px) {
    .main-title {
        font-size: 30px;
        max-width: 250px;
    }

    .main-title-block {
        margin: 10px 0px;
   
    }

        .main-title.sub {
            max-width: 320px;
            font-size: 27px;
            word-spacing: 0px;
            letter-spacing: 1.1px;
        }


    .our-work-subtitle {
        max-width: 300px;
        margin: 0 auto;
        margin-bottom: 0px;
    }
  
    .our-work-subtitle p {
            font-size: 1rem;
            line-height: 1.4;
            font-weight: 500;
     }
  
     .our-work-subtitle p:first-of-type {
                margin-bottom: 20px;
      }

    .our-work-subtitle {
         padding: 0px;
    }


    .filter-bar {
        margin-bottom: 15px;
    }
        .filter-bar button {
            padding: 5px 12px;
            font-size: 12px;
        }

    #project-grid {
        padding: 0rem 1rem;
    }



    .section-heading {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 0rem;
        max-width: 350px;
    }


    #project-grid {
        grid-template-columns: repeat(1, minmax(300px, 300px));
        gap: 1.2rem;
    }

    .project-card {
        max-width: 300px;
    }

        .project-card .project-image {
            height: 60px;
        }

        .project-card .project-name {
            font-size: 18px;
            letter-spacing: 1.2px;
        }

       

    .footer-card {
        font-size: 11px;
    }

    .project-card .project-learn-more {
        font-size: 11px;
    }

    .project-description p {
        font-size: 13px;
        line-height: 1.5;
        letter-spacing: 1.2px;
    }

}


@media only screen and (max-width: 325px) {

    .main-title-block{
        margin: 0px;
    }
    .main-title {
        font-size: 30px;
        max-width: 230px;
    }

        .main-title.sub {
            max-width: 300px;
            font-size: 25px;
            word-spacing: 0px;
            letter-spacing: 1.1px;
        }

    .our-work-subtitle {
        padding: 10px 10% 22px 10%;
    }


    #project-grid {
        grid-template-columns: repeat(1, minmax(250px, 250px));
        gap: 1.2rem;
    }

    .project-card {
        max-width: 250px;
    }


    .project-description p {
     
        font-size: 12px;
        line-height: 1.5;
        letter-spacing: 1.2px;
    }


    .our-work-subtitle p:first-of-type{
        margin-bottom: 0px;
    }

    .our-work-subtitle {
     max-width: 230px;
     margin: 0 auto;
     margin-bottom: 0px;

    }

    .our-work-subtitle p {
        font-size: 0.8rem;
        line-height: 1.4;
        font-weight: 500;
    }

    our-work-subtitle p:first-of-type {
        margin-bottom: 20px;
    }


    .filter-bar {
        margin-bottom: 20px;
        gap: 5px;
    }

        .filter-bar button {
            padding: 5px 12px;
            font-size: 12px;
        }

    #project-grid {
        padding: 0rem 1rem;
    }


    .section-heading {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 0rem;
        max-width: 300px;
    }


}


