/* Educatore Cinofilo Page Styles */

/* Base Sections */
.educatore-section {
    padding: 5rem 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.section-subtitle {
    display: block;
    color: #abde5b;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.bio-content p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Grid - Boxes Refinement */
.services-edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.edu-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    border: 1px solid #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    /* Ensure equal height */
    position: relative;
    overflow: hidden;
}

/* Hover Effect: Lift and subtle border highlight */
.edu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(171, 222, 91, 0.15);
    border-color: rgba(171, 222, 91, 0.3);
}

/* Bottom decorative line on hover */
.edu-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #abde5b;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.edu-card:hover::after {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: #fcfcfc;
    color: #abde5b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.edu-card:hover .icon-wrapper {
    background: #abde5b;
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(171, 222, 91, 0.3);
    border-color: #abde5b;
}

.edu-card h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.4rem;
    font-weight: 700;
}

.edu-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA Box */
.cta-box {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fcefd6, #fff);
    padding: 3rem;
    border-radius: 15px;
    border: 2px dashed #abde5b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.6;
}

.cta-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-buttons-group .btn {
    width: 100%;
    margin: 0;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 1.1rem;
}