/* Our Projects Section Styles */

.projects-section {
    padding: 80px 2rem;
    background: #f9faff;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.projects-header {
    text-align: center;
    margin-bottom: 50px;
}

.projects-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.projects-header p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Category Filter Tabs */
.projects-tabs {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.project-tab {
    background: none;
    border: none;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.project-tab:hover {
    color: #0052cc;
}

.project-tab.active {
    color: #0052cc;
    font-weight: 600;
}

.project-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    height: 3px;
    background: #0052cc;
    border-radius: 2px 2px 0 0;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Project Card */
.project-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.5s ease;
    opacity: 1;
    visibility: visible;
}

.project-card.hidden {
    display: none;
    opacity: 0;
    visibility: hidden;
    animation: fadeOut 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.project-card:hover {
    box-shadow: 0 12px 32px rgba(0, 82, 204, 0.15);
    transform: translateY(-4px);
}

.project-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.project-icon.seo-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.project-icon.content-icon {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

.project-icon.web-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
}

.project-icon.social-icon {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 1rem 0;
}

.project-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

.view-case-study-btn {
    background: linear-gradient(135deg, #0052cc 0%, #004ab1 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-case-study-btn:hover {
    background: linear-gradient(135deg, #004ab1 0%, #003680 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.25);
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .projects-section {
        padding: 60px 1.5rem;
    }

    .projects-header h2 {
        font-size: 2rem;
    }

    .projects-tabs {
        gap: 1rem;
    }

    .project-tab {
        font-size: 0.95rem;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .project-card {
        padding: 2rem 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .projects-section {
        padding: 50px 1rem;
    }

    .projects-header h2 {
        font-size: 1.75rem;
    }

    .projects-header p {
        font-size: 1rem;
    }

    .projects-tabs {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

    .project-tab {
        text-align: left;
        padding: 1rem;
        border-bottom: 2px solid #e0e0e0;
    }

    .project-tab.active::after {
        display: none;
    }

    .project-tab.active {
        border-left: 3px solid #0052cc;
        padding-left: calc(1rem - 3px);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .project-card h3 {
        font-size: 1.25rem;
    }

    .project-card p {
        font-size: 0.9rem;
    }

    .view-case-study-btn {
        width: 100%;
    }
}
