/* Hero — ported from becloudsa style.css */
.hero_section {
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
}

.hero_section .hero_content {
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero_section .hero_text {
    flex: 0 0 52%;
    max-width: 680px;
}

.hero_section .hero_cloud {
    flex: 0 0 44%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    direction: ltr;
}

/* .hero_section .hero_content h1{
    color: #fff;
    font-family: var(--bold);
    margin-bottom: 30px;
    font-size: 48px;
} */

.hero_content h1 {
    font-size: 48px;
    font-family: 700;
    margin: 0 0 1.2rem;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 14px;
    white-space: nowrap;
    font-family: var(--bold);
    color: #fff;
}

.slider-wrapper {
    display: inline-block;
    height: 3.4rem;
    overflow: hidden;
    vertical-align: middle;
}

.slider-track {
    display: flex;
    flex-direction: column;
    animation: slideUp 20s linear infinite;
    gap: 25px;
}

/* نكرر الكلمات مرتين عشان اللف يبان سلس */
@keyframes slideUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.slider-item {
    height: 3.4rem;
    line-height: 3.4rem;
    font-size: 2.8rem;
    font-family: 700;
    color: #fff;
    white-space: nowrap;
}

.hero_section .hero_content p {
    color: #fff;
    font-family: var(--med);
    font-size: 24px;
    width: 612px;
}
.cloud-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 620px;
    height: 400px;
}

.cloud-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.icon-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    padding: 55px 55px 75px;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-items: center;
}

.icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-item img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    transition: transform 0.25s ease;
}

.icon-item:hover img {
    transform: scale(1.4) !important;
}

/* ── CLOUD FLOAT ── */
@keyframes floatCloud {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-14px) translateX(5px);
    }
    50% {
        transform: translateY(-7px) translateX(-4px);
    }
    75% {
        transform: translateY(-18px) translateX(3px);
    }
}

.cloud-wrap {
    animation: floatCloud 8s ease-in-out infinite;
}

/* ── 8 UNIQUE ICON FLOAT KEYFRAMES ── */
@keyframes fi0 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    40% {
        transform: translateY(-8px) translateX(3px);
    }
    70% {
        transform: translateY(-4px) translateX(-2px);
    }
}

@keyframes fi1 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    35% {
        transform: translateY(-10px) translateX(-3px);
    }
    65% {
        transform: translateY(-5px) translateX(4px);
    }
}

@keyframes fi2 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    30% {
        transform: translateY(-6px) translateX(4px);
    }
    60% {
        transform: translateY(-11px) translateX(-2px);
    }
}

@keyframes fi3 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    45% {
        transform: translateY(-9px) translateX(-4px);
    }
    75% {
        transform: translateY(-3px) translateX(3px);
    }
}

@keyframes fi4 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    40% {
        transform: translateY(-12px) translateX(2px);
    }
    70% {
        transform: translateY(-6px) translateX(-3px);
    }
}

@keyframes fi5 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    30% {
        transform: translateY(-5px) translateX(-5px);
    }
    60% {
        transform: translateY(-10px) translateX(3px);
    }
}

@keyframes fi6 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-7px) translateX(5px);
    }
    80% {
        transform: translateY(-3px) translateX(-3px);
    }
}

@keyframes fi7 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    35% {
        transform: translateY(-11px) translateX(-2px);
    }
    65% {
        transform: translateY(-4px) translateX(4px);
    }
}

/* ── ENTRANCE ── */
@keyframes iconIn {
    from {
        opacity: 0;
        transform: scale(0.4) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero_cloud .cloud-wrap {
    width: min(620px, 100%);
    height: 400px;
}

@media (max-width: 1200px) {
    .hero_section .hero_content {
        width: 90%;
        gap: 35px;
    }

    .hero_cloud .cloud-wrap {
        width: 520px;
        height: 335px;
    }

    .icon-grid {
        padding: 45px 45px 65px;
    }

    .icon-item img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 992px) {
    .hero_section {
        min-height: auto;
        padding: 140px 0 70px;
        align-items: center;
    }

    .hero_section .hero_content {
        flex-direction: column;
        text-align: center;
    }

    .hero_section .hero_text,
    .hero_section .hero_cloud {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .hero_section .hero_cloud {
        justify-content: center;
    }

    .hero_content h1 {
        justify-content: center;
        white-space: normal;
        flex-wrap: wrap;
    }

    .hero_section .hero_content p {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero_cloud .cloud-wrap {
        width: 340px;
        height: 240px;
    }

    .icon-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
        padding: 32px 32px 45px;
    }

    .icon-item img {
        width: 18px;
        height: 18px;
    }

    .hero_content h1,
    .slider-item {
        font-size: 2rem;
    }

    .slider-wrapper,
    .slider-item {
        height: 2.7rem;
        line-height: 2.7rem;
    }

    .hero_section .hero_content p {
        font-size: 18px;
.hero_section{background-image:url('../img/hero.png');position:relative;overflow:hidden;min-height:calc(100vh - 78px)}
.hero_content h1,.slider-item{font-family:Cairo,sans-serif;font-weight:800}
.hero_section .hero_content p{font-family:Cairo,sans-serif;font-weight:500;max-width:100%}
.hero_actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.hero_section .bs-trust{margin-top:22px}
@media (max-width:992px){.hero_section{padding:70px 0 60px}.hero_actions,.hero_section .bs-trust{justify-content:center}}
@media (max-width:576px){.hero_section .hero_content{width:100%;padding:0 16px}.hero_cloud .cloud-wrap{width:min(340px,100%)}.hero_actions .bs-btn{flex:1}}
