/* Projects Page Styles */

/* Base Layout */
.projects-page-container {
    background-color: #F8F8F8;
    min-height: 100vh;
    padding-bottom: 100px;
    position: relative;
    overflow-x: hidden;
}

/* Header Spacer */
.services-header-spacer {
    display: none;
}

/* Services Hero / Title Area (Shared Style applied to Projects) */
.services-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    padding: 0;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    margin-bottom: 0px;
}

.services-page-title {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 62px;
    line-height: 78px;
    color: #FFFFFF;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects-content-wrapper {
    background-color: #F8F9FA;
    /* Light gray background matching to image */
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: transparent;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    /* Added pointer cursor to indicate clickability */
}

.project-image {
    width: 100%;
    height: 560px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    margin: -80px 0 0 0;
    border-radius: 24px;
    position: relative;
    z-index: 2;
}

.project-title {
    margin: 0;
    font-size: 23px;
    font-weight: 400;
    color: #011529;
}

.project-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid #011529;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #011529;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.project-arrow svg {
    width: 28px;
    height: 28px;
    stroke-width: 1px;
}

.project-card:hover .project-arrow {
    background-color: #011529;
    color: white;
}


/* Responsive */
@media (max-width: 991px) {
    .projects-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .services-page-title {
        font-size: 40px;
        line-height: 1.2;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .projects-content-wrapper {
        padding: 60px 0;
    }
}