/* =====================
    Hero secton
==================== */
/*===============
     new hero
================*/
.hero {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 80px 60px;
    padding: 160px 60px;
    gap: 40px;
}

.hero-left {
    max-width: 520px;
}

.hero-left h1 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-left p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 30px;
}

.hero-btn {
    padding: 12px 28px;
    background: #bc1be7;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.hero-btn:hover {
    background: #a214cc;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-box {
    width: 100%;
    background: rgb(201, 191, 191);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-box svg {
    width: 500px;
    height: 300px;

}

.hero-svg {
    cursor: pointer;
}

.draw-path {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: drawLine 3s ease-in-out infinite;
    transition: stroke 0.3s, stroke-width 0.3s;
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 800;
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0.4;
    }
}

.hero-svg:hover .draw-path {
    stroke: #080a0a;
    stroke-width: 4;
}

.svg-text {
    font-family: Arial, sans-serif;
    font-size: 18px;
    fill: blue;
    opacity: 0;
    animation: textFade 3s infinite;
}

.stats {

    display: flex;
    padding: 10px;
    gap: 58px;
    text-align: center;

}

/* =============== */
.card-wrapper {
    display: flex;
    gap: 20px;
    background: #f8f9fc;
    height: 130px;
    justify-content: space-evenly;
    padding: 20px;
}

.staky-card {
    position: relative;
    color: #000000;
}

.staky-card:hover {
    background-color: #d8e1ff;
}

.staky-card {
    background: #eee;
    width: 340px;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-80%);
}

.staky-card .name {
    font-weight: 600;
    margin-bottom: 4px;
}

.staky-card .desc {
    font-size: 14px;
    color: #555;
}



.t1 {
    animation-delay: 0.6s;
}

.t2 {
    animation-delay: 1.2s;
}

.t3 {
    animation-delay: 1.8s;
}

.t4 {
    animation-delay: 2.4s;
}

@keyframes textFade {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.hero-svg:hover .svg-text {
    fill: #000000;
}


@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 65px 20px;
    }

    .hero-left h1 {
        font-size: 34px;
    }

}





@media (max-width:1279px) and (min-width:1023px) {

    .hero {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 50px 40px;
        gap: 40px;
        min-height: 90vh;
    }

    .hero-box svg {
        width: 275px !important;
        height: 247px !important;
    }
}




@media (max-width: 1000px) {

    .main-content {
        margin-left: 0;
        padding: 0px;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 20px;
    }

    .hero-left {
        max-width: 100%;
        margin-top: 60px;
    }

    .hero-left h2 {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .hero-right {
        width: 100%;
        margin-top: 30px;
        display: none;
    }

    .hero-box {
        height: 260px;
    }

    .staky-card {
        width: 100%;
        transform: translateY(0);
    }

    .hero-box svg {
        width: 100%;
    }

    .card-wrapper {
        flex-direction: column;
        height: auto;
        gap: 15px;
        padding: 20px;
    }
}



/* ============================================ */



















