/* Reveal Animation Styles */
html.js-reveal-ready .reveal {
    opacity: 0;
    transform: translateY(50px);
    /* Pushes the section 50px down */
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    /* Controls the slide-up speed & curve */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    /* Glides back to its natural position */
}



.overview-section {
    position: relative;
    background: #0f172a;
    overflow: hidden;
}

.vertical-marquee-container {
    position: absolute;
    left: 10px;
    bottom: 0;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
}

.marquee-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.5px #d4af37;
    opacity: 0.3;
    animation: scrollUp 15s linear infinite;
}

@keyframes scrollUp {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

.handshake-bg {
    position: absolute;
    right: -2%;
    top: 5%;
    width: 35%;
    max-width: 450px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    transform-origin: top right;
    animation: subtleNod 6s ease-in-out 3;
}

@keyframes subtleNod {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(-3deg) scale(1.05);
    }
}

.navy-gradient-section {
    position: relative;
    /* Replaced static tag with high-quality stock photo URL for background */
    background: linear-gradient(to right, rgba(2, 6, 23, 0.5) 0%, rgba(2, 6, 23, 1) 100%),
        url("../images/bl-middle1.a175ad501c69.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: multiply;
}

.arrow-btn:hover i {
    transform: translateX(8px);
    transition: transform 0.3s ease;
}

/* OVERLAPPING GLOBE STYLING */




/* SCROLL REVEAL ANIMATIONS */
html.js-reveal-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger delays for content */
.delay-200 {
    transition-delay: 200ms;
}

/* Slide in from Left side (Box 1) */
html.js-reveal-ready .reveal-left {
    opacity: 0;
    transform: translateX(-150px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from Right side (Box 2) */
html.js-reveal-ready .reveal-right {
    opacity: 0;
    transform: translateX(150px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* UAE Map Dot Pulse fallback styles */



/* Gradient CTA button */
.btn-pop1 {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-pop1:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.6);
    transform: scale(1.04) translateY(-2px);
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}


/* ======================================================
   MOBILE OPTIMISATIONS
   Business Loan Page
   Android + iPhone Only
====================================================== */

@media (max-width: 767px) {

    /* ----------------------------------
       Hero Banner
    ---------------------------------- */

    .page-banner {
        padding-top: 110px;
        min-height: auto;
    }

    .page-banner-content {
        padding-top: 20px;
        padding-bottom: 50px;
    }

    .page-banner-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .page-banner-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }

    .page-banner .btn-pop,
    .page-banner .btn-pop1 {
        width: 100%;
        text-align: center;
    }

    /* ----------------------------------
       Overview Section
    ---------------------------------- */

    .overview-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .vertical-marquee-container {
        display: none;
    }

    .handshake-bg {
        width: 70%;
        right: -18%;
        opacity: .08;
    }

    /* ----------------------------------
       Navy Gradient CTA
    ---------------------------------- */

    .navy-gradient-section {
        background-attachment: scroll;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .navy-gradient-section .max-w-4xl {
        padding: 32px 22px;
        border-radius: 24px;
    }

    .navy-gradient-section h2 {
        font-size: 2rem !important;
        line-height: 1.2;
        word-break: break-word;
    }

    .navy-gradient-section p {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 32px;
    }

    .arrow-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
        padding: 16px 24px;
        font-size: 15px;
        line-height: 1.5;
    }

    /* ----------------------------------
       Globe
    ---------------------------------- */



    /* ----------------------------------
       Strategy Section
    ---------------------------------- */

    #strategy-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    #strategy-section img {
        height: auto;
    }

    /* ----------------------------------
       Timeline / Cards
    ---------------------------------- */

    html.js-reveal-ready .reveal-left,
    html.js-reveal-ready .reveal-right {
        opacity: 0;
        transform: translateY(24px);
        transition:
            opacity .45s ease,
            transform .45s ease;
    }

    .reveal-left.active,
    .reveal-right.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* ----------------------------------
       Performance Optimisation
    ---------------------------------- */

    .marquee-text {
        animation: scrollUp 10s ease-out 1 forwards;
    }

    .handshake-bg {
        animation: subtleNod 3s ease-in-out 1 forwards;
    }

    html.js-reveal-ready .reveal,
    html.js-reveal-ready .reveal-on-scroll {
        opacity: 0;
        transform: translateY(24px);
        transition:
            opacity .45s ease,
            transform .45s ease;
    }

}