/*==============================
    MANTRA INSTITUTE
==============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#000;
    color:#fff;
    overflow-x:hidden;
}

/*==============================
VIDEO
==============================*/

#bgVideo{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-3;
}

.overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.75);
    z-index:-2;
}

/*==============================
HEADER
==============================*/

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 8%;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(15px);

    z-index:1000;

}

.logo img{

    height:70px;

}

nav ul{

    list-style:none;
    display:flex;
    gap:35px;

}

nav ul li a{

    color:#fff;
    text-decoration:none;
    font-weight:500;
    transition:.3s;

}

nav ul li a:hover{

    color:#FFC107;

}

.menuBtn{

    display:none;

    color:#fff;
    font-size:28px;

    background:none;
    border:none;
    cursor:pointer;

}

/*==============================
HERO
==============================*/

.hero{

    height:100vh;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    padding:20px;

}

.hero h4{

    color:#FFC107;
    letter-spacing:3px;
    margin-bottom:10px;

}

.hero h1{

    font-size:70px;
    font-weight:700;

}

.hero p{

    margin:20px 0;
    font-size:20px;
    color:#ddd;

}

.btn{

    display:inline-block;

    padding:15px 40px;

    background:#FFC107;

    color:#000;

    border-radius:40px;

    text-decoration:none;

    font-weight:600;

    transition:.4s;

}

.btn:hover{

    transform:translateY(-5px);

    background:#fff;

    box-shadow:0 0 30px #FFC107;

}

/*==============================
SECTION
==============================*/

section{

    padding:100px 8%;

}

section h2{

    text-align:center;

    font-size:40px;

    color:#FFC107;

}

.subTitle{

    text-align:center;

    margin:15px 0 50px;

    color:#ddd;

}

/*==============================
CARD
==============================*/

.cardContainer{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.card{

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    backdrop-filter:blur(15px);

    border-radius:20px;

    padding:35px;

    text-align:center;

    cursor:pointer;

    transition:.4s;

}

.card:hover{

    transform:translateY(-12px) scale(1.03);

    border-color:#FFC107;

    box-shadow:0 0 35px rgba(255,193,7,.6);

}

.card i{

    font-size:55px;

    color:#FFC107;

    margin-bottom:20px;

}

.card h3{

    margin-bottom:10px;

}

.card p{

    color:#ccc;
    line-height:1.7;

}

/*==============================
ABOUT
==============================*/

#about{

    text-align:center;

}

#about p{

    max-width:900px;

    margin:auto;

    margin-top:25px;

    line-height:2;

    color:#ddd;

}

/*==============================
CONTACT
==============================*/

.contactBox{

    display:flex;

    justify-content:center;

    gap:40px;

    flex-wrap:wrap;

    margin-top:50px;

}

.contactBox div{

    background:rgba(255,255,255,.08);

    padding:25px 30px;

    border-radius:15px;

    border:1px solid rgba(255,255,255,.15);

    transition:.4s;

}

.contactBox div:hover{

    border-color:#FFC107;

    box-shadow:0 0 25px rgba(255,193,7,.5);

}

.contactBox i{

    color:#FFC107;

    font-size:25px;

    margin-right:10px;

}

/*==============================
FOOTER
==============================*/

footer{

    background:#111;

    text-align:center;

    padding:25px;

    color:#bbb;

}

/*==============================
SCROLL BAR
==============================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:#FFC107;

}

::-webkit-scrollbar-track{

    background:#111;

}

/*==============================
ANIMATION
==============================*/

.card{

    animation:updown 3s infinite;

}

@keyframes updown{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }

    100%{

        transform:translateY(0);

    }

}

/*==============================
RESPONSIVE
==============================*/

@media(max-width:991px){

.hero h1{

font-size:50px;

}

header{

padding:15px 20px;

}

nav ul{

gap:20px;

}

}

@media(max-width:768px){

.menuBtn{

display:block;

}

nav{

display:none;

}

.hero h1{

font-size:40px;

}

.hero p{

font-size:16px;

}

section{

padding:80px 20px;

}

.logo img{

height:55px;

}

.contactBox{

flex-direction:column;

}

}

@media(max-width:480px){

.hero h1{

font-size:32px;

}

.hero h4{

font-size:14px;

}

.btn{

padding:12px 25px;

}

.card{

padding:25px;

}

.card i{

font-size:45px;

}

section h2{

font-size:30px;

}

}
/*==============================
LOGO
==============================*/

.logo{

    display:flex;
    align-items:center;
    gap:15px;

}

.logo img{

    width:70px;
    height:70px;
    object-fit:contain;

    background:rgba(255,255,255,.08);
    padding:8px;

    border-radius:15px;

    border:2px solid rgba(255,193,7,.5);

    backdrop-filter:blur(15px);

    transition:.4s;

    cursor:pointer;

}

.logo img:hover{

    transform:rotate(-5deg) scale(1.08);

    box-shadow:
        0 0 15px #FFC107,
        0 0 30px rgba(255,193,7,.6);

}

.logo-text h2{

    color:#FFC107;

    font-size:28px;

    font-weight:700;

    letter-spacing:2px;

    margin:0;

    line-height:1;

}

.logo-text span{

    color:#fff;

    font-size:13px;

    letter-spacing:4px;

}

/* Logo Floating Animation */

.logo img{

    animation:logoFloat 3s ease-in-out infinite;

}

@keyframes logoFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }

    100%{

        transform:translateY(0);

    }

}

/* Responsive */

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-width: 100%;
    width: 180px;      /* Desktop */
    height: auto;
    display: block;
    border: none;
    outline: none;
    box-shadow: none;
}
/* Background Video */
#bgVideo{
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

@media (max-width:768px){

    #bgVideo{
        width:100%;
        height:100%;
        object-fit:contain;
        background:#000;
    }

}
/* Dark Overlay */
.overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
    z-index:-1;
}

/* Body */
body{
    margin:0;
    padding:0;
    font-family:'Poppins',sans-serif;
    color:#fff;
    overflow-x:hidden;
}