﻿/* Modern Glass Premium Card */
.info-card {
    position: relative;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    border-radius: 32px;
    overflow: hidden;
    padding: 45px 35px;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 15px 40px rgba(13,110,253,0.12), 0 5px 15px rgba(0,0,0,0.06);
    transition: 0.5s ease;
    /* NEW FLOATING ANIMATION */
    animation: floatingCard 6s ease-in-out infinite;
}

    /* Hover Effect */
    .info-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 25px 60px rgba(13,110,253,0.20), 0 10px 30px rgba(0,0,0,0.08);
    }

    /* Animated Shine Layer */
    .info-card::before {
        content: "";
        position: absolute;
        top: -120%;
        left: -50%;
        width: 200%;
        height: 250%;
        background: linear-gradient( 120deg, transparent, rgba(255,255,255,0.55), transparent );
        transform: rotate(25deg);
        animation: shineMove 6s linear infinite;
    }

    /* Soft Gradient Border */
    .info-card::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 32px;
        padding: 2px;
        background: linear-gradient( 135deg, #0d6efd, #00c6ff, #6f42c1 );
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: -1;
    }

/* Icon Animation */
.info-icon {
    font-size: 65px;
    color: #0d6efd;
    margin-bottom: 25px;
    animation: iconPulse 3s infinite ease-in-out;
}

/* Heading */
.info-card h4 {
    font-weight: 700;
    color: #001f5b;
    margin-bottom: 18px;
    font-size: 28px;
}

/* Paragraph */
.info-card p {
    color: #6c757d;
    line-height: 1.9;
    font-size: 15px;
}

/* Section Title */
.section-title h1 {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: #001f5b;
}

    /* Premium Animated Underline */
    .section-title h1::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 7px;
        left: 50%;
        bottom: -20px;
        transform: translateX(-50%);
        border-radius: 50px;
        background: linear-gradient( 90deg, #0d6efd, #00c6ff, #6f42c1, #0d6efd );
        background-size: 300% 300%;
        animation: premiumLine 5s linear infinite;
    }

/* FLOATING CARD */
@keyframes floatingCard {

    0% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(0.5deg);
    }

    50% {
        transform: translateY(0px) rotate(0deg);
    }

    75% {
        transform: translateY(10px) rotate(-0.5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* SHINE EFFECT */
@keyframes shineMove {

    0% {
        transform: translateX(-120%) rotate(25deg);
    }

    100% {
        transform: translateX(120%) rotate(25deg);
    }
}

/* ICON PULSE */
@keyframes iconPulse {

    0% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(13,110,253,0);
    }

    50% {
        transform: scale(1.12);
        text-shadow: 0 0 20px rgba(13,110,253,0.45);
    }

    100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(13,110,253,0);
    }
}

/* UNDERLINE FLOW */
@keyframes premiumLine {

    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 10px #0d6efd;
    }

    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 25px #00c6ff, 0 0 45px #6f42c1;
    }

    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 10px #0d6efd;
    }
}
