.featured-projects-section {
    margin-bottom: 60px;
    padding-top: 120px;
}

.other-projects-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #4facfe;
    text-align: center;
    margin: 0 0 40px 0;
    padding: 0 20px;
    text-shadow: 0 0 20px rgba(79, 172, 254, 0.4);
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4facfe, #00ffff, #4facfe, transparent);
    border-radius: 2px;
}

.other-projects-section .section-title {
    font-size: 2em;
    margin-bottom: 30px;
    color: rgba(79, 172, 254, 0.9);
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    padding: 0 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.project-card.featured {
    background: rgba(13, 17, 23, 0.9);
    border: 2px solid rgba(79, 172, 254, 0.4);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.12),
                0 0 30px rgba(79, 172, 254, 0.06);
    transform: translateY(0) scale(1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(79, 172, 254, 0.08) 0%, 
        rgba(0, 255, 255, 0.04) 50%,
        rgba(79, 172, 254, 0.08) 100%);
    border-radius: 18px;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.project-card.featured:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(79, 172, 254, 0.6);
    box-shadow: 0 18px 50px rgba(79, 172, 254, 0.15),
                0 0 60px rgba(79, 172, 254, 0.08),
                0 0 0 1px rgba(0, 255, 255, 0.2);
}

.project-card.featured:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, 
        rgba(79, 172, 254, 0.12) 0%, 
        rgba(0, 255, 255, 0.08) 50%,
        rgba(79, 172, 254, 0.12) 100%);
}

.featured-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.9), rgba(0, 255, 255, 0.9));
    color: #0d1117;
    font-size: 0.75em;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 0 18px 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
    z-index: 2;
    animation: pulse-featured 2s ease-in-out infinite;
}

@keyframes pulse-featured {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(79, 172, 254, 0.6);
    }
}

.project-card.featured .skill-tag {
    font-size: 0.85em;
    color: #4facfe;
    font-weight: 600;
    text-shadow: none;
}

.project-card.featured .project-image {
    border-radius: 12px;
    filter: brightness(0.9) contrast(1.15);
    box-shadow: 0 8px 30px rgba(79, 172, 254, 0.2);
}

.project-card.featured:hover .project-image {
    filter: brightness(1.05) contrast(1.25);
    transform: scale(1.06) translateY(-8px);
    box-shadow: 0 15px 50px rgba(79, 172, 254, 0.3);
}

.project-card.featured .skill-tag {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(0, 255, 255, 0.12));
    border: 1px solid rgba(79, 172, 254, 0.35);
    font-weight: 600;
}

.project-card.featured:hover .skill-tag {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.3), rgba(0, 255, 255, 0.18));
    border-color: rgba(79, 172, 254, 0.5);
    transform: translateY(-3px);
}

.project-card.featured .team-size {
    background: rgba(79, 172, 254, 0.12);
    border: 1px solid rgba(79, 172, 254, 0.25);
}

.project-card.featured .date-start,
.project-card.featured .date-end {
    background: rgba(79, 172, 254, 0.15);
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 30px 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.projects-grid:has(.project-card:only-child) {
    max-width: 600px;
    grid-template-columns: 1fr;
}

.projects-grid .project-card:only-child {
    max-width: 600px;
    margin: 0 auto;
}

.project-card {
    background: rgba(13, 17, 23, 0.85);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 16px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    will-change: transform, box-shadow;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.05) 0%, rgba(0, 255, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(79, 172, 254, 0.4);
    box-shadow: 0 20px 60px rgba(79, 172, 254, 0.15),
                0 0 40px rgba(79, 172, 254, 0.1);
}

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

.project-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
    transition: all 0.4s ease;
    filter: brightness(0.85) contrast(1.1);
    position: relative;
}

.project-image-wrapper {
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 16px;
    position: relative;
}

.project-card:hover .project-image {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.2);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 12px;
}

.project-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #4facfe;
    margin: 0;
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.3);
    transition: all 0.3s ease;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.project-card:hover .project-title {
    color: #00ffff;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.project-dates {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    color: rgba(230, 237, 243, 0.75);
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 400;
}

.date-start, .date-end {
    background: rgba(79, 172, 254, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(79, 172, 254, 0.2);
    font-size: 0.85em;
    transition: all 0.3s ease;
}

.project-card:hover .date-start,
.project-card:hover .date-end {
    background: rgba(79, 172, 254, 0.15);
    border-color: rgba(79, 172, 254, 0.3);
    color: #4facfe;
}

.date-separator {
    color: rgba(79, 172, 254, 0.6);
    font-weight: bold;
    transition: color 0.3s ease;
}

.project-card:hover .date-separator {
    color: #00ffff;
}

.team-size {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.9em;
    color: rgba(230, 237, 243, 0.85);
    background: rgba(79, 172, 254, 0.08);
    padding: 6px 10px;
    border-radius: 16px;
    border: 1px solid rgba(79, 172, 254, 0.15);
    width: fit-content;
    transition: all 0.3s ease;
    font-weight: 400;
}

.project-card:hover .team-size {
    background: rgba(79, 172, 254, 0.12);
    border-color: rgba(79, 172, 254, 0.25);
    color: #c9d1d9;
}

.team-icon {
    font-size: 1.1em;
    filter: drop-shadow(0 0 4px rgba(79, 172, 254, 0.3));
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.skill-tag {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(0, 255, 255, 0.08));
    color: #4facfe;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
    border: 1px solid rgba(79, 172, 254, 0.25);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    line-height: 1.3;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.project-card:hover .skill-tag {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.25), rgba(0, 255, 255, 0.15));
    border-color: rgba(79, 172, 254, 0.4);
    color: #00ffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.2);
}

.project-card:hover .skill-tag::before {
    left: 100%;
}

.project-description {
    font-size: 0.9em;
    line-height: 1.5;
    color: rgba(201, 209, 217, 0.85);
    margin: 0;
    transition: color 0.3s ease;
}

.project-card:hover .project-description {
    color: #c9d1d9;
}


@media (max-width: 1024px) {
    .featured-projects-section {
        padding-top: 100px;
        margin-bottom: 50px;
    }
    
    .featured-projects-grid {
        gap: 25px;
        padding: 0 25px;
        max-width: 1100px;
    }
    
    .section-title {
        font-size: 2.2em;
        margin-bottom: 35px;
    }
    
    .other-projects-section .section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    
    .project-card.featured {
        padding: 20px;
    }
    
    .project-card.featured .project-title {
        font-size: 1.5em;
    }
    
    .featured-badge {
        font-size: 0.7em;
        padding: 5px 10px;
    }
}

@media (max-width: 768px) {
    .featured-projects-section {
        padding-top: 90px;
        margin-bottom: 40px;
    }
    
    .featured-projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2em;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .other-projects-section .section-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    
    .project-card.featured {
        padding: 22px;
        border-radius: 18px;
    }
    
    .project-card.featured .project-title {
        font-size: 1.6em;
    }
    
    .featured-badge {
        font-size: 0.7em;
        padding: 5px 10px;
        border-radius: 0 16px 0 10px;
    }
}

@media (max-width: 480px) {
    .featured-projects-section {
        padding-top: 80px;
        margin-bottom: 35px;
    }
    
    .featured-projects-grid {
        gap: 20px;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    
    .other-projects-section .section-title {
        font-size: 1.4em;
        margin-bottom: 20px;
    }
    
    .project-card.featured {
        padding: 18px;
        border-radius: 16px;
    }
    
    .project-card.featured .project-title {
        font-size: 1.4em;
    }
    
    .featured-badge {
        font-size: 0.65em;
        padding: 4px 8px;
        border-radius: 0 14px 0 8px;
    }
}

@media (max-width: 360px) {
    .featured-projects-section {
        padding-top: 75px;
    }
    
    .featured-projects-grid {
        padding: 0 12px;
    }
    
    .section-title {
        font-size: 1.6em;
    }
    
    .other-projects-section .section-title {
        font-size: 1.3em;
    }
    
    .project-card.featured {
        padding: 16px;
    }
    
    .project-card.featured .project-title {
        font-size: 1.3em;
    }
}

@media (max-width: 320px) {
    .featured-projects-section {
        padding-top: 65px;
        margin-bottom: 30px;
    }
    
    .featured-projects-grid {
        padding: 0 10px;
        gap: 18px;
    }
    
    .section-title {
        font-size: 1.4em;
        margin-bottom: 20px;
    }
    
    .other-projects-section .section-title {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    .project-card.featured {
        padding: 14px;
        border-radius: 12px;
    }
    
    .project-card.featured .project-title {
        font-size: 1.2em;
    }
    
    .featured-badge {
        font-size: 0.6em;
        padding: 3px 6px;
        border-radius: 0 10px 0 6px;
    }
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 25px 30px;
    }
    
    .projects-grid:has(.project-card:only-child) {
        max-width: 550px;
        grid-template-columns: 1fr;
    }
    
    .projects-grid .project-card:only-child {
        max-width: 550px;
    }
    
    .project-card {
        padding: 16px;
    }
    
    .project-image {
        aspect-ratio: 16 / 9;
    }
    
    .project-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px 30px;
    }
    
    .projects-grid:has(.project-card:only-child) {
        max-width: 500px;
    }
    
    .projects-grid .project-card:only-child {
        max-width: 500px;
    }
    
    .project-card {
        padding: 18px;
        border-radius: 16px;
    }
    
    .project-image {
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .project-title {
        font-size: 1.4em;
    }
    
    .project-dates {
        align-self: flex-end;
    }
    
    .skills-list {
        gap: 6px;
    }
    
    .skill-tag {
        padding: 5px 10px;
        font-size: 0.75em;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        padding: 0 15px 25px;
        gap: 18px;
    }
    
    .projects-grid:has(.project-card:only-child) {
        max-width: 400px;
    }
    
    .projects-grid .project-card:only-child {
        max-width: 400px;
    }
    
    .project-card {
        padding: 16px;
        border-radius: 14px;
    }
    
    .project-image {
        aspect-ratio: 16 / 9;
        margin-bottom: 16px;
    }
    
    .project-title {
        font-size: 1.3em;
    }
    
    .project-dates {
        font-size: 0.85em;
    }
    
    .date-start, .date-end {
        padding: 3px 6px;
        font-size: 0.8em;
    }
    
    .team-size {
        padding: 6px 10px;
        font-size: 0.85em;
    }
    
    .skill-tag {
        padding: 4px 8px;
        font-size: 0.7em;
        letter-spacing: 0.3px;
    }
    
    .project-description {
        font-size: 0.9em;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .projects-grid {
        padding: 0 12px;
    }
    
    .project-card {
        padding: 14px;
    }
    
    .project-image {
        aspect-ratio: 16 / 9;
    }
    
    .project-title {
        font-size: 1.2em;
    }
    
    .skill-tag {
        padding: 3px 6px;
        font-size: 0.65em;
    }
}

@media (max-width: 320px) {
    .projects-grid {
        padding: 0 10px 15px;
        gap: 15px;
    }
    
    .project-card {
        padding: 12px;
        border-radius: 10px;
    }
    
    .project-image {
        aspect-ratio: 16 / 9;
        border-radius: 6px;
    }
    
    .project-title {
        font-size: 1.1em;
        margin-bottom: 6px;
    }
    
    .project-skills {
        gap: 4px;
        margin-bottom: 8px;
    }
    
    .skill-tag {
        padding: 2px 5px;
        font-size: 0.6em;
        letter-spacing: 0.2px;
        border-radius: 6px;
    }
    
    .project-description {
        font-size: 0.85em;
        line-height: 1.4;
    }
}

.project-card {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    contain: layout style paint;
}

.skill-tag,
.date-start,
.date-end,
.team-size {
    will-change: transform, background, border-color;
}
