
/*--------------------------------------------------------------
# master Section
--------------------------------------------------------------*/

------------------------------------------------------------- */

#master {
    width: 100%;
    height: 80vh;
    background: #323232;
    position: relative;       /* ✅ needed so video/overlay stay inside */
    overflow: hidden;
    z-index: 1;               /* ✅ content after hero can be above */
}

.master-video {
    position: absolute;
    object-fit: cover;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    pointer-events: none;     /* ✅ prevents blocking clicks */
}

.over-lapping {
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;     /* ✅ prevents blocking clicks */
}

#master .container {
    padding-top: 72px;
}

#master h1 {
    margin: 0 0 10px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: #fff;
}

.master-heading {
    font-family: "Jost", sans-serif;
}

#master h2 {
    color: #ef9836;
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

#master .btn-get-started {
    font-family: "Jost", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px 11px 28px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px 0 0 0;
    color: #fff;
    background: #FD7B33;
}

#master .btn-get-started:hover {
    background: #209dd8;
}

#master .btn-watch-video {
    font-size: 16px;
    display: inline-block;
    padding: 10px 0 8px 40px;
    transition: 0.5s;
    margin: 10px 0 0 25px;
    color: #fff;
    position: relative;
}

#master .btn-watch-video i {
    color: #fff;
    font-size: 32px;
    position: absolute;
    left: 0;
    top: 7px;
    transition: 0.3s;
}

#master .btn-watch-video:hover i {
    color: #FD7B33;
}

#master .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

/* ✅ KEEP HERO RESPONSIVE */
@media (max-width: 991px) {
    #master {
        height: 100vh;
        text-align: center;
    }

    #master .animated {
        animation: none;
    }

    #master .master-img {
        text-align: center;
    }

    #master .master-img img {
        width: 50%;
    }
}

@media (max-width: 768px) {
    #master h1 {
        font-size: 28px;
        line-height: 36px;
    }

    #master h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    #master .master-img img {
        width: 70%;
    }
}

@media (max-width: 575px) {
    #master .master-img img {
        width: 80%;
    }

    #master .btn-get-started {
        font-size: 16px;
        padding: 10px 24px 11px 24px;
    }

    #master .btn-watch-video {
        font-size: 16px;
        padding: 10px 0 8px 40px;
        margin-left: 20px;
    }

    #master .btn-watch-video i {
        font-size: 32px;
        top: 7px;
    }
}

@keyframes up-down {
    0% { transform: translateY(10px); }
    100% { transform: translateY(-10px); }
}


