/**
 * Home Why Styles
 * Class: home-why
 */

.home-why {
    width: 100%;
    padding: 40px 0 30px;
    background-color: #ffffff;
    box-sizing: border-box;
    position: relative;
}

.home-why * {
    box-sizing: border-box;
}

.home-why .home-why-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-why .home-why-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left Column */
.home-why .home-why-col-left {
    flex: 1 1 50%;
    min-width: 0;
}

.home-why .home-why-header {
    margin-bottom: 28px;
}

.home-why .home-why-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.home-why .home-why-subline {
    display: inline-block;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background-color: var(--ltc-primary, #056941);
}

.home-why .home-why-subtext {
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ltc-primary, #056941);
}

.home-why .home-why-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--ltc-heading, #0b2e1f);
    line-height: 1.3;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.home-why .home-why-desc {
    font-size: 14px;
    color: var(--ltc-text-muted, #556059);
    line-height: 1.6;
    margin: 0 !important;
}

/* 2x2 Grid with Divider */
.home-why .home-why-grid {
    display: flex;
    align-items: stretch;
    gap: 24px;
    margin-top: 24px;
}

.home-why .home-why-grid-subcol {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.home-why .home-why-grid-divider {
    width: 1px;
    background: linear-gradient(180deg, rgba(5, 105, 65, 0.08) 0%, rgba(5, 105, 65, 0.22) 50%, rgba(5, 105, 65, 0.08) 100%);
    flex-shrink: 0;
}

.home-why .home-why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.25s ease;
}

.home-why .home-why-item:hover {
    transform: translateY(-2px);
}

.home-why .home-why-item-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #056941 0%, #004d2e 100%);
    box-shadow: 0 4px 14px rgba(5, 105, 65, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 2px solid #e1efe7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.home-why .home-why-item:hover .home-why-item-icon-circle {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(5, 105, 65, 0.3);
    border-color: #a3d9bc;
}

.home-why .home-why-item-icon-img {
    width: 55%;
    height: 55%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.home-why .home-why-item-icon-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-why .home-why-item-num {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
}

.home-why .home-why-item-content {
    flex: 1;
}

.home-why .home-why-item-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ltc-heading, #0b2e1f);
    line-height: 1.35;
    margin: 0 0 4px 0 !important;
}

.home-why .home-why-item-desc {
    font-size: 12.5px;
    color: var(--ltc-text-muted, #64748b);
    line-height: 1.5;
    margin: 0 !important;
}

/* Right Column (Media + Quote Overlay) */
.home-why .home-why-col-right {
    flex: 1 1 50%;
    min-width: 0;
}

.home-why .home-why-media-card {
    position: relative;
    width: 100%;
    min-height: 360px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: #f1f6f3;
}

.home-why .home-why-media-img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.home-why .home-why-media-placeholder {
    width: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eaf4ee 0%, #d8ebd0 100%);
}

.home-why .home-why-quote-box {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 280px;
    background: rgba(5, 105, 65, 0.94);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 24px 22px;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 48, 29, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.home-why .home-why-quote-icon {
    font-size: 38px;
    line-height: 1;
    color: #a3d9bc;
    margin-bottom: 6px;
    font-family: Georgia, serif;
}

.home-why .home-why-quote-text {
    font-size: 13.5px;
    font-style: italic;
    line-height: 1.6;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
}

.home-why .home-why-quote-author {
    font-size: 12px;
    font-weight: 700;
    color: #d1fae5;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 991px) {
    .home-why .home-why-row {
        flex-direction: column;
    }
    .home-why .home-why-col-left,
    .home-why .home-why-col-right {
        flex: 1 1 100%;
        width: 100%;
    }
    .home-why .home-why-quote-box {
        position: static;
        transform: none;
        max-width: 100%;
        margin: -40px 20px 20px 20px;
        position: relative;
    }
}

@media (max-width: 640px) {
    .home-why {
        padding: 35px 0 45px;
    }
    .home-why .home-why-title {
        font-size: 21px;
    }
    .home-why .home-why-grid {
        flex-direction: column;
        gap: 16px;
    }
    .home-why .home-why-grid-divider {
        display: none;
    }
    .home-why .home-why-media-card {
        min-height: 240px;
    }
    .home-why .home-why-media-img,
    .home-why .home-why-media-placeholder {
        min-height: 240px;
    }
}
