/* Projects Section */
.section-header {
    position: relative;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
     color: #87acd1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #e74c3c, #f39c12);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #7f8c8d;
}

/* Project Tabs */
.nav-pills .nav-link {
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: #34495e;
    background-color: #ecf0f1;
    transition: all 0.3s ease;
    border: none;
}

.nav-pills .nav-link.active {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    color: white;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.nav-pills .nav-link i {
    font-size: 0.9rem;
}

/* Project Cards */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    background: #fff;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-content {
    width: 100%;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.btn-view-more {
    background: var(--gold-accent);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: black;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-view-more:hover {
    background: rgb(20, 120, 112);
    color: white;
    transform: translateY(-2px);
}

.project-card:hover .project-content {
    transform: translateY(0);
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}


/* Animations */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s forwards;
}

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

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        margin: 0.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .project-img-container {
        height: 200px;
    }
}