/* Homepage sections (Zeinet feature-four, about-six, newsletter-two,
   offer-two, testimonial-five, brand-three). */

/* Feature strip: blue cards, ringed icon hanging off the left edge,
   orange fill sweeping in on hover. */
.zn-features { position: relative; padding: 120px 0; background-color: var(--surface); }
.zn-feature { position: relative; z-index: 2; height: 100%; margin: 0 0 0 44px; padding: 30px 30px 30px 65px; background-color: var(--secondary); }
.zn-feature::before { content: ''; position: absolute; top: 0; right: 0; width: 45%; height: 100%; background: linear-gradient(115deg, transparent 0 40%, rgba(255, 255, 255, 0.06) 40% 62%, transparent 62%); opacity: 0.6; transition: opacity 300ms ease; }
.zn-feature:hover::before { opacity: 1; }
.zn-feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background-color: var(--primary); opacity: 0; transform: scale(0.5, 1); transition: all 0.4s; }
.zn-feature:hover::after { opacity: 1; transform: scale(1, 1); }
.zn-feature__icon {
    position: absolute; left: -44px; top: 0; bottom: 0;
    width: 88px; height: 88px; margin: auto;
    display: flex; align-items: center; justify-content: center;
    border: 7px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background-color: var(--secondary);
    background-clip: padding-box;
    color: var(--primary);
    font-size: 35px;
    transition: all 300ms ease;
}
.zn-feature__icon .zn-icon, .zn-feature__icon i { transition: transform 0.4s ease; }
.zn-feature:hover .zn-feature__icon { color: var(--white); }
.zn-feature:hover .zn-feature__icon .zn-icon { transform: scale(1.1); }
.zn-feature h3 { position: relative; z-index: 2; margin: 0 0 14px; color: var(--white); font-size: 20px; font-weight: 700; }
.zn-feature p { position: relative; z-index: 2; margin: 0; color: var(--white); font-size: 16px; line-height: 28px; }

/* About block: photo with two colour bars, experience badge, second photo. */
.zn-about { position: relative; padding: 120px 0; }
.zn-about__image { position: relative; display: flex; gap: 20px; align-items: center; }
.zn-about__image img { display: block; max-width: 100%; }
.zn-about__left img { width: 230px; height: 400px; object-fit: cover; }
.zn-about__bar-one { display: block; width: 50%; height: 19px; margin: 26px 0 0 auto; background-color: var(--primary); }
.zn-about__bar-two { display: block; width: 100%; height: 19px; margin-top: 16px; background-color: var(--secondary); }
.zn-about__right img { width: 315px; height: 400px; object-fit: cover; }
.zn-history { position: relative; max-width: 240px; margin: 0 0 20px; padding: 40px 20px 41px; text-align: center; background-color: var(--surface); }
.zn-history::after { content: ''; position: absolute; inset: 8px; border: 1px dashed var(--primary); opacity: 0.25; }
.zn-history__dot { position: absolute; width: 8px; height: 8px; background-color: var(--primary); animation: znPulse 4s linear infinite; }
.zn-history__dot:nth-of-type(1) { left: 0; top: 0; }
.zn-history__dot:nth-of-type(2) { right: 0; top: 0; }
.zn-history__dot:nth-of-type(3) { left: 0; bottom: 0; }
.zn-history__dot:nth-of-type(4) { right: 0; bottom: 0; }
@keyframes znPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
.zn-history__number {
    position: relative;
    width: 115px; height: 115px; margin: auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--secondary);
    font-size: 28px; font-weight: 700; line-height: 1;
    filter: drop-shadow(0 0 38px rgba(13, 28, 55, 0.1));
}
/* Partial orange arc around the number. */
.zn-history__number::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 200deg, var(--primary) 0 270deg, transparent 270deg); -webkit-mask: radial-gradient(circle, transparent 53px, #000 54px); mask: radial-gradient(circle, transparent 53px, #000 54px); }
.zn-history__text { margin: 19px 0 0; color: var(--secondary); font-size: 21px; font-weight: 700; }
.zn-about__content .zn-head { margin-bottom: 24px; }
.zn-about__text { margin: 0 0 31px; font-size: 18px; line-height: 32px; }
.zn-about__divider { position: relative; height: 2px; margin: 0 0 41px; background-color: rgba(var(--navy-rgb), 0.1); }
.zn-about__divider::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; width: 50px; height: 100%; margin: 0 auto; background-color: var(--primary); animation: znShapeMove2 4s linear infinite; }
@keyframes znShapeMove2 { 0%, 100% { width: 50px; } 50% { width: 100%; } }
.zn-about__box { position: relative; min-height: 70px; padding: 0 0 0 70px; }
.zn-about__box-icon {
    position: absolute; left: 0; top: 0; z-index: 1; overflow: hidden;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background-color: var(--surface);
    color: var(--primary);
    font-size: 22px;
    transition: all 0.3s ease-out;
}
.zn-about__box-icon::after { content: ''; position: absolute; left: 0; top: 0; z-index: -1; width: 101%; height: 0; border-radius: 50%; background-color: var(--primary); transition: all 0.3s ease-out; }
.zn-about__box:hover .zn-about__box-icon { color: var(--white); }
.zn-about__box:hover .zn-about__box-icon::after { height: 100%; }
.zn-about__box h3 { margin: 12px 0 4px; font-size: 20px; font-weight: 700; }
.zn-about__content .zn-btn { margin-top: 24px; }

@media (max-width: 1199px) {
    .zn-about__image { justify-content: center; margin-bottom: 40px; }
}
@media (max-width: 767px) {
    .zn-features, .zn-about { padding: 80px 0; }
    .zn-feature { margin: 44px 0 0; padding: 60px 24px 30px; }
    .zn-feature__icon { left: 24px; top: -44px; bottom: auto; margin: 0; }
    .zn-about__image { flex-wrap: wrap; }
    .zn-about__left img, .zn-about__right img { width: 100%; height: 300px; }
    .zn-about__left, .zn-about__right { width: 100%; }
    .zn-history { max-width: none; }
}
