/* Brand utilities */
.bg-brand-blue {
    background-color: var(--brand-blue) !important
}

.text-brand-yellow {
    color: var(--brand-yellow) !important
}

.btn-brand-yellow {
    background-color: var(--brand-yellow) !important;
    border-color: var(--brand-yellow) !important;
    color: #1b1b1b !important
}

/* Hero generic animated gradient */
.hero-animated {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-orange) 50%, var(--brand-yellow) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.hero-animated .container {
    position: relative;
    z-index: 10
}

/* Badge variations */
.heart-beat {
    animation: heartBeat 2s ease-in-out infinite
}

/* Impact section */
.impact-section {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-orange))
}

.impact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2)
}

.impact-value {
    color: var(--brand-yellow);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem
}

.impact-label {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem
}

/* About pages shared styles (story + how-we-work) */
:root {
    --brand-blue: #1F8FFF;
    --brand-orange: #0D0D0D;
    --brand-yellow: #1F8FFF;
}

/* Navbar */
.navbar-komoja {
    background-color: var(--brand-blue) !important
}

/* Buttons */
.btn-signup-custom {
    background-color: var(--brand-yellow) !important;
    border-color: var(--brand-yellow) !important;
    color: #111
}

.btn-signup-custom:hover {
    filter: brightness(0.95)
}

/* Hero */
.story-hero-section {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-orange) 50%, var(--brand-yellow) 100%);
    background-size: 300% 300%;
    animation: edvoraGradientFlow 14s ease-in-out infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}


/* Simple delay utilities */
.delay-0 {
    animation-delay: 0s
}

.delay-1 {
    animation-delay: 1s
}

.delay-2 {
    animation-delay: 2s
}

.delay-3 {
    animation-delay: 3s
}

.delay-4 {
    animation-delay: 4s
}

.delay-5 {
    animation-delay: 5s
}

/* Animation utility classes */
.anim-slide-in-left {
    animation: slideInLeft 1s ease-out
}

.anim-slide-in-right {
    animation: slideInRight 1s ease-out
}

.anim-both {
    animation-fill-mode: both
}

.anim-delay-03 {
    animation-delay: .3s
}

.anim-rocket {
    animation: rocketFloat 4s ease-in-out infinite
}

.anim-globe {
    animation: globeRotate 8s linear infinite
}

/* Badge / Titles */
.story-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 25px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.story-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.story-badge .bi-gem {
    color: var(--brand-yellow);
    font-size: 1.2rem;
    margin-right: 10px;
    animation: gemSpin 3s linear infinite
}

.story-title {
    color: #ffffff;
    font-size: 4.5rem;
    font-weight: 850;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
}

.story-title .highlight {
    color: var(--brand-yellow);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.story-subtitle {
    color: #f8f9fa;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 3rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Text utilities */
.text-brand-blue {
    color: var(--brand-blue) !important
}

.text-brand-orange {
    color: var(--brand-orange) !important
}

.para-lg {
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 500
}

/* Sections */
.story-content-section {
    background: linear-gradient(45deg, #f8f9fa, #e3f2fd, #fff3e0, #f3e5f5);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite
}

.section-alt-1 {
    background: linear-gradient(315deg, #e3f2fd, #f3e5f5, #fff3e0, #f8f9fa);
    background-size: 400% 400%;
    animation: gradientShift 12s ease-in-out infinite
}

.section-alt-2 {
    background: linear-gradient(225deg, #f8f9fa, #fff3e0, #e3f2fd, #f3e5f5);
    background-size: 400% 400%;
    animation: gradientShift 10s ease-in-out infinite reverse
}

/* Cards */
.story-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    height: 100%;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.story-card.alt-1,
.story-card.alt-2 {
    background: rgba(255, 255, 255, 0.75);
    animation: none;
}

.story-icon {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.story-icon i {
    color: var(--brand-blue);
    font-size: 2rem;
}

.story-icon.orange {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Visual block */
.story-visual {
    height: 400px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.visual-alt-1 {
    background: #ffffff !important;
    animation: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.visual-alt-1 i {
    color: var(--brand-blue);
    filter: drop-shadow(0 15px 30px rgba(31, 143, 255, 0.4));
}

.visual-alt-1 .bubble.white {
    background: rgba(31, 143, 255, 0.1);
}

.visual-alt-1 .bubble.light {
    background: rgba(31, 143, 255, 0.05);
}

.visual-elements {
    position: absolute;
    inset: 0
}

.bubble {
    position: absolute;
    border-radius: 50%
}

.bubble.white {
    background: rgba(255, 255, 255, .2)
}

.bubble.orange {
    background: rgba(31, 143, 255, .3)
}

.bubble.deep-orange {
    background: rgba(31, 143, 255, .2)
}

.z-top {
    position: relative;
    z-index: 10
}

/* Mission section */
.mission-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 35px;
    padding: 4rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.mission-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--brand-blue), var(--brand-orange), var(--brand-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 3rem;
    box-shadow: 0 20px 50px rgba(31, 143, 255, .3);
    animation: missionPulse 4s ease-in-out infinite
}

.mission-icon i {
    color: #fff;
    font-size: 3.5rem
}

.mission-title {
    color: var(--brand-blue);
    font-weight: 800;
    margin-bottom: 2rem;
    font-size: 2.5rem
}

.mission-text {
    color: #333;
    line-height: 1.8;
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500
}

.mission-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap
}

.stat-item {
    text-align: center
}

.stat-item .value {
    font-size: 2.5rem;
    font-weight: 800
}

.stat-item .label {
    color: #666;
    font-weight: 600
}

/* Footer */
.footer-komoja {
    background-color: var(--brand-blue);
    color: #fff
}

/* Animations */
@keyframes techFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

@keyframes badgeGlow {
    from {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0)
    }

    to {
        box-shadow: 0 0 30px rgba(255, 255, 255, .25)
    }
}

@keyframes gemSpin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes edvoraGradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes cardGradientMove {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes visualGradientFlow {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes rocketFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@keyframes globeRotate {
    to {
        transform: rotate(360deg)
    }
}

@keyframes missionPulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }
}

@keyframes missionGradientPulse {

    0%,
    100% {
        background-position: 0% 50%;
        opacity: .9
    }

    25% {
        background-position: 50% 0%;
        opacity: 1
    }

    50% {
        background-position: 100% 50%;
        opacity: .95
    }

    75% {
        background-position: 50% 100%;
        opacity: 1
    }
}


/* Decorative bubbles in visual */
.float1 {
    animation: float1 6s ease-in-out infinite
}

.float2 {
    animation: float2 8s ease-in-out infinite
}

.float3 {
    animation: float3 7s ease-in-out infinite
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-14px)
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

/* Heart beat animation */
@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.1)
    }
}



.hero-orb.orb3 {
    left: 20%;
    bottom: -60px;
    background: radial-gradient(circle at 40% 40%, #1F8FFF, transparent 60%);
    animation-delay: 1.2s;
}

.hero-orb.orb4 {
    right: 22%;
    bottom: 0;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 50% 50%, #1F8FFF, transparent 60%);
    animation-delay: 1.8s;
}


/* Animations */
@keyframes techFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
}

@keyframes storyParticleFloat {

    0%,
    100% {
        transform: translateY(0px);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-30px);
        opacity: 1;
    }
}

@keyframes badgeGlow {
    from {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0)
    }

    to {
        box-shadow: 0 0 30px rgba(255, 255, 255, .25)
    }
}

@keyframes gemSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }

    50% {
        text-shadow: 0 0 40px rgba(31, 143, 255, 0.8);
    }
}

@keyframes titleGlow2 {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(31, 143, 255, 0.5);
    }

    50% {
        text-shadow: 0 0 40px rgba(31, 143, 255, 0.8);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes cardGradientMove {

    0%,
    100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }
}

@keyframes visualGradientFlow {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes missionGradientPulse {

    0%,
    100% {
        background-position: 0% 50%;
        opacity: 0.9;
    }

    25% {
        background-position: 50% 0%;
        opacity: 1;
    }

    50% {
        background-position: 100% 50%;
        opacity: 0.95;
    }

    75% {
        background-position: 50% 100%;
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rocketFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(-10deg);
    }

    50% {
        transform: translateY(-15px) rotate(10deg);
    }
}

@keyframes globeRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes missionPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 20px 50px rgba(31, 143, 255, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 60px rgba(31, 143, 255, 0.5);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-title {
        font-size: 2.5rem !important;
    }

    .story-subtitle {
        font-size: 1.1rem !important;
    }

    .story-card {
        padding: 2rem !important;
    }

    .mission-card {
        padding: 2.5rem !important;
    }

    .mission-stats {
        gap: 2rem !important;
    }
}