@import url("https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap");
@import url("./why-us.css");
@import url("./testimonials.css");

.mobile-intro {
    display: none;
}

.hero-banner {
    position: relative;
    border-radius: 24px;
    background: #ffffff;
    min-height: calc(100vh - 72px);
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: none;
    font-family: "Hind Siliguri", sans-serif;
    scroll-snap-align: start;
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: calc(50% - 20px);
    left: 50%;
    width: 1080px;
    height: 456px;
    background-image: url("../../assets/Hero_bg.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 1080px 456px;
    transform: translate(-50%, -50%);
    clip-path: inset(0 0 0 100%);
    will-change: clip-path;
    animation: heroStrokeReveal 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.08s forwards;
}

.hero-banner::after {
    content: none;
}

.hero-content {
    display: grid;
    justify-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    /* margin-top: -20px; */
}

.hero-title {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-impact-line {
    margin: 0;
    max-width: 820px;
    text-align: center;
    color: #1f2937;
    font-size: 24px;
    line-height: 1.28;
    font-weight: 500;
}


.hero-title span {
    display: inline-block;
    opacity: 0;
    transform: scale(1.2);
    animation: wordForm 1.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title span:nth-child(1) {
    animation-delay: 1.5s;
}

.hero-title span:nth-child(2) {
    animation-delay: 2.05s;
}

.hero-title span:nth-child(3) {
    animation-delay: 2.35s;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 02px 12px;
    border-radius: 050px;
    background: #0b0b0b;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 19px;
    width: 140px;
}

.hero-cta:hover {
    background: linear-gradient(135deg, #ff6b74 0%, #ff3037 52%, #ff2a31 100%);
}

.hero-play {
    display: inline-flex;
    align-items: center;
    gap: 0;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    border: none;
    background: #111111;
    color: #ffffff;
    cursor: pointer;
    justify-content: center;
}

.hero-play .play-icon {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid #ffffff;
    display: inline-block;
}

.hero-play .play-icon::before {
    content: none;
}

body.home-hero .top-header {
    opacity: 0;
    transform: translateY(-8px);
    animation: headerReveal 0.35s ease 0.08s forwards;
}

body.home-hero .hero-cta,
body.home-hero .hero-play,
body.home-hero .hero-impact-line {
    opacity: 0;
    transform: translateY(24px);
}

body.home-hero .hero-impact-line {
    animation: heroUpReveal 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 2.75s forwards;
}


body.home-hero .hero-cta {
    animation: heroUpReveal 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 3.1s forwards;
}

body.home-hero .hero-play {
    animation: heroUpReveal 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 3.35s forwards;
}

@keyframes wordForm {
    from {
        opacity: 0;
        transform: scale(1.2);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heroUpReveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroStrokeReveal {
    from {
        clip-path: inset(0 0 0 100%);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes heroStrokeSweep {
    to {
        transform: translateX(-1600px);
    }
}

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

@keyframes cardFromLeft {
    from {
        opacity: 0;
        transform: translateX(-120px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cardFromRight {
    from {
        opacity: 0;
        transform: translateX(120px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes whyCardIn {
    from {
        opacity: 0;
        transform: translateY(36px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ctaZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.video-modal.open {
    display: flex;
}

.video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
}

.video-dialog {
    position: relative;
    /* background: #ffffff; */
    border-radius: 16px;
    padding: 16px;
    width: 720px;
    z-index: 1;
}

/* .video-close {
    position: absolute;
    top: 10px;
    right: 22px;
    border: none;
    background: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
} */

.video-frame {
    width: 688px;
    height: 387px;
    background: #000000;
    border-radius: 10px;
    overflow: hidden;
}

.video-frame iframe {
    width: 688px;
    height: 387px;
    border: 0;
    display: block;
}







@keyframes mobileIntroWordIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes mobileIntroHintIn {
    from {
        opacity: 0;
        transform: translate(-50%, 8px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes mobileIntroTitleSettle {
    from {
        height: 80vh;
    }
    to {
        height: 30vh;
    }
}
