/**
 * Establishment and Trust Highlights Section Styles
 * Saree Kudil Theme
 */

.trust-highlights-section {
    padding: 35px 20px 45px 20px;
    background: linear-gradient(180deg, #fdfbf7 0%, #fffdfa 100%);
    position: relative;
    border-bottom: 1px solid rgba(122, 21, 48, 0.08);
}

.trust-highlights-container {
    max-width: 1240px;
    margin: 0 auto;
}

.trust-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.trust-card {
    background: #ffffff;
    border: 1px solid rgba(122, 21, 48, 0.12);
    border-radius: 14px;
    padding: 26px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 18px rgba(122, 21, 48, 0.04);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

/* Subtle gold accent top border line */
.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, #d4af37 50%, rgba(212, 175, 55, 0) 100%);
    border-radius: 0 0 3px 3px;
    opacity: 0.8;
    transition: all 0.35s ease;
}

.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(122, 21, 48, 0.1);
    border-color: rgba(122, 21, 48, 0.28);
}

.trust-card:hover::before {
    left: 10%;
    right: 10%;
    opacity: 1;
}

/* Icon Container */
.trust-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(122, 21, 48, 0.07) 0%, rgba(212, 175, 55, 0.12) 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary-color, #7a1530);
    font-size: 24px;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.trust-card:hover .trust-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color, #7a1530) 0%, #a01d40 100%);
    color: #ffffff;
    border-color: #d4af37;
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 6px 16px rgba(122, 21, 48, 0.22);
}

/* Prominent Heading */
.trust-card-title {
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color, #7a1530);
    margin: 0 0 8px 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

/* Short Description */
.trust-card-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #555555;
    margin: 0;
    font-weight: 400;
}

/* Responsive Grid - Tablets */
@media (max-width: 992px) {
    .trust-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .trust-highlights-section {
        padding: 30px 16px 36px 16px;
    }
    .trust-card {
        padding: 22px 18px;
    }
}

/* Responsive Grid - Mobile Devices */
@media (max-width: 600px) {
    .trust-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .trust-highlights-section {
        padding: 24px 14px 28px 14px;
    }
    .trust-card {
        flex-direction: row;
        text-align: left;
        align-items: center;
        padding: 18px 16px;
        gap: 16px;
    }
    .trust-card::before {
        top: 20%;
        bottom: 20%;
        left: 0;
        right: auto;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg, rgba(212, 175, 55, 0) 0%, #d4af37 50%, rgba(212, 175, 55, 0) 100%);
        border-radius: 0 3px 3px 0;
    }
    .trust-card:hover::before {
        top: 10%;
        bottom: 10%;
        left: 0;
        right: auto;
    }
    .trust-icon-wrapper {
        width: 52px;
        height: 52px;
        font-size: 20px;
        margin-bottom: 0;
    }
    .trust-card-text {
        flex: 1;
        min-width: 0;
    }
    .trust-card-title {
        font-size: 15.5px;
        margin-bottom: 4px;
    }
    .trust-card-desc {
        font-size: 12.5px;
        line-height: 1.45;
    }
}
