/* Home Page Styles */

/* Feature images in cards */
.feature-image {
    max-height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.feature-image img {
    max-height: 150px;
    width: auto;
    object-fit: contain;
}

/* About section spacing */
.about-intro {
    padding: var(--space-10) 0;
    text-align: center;
}

.about-intro h2 {
    font-size: var(--text-3xl);
    font-weight: var(--font-semibold);
    color: var(--color-neutral-900);
    margin-bottom: var(--space-4);
}

.about-intro p {
    font-size: var(--text-lg);
    color: var(--color-neutral-700);
    line-height: var(--leading-relaxed);
    max-width: 48rem;
    margin: 0 auto;
}

/* Services section */
.services-section {
    padding: var(--space-10) 0;
}

/* Feature cards - ensure equal height */
.feature-card {
    height: 100%;
    transition: var(--transition-shadow), var(--transition-colors);
}

.feature-card .card-body {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.feature-card .card-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-neutral-900);
    margin-bottom: var(--space-3);
}

.feature-card .card-text {
    color: var(--color-neutral-700);
    line-height: var(--leading-relaxed);
    flex-grow: 1;
}

/* Feature card hover effect */
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-image {
        max-height: 120px;
    }

    .feature-image img {
        max-height: 120px;
    }

    .about-intro {
        padding: var(--space-8) 0;
    }

    .about-intro h2 {
        font-size: var(--text-2xl);
    }

    .about-intro p {
        font-size: var(--text-md);
    }

    .services-section {
        padding: var(--space-8) 0;
    }

    .feature-card {
        margin-bottom: var(--space-6);
    }
}
