/* Community Impact and Outcomes Styles */

.impact-section {
    margin: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.impact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.card-icon i {
    font-size: 2rem;
    color: #0a5566;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased !important;
    display: inline-block !important;
}

.card-content h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.impact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    line-height: 1.6;
}

.impact-list li i {
    color: #27ae60;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Partnerships Section */
.partnerships-section {
    margin: 4rem 0;
}

.partnerships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.partnership-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.partnership-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.partnership-item i {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.partnership-item span {
    font-weight: 500;
    color: #2c3e50;
}

/* Get Involved Section */
.get-involved-section {
    margin: 4rem 0;
}

.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.involvement-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.involvement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(46, 204, 113, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.involvement-card:hover::before {
    opacity: 1;
}

.involvement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.involvement-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
}

.involvement-icon i {
    font-size: 1.8rem;
    color: #0a5566;
}

.involvement-card h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.involvement-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header h3 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .impact-card {
        padding: 2rem;
    }
    
    .card-icon {
        width: 60px !important;
        height: 60px !important;
        background: linear-gradient(135deg, #3498db, #2ecc71) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 1.5rem !important;
        box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3) !important;
    }
    
    .card-icon i {
        font-size: 1.5rem !important;
        color: #ffffff !important;
        display: inline-block !important;
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900 !important;
        font-style: normal !important;
        -webkit-font-smoothing: antialiased !important;
        text-rendering: auto !important;
    }
    
    .impact-card .card-icon {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .partnerships-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .partnership-item {
        padding: 1.25rem;
    }
    
    .involvement-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .involvement-card {
        padding: 1.5rem;
    }
    
    .involvement-icon {
        width: 60px;
        height: 60px;
    }
    
    .involvement-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-header h3 {
        font-size: 1.8rem;
    }
    
    .impact-card {
        padding: 1.5rem;
    }
    
    .card-content h4 {
        font-size: 1.3rem;
    }
    
    .involvement-grid {
        grid-template-columns: 1fr;
    }
    
    .partnership-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .partnership-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.impact-card,
.partnership-item,
.involvement-card {
    animation: fadeInUp 0.6s ease forwards;
}

.impact-card:nth-child(2) {
    animation-delay: 0.1s;
}

.partnership-item:nth-child(2) { animation-delay: 0.1s; }
.partnership-item:nth-child(3) { animation-delay: 0.2s; }
.partnership-item:nth-child(4) { animation-delay: 0.3s; }
.partnership-item:nth-child(5) { animation-delay: 0.4s; }
.partnership-item:nth-child(6) { animation-delay: 0.5s; }

.involvement-card:nth-child(2) { animation-delay: 0.1s; }
.involvement-card:nth-child(3) { animation-delay: 0.2s; }
.involvement-card:nth-child(4) { animation-delay: 0.3s; }
.involvement-card:nth-child(5) { animation-delay: 0.4s; }

/* Hover effects for better interactivity */
.impact-card:hover .card-icon {
    transform: scale(1.1);
}

.involvement-card:hover .involvement-icon {
    transform: scale(1.1);
}

.card-icon,
.involvement-icon {
    transition: transform 0.3s ease;
}

/* Social Emotional Learning Section */
.sel-section {
    margin: 4rem 0;
}

.sel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.sel-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.sel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
}

.sel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.sel-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.3);
    transition: transform 0.3s ease;
}

.sel-icon i {
    font-size: 1.8rem;
    color: #0a5566;
}

.sel-card:hover .sel-icon {
    transform: scale(1.1);
}

.sel-content h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sel-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* S.M.A.R.T. Learning Techniques Section */
.smart-section {
    margin: 4rem 0;
}

.smart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.smart-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.smart-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9b59b6, #3498db);
}

.smart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.smart-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #9b59b6, #3498db);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 15px rgba(155, 89, 182, 0.3);
    transition: transform 0.3s ease;
}

.smart-icon i {
    font-size: 1.8rem;
    color: #0a5566;
}

.smart-card:hover .smart-icon {
    transform: scale(1.1);
}

.smart-content h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.smart-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for SEL and SMART sections */
@media (max-width: 768px) {
    .sel-grid,
    .smart-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .sel-card,
    .smart-card {
        padding: 1.5rem;
    }
    
    .sel-icon,
    .smart-icon {
        width: 60px;
        height: 60px;
    }
    
    .sel-icon i,
    .smart-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .sel-grid,
    .smart-grid {
        grid-template-columns: 1fr;
    }
    
    .sel-card,
    .smart-card {
        padding: 1.25rem;
    }
    
    .sel-content h4,
    .smart-content h4 {
        font-size: 1.2rem;
    }
}

/* Animation for SEL and SMART cards */
.sel-card,
.smart-card {
    animation: fadeInUp 0.6s ease forwards;
}

.sel-card:nth-child(2) { animation-delay: 0.1s; }
.sel-card:nth-child(3) { animation-delay: 0.2s; }
.sel-card:nth-child(4) { animation-delay: 0.3s; }
.sel-card:nth-child(5) { animation-delay: 0.4s; }

.smart-card:nth-child(2) { animation-delay: 0.1s; }
.smart-card:nth-child(3) { animation-delay: 0.2s; }
.smart-card:nth-child(4) { animation-delay: 0.3s; }
.smart-card:nth-child(5) { animation-delay: 0.4s; }
