* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
}

.hero-section {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 152, 213, 0.8) 0%, rgba(3, 84, 162, 0.8) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23ddd" width="1200" height="400"/><text x="50%" y="50%" font-family="Arial" font-size="20" fill="%23999" text-anchor="middle">Technical Blueprint Background</text></svg>');
    background-size: cover;
    background-position: center;
}

.hero-section h1 {
    color: white;
    font-size: 72px;
    font-weight: 600;
    text-align: center;
    letter-spacing: -1px;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.project-row {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
    opacity: 0;
}

.project-row:nth-child(odd) {
    transform: translateX(-100px);
}

.project-row:nth-child(even) {
    transform: translateX(100px);
}

.project-row.animate {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
}

.project-row:hover {
    transform: translateX(0) translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.project-row:nth-child(even) {
    flex-direction: row-reverse;
}

.project-image {
    flex: 0 0 45%;
    height: 400px;
    background: linear-gradient(135deg, #1498D5 0%, #0354A2 100%);
    position: relative;
}

.project-content {
    flex: 1;
    padding: 60px;
}

.project-category {
    color: #1498D5;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.project-title {
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-description {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 35px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.project-button {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #1498D5 0%, #0354A2 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0354A2 0%, #1498D5 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-button:hover::before {
    opacity: 1;
}

.project-button span {
    position: relative;
    z-index: 1;
}

.project-button::after {
    content: '\2192';
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.project-button:hover::after {
    transform: translateX(4px);
}

@media (max-width: 968px) {
    .project-row,
    .project-row:nth-child(even) {
        flex-direction: column;
    }

    .project-image {
        width: 100%;
        height: 300px;
    }

    .project-content {
        padding: 40px 30px;
    }

    .project-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 48px;
    }

    .project-content {
        padding: 30px 20px;
    }

    .project-title {
        font-size: 22px;
    }

    .project-description {
        font-size: 15px;
    }
}
