/*==================================================*
* WHY SECTION - PREMIUM 2026
*==================================================*/

.why-section {
    position: relative;
    padding: 120px 0;
    background: #080808;
    overflow: hidden;
}


/*==================================================*
* BACKGROUND GRID
*==================================================*/

.why-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: .65;
    z-index: 1;
}


/*==================================================*
* GLOW
*==================================================*/

.why-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    right: -220px;
    top: -180px;
    background: #e30613;
    border-radius: 50%;
    filter: blur(180px);
    opacity: .12;
    z-index: 1;
}


.why-section .container {
    position: relative;
    z-index: 5;
}


/*==================================================*
* HEADER
*==================================================*/

.why-header {
    max-width: 850px;
    margin: auto;
    margin-bottom: 70px;
}


.why-tag {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 40px;
    border: 1px solid rgba(227,6,19,.45);
    background: rgba(227,6,19,.12);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}


.why-header h2 {
    margin-top: 22px;
    color: #fff;
    font-size: 54px;
    font-weight: 900;
    line-height: 1.1;
}


.why-header h2 span {
    display: block;
    color: #E30613;
    text-shadow: 0 0 35px rgba(227,6,19,.45);
}


.why-header p {
    margin: 28px auto 0;
    max-width: 720px;
    color: #bdbdbd;
    font-size: 18px;
    line-height: 1.9;
}


/*==================================================*
* CARDS
*==================================================*/

.why-cards {
    row-gap: 30px;
}


/* Make every column stretch to the same height */

.why-cards > div {
    display: flex;
}


/* Main card */

.why-card {
    position: relative;
    width: 100%;
    min-height: 340px;
    height: 100%;
    padding: 38px 30px;
    border-radius: 24px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: .45s;

    display: flex;
    flex-direction: column;
}


/* Top red line */

.why-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 4px;
    background: #E30613;
    transition: .45s;
}


.why-card:hover::before {
    width: 100%;
}


.why-card:hover {
    transform: translateY(-12px);
    border-color: #E30613;
    box-shadow: 0 30px 60px rgba(227,6,19,.18);
}


/*==================================================*
* NUMBER
*==================================================*/

.why-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 46px;
    font-weight: 900;
    color: rgba(255,255,255,.06);
}


/*==================================================*
* ICON
*==================================================*/

.why-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background: rgba(227,6,19,.14);
    color: #E30613;
    transition: .45s;
}


.why-icon svg {
    width: 42px;
    height: 42px;
    fill: currentColor;
}


.why-icon i {
    font-size: 34px;
}


.why-card:hover .why-icon {
    background: #E30613;
    color: #fff;
    transform: rotate(-8deg) scale(1.08);
}


/*==================================================*
* TEXT
*==================================================*/

.why-card h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 18px;
}


.why-card p {
    color: #cfcfcf;
    line-height: 1.9;
    font-size: 16px;
    margin: 0;
}


/*==================================================*
* CARD ANIMATION
*==================================================*/

.why-card {
    opacity: 0;
    transform: translateY(60px);
    animation: whyFade .8s ease forwards;
}


.why-cards .col-lg-4:nth-child(1) .why-card {
    animation-delay: .15s;
}


.why-cards .col-lg-4:nth-child(2) .why-card {
    animation-delay: .30s;
}


.why-cards .col-lg-4:nth-child(3) .why-card {
    animation-delay: .45s;
}


.why-cards .col-lg-4:nth-child(4) .why-card {
    animation-delay: .60s;
}


.why-cards .col-lg-4:nth-child(5) .why-card {
    animation-delay: .75s;
}


.why-cards .col-lg-4:nth-child(6) .why-card {
    animation-delay: .90s;
}


@keyframes whyFade {

    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/*==================================================*
* EXTRA GLOW
*==================================================*/

.why-card::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(227,6,19,.18),
        transparent 35%,
        transparent 70%,
        rgba(227,6,19,.12)
    );
    opacity: 0;
    transition: .45s;
    pointer-events: none;
}


.why-card:hover::after {
    opacity: 1;
}


/*==================================================*
* ICON FLOAT
*==================================================*/

@keyframes floatIcon {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }

}


.why-card:hover .why-icon {
    animation: floatIcon 1.8s infinite;
}


/*==================================================*
* RESPONSIVE
*==================================================*/

@media(max-width:1200px) {

    .why-header h2 {
        font-size: 46px;
    }

}


/*==================================================*
* TABLET
*==================================================*/

@media(max-width:991px) {

    .why-section {
        padding: 90px 0;
    }

    .why-header {
        margin-bottom: 45px;
    }

    .why-header h2 {
        font-size: 38px;
    }

    .why-header p {
        font-size: 16px;
    }

    .why-card {
        min-height: 320px;
        padding: 30px 24px;
    }

}


/*==================================================*
* MOBILE
*==================================================*/

@media(max-width:768px) {

    .why-number {
        font-size: 34px;
    }

    .why-card h3 {
        font-size: 21px;
    }

}


/*==================================================*
* SMALL MOBILE
*==================================================*/

@media(max-width:576px) {

    .why-section {
        padding: 70px 0;
    }

    .why-tag {
        font-size: 12px;
        padding: 8px 18px;
    }

    .why-header h2 {
        font-size: 30px;
    }

    .why-icon {
        width: 65px;
        height: 65px;
    }

    .why-icon i {
        font-size: 28px;
    }

    .why-icon svg {
        width: 34px;
        height: 34px;
    }

    .why-card {
        min-height: auto;
        height: auto;
    }

}


/*==================================================*
* SMOOTH
*==================================================*/

.why-card,
.why-icon,
.why-card::before,
.why-card::after {
    will-change: transform;
}


/*==================================================*
* SECTION SPACING
*==================================================*/

.why-section {
    margin-bottom: 60px;
}