/* Projects Hero Section */
.consultancy-projects-hero {
    padding: 4.5rem 0 3rem;
    background: #f7f8fc;
}

/* Projects Section */
.consultancy-projects-section {
    padding: 4.5rem 0;
    background: #ffffff;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Project Card */
.project-card {
    background: #f9faff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 45px rgba(17, 26, 48, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(17, 26, 48, 0.12);
}

/* Project Card Image */
.project-card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.1);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 115, 255, 0.85) 0%, rgba(15, 115, 255, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    color: #0f73ff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.project-card-link:hover {
    transform: scale(1.1) rotate(45deg);
    background: #0f73ff;
    color: #ffffff;
}

/* Project Card Body */
.project-card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-client {
    margin-bottom: 0.75rem;
}

.client-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111a30;
    line-height: 1.3;
}

.project-description {
    color: #5e6575;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 1rem;
}

.project-card-actions {
    margin-top: auto;
    padding-top: 1rem;
}

/* No Projects Message */
.no-projects {
    text-align: center;
    padding: 4rem 2rem;
    color: #5e6575;
    font-size: 1.15rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .project-card-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .consultancy-projects-hero,
    .consultancy-projects-section {
        padding: 3rem 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card-image {
        height: 220px;
    }

    .project-card-body {
        padding: 1.5rem;
    }

    .project-title {
        font-size: 1.25rem;
    }

    .project-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        gap: 1rem;
    }

    .project-card-image {
        height: 200px;
    }

    .project-card-body {
        padding: 1.25rem;
    }
}

