/* ===========================
   PROJECTS SECTION
   =========================== */

.projects {
    background: #ffffff;
    padding: 80px 20px;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 700;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.project-image-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.project-icon-wrapper {
    position: relative;
    z-index: 1;
}

.project-icon {
    font-size: 4rem;
    background: rgba(255, 255, 255, 0.2);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    display: inline-block;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1) rotate(5deg);
}

.project-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.project-category {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-body {
    padding: 2rem;
}

.project-header-info h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-company,
.project-year {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-highlights {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
}

.project-highlights h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-highlights li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.highlight-bullet {
    color: #667eea;
    font-weight: bold;
    flex-shrink: 0;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.tech-pill {
    background: #667eea;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.project-footer {
    padding-top: 1.5rem;
    border-top: 2px dashed #e0e0e0;
}

.project-impact {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.impact-label {
    color: #2c3e50;
    font-weight: 700;
}

.impact-value {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Color variations */
.project-card:nth-child(1) .project-image-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.project-card:nth-child(2) .project-image-section {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.project-card:nth-child(3) .project-image-section {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.project-card:nth-child(4) .project-image-section {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.project-card:nth-child(5) .project-image-section {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.project-card:nth-child(6) .project-image-section {
    background: linear-gradient(135deg, #30cfd0, #330867);
}
