.container.project-detail {
    padding: 120px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-top {
    max-width: 900px;
    margin: 0 auto 100px auto;
}

.project-meta {
    padding: 20px 0;
}

.meta-item {
    margin: 10px 0;
    flex-basis: 30%;
}

.meta-value {
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    word-spacing: 20px;
}

.project-title {
    font-size: 42px;
    font-weight: 700;
    color: #081548;
    margin-top: 0;
    margin-bottom: 10px;
}

.project-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    margin-top: 0;
    margin-bottom: 20px;
}

.project-video {
    text-align: center;
}

.project-video video {
    width: 100%;
}

.project-content {
    margin-bottom: 40px;
}

.project-description {
    flex: 1;
    min-width: 300px;
}

.content-section {
    margin-bottom: 30px;
}

.content-section h3 {
    font-size: 24px;
    color: #081548;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
}

.description-text, .tasks-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-image img {
    width: 100%;
    object-fit: cover;
}

.project-tasks {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.project-tasks h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #081548;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.back-to-projects {
    text-align: center;
    margin-top: 60px;
}

.back-to-projects .btn {
    background-color: #081548;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s, padding-right 0.3s, width 0.3s;
    position: relative;
}

.back-to-projects .btn:hover {
    padding-right: 30px;
    width: auto;
}

.back-to-projects .btn:hover::after {
    content: ' >';
    position: absolute;
    right: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 100px 20px;
    }

    .container.project-detail {
        padding: 100px 20px 40px;
    }
    
    .project-header h1 {
        font-size: 32px;
    }
    
    .project-header h2 {
        font-size: 20px;
    }
    
    .project-meta {
        flex-direction: column;
    }
    
    .meta-item {
        margin: 5px 0;
        flex-basis: 100%;
    }
    
    .project-content {
        flex-direction: column-reverse;
        gap: 30px;
    }
    
    .content-section h3 {
        font-size: 22px;
    }
    
    .description-text, .tasks-text {
        font-size: 14px;
    }
    
    .thumbnail {
        width: calc(33.33% - 7px);
    }

    .project-header h1 {
        font-size: 28px;
    }

    .project-header h2 {
        font-size: 18px;
    }

    .project-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }

    .project-tasks {
        padding: 20px;
    }

    .carousel-main {
        height: 300px;
    }
    
    .thumbnail {
        width: calc(33.33% - 7px);
    }
    
    .thumbnail-image {
        height: 60px;
    }
}