.engineering-container {
    padding-top: min(8.5vh, 6vw);
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.engineering-header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.engineering-title {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.engineering-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.engineering-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
    cursor: pointer;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    cursor: pointer;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.case-image:hover .case-overlay {
    opacity: 1;
}

.view-detail {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 25px;
    text-transform: uppercase;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.view-detail:hover {
    background: white;
    color: #667eea;
    transform: scale(1.1);
    text-decoration: none;
}

.case-info {
    padding: 25px;
}

.case-title {
    font-size: 1.4rem;
    color: #333;
    margin: 0 0 12px 0;
    font-weight: bold;
}

.case-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 15px 0;
    min-height: 50px;
}

.case-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.case-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.case-date {
    color: #999;
    font-size: 0.9rem;
}

.case-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.case-stats .stat-item {
    flex: 1;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.case-stats .stat-label {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.case-stats .stat-value {
    display: block;
    color: #667eea;
    font-size: 1.1rem;
    font-weight: bold;
}

.case-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
}

.case-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.engineering-advantages {
    background: white;
    padding: 60px 20px;
    margin-top: 40px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin: 0 0 40px 0;
    font-weight: bold;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.advantage-item h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
}

.advantage-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
}

.contact-section .section-title {
    color: white;
}

.contact-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-btn {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.detail-container {
    padding-top: min(8.5vh, 6vw);
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.detail-back {
    position: fixed;
    top: min(8.5vh, 6vw);
    right: 20px;
    padding: 20px;
    z-index: 999;
}

.back-btn {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.detail-title {
    font-size: 2.5rem;
    margin: 0 0 20px 0;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.detail-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.detail-date {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.detail-image-container {
    max-width: 900px;
    margin: 30px auto 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.case-detail-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.detail-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.detail-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.section-heading {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: bold;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
    display: inline-block;
}

.detail-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

.materials-list {
    display: grid;
    gap: 15px;
}

.material-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.material-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.material-icon {
    font-size: 2rem;
}

.material-info h4 {
    color: #333;
    font-size: 1.1rem;
    margin: 0 0 5px 0;
}

.material-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.95;
}

.testimonial {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.testimonial-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    margin: 0 0 20px 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    font-size: 3rem;
}

.author-info strong {
    display: block;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    padding: 12px 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid #eee;
}

.highlights-list li:last-child {
    border-bottom: none;
}

.detail-footer {
    background: white;
    padding: 60px 20px;
    margin-top: 40px;
}

.related-cases {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.related-title {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 30px 0;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.related-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.related-info h4 {
    color: #333;
    font-size: 1rem;
    margin: 0 0 5px 0;
    font-weight: bold;
}

.related-info span {
    color: #667eea;
    font-size: 0.85rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.btn-secondary, .btn-primary {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .engineering-title {
        font-size: 1.8rem;
    }

    .engineering-subtitle {
        font-size: 1rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .detail-title {
        font-size: 1.8rem;
    }

    .detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-secondary, .btn-primary {
        text-align: center;
    }
}
