body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0F0F0F;
    color: #fff;
    line-height: 1.6;
}

.our-works {
    justify-content: center;
    align-items: center;
    margin: 2rem;
}

.projects {
    background-color: #0F0F0F;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin: 0;
    padding: 1rem 1rem;
    box-sizing: border-box;
}

.projects-container {
    width: 100%;
    max-width: none;
    margin: 0;
}

.project-row {
    display: flex;
    
    gap: 30px;
    margin-bottom: 40px;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 16px;
    overflow: hidden;
    padding: 40px;
    width: 100%;
    box-sizing: border-box;
}

.project-info {
    flex: 1.5;
    padding: 30px;
    background-color: #1e1e1e;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.project-icon {
    width: 44px;
    height: 44px;
    background-color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    
    font-weight: bold;
    font-size: 1.1rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.project-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-tag {
    background-color: var(--tag-bg);
    /* padding: 7px 14px; */
    border-radius: 20px;
    font-size: 1rem;
}

.project-description {
    font-size: 0.98rem;
    color: #cccccc;
    margin-top: 12px;
}

.project-image {
    flex: 0 0 550px;
    background-color: #1e1e1e;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 500px;
    height: 100%;
    position: relative;
    padding: 0;
    margin: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    display: block;
}

.project-image img:hover {
    transform: scale(1.03);
}

.project-details {
    flex: 1.2;
    padding: 30px;
    background-color: #1e1e1e;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    /* text-transform: uppercase; */
    letter-spacing: 0.7px;
    color: #FFF;
}

.technologies-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.part-leader {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.tech-tag {
    
    margin-top: 0rem;
    background-color: rgba(20, 20, 20, 0.8);
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 0.87rem;
    white-space: nowrap;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 6px;
}

.team-label {
    font-weight: 700;
    color: #8A2BE2;
}

.signup-button {
    background-color: #8A2BE2;
    color: white;
    border: none;
    padding: 13px 22px;
    letter-spacing: 2px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    /* text-transform: uppercase; */
    letter-spacing: 1.2px;
    font-size: 0.95rem;
    margin-top: 8px;
    text-decoration: none;
}

.signup-button:hover {
    background-color: #7020BD;
    transform: translateY(-3px);
}

@media (max-width: 1100px) {
    .project-row {
        flex-direction: column;
        padding: 16px;
    }

    .project-info,
    .project-details {
        padding: 20px;
    }

    .project-image {
        flex: 0 0 300px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    .our-works {
        padding: 2rem 1rem;
        margin: -1rem;
    }

    .project-row {
        margin-bottom: 30px;
        gap: 2rem;
    }

    .projects {
        margin: 0;
    }

    .project-info {
        padding: 1.5rem;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }

    .project-header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
        align-items: center;
    }

    .project-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .project-title {
        font-size: 1.5rem;
        text-align: center;
        margin: 0;
    }

    .project-meta {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
        align-items: center;
    }

    .meta-tag {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 2rem;
    }

    .project-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-top: 0;
        padding: 0 0.5rem;
    }

    .project-s {
        display: inline-flex;
        padding: 0.5rem 1rem;
    }

    .meta-item,
    .meta-item-2 {
        width: auto;
        min-width: 200px;
        text-align: center;
    }

    .project-details {
        padding: 1.5rem;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
        text-align: center;
        width: 100%;
    }

    .technologies-list {
        justify-content: center;
        gap: 0.8rem;
        padding: 0 0.5rem;
    }

    .tech-tag {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 2rem;
        margin: 0.3rem;
    }

    .team-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding: 1rem 0;
    }

    .team-label {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .signup-button {
        width: 100%;
        max-width: 300px;
        padding: 1rem;
        font-size: 1rem;
        margin-top: 1rem;
    }
}