/* Guarantee Section Styles */

.guarantee-section {
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Ensure the heading and intro text is white for the gradient sections */
#guarantee > .section-content > p,
#about > .section-content > p,
#about .about-text p {
    color: white;
}

/* Make sure the section titles and after elements match the style */
#guarantee .section-title,
#about .section-title {
    color: white;
}

#guarantee .section-title::after,
#about .section-title::after {
    background: white;
}

.guarantee-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 3rem 0;
}

.guarantee-card {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    background-color: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border-top: 3px solid var(--primary-color);
}

.guarantee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.guarantee-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.guarantee-icon i {
    font-style: normal;
}

.guarantee-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.guarantee-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

.guarantee-summary {
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-icon.large {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
    margin: 0 2rem 0 0;
    flex-shrink: 0;
}

.guarantee-summary p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.certification-elements {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

/* Certification Visuals Updates */
.certification-visuals {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.visuals-title {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.cert-doc {
    position: relative;
    padding-top: 2rem;
}

.cert-doc-icon {
    font-size: 1.8rem;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* Responsive styles */
@media (max-width: 768px) {
    .guarantee-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .guarantee-card {
        width: 100%;
        max-width: 400px;
    }
    
    .guarantee-summary {
        flex-direction: column;
        text-align: center;
    }
    
    .guarantee-icon.large {
        margin: 0 0 1.5rem 0;
    }
    
    .certification-elements {
        flex-direction: column;
        align-items: center;
    }
}
