﻿/**********************************************************************************************
 * OntarioTECK VBA Developers
 * Developed by Gustavo Miller
 * Date created : 2026-05-05 9:36:39 AM
 *
 * Location: D:\Developing\New Connections\NCM\wwwroot\
 * Filename: css\donate\donate.css
 * Module:   Donations - Features section
 *********************************************************************************************/

.features {
    position: relative;
    overflow: hidden;
}

    .features::before {
        content: "";
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, transparent 70%);
        pointer-events: none;
    }

    .features .features-content {
        padding-right: 2rem;
    }

@media (max-width: 992px) {
    .features .features-content {
        padding-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
}

.features .features-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .features .features-content h2 {
        font-size: 2rem;
    }
}

.features .features-content > p {
    font-size: 1.1rem;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.features .main-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--surface-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 92%);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

@media (max-width: 768px) {
    .features .main-feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

.features .main-feature .feature-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6a11cb 30%));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contrast-color);
    font-size: 2rem;
    box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.features .main-feature .feature-text h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.features .main-feature .feature-text p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 0;
    line-height: 1.6;
}

.features .btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6a11cb 30%));
    color: var(--contrast-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 60%);
    border: none;
}

    .features .btn-get-started:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px color-mix(in srgb, var(--accent-color), transparent 50%);
        color: var(--contrast-color);
    }

.features .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

@media (max-width: 768px) {
    .features .features-grid {
        grid-template-columns: 1fr;
    }
}

.features .feature-card {
    border: 1px solid #e0e0e0; /* light/dim border */
    border-radius: 12px; /* soft corners */
    padding: 1.5rem;
    background-color: #fff;
    min-height:360px;
    /* soft shadow */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease-in-out; /* smooth hover */

    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .features .feature-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 98%) 0%, transparent 100%);
        opacity: 0;
        transition: all 0.3s ease;
        transform: translateY(-3px); /* slight lift */
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    }

    .features .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 88%);
        border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
    }

        .features .feature-card:hover::before {
            opacity: 1;
        }

        .features .feature-card:hover .icon-wrapper {
            transform: scale(1.1);
            background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6a11cb 30%));
            color: var(--contrast-color);
        }

    .features .feature-card .icon-wrapper {
        width: 60px;
        height: 60px;
        background: color-mix(in srgb, var(--accent-color), transparent 90%);
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        color: var(--accent-color);
        font-size: 1.5rem;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .features .feature-card h5 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--heading-color);
        position: relative;
        z-index: 1;
    }

    .features .feature-card p {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-bottom: 0;
        line-height: 1.6;
        font-size: 0.95rem;
        position: relative;
        z-index: 1;
    }

    .features .feature-card i,
    .features .feature-card .icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 8px; /* rounded square */
        transition: all 0.2s ease-in-out;
    }

    .features .feature-card:hover i,
    .features .feature-card:hover .icon {
        background-color: #e6f2ff; /* light blue */
        color: #0078d4; /* optional: Microsoft-like blue icon */
    }

    .features .feature-card:hover i {
        transform: scale(1.1);
    }

/***************************************************************************************
 * Ontario TECK VBA Developers
 * License - 2023/2026
 * Normalize CSS classes
 *
 * Cards were not allowing me to click on the Anchors that are inside the Cards
 ***************************************************************************************/
.feature-card {
    position: relative;
}

    /* If you have overlays/pseudo-elements, do not let them intercept clicks */
    .feature-card::before,
    .feature-card::after {
        pointer-events: none;
    }

    /* Ensure links render above any overlay */
    .feature-card a {
        position: relative;
        z-index: 5;
        pointer-events: auto;
    }