.projects-container {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

.projects-section {
    background-color: #f8f9fa;
    padding: 50px 0;
}

.projects-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    text-align: center;
}


.project-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.clients-section {
    padding: 50px 0;
    background-color: #fff;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
}

.clients-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 5rem;
    color: #333;
    text-align: center;
    position: relative;
}


.project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background-color: #fff;
}

.project-card-clickable {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project-card-clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-card-clickable .project-info {
    position: relative;
    z-index: 2;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}



.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.02);
}

.project-info {
    padding: 20px;
    background-color: #fff;
}

.project-client {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.project-type {
    font-size: 0.95rem;
    color: #2ab1ad;
    font-weight: 500;
    margin-bottom: 12px;
}

.project-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #777;
}


.project-detail-container {
    padding: 40px 0 0 0;
}

.project-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.project-title-section {
    margin: 30px 0 40px 0;
    padding: 25px 20px;
    text-align: center;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.content-section {
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

.project-detail-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.project-image-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lightbox-close:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.project-info-container {
    padding: 30px;
    background: white;
}

.project-meta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.meta-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2ab1ad;
}

.meta-label {
    font-weight: 600;
    color: #2ab1ad;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.meta-label i {
    margin-right: 8px;
    width: 20px;
}

.meta-value {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.youtube-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.youtube-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.youtube-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-description-section {
    padding: 60px 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    border-radius: 10px;
    border: 1px solid rgba(42, 177, 173, 0.08);
    box-shadow:
        0 15px 40px rgba(42, 177, 173, 0.08),
        0 5px 20px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.description-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 35px;
    display: flex;
    justify-content: start;
}

.description-text {
    font-size: 1rem;
    line-height: 1.9;
    color: #495057;
    text-align: justify;
    background: linear-gradient(135deg, rgba(42, 177, 173, 0.04) 0%, rgba(42, 177, 173, 0.02) 100%);
    border-radius: 20px;
    border-left: 5px solid #2ab1ad;
    position: relative;
    font-weight: 400;
    border: 1px solid rgba(42, 177, 173, 0.08);
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 30px;
    transition: background-color 0.2s ease;
    border: none;
}

.back-button:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.back-button i {
    margin-right: 8px;
    font-size: 0.875rem;
}

.cta-section {
    text-align: center;
    padding: 70px 50px;
    background: #2ab1ad;
    border-radius: 10px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-title {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.cta-button {
    background: #ffffff;
    color: #2ab1ad;
    padding: 10px 25px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button i {
    margin-right: 15px;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .project-detail-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .project-title-section {
        margin: 20px 0 30px 0;
        padding: 20px 15px;
    }

    .project-image-container {
        height: 300px;
    }

    .project-info-container,
    .youtube-section,
    .project-description-section {
        padding: 15px;
    }

    .project-meta-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-section {
        padding: 50px 25px;
        margin-top: 40px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: 18px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .project-detail-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .project-title-section {
        margin: 15px 0 25px 0;
        padding: 15px 10px;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .clients-title {
        font-size: 2rem;
    }

    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}