/* Projects Section Styles */
.section-projects {
    padding: 3rem 1rem;
    /* py-12 px-4 */
    background-color: #F4EDE5;
    font-family: inherit;
}

.section-projects .container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Header */
.projects-header {
    text-align: center;
    margin-bottom: 2rem;
    /* mb-8 */
}

.projects-title {
    font-size: 1.875rem;
    /* text-3xl */
    color: #233D7C;
    margin-bottom: 0.75rem;
    /* mb-3 */
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-weight: 600;
}

.projects-subtitle {
    font-size: 1.125rem;
    /* text-lg */
    color: #A77D5C;
    max-width: 42rem;
    /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Main Grid */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    /* gap-8 */
    align-items: center;
    max-width: 72rem;
    /* max-w-6xl */
    margin-left: auto;
    margin-right: auto;
}

/* Content Column */
.projects-content-col {
    order: 2;
    /* order-2 */
}

.projects-description {
    font-size: 1rem;
    /* text-base */
    color: #5A6D8F;
    margin-bottom: 1.5rem;
    /* mb-6 */
    line-height: 1.625;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Features List */
.projects-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    /* gap-3 */
    margin-bottom: 1.5rem;
    /* mb-6 */
}

.projects-feature-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* gap-3 */
    background-color: #fff;
    padding: 0.75rem;
    /* p-3 */
    border-radius: 0.75rem;
    /* rounded-xl */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.projects-feature-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.projects-feature-icon-wrapper {
    color: #233D7C;
    background-color: #D5EAD6;
    padding: 0.5rem;
    /* p-2 */
    border-radius: 0.5rem;
    /* rounded-lg */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-feature-title {
    color: #233D7C;
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 600;
    margin: 0;
}

/* CTA Button */
.projects-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    /* px-6 py-3 */
    background-color: #233D7C;
    color: #fff;
    border-radius: 9999px;
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg */
}

.projects-cta-btn:hover {
    background-color: #1a2e5f;
    transform: scale(1.05);
}

/* Images Column */
.projects-images-col {
    order: 1;
    /* order-1 */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    /* gap-3 */
}

.projects-images-group-1 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* space-y-3 */
}

.projects-images-group-2 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* space-y-3 */
    padding-top: 1.5rem;
    /* pt-6 */
}

.projects-img-wrapper {
    border-radius: 0.75rem;
    /* rounded-xl */
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.projects-img-wrapper:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.projects-img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.projects-img:hover {
    transform: scale(1.05);
}

.h-sm {
    height: 8rem;
}

/* h-32 */
.h-md {
    height: 12rem;
}

/* h-48 */


/* Responsive: SM (640px+) */
@media (min-width: 640px) {
    .section-projects {
        padding-top: 4rem;
        /* sm:py-16 */
        padding-bottom: 4rem;
    }

    .section-projects .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .projects-header {
        margin-bottom: 3rem;
        /* sm:mb-12 */
    }

    .projects-title {
        font-size: 2.25rem;
        /* sm:text-4xl */
        margin-bottom: 1rem;
    }

    .projects-subtitle {
        font-size: 1.25rem;
        /* sm:text-xl */
    }

    .projects-grid {
        gap: 3rem;
        /* sm:gap-12 */
    }

    .projects-description {
        font-size: 1.125rem;
        /* sm:text-lg */
        margin-bottom: 2rem;
        /* sm:mb-8 */
    }

    .projects-features {
        grid-template-columns: repeat(2, 1fr);
        /* sm:grid-cols-2 */
        gap: 1rem;
        /* sm:gap-4 */
        margin-bottom: 2rem;
        /* sm:mb-8 */
    }

    .projects-feature-card {
        padding: 1rem;
        /* sm:p-4 */
        gap: 1rem;
        /* sm:gap-4 */
    }

    .projects-feature-icon-wrapper {
        padding: 0.75rem;
        /* sm:p-3 */
    }

    .projects-feature-icon-wrapper svg {
        width: 32px;
        /* sm:w-8 */
        height: 32px;
        /* sm:h-8 */
    }

    .projects-feature-title {
        font-size: 1rem;
        /* sm:text-base */
    }

    .projects-cta-btn {
        padding: 1rem 2rem;
        /* sm:px-8 sm:py-4 */
        font-size: 1rem;
        /* sm:text-base */
    }

    .projects-images-col {
        gap: 1rem;
        /* sm:gap-4 */
    }

    .projects-images-group-1,
    .projects-images-group-2 {
        gap: 1rem;
        /* sm:space-y-4 */
    }

    .projects-images-group-2 {
        padding-top: 2rem;
        /* sm:pt-8 */
    }

    .h-sm {
        height: 12rem;
    }

    /* sm:h-48 */
    .h-md {
        height: 16rem;
    }

    /* sm:h-64 */
}

/* Responsive: LG (1024px+) */
@media (min-width: 1024px) {
    .section-projects {
        padding-top: 5rem;
        /* md:py-20 */
        padding-bottom: 5rem;
    }

    .projects-title {
        font-size: 3rem;
        /* md:text-5xl */
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        /* lg:grid-cols-2 */
    }

    .projects-content-col {
        order: 1;
        /* lg:order-1 (Content Left) */
    }

    .projects-images-col {
        order: 2;
        /* lg:order-2 (Images Right) */
    }
}