/* About Us page */

.about-card {
    background: #fff;
    border: 1px solid var(--am-border, #eee);
    border-radius: 8px;
    overflow: hidden;
}

.about-card-header {
    background: #fafafa;
    border-bottom: 1px solid var(--am-border, #eee);
    padding: 20px;
}

.about-card-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: #282828;
}

.about-card-body {
    padding: 40px 30px;
}

.feature-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
    height: 100%;
}

.feature-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 36px;
    color: #282828;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #282828;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.content-section {
    padding: 25px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #282828;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.content-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 12px 0;
    font-size: 15px;
    color: #555;
    border-bottom: 1px solid #eee;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: #282828;
    margin-right: 12px;
    font-size: 18px;
}

.contact-cta {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    color: #282828;
}

.contact-cta-icon {
    width: 70px;
    height: 70px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-cta-icon i {
    font-size: 32px;
    color: #282828;
}

.contact-cta-content h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #282828;
}

.contact-cta-content p {
    font-size: 15px;
    margin-bottom: 0;
    color: #555;
}

.contact-cta-content a {
    color: var(--am-primary, #E8663D);
    text-decoration: none;
}

.contact-cta-content a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .about-card-body {
        padding: 25px 15px;
    }

    .feature-card {
        padding: 25px 15px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 28px;
    }

    .content-section {
        padding: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .contact-cta {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
}

/* Ensure text-primary elements in policy pages match brand primary color */
.about-card-body .text-primary {
    color: var(--am-primary, #ff5e14) !important;
}

/* Policy & Terms Layout Left Alignment */
.policy-page .feature-card:not(.text-center) {
    text-align: left;
}

.policy-page .feature-card:not(.text-center) .feature-icon {
    margin-left: 0;
    margin-right: auto;
}
