 .projects-section {
            padding: 5rem 0;
            
        }

        .projects-header-line {
            height: 18px;
            padding-top: 5rem;
        }

        .projects-header-text {
            font-size: 15px;
            line-height: 16.50px;
            opacity: 0.3;
        }

        .projects-all-btn {
            height: 48px;
            padding: 8px 24px;
            width: 360px;
        }

        .projects-btn-text {
            font-size: 18px;
            line-height: 19.80px;
        }

        .projects-title {
            font-size: 48px;
            line-height: 57.60px;
            max-width: 816px;
        }

        .projects-grid>.flex-column{
            margin-bottom: 40px;
        }

        .project-image-wrapper {
            position: relative;
            background: #fff;
            overflow: hidden;
            height: 458px;
        }

        .project-image {
            position: absolute;
            width: 432px;
            height: 458px;
            left: 0;
            top: 0;
        }

        .project-caption {
                min-height: 275px;
            padding: 1rem; /* p-3 */
        }

        .project-area {
            font-size: 20px;
            line-height: 24px;
            opacity: 0.5;
        }

        .project-name {
            font-size: 32px;
            line-height: 38.40px;
            max-width: 384px;
        }

        .project-list-item {
            font-size: 15px;
            line-height: 22.50px;
        }

        .project-dot {
            width: 4px;
            height: 4px;
            background: white;
            margin-top: 0.35rem; /* mt-1 ≈ 0.25rem + alignment */
            flex-shrink: 0;
        }

        .project-caption-dark .project-dot {
            background: #2C3748;
        }

        .project-caption-light {
            background: #2C3748;
            color: white;
        }

        .project-caption-dark {
            border: 1px solid rgba(214, 219, 223, 0.5); /* border-light-subtle border-opacity-50 */
            outline-offset: -0.5px;
            color: black;
        }

        .project-caption-content {
            display: flex;
            flex-direction: column;
      
            width: 100%;
        }

/* Mobile styles */
@media (max-width: 992px) {
    .projects-section {
        padding: 3rem 16px ;
    }

   .projects-grid .project-caption-light, .projects-grid .project-caption-dark {
    background: #2C3748;
    color: white;
}
.projects-grid .project-caption-dark .project-dot {
    background: white;
}
.projects-section .projects-grid .text-dark {
    
    color: rgb(255 255 255) !important;
}
    .projects-header-line {
        padding-top: 3rem;
        margin-bottom: 2rem !important;
    }

    /* Header and title section - vertical layout on mobile */
    .projects-section .d-flex.justify-content-between.align-items-start {
        flex-direction: column !important;
        gap: 1.5rem;
        align-items: flex-start !important;
    }

    .projects-all-btn {
        width: 100%;
        order: 2;
    }

    .projects-title {
        font-size: 28px;
        line-height: 33.60px;
        max-width: 100%;
        order: 1;
    }

    /* Projects grid - vertical stack on mobile */
    .projects-grid {
        height: auto;
    }

    .projects-grid > [class*="col-"] {
                margin-bottom: 16px;
    }
    
    /* Ensure each project takes full width on mobile */
    .projects-grid > .col-12 {
        width: 100%;
    }

    .project-image-wrapper {
        height: auto;
        min-height: 300px;
        position: relative;
        width: 100%;
    }

    .project-image {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
    }

    .project-caption {
        height: auto;
        min-height: auto;
        padding: 1.5rem;
    }

    .project-area {
        font-size: 16px;
        line-height: 19.20px;
    }

    .project-name {
        font-size: 24px;
        line-height: 28.80px;
        max-width: 100%;
    }

    .project-list-item {
        font-size: 14px;
        line-height: 21px;
    }

    .project-caption-content {
        gap: 1.5rem !important;
    }
}