html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.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-section{
    margin-top: 0rem;
    margin-bottom: 0px;
}

.our-work-subtitle {
    padding-top: 20px;
    padding-bottom: 20px;
    color: #a39f9f;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

    .our-work-subtitle p {
        margin: 0 auto;
        font-size: 1.2rem;
        line-height: 1.6;
        font-weight: 400;
        text-align: center;
        max-width: 700px;
    }

.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;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1e1e1e;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

    .team-member:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
    }

    .team-member .card__background {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 1rem;
    }

.team-member-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.team-member-description {
    color: #777;
    font-size: 0.95rem;
}

.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;
    }



.map-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.map-image {
    width: 100%;
    max-width: 1200px;
}

.card-icon {
    max-width: 100px;
    height: auto;
    margin-top: 10px;
}

.dailystack-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 400px;
}

.dailystack-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
}

.main-title sub{
    font-size: 40px;
}
.client-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.client-slider {
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease;
    will-change: transform;
    align-items: center;
}

    .client-slider img {
        height: 50px !important;
        width: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        max-height: 100px;
    }

    .client-slider .item {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 140px;
        padding: 10px 20px;
    }

img.item-client-img {
    filter: grayscale(1);
}

.our-clients-container {
    width: 70%;
    margin: 0 auto;
    text-align: center;
}



.client-slider {
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease;
    will-change: transform;
    align-items: center;
}

    .client-slider img {
        height: 100px;
        width: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        max-height: 100px;
    }

    .client-slider .item {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 140px;
        padding: 10px 20px;
    }

.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;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background-color: #333;
}

.testimonial-card blockquote {
    font-family: 'Lora', Georgia, serif;
    font-size: 16px;
    font-style: italic;
    color: #dddddd;
    line-height: 1.6;
    margin: 0 auto 20px auto;
    position: relative;
    padding-left: 20px;
    text-align: center; 
    max-width: 90%; 
}
    .testimonial-card blockquote::before {
        content: "";
        font-size: 28px;
        color: #aaa;
        position: absolute;
        left: 0;
        top: 0;
    }

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-top: 10px;
    font-family: 'Inter', 'Poppins', 'Segoe UI', sans-serif;
}

    .testimonial-footer .name {
        color: #ffffff;
        font-size: 15px;
        font-weight: 600;
        font-family: 'Poppins', 'Segoe UI', sans-serif;
        letter-spacing: 0.4px;
    }

.testimonial-container {
    background-color: transparent;
    border-radius: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    justify-content: center;
    padding: 40px 20px 20px;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    justify-items: center;
}



.testimonial-card {
    scroll-snap-align: start;
    background-color: #2a2a2a;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
    color: #f5f5f5;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.testimonial-card {
    width: 100%;
    max-width: 300px;
}

#project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    padding-bottom: 0px;
}

.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);
}

    .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-card .project-description {
        color: #bbbbbb;
        font-size: 15px;
        line-height: 1.7;
        letter-spacing: 1.2px;
        font-family: 'Montserrat', sans-serif;
    }

        .project-card .project-description p {
            margin: 0 0 0.6rem 0;
        }

.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.banner {
    margin-top: 80px;
}

.main-title.testimonial{
    font-size: 35px;
}

.project-container {
    position: relative;
}

#project-modal,
#project-modal * {
    font-family: 'Montserrat', sans-serif !important;
}

#project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 1000;
}

    #project-modal.active {
        display: block;
    }

    #project-modal .modal-box {
        position: absolute;
        top: 400px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #1f1f1f;
        color: #ffffff;
        border-radius: 12px;
        width: 90%;
        max-width: 680px;
        padding: 1.5rem 2rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        max-height: 90vh;
        overflow-y: auto;
        z-index: 1001;
        letter-spacing: 1.2px;
    }

    #project-modal .modal-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: transparent;
        border: none;
        font-size: 1.2rem;
        line-height: 1;
        color: #ffffff;
        cursor: pointer;
        transition: opacity 0.2s ease;
    }

        #project-modal .modal-close:hover {
            opacity: 0.8;
        }

.modal-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-image-wrapper {
    flex: 0 0 auto;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: #2a2a2a;
    overflow: hidden;
}

    .modal-image-wrapper img,
    #modal-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background-color: #2a2a2a;
    }

.modal-header-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

#modal-title {
    margin: 0 0 0.25rem 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
}

.modal-subtitle {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #dddddd;
}

.modal-tagline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .modal-tagline .type-tag {
        display: inline-block;
        padding: 0.3rem 0.8rem;
        font-size: 0.875rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 4px;
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

        .modal-tagline .type-tag:hover {
            background-color: rgba(255, 255, 255, 0.2);
            color: #ffffff;
        }

.modal-section {
    margin-bottom: 1.75rem;
}

.modal-section-title {
    margin: 0 0 0.6rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.modal-section-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.modal-tech-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 20px;
}

    .modal-tech-container .footer-card {
        display: inline-block;
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 6px;
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        font-weight: 500;
        transition: background-color 0.2s ease;
    }

        .modal-tech-container .footer-card:hover {
            background-color: rgba(255, 255, 255, 0.2);
            color: #ffffff;
        }

.project-location {
    margin: 0;
    font-size: 1rem;
    color: #777;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.8rem;
}

.main-title-block{
    margin-bottom: 0;
}

.testimonial-block {
    
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-direction: column;
}

@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: 1100px) {
    .testimonial-cards {
        gap: 1.2rem;
        max-width: 880px;
    }

    .testimonial-card {
        max-width: 255px;
        padding: 13px;
    }
}

@media only screen and (max-width: 918px) {
    .testimonial-cards {
        gap: 1.5rem 0.8rem;
        max-width: 650px;
    }

    .testimonial-card {
        max-width: 255px;
        padding: 13px;
    }

    .testimonial-cards > .testimonial-card:nth-child(3):last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }

    #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: 40px;
        max-width: 500px;
    }

    .main-title.sub {
            word-spacing: 1px;
            letter-spacing: 1.2px;
    }

    .map-container {
        margin-left: 0;
        justify-content: center;
        display: flex;
    }

    .map-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .main-title.testimonial{
        font-size: 30px;
        margin: 0 auto;
        text-align:center;
    }

    #project-grid {
        padding: 0rem 1rem;
        grid-template-columns: repeat(2, minmax(300px, 300px));
        gap: 1.2rem;
    }

    .dailystack-container {
        margin-top: 0px;
    }

    .dailystack-image {
        max-width: 450px;
    }

    .client-slider-container {
        margin-top: -20px;
    }

    .section-heading {
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 1rem;
        max-width: 600px;
        line-height: 1.4;
    }

    .testimonial-cards {
        gap: 1.5rem 0.8rem;
        max-width: 650px;
    }

    .testimonial-card {
        padding: 15px 13px;
        max-width: 280px;
    }

    .testimonial-footer .name {
        font-size: 16px;
    }

    #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;
    }

    .filter-bar {
        margin-bottom: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0 10px;
    }

        .filter-bar button {
            padding: 8px 14px;
            font-size: 16px;
            border-radius: 20px;
            font-weight: 500;
            white-space: nowrap;
        }

    .our-work-subtitle p,
    .our-work-subtitle > p,
    .main-title-section p {
        font-size:1.2rem;
        line-height: 1.5;
        max-width: 90%;
        margin: 0 auto 12px;
        text-align: center;
    }
}

@media only screen and (max-width: 700px) {

    .testimonial-cards {
        max-width: 600px;
    }

    .testimonial-card {
        max-width: 250px;
    }

    #project-grid {
        grid-template-columns: repeat(1, minmax(300px, 400px));
        gap: 1.2rem;
    }

    .project-card {
        max-width: 400px;
    }

    .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) {

    .dailystack-image {
        max-width: 300px;
    }
}

@media only screen and (max-width: 615px) {
    .section-heading {
        font-size: 1.7rem;
        margin-bottom: 1rem;
        max-width: 480px;
    }

    .main-title {
        font-size: 38px;
        max-width: 465px;
    }

    html, body {
        overflow-x: hidden;
    }

    .testimonial-cards {
        max-width: 570px;
    }

    .testimonial-card {
        max-width: 300px;

    }

   .testimonial-card blockquote{
      margin: 0
   }

    .our-work-subtitle p, .our-work-subtitle > p, .main-title-section p {
        font-size: 1rem;
       
    }

}

@media only screen and (max-width: 480px) {
    #grid {
        grid-template-columns: 1fr;
    }

    #project-grid {
        grid-template-columns: repeat(1, minmax(300px, 300px));
        gap: 1.2rem;
    }

    .project-card {
        max-width: 300px;
    }

    .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;
    }
    .main-title.testimonial {
      max-width: 350px;
    }

    .filter-bar {
        gap: 8px;
    }

        .filter-bar button {
            padding: 6px 11px;
            font-size: 13px;
        }
}

@media only screen and (max-width: 430px) {

    #project-grid {
        padding: 0rem 1rem;
    }

    .dailystack-container {
        margin-top: 0px;
    }

    .dailystack-image {
        max-width: 250px;
    }

    .section-heading {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
        max-width: 350px;
    }

}

@media only screen and (max-width: 400px) {

    #project-grid {
        padding: 0rem 1rem;
    }

    .dailystack-container {
        margin-top: 0px;
    }

    #project-grid {
        grid-template-columns: repeat(1, minmax(250px, 250px));
        gap: 1.2rem;
    }

    .project-card {
        max-width: 250px;
    }

        .project-card .project-image {
            height: 60px;
        }

        .project-card .project-name {
            font-size: 18px;
            letter-spacing: 1.2px;
        }

        .project-card .project-description p{
            font-size: 11px;
            letter-spacing: 0.8px;
        }

    .footer-card {
        font-size: 11px;
    }

    .project-card .project-learn-more {
        font-size: 13px;
    }

    .main-title,
    .main-title.testimonial,
    .section-heading {
        font-size: 30px;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
    }

        .main-title.testimonial{
            font-size: 25px;
          
        }

        .main-title.sub {
            font-size: 28px;
            max-width: 280px;
            margin: 0 auto;
            text-align: center;
        }

    .our-work-subtitle p {
        font-size: 0.95rem;
        max-width: 90%;
    }

    .main-title.banner {
        margin-top: 40px;
    }

    .testimonial-cards {
        max-width: 500px;
    }

    .testimonial-card {
        max-width: 250px;
    }

}

@media only screen and (max-width: 325px) {
  
    #project-grid {
        padding: 0rem 1rem;
    }
  
}
