.projects-section {
    padding: 100px 0;
    background-color: #ffffff;
}

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

.projects-section .section-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.projects-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0;
}

.project-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 75, 135, 0.1);
}

.project-icon {
    width: 180px;
    height: 180px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border: 4px solid var(--primary-color);
    overflow: hidden;
    padding: 20px;
}

.project-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: none;
    max-height: none;
}

.project-icon svg {
    width: 120px;
    height: 120px;
}

.project-icon path,
.project-icon circle {
    stroke: black;
    stroke-width: 3;
    fill: black;
}

.project-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
    padding: 0 10px;
}

.project-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin: 0;
    padding: 0 10px;
}

.project-excerpt {
    margin-bottom: auto;
}

.project-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
    border: 2px solid var(--primary-color);
}

.project-link::after {
    content: '→';
    margin-left: 8px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.project-link:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 75, 135, 0.2);
}

.project-link:hover::after {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .project-card {
        padding: 35px;
    }

    .project-card h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 60px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .projects-section .section-title {
        font-size: 2.5rem;
    }

    .project-card {
        padding: 30px;
    }

    .project-icon {
        width: 150px;
        height: 150px;
        padding: 15px;
    }

    .project-icon svg {
        width: 80px;
        height: 80px;
        transform: scale(1.3);
    }
}

@media (max-width: 480px) {
    .project-card {
        padding: 25px;
    }

    .project-icon {
        width: 120px;
        height: 120px;
        padding: 12px;
    }

    .project-icon svg {
        width: 70px;
        height: 70px;
        transform: scale(1.2);
    }

    .project-card h3 {
        font-size: 1.5rem;
    }
} 