/* Projects Section Styles */
.projects-section {
    min-height: 100vh;
    padding: 2rem 9% 2rem;
    margin-bottom: 40px;
    background: var(--second-bg-color);
}

.projects-section .newheading {
    text-align: center;
    font-size: 4.5rem;
    margin-bottom: 5rem;
}

.projects-section .heading span {
    color: var(--main-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
}

.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    background: var(--second-bg-color);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.project-description {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.project-footer {
    display: flex;
    justify-content: space-between;
  
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.05);
}

.contributors {
    display: flex;
    align-items: center;
}

.contributor-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--main-color);
    margin-left: -10px;
    transition: transform 0.3s ease;
}

.contributor-avatar:hover {
    transform: translateY(-5px);
}

.live-url-btn {
    padding: 0.8rem 1.5rem;
    background: var(--main-color);
    color: var(--bg-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.live-url-btn:hover {
    background: var(--text-color);
    color: var(--main-color);
}

/* Project Popup Styles */
.project-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.project-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--bg-color);
    padding: 3rem;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.project-popup.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: var(--main-color);
}

.popup-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.contributors-list {
    list-style: none;
    padding: 0;
}

.contributor-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--second-bg-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
    gap: 1rem;
}

.contributor-popup-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--main-color);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.contributor-popup-avatar:hover {
    transform: scale(1.1);
}

.contributor-item:hover {
    transform: translateX(10px);
}

.contributor-item i {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--main-color);
}

.contributor-info {
    display: flex;
    flex-direction: column;
}

.contributor-name {
    font-size: 1.6rem;
    color: var(--text-color);
}

.contributor-github {
    font-size: 1.4rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Skills Section Styles */
.project-skills {
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--second-bg-color);
    border-radius: 10px;
}

.project-skills h4 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: var(--main-color);
    color: var(--bg-color);
    border-radius: 20px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contributors-section {
    margin-top: 2rem;
}

.contributors-section h4 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Animation Classes */
.animate-projects {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.animate-projects.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .popup-content {
        padding: 2rem;
    }
    
    .popup-title {
        font-size: 2rem;
    }
} 




