﻿.why-container {
/*    padding-top: 72px;*/
    max-width: 980px; /* control width */
    margin: 0 auto; /* center horizontally */
    padding-left: 20px; /* inner spacing */
    padding-right: 20px;
}
.icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #007bff;
}

.icon-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.icon-box p {
    font-size: 15px;
    color: #555;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 per row */
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
    .features-grid h4 {
        color: #37517e;
    }

.icon-box {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 25px 20px;
    background: #fff;
    text-align: center;
    min-height: 180px; /* equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

    .icon-box:hover {
        border-color: #007bff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

/* Make last 2 items centered */
.features-grid > .icon-box:nth-last-child(2),
.features-grid > .icon-box:nth-last-child(1) {
    grid-column: span 1;
}

.features-grid > .icon-box:nth-last-child(2) {
    grid-column: 2; /* Center first of last two */
}

.features-grid > .icon-box:nth-last-child(1) {
    grid-column: 3; /* Place second at right */
}

/* Responsive (2 columns on tablets, 1 on mobile) */
@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

        .features-grid > .icon-box:nth-last-child(2),
        .features-grid > .icon-box:nth-last-child(1) {
            grid-column: auto; /* reset */
        }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}


.progress-wrap {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 2.8rem;
    height: 2.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: inset 0 0 0 0.15rem rgba(128, 130, 134, 0.3);
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.75rem);
    transition: all 200ms linear;
    background: white;
    opacity: 0;
    visibility: hidden;
}

    .progress-wrap.active-progress {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .progress-wrap svg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

        .progress-wrap svg path {
            stroke: #0d6efd; /* Bootstrap primary */
            stroke-width: 4;
            fill: none;
            stroke-dasharray: 307.919, 307.919;
            stroke-dashoffset: 307.919;
            transition: stroke-dashoffset 0.25s linear;
        }

    .progress-wrap i {
        font-size: 1.4rem;
        color: #0d6efd;
        pointer-events: none; /* let clicks pass through */
    }


/* Wrapper background */
.wrapper.bg-soft-primary {
    background: linear-gradient(135deg, #eaf3ff 0%, #f8fbff 100%);
    position: relative;
    overflow: hidden;
}

    /* Decorative image */
    .wrapper.bg-soft-primary img {
        max-width: 100%;
        height: auto;
        opacity: 0.9;
        transform: scale(1.05);
    }

    /* Heading */
    .wrapper.bg-soft-primary h1 {
        font-weight: 700;
        line-height: 1.2;
        color: #37517e;
        font-size: 30px;
    }

    /* Subtext */
    .wrapper.bg-soft-primary p.lead {
        color: #444;
        font-size: 1.15rem;
        font-size: 16px;
    }

    /* Buttons */
    .wrapper.bg-soft-primary .btn {
        font-weight: 600;
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border-radius: 0.65rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }

        .wrapper.bg-soft-primary .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.15);
        }

    /* Primary (App Store) */
    .wrapper.bg-soft-primary .btn-primary {
        background-color: #0d6efd;
        border-color: #0d6efd;
        color: #fff;
    }

        .wrapper.bg-soft-primary .btn-primary:hover {
            background-color: #0b5ed7;
            border-color: #0a58ca;
        }

    /* Google Play (green) */
    .wrapper.bg-soft-primary .btn-green {
        background-color: #34a853;
        border-color: #34a853;
        color: #fff;
    }

        .wrapper.bg-soft-primary .btn-green:hover {
            background-color: #2c8d46;
            border-color: #2c8d46;
        }

    /* Icons inside buttons */
    .wrapper.bg-soft-primary .btn i {
        font-size: 1.2rem;
        line-height: 1;
    }

/* Responsive tweaks */
@media (max-width: 768px) {
    .wrapper.bg-soft-primary h1 {
        font-size: 2rem;
    }

    .wrapper.bg-soft-primary p.lead {
        font-size: 1rem;
    }
}
.bg-image-left {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%); /* centers vertically */
    width: auto;
    height: 100%;
    object-fit: contain; /* keeps proportions */
    z-index: 0;
}

.wrapper .container {
    position: relative;
    z-index: 1; /* ensures text/buttons are above image */
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 60px 0;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 15px;
    color: #37517e;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.industries-cta-wrapper {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.industries-cta-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.industries-cta-card {
    background-color: #37517e;
    color: #ffffff;
    text-align: center;
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.industries-cta-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.industries-cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #37517e;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

    .industries-cta-button:hover,
    .industries-cta-button:active {
        background-color: #f0f0f0;
        color: #37517e;
        transform: translateY(-2px);
    }

@media (max-width: 768px) {
    .industries-cta-heading {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
}