/* Project Type Grid Item Styles */

.elementor-widget-elementor-project-type-grid-item {
    height: 100%;
}
.project-type-grid-item {
    padding: 20px;
    border-radius: 32px;
    background-color: #F7F7F8;
    height: 100%;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}
.project-type-grid-item:hover {
    box-shadow: 2px 2px 12px 0px #28445726;
    border: 1px solid var(--primary-color);
}
.project-type-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.project-type-grid-item::after {
    content: '';
    position: absolute;
    top: 24px;
    right: 24px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    width: 24px;
    height: 24px;
    border-radius: 100%;
}
.project-type-grid-item:hover::after {
    background-color: var(--primary-color);
}
.project-type-icon {
    margin-bottom: 15px;
}


.project-type-title {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.project-type-text {
    flex: 1;
    margin: 0;
    line-height: 1.6;
}

/* Equal Height Support for Flex Containers */
.elementor-widget-container .project-type-grid-item {
    height: 100%;
    width: 100%;
}

.elementor-widget-container .project-type-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Equal Width Support - Works with properly configured parent containers */
.elementor-widget-container {
    flex: 1;
    min-width: 0; /* Prevents flex items from overflowing */
}

/* Ensure proper spacing */
.project-type-grid-item > *:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-type-title {
        font-size: 1.1rem;
    }
    
    .project-type-text {
        font-size: 0.9rem;
    }
}
