@import url('https://fonts.googleapis.com/css2?family=Cabin+Sketch:wght@400;700&display=swap');
@import url(https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700);
@import url(https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap);

/**************************************common code starts**************************************/
/**************************************common code starts**************************************/
/**************************************common code starts**************************************/
/**************************************common code starts**************************************/
/**************************************common code starts**************************************/
/**************************************common code starts**************************************/
/**************************************common code starts**************************************/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.container-fluid {
    width: 90%;
}

body {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px;
    color: #9C9C9C;
}
a{
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease-in-out;
}
img {
    max-width: 100%;
    display: block;
}
aside,
dialog,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: #000;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 14px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

p {
    margin: 0 0 10px;
    text-align: justify;
}

a,
a:hover,
a:active {
    text-decoration: none !important;
}

:active,
:focus {
    outline: none !important;
}

ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    margin-bottom: 0;
}
       
.sec-padding {
    padding: 50px 0;
}
.sec-heading{
    margin-bottom: 50px;
    color: #fff;
}
.f-vh{
    height: 100vh;
}
._3d-box{
    width: 60%;
}
.banner{
    animation: 'rotating' 5s linear 0s infinite alternate-reverse;
    -webkit-animation: 'rotating' 5s linear 0s infinite alternate-reverse;
}
.texture-bg{
    background-image: url(../image/ra-5.jpg);
}
@keyframes rotating {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }    
}
section{
    height: 100vh;
}

/* ***************************************common code css ends*************************************** */
/* ***************************************common code css ends*************************************** */
/* ***************************************common code css ends*************************************** */
/* ***************************************common code css ends*************************************** */
/* ***************************************common code css ends*************************************** */
/* ***************************************common code css ends*************************************** */

/* *** Nav css * */
/* *** Nav css * */
.nav{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
}
.nav #nav-btn {
    background-color: rgb(187, 219, 131);
    padding: 10px; 
    margin: 10px;
    border-radius: 15px;  
    box-shadow: 1px 3px 3px rgba(0,0,0,0.5); 
    z-index: 1;
    width: 40px;
}
.nav #nav-btn i {
    font-size: 25px;
    transition: all 0.3s ease-in-out;
    color: rgb(255, 255, 255);
}
.nav #nav-box{
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: #0f9ab1;
    transition: all 0.5s ease-in-out;
    box-shadow: 5px 5px 7px 7px rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    z-index: 0;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    filter: opacity(0);    
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav #nav-box ul{
    display: none;
    justify-content: space-around;
    align-items: center;
    gap: 16%;
    flex-wrap: wrap;
    height: 50%;
    
}
.nav #nav-box.active{
    transform: rotateZ(0deg);
    filter: opacity(1);    
    width: 65vw;
    height: 85vh;
    border-bottom-right-radius: 50%;
    /* border-top-right-radius: 50%; */
    /* border-bottom-left-radius: 50%; */
    border: 1px solid #fff;
}
.nav #nav-box.active ul{
    display: flex;
}
.nav #nav-box ul > *{
    flex: 0 1 35%;
}
.nav #nav-box li{
    display: none;
}
.nav #nav-box li a figure {
    width: 35px;
    margin: 0 15px 0 0;
    filter: drop-shadow(1px 3px 3px rgba(0,0,0,0.5));
}
.nav #nav-box li a h3{
    margin: 0;
    color: #fff;
    text-shadow: 1px 3px 7px rgba(0,0,0,0.5);
    margin: 0;
    align-content: center;
}
.nav #nav-box.active li{
    display: block;
}
.nav #nav-box.active li a{
    display: flex;
    width: fit-content;
    cursor: pointer;
}

/* *** END of Nav css * */
/* *** END of Nav css * */

/* Section 1 ************ */
/* Section 1 ************ */
/* Section 1 ************ */
.heading {
    position: relative;
    border-radius: 20px;
    border: dashed 4px #0f9ab1;
    padding: 25px;
    box-shadow: 0 0 15px 10px rgba(27,50,77,0.5);
}
.r-brd{
    position: absolute;
    padding: 3px;
    border-radius: 20px;
    top: 0;
    right: 40px;
    transform: translateY(-50%);
    width: fit-content;
    overflow: hidden;
}
.r-brd::before{
    content: '';
    position: absolute;
    width: 150%;
    height: 80px;
    top: 38%;
    left: -23%;
    background-image: linear-gradient(to top,rgb(187, 255, 0),green);    
    animation: 'rotating' 2s linear infinite;
    -webkit-animation: 'rotating' 2s linear infinite;
}

.heading figure{
    border-radius: 20px;
    margin: 0;
    border: solid 4px #0f9ab1;
    background-color: peru;
    position: relative;
    overflow: hidden;
    position: relative;
    perspective: 1;
}
.heading figure::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-image: url(../image/dp-bg.png);
    background-size: cover;
    inset: 0;
    transition: all 0.5s ease-in-out;
}
.heading figure:hover::before{
    transform: scale(1.2);
}
.heading figure img{
    transition: all 0.5s ease-in-out;
    position: inherit;
    z-index: 1;
    perspective: 1;
}
.heading figure:hover img{
    filter:drop-shadow(0 -5px 5px rgba(0,0,0,0.5));
    transform: scaleX(1) scaleY(1) scaleZ(1.5) translateX(0px) translateY(0px) translateZ(90px) rotateX(0deg) rotateY(0deg) rotateZ(4deg) skew(5deg);
}
.heading h1,
.heading h3{
    font-weight: 700;     
}
.heading h1{
    font-family:'Cabin Sketch' !important;
    color: #c0e186;
}
.heading h3{
    font-family:'Dancing Script' !important;
    letter-spacing: 2px;
    color: ghostwhite;
}
.scroll-wrapper{
    scroll-snap-type: y mandatory;
    /* scroll-snap-points-y: repeat(300px); */
    overflow-y: hidden;
}
.scroll-wrapper section{
    scroll-snap-align: start;
}
/* END of Section 1********* */
/* END of Section 1********* */
/* END of Section 1********* */
/* ******************************************* */
/* ******************************************* */
/* ******************************************* */
/* section 2 *************/
/* section 2 *************/
/* section 2 *************/
.work{
    background-color:#8b339d;
    background-image: url(../image/work-bg1.jpg);
    background-blend-mode: multiply;
    background-position: right;
}
.work ul{
}

.work ul li .proj{
    position: relative;
    background-color: #265cc5;
    border-radius: 15px;
    box-shadow: 0 0 7px rgba(0,0,0,0.5);
}
.work ul li .proj a{
    display: inline-block;
    padding: 15px;
    font-size: 25px;
    color: #fff;
    position: inherit;
    z-index: 0;
}
.work ul li .proj::before{
    position: absolute;
    content: '';
    height: 100%;
    width: 0;
    inset: 0;
    background-color: #0000007d;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
}
.work ul li .proj:hover::before{
    width: 100%;
}
/* END of Section 2********* */
/* END of Section 2********* */
/* END of Section 2********* */
/* ************************* */
/* ************************* */
/* section 3 *************/
/* section 3 *************/
/* section 3 *************/
.edu{
    background-color:#97721b;
    background-image: url(../image/edu-bg-t.jpg);
    background-blend-mode: multiply;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
}
.work .sec-heading,
.edu .sec-heading{
    margin-bottom: 0;
}
.edu .container,
.work .container,
.contact .container,
.contact .container .row{
    height:100%;
}
.rh{    
    height: calc(100% - 38px);
    align-items: center;     
}
.flip-container{
    perspective:1000px;
    width: 100%;
    height: 250px;       
}
.flip-box{
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.4s ease-in-out;
}
.flip-box.bg1 .front{
    background-color: #9b089b;
}
.flip-box.bg2 .front{
    background-color: #3c089b;
}
.flip-box.bg3 .front{
    background-color: #089b6c;
}
.flip-box.bg4 .front{
    background-color: #5b9b08;
}
.flip-box .front{
    color: #fff;
    transform: rotateY(0deg); 
    z-index: 2;  
    font-size: 25px;
}
.flip-box .back{
    background-color: #ae4444;
    transform: rotateY(180deg); 

}
.flip-box .front,
.flip-box .back{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    border-radius: 15px;
    box-shadow: 0 0 7px rgba(0,0,0,0.5);
    border: #fff 1px solid;
}
.flip-container:hover .flip-box {
    transform: rotateY(180deg);
}
.flip-box .back h2{
    margin: 0;
}
/* END of Section 3********* */
/* END of Section 3********* */
/* END of Section 3********* */

/* Section 4********* */
/* Section 4********* */
/* Section 4********* */
.contact {
    background-color: #12401e;
    background-image: url(../image/ra-3.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: multiply;
}
.contact ul{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
    height: 60%;
}
.contact form{
    background-color: #0f99b1ae;
    box-shadow: 1px 3px 5px rgba(0,0,0,0.5);
    border-radius: 15px;
    border: 1px solid white;
    padding:15px 
}
.contact ul li,
.contact label {
    text-shadow: 1px 3px 3px rgba(0,0,0,0.5);    
    font-size: 20px;
}
.contact ul i {
    color: peru;
}
.contact ul li span{
    margin-left: 10px;
}
.contact ul li span,
.contact label{
    margin-left: 10px;
    color: white;
}

/* END of Section 4********* */
/* END of Section 4********* */
/* END of Section 4********* */
/* ** Responsive css ** */
/* ** Responsive css ** */
@media (max-width:1200px) {
    /* section 1 *************/
    /* section 1 *************/
    /* section 1 *************/
    .heading figure img{
        width: 80px;
    }
    .r-brd{
        padding: 2px;
    }
    .r-brd::before {
        height: 40px;
        top: 10%;
    }    
    /* ********************* */
    /* ********************* */
}
@media (min-width:992px) and (max-width:1199px) {
    /* section 2 *************/
    .work ul li .proj a{
        font-size: 22px;
        width: 100%;
    }
    /* END of section 2 */
}
@media (min-width:768px) and (max-width:992px) and (max-height:450px) and (orientation:landscape) {
    .heading h1{
        font-size: 25px;
    }
    .heading h3{
        font-size: 20px;
        letter-spacing: 1px;
    }
    .contact label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    .contact.sec-padding {
        padding: 10px 0;
    }
    .contact form {
        padding: 10px;
    }
    .frm-item input,
    .frm-item textarea,
    .frm-item button{
        padding: 0 10px !important;
    }
    .frm-item label{
        display: none;
    }
    
}
@media (max-width:786px) {
    /* common css */
    .sec-padding {
        padding: 30px 0;
    }
    .sec-heading,
    .work .sec-heading,
    .edu .sec-heading{
        margin-bottom: 30px;
    }
    /* common css */
    
    /* section 3 *************/    
    .flip-box .front, .flip-box .back {
        gap: 10px;
    }
    /* END of section 3 */

}
@media (min-width:576px) and (max-width:991px) {
    /* section 2 *************/
    .work ul li .proj a{
        font-size: 17px;
        width: 100%;
    }
    /* END of section 2 */
    /* section 3 *************/
    .flip-container {
        height: 150px;
    }
    .flip-box .front, .flip-box .back {
        gap: 10px;
    }
    /* END of section 3 */
}
@media (max-width:575px) {
    /* nav bar */
    /* nav bar */
    .nav #nav-box ul {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    .nav #nav-box li a figure {
        width: 30px;
        margin: 0 10px 0 0;
    }
    .nav #nav-box li a h3 {
        font-size: 16px;
    }
    /* END of nav bar */
    /* END of nav bar */
    
    /* section 1 *************/
    /* section 1 *************/
    /* section 1 *************/
    .heading h1{
        font-size: 30px;
    }
    .heading h3{
        font-size: 23px;
    }
    /* END of section 1 */
    /* END of section 1 */
    /* END of section 1 */    
    /* ********************* */
    /* ********************* */
    /* section 2 *************/
    .work ul li .proj a{
        font-size: 14px;
        width: 100%;
    }
    /* END of section 2 */
    /* section 3 *************/
    /* section 3 *************/
    /* section 3 *************/
    .flip-container{
        height: 100px;
    }
    .flip-box .front{
        font-size: 20px;
    }
    .flip-box .back h2{
        font-size: 20px;
    }
    .flip-box .back h4{
        font-size: 14px;
    }
    /* END of section 3 */
    /* END of section 3 */
    /* END of section 3 */

    /* section 4 *************/
    /* section 4 *************/
    /* section 4 *************/
    .contact ul li,
    .contact label {
        font-size: 15px;
    }
    .contact label {
        margin-bottom: 5px;
    }
    .contact ul li{
        margin-bottom: 15px;
    }
    /* END of section 4 */
    /* END of section 4 */
    /* END of section 4 */

}
/* ** END of Responsive css ** */