/* Floating Experience Card */
.experience-card {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    max-width: 250px;
}

.experience-card .icon {
    width: 50px;
    height: 50px;
    background: #377dff;
    /* Primary Blue */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.experience-card .content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #081828;
    margin: 0;
    line-height: 1.2;
}

.experience-card .content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Image Card Container */
.image-card-container {
    background: #fff;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: inline-block;
    /* Fits content */
    animation: shadow-pulse 3s infinite;
    transition: transform 0.3s ease;
}

.image-card-container:hover {
    transform: translateY(-5px);
}

.image-card-container img {
    max-width: 100%;
    height: auto;
    display: block;
    /* rounded-image class handles border-radius */
}

/* Rounded Image */
.rounded-image {
    border-radius: 15px;
    /* Slightly less than container to fit nicely */
}

/* Shadow Pulse Animation */
@keyframes shadow-pulse {
    0% {
        box-shadow: 0 10px 30px rgba(55, 125, 255, 0.2);
        /* Blueish shadow start */
    }

    50% {
        box-shadow: 0 15px 40px rgba(55, 125, 255, 0.5);
        /* Stronger shadow */
    }

    100% {
        box-shadow: 0 10px 30px rgba(55, 125, 255, 0.2);
        /* Back to start */
    }
}

/* Responsive adjustments */
@media only screen and (max-width: 767px) {
    .experience-card {
        right: 0;
        bottom: -20px;
        position: relative;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        transform: none !important;
        animation: none;
    }

    .image-card-container {
        display: block;
        margin: 0 auto;
        margin-top: 50px;
        /* Add spacing between text and image on mobile */
    }
}

/* Animated Logo Styles */
.logo-v {
    display: inline-block;
    color: #377dff;
    /* Brand Blue */
    font-size: 1.2em;
    /* Slightly larger */
    font-weight: 800;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.2);
    animation: bounce-v 2s infinite;
}

.logo-bank {
    display: inline-block;
    color: inherit;
    /* Inherit color from parent (h3) */
    font-weight: 700;
    letter-spacing: 1px;
    animation: slide-in-bank 3s ease-out;
}

@keyframes bounce-v {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes slide-in-bank {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* AI Innovation Gallery Styles */
.ai-gallery {
    padding-top: 50px;
    padding-bottom: 50px;
    background: #f9faff;
    /* Light background to match theme */
}

.gallery-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin: 15px;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(46, 208, 109, 0.2);
    border: 2px solid rgba(46, 208, 109, 0.3);
}

.gallery-card .image {
    position: relative;
    overflow: hidden;
    padding-top: 65%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.gallery-card .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover .image img {
    transform: scale(1.08);
}

/* Logo Styling */
.navbar-area .navbar-brand img {
    transition: all 0.4s ease;
}

/* Achievements Section */
.achievements-section {
    background: #081828;
    background-image: linear-gradient(135deg, #0a1f3d 0%, #081828 50%, #0d2847 100%);
    position: static;
    padding: 15px 0;
    color: #fff;
    width: 100%;
    overflow: hidden;
}

.achievements-section .container {
    position: relative;
    z-index: 10;
}

.achievements-section .single-achievement {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;
    position: relative;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 120px;
}

.achievements-section .single-achievement:hover {
    transform: translateY(-8px);
}

.achievements-section .achievement-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievements-section .achievement-icon i {
    line-height: 1;
}

.achievements-section .single-achievement:hover .achievement-icon {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 15px rgba(46, 208, 109, 0.1);
    transform: scale(1.15) rotate(5deg);
}

.achievements-section .achievement-content {
    width: 100%;
}

.achievements-section .achievement-content h3 {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1;
    letter-spacing: -1px;
}

.achievements-section .achievement-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Icon specific animations */
.achievements-section .lni-cloud-download {
    animation: float-icon 3s ease-in-out infinite;
}

.achievements-section .lni-bulb {
    animation: pulse-icon 2.5s infinite;
}

.achievements-section .lni-users {
    animation: bounce-icon 3s infinite;
}

.achievements-section .lni-protection {
    animation: rotate-icon 5s infinite linear;
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

@keyframes bounce-icon {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-12px);
    }

    60% {
        transform: translateY(-6px);
    }
}

@keyframes rotate-icon {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Vertical Separator for Desktop */
.achievements-section .col-lg-3:not(:last-child) .single-achievement::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 80px;
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

/* Mobile Responsive */
@media only screen and (max-width: 991px) {
    .achievements-section .col-lg-3:not(:last-child) .single-achievement::after {
        display: none;
    }

    .achievements-section {
        padding: 60px 0;
    }

    .achievements-section .single-achievement {
        padding: 30px 20px;
        min-height: 180px;
    }

    .achievements-section .achievement-content h3 {
        font-size: 48px;
    }

    .achievements-section .achievement-content p {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .achievements-section .achievement-icon {
        width: 70px;
        height: 70px;
        line-height: 70px;
        font-size: 35px;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .achievements-section {
        padding: 50px 0;
    }

    .achievements-section .single-achievement {
        padding: 25px 15px;
        min-height: 160px;
        margin-bottom: 0;
    }

    .achievements-section .achievement-content h3 {
        font-size: 42px;
    }

    .achievements-section .achievement-content p {
        font-size: 12px;
        letter-spacing: 1.2px;
    }

    .achievements-section .achievement-icon {
        width: 65px;
        height: 65px;
        line-height: 65px;
        font-size: 32px;
        margin-bottom: 18px;
    }

    /* Add bottom border instead of vertical separator on mobile */
    .achievements-section .col-12:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}