/* Custom Theme Design System */
:root {
    --primary-red: #f14f44;
    --primary-red-alt: #e24c4a;
    --secondary-blue: #386bb7;
    --bg-dark: #1a1a1a;
    --card-radius: 45px;
    --gutter: 30px;
}

/* Service Card Styles */
.service-feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter);
}

.service-feature-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
    padding: 40px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.service-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service-feature-card h5, 
.service-feature-card h2,
.service-feature-card p {
    color: #ffffff !important;
}

.service-feature-card .neuros-heading-content {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.service-feature-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 15px;
    opacity: 0.9;
}

/* Specific Card Layouts */
.col-tall {
    flex: 1 1 calc(33.333% - var(--gutter));
}

.col-stacked {
    flex: 1 1 calc(33.333% - var(--gutter));
    display: flex;
    flex-direction: column;
    gap: var(--gutter);
}

.card-half {
    min-height: 210px;
}

/* Icon Buttons */
.card-icon-link {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin-top: auto;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.3s ease;
}

.card-icon-link:hover {
    background: var(--primary-red);
}

/* Explore More Button Styling */
.neuros-button-pill {
    border: 1px solid #1A1A1A !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    color: #1A1A1A !important;
    background: transparent !important;
    font-weight: 600;
    text-transform: none;
    transition: all 0.3s ease;
}

.neuros-button-pill:hover {
    background: #1A1A1A !important;
    color: #ffffff !important;
}

/* Grid Alignment Fixes */
.elementor-column-gap-wide > .elementor-row > .elementor-column,
.elementor-column-gap-wide > .elementor-container > .elementor-column {
    padding: 0 15px;
}
