/*==================================================
 NeoGreens Landing Page
 Author :  Siva
 Version : 1.0
==================================================*/

/*==========================
Google Fonts
==========================*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Raleway:wght@300;400;500;600;700&display=swap');

/*==========================
Variables
==========================*/

:root{

    --primary:#2B3C38;
    --secondary:#DFFFDF;
    --white:#ffffff;
    --black:#222222;
    --text:#666666;
    --border:#e5e5e5;
    --bg:#f8f8f6;

    --heading:'Playfair Display', serif;
    --body:'Raleway', sans-serif;

    --transition:.35s ease;

}


/*==========================
Reset
==========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:var(--body);

    font-size:16px;

    color:var(--text);

    background:var(--bg);

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

}

ul{
    list-style:none;
}

section{

    position:relative;

}


/*==========================
Bootstrap Override
==========================*/

.container{

    max-width:1200px;

}

.form-control,
.form-select{

    border-radius:12px;

    border:1px solid #ddd;

    height:56px;

    padding:12px 18px;

    font-size:15px;

    font-family:var(--body);

    transition:var(--transition);

}

.form-control:focus,
.form-select:focus{

    border-color:var(--secondary);

    box-shadow:none;

}


/*==========================
Hero Section
==========================*/

.ng-hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

 
    background:url("../images/hero-bg.png") center center;

    background-size:cover;

    background-repeat:no-repeat;

}


/* Dark Overlay */

.ng-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(16,42,24,.62);

}

.ng-hero .container{

    position:relative;

    z-index:10;

}


/*==========================
Logo
==========================*/
.ng-logo {
    width: 350px;
    margin-bottom: 45px;
    display: block;
    margin: 0 auto;
}

/*==========================
Left Content
==========================*/

.ng-left{

    padding-right:50px;

}

.ng-title {
    font-family: var(--heading);
    color: #fff;
    font-size: 60px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 25px;
}

.ng-title span{

    color:var(--secondary);

}

.ng-subtitle{

    font-family:var(--heading);

    color:#55E407;

    font-size:28px;

    line-height:40px;

    margin-bottom:25px;

}

.ng-text{

    color:#f3f3f3;

    font-size:18px;

    line-height:34px;

    max-width:560px;

    margin-bottom:35px;

}


/*==========================
Watch Button
==========================*/

.ng-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* background: #dfffdf4f; */
    color: #DFFFDF;
    padding: 16px 34px;
    border-radius: 50px;
    font-weight: 500;
    /* transition: var(--transition); */
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    /* opacity: 0.7; */
    border: 1px solid #ccc;
}

.ng-watch-btn:hover{

    background:#fff;

    color:var(--primary);

    transform:translateY(-3px);

}


/*==========================
Form Card
==========================*/

.ng-form-card{

    border:none;

    border-radius:25px;

    overflow:hidden;

    box-shadow:0 20px 60px rgba(0,0,0,.20);

    background:rgba(255,255,255,.98);

}

.ng-form-card .card-body{

    padding:40px;

}

.ng-form-card h2{

    font-family:var(--heading);

    color:var(--primary);

    font-size:38px;

    margin-bottom:30px;

}


/*==========================
Form Labels
==========================*/

.ng-form-card label{

    font-size:15px;

    font-weight:600;

    color:#444;

    margin-bottom:8px;

}


/*==========================
Submit Button
==========================*/

.ng-submit-btn{

    width:100%;

    height:58px;

    border:none;

    border-radius:50px;

    background:var(--primary);

    color:#fff;

    font-size:17px;

    font-weight:700;

    transition:var(--transition);

}

.ng-submit-btn:hover{

    background:var(--secondary);

    color:var(--primary);

}


/*==========================
Validation
==========================*/

.invalid-feedback{

    font-size:13px;

}

.form-control.is-invalid,
.form-select.is-invalid{

    border-color:#dc3545;

}

.form-control.is-valid,
.form-select.is-valid{

    border-color:#198754;

}

/*==================================================
 VIDEO MODAL
==================================================*/

#videoModal .modal-dialog{

    max-width:900px;

}


#videoModal .modal-content{

    border:none;

    border-radius:20px;

    overflow:hidden;

    background:#000;

}


#videoModal .modal-header{

    background:var(--primary);

    border:none;

    padding:18px 25px;

}


#videoModal .modal-title{

    font-family:var(--heading);

    color:#fff;

    font-size:22px;

}


#videoModal .btn-close{

    filter:brightness(0) invert(1);

}


#videoModal iframe,
#videoModal video{

    width:100%;

    height:500px;

    border:none;

}



/*==================================================
 THANK YOU MODAL
==================================================*/


#thankModal .modal-dialog{

    max-width:450px;

}


#thankModal .modal-content{

    border:none;

    border-radius:25px;

    overflow:hidden;

}


#thankModal .modal-body{

    padding:50px 35px;

}


.ng-success-icon{

    width:80px;

    height:80px;

    border-radius:50%;

    margin:0 auto 25px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#e8f5d0;

    color:var(--primary);

    font-size:45px;

    font-weight:700;

}


#thankModal h3{

    font-family:var(--heading);

    font-size:32px;

    color:var(--primary);

}


#thankModal p{

    font-size:16px;

    color:#666;

    margin:20px 0 30px;

}



#thankModal .btn{

    background:var(--primary);

    border:none;

    padding:12px 35px;

    border-radius:50px;

}



/*==================================================
 BUTTON ANIMATION
==================================================*/


.ng-watch-btn,
.ng-submit-btn{

    position:relative;

    overflow:hidden;

}


.ng-watch-btn::before,
.ng-submit-btn::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;

    background:rgba(255,255,255,.25);

    transition:.5s;

}


.ng-watch-btn:hover::before,
.ng-submit-btn:hover::before{

    left:100%;

}



/*==================================================
 INPUT EFFECT
==================================================*/


.ng-form-card .form-control:hover,
.ng-form-card .form-select:hover{

    border-color:var(--secondary);

}


.ng-form-card .form-control:focus,
.ng-form-card .form-select:focus{

    transform:translateY(-2px);

}



/*==================================================
 LOADING BUTTON
==================================================*/


.ng-loading{

    opacity:.7;

    pointer-events:none;

}


.ng-loading::after{

    content:"";

    display:inline-block;

    width:18px;

    height:18px;

    margin-left:10px;

    border:3px solid #fff;

    border-top-color:transparent;

    border-radius:50%;

    animation:loader .8s linear infinite;

}


@keyframes loader{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}



/*==================================================
 FADE ANIMATION
==================================================*/


.ng-left{

    animation:fadeLeft 1s ease forwards;

}


.ng-right{

    animation:fadeRight 1s ease forwards;

}



@keyframes fadeLeft{


    from{

        opacity:0;

        transform:translateX(-60px);

    }


    to{

        opacity:1;

        transform:translateX(0);

    }


}



@keyframes fadeRight{


    from{

        opacity:0;

        transform:translateX(60px);

    }


    to{

        opacity:1;

        transform:translateX(0);

    }


}



/*==================================================
 CUSTOM SCROLLBAR
==================================================*/


::-webkit-scrollbar{

    width:10px;

}


::-webkit-scrollbar-track{

    background:#eee;

}


::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}



/*==================================================
 TABLET RESPONSIVE
==================================================*/


@media(max-width:991px){


    .ng-hero{

        padding:70px 0;

    }


    .ng-left{

        padding-right:0;

        text-align:center;

        margin-bottom:50px;

    }


    .ng-logo{

        margin-left:auto;

        margin-right:auto;

    }


    .ng-title{

        font-size:48px;

    }


    .ng-subtitle{

        font-size:24px;

    }


    .ng-text{

        margin-left:auto;

        margin-right:auto;

    }


    .ng-form-card{

        max-width:600px;

        margin:auto;

    }


}



/*==================================================
 MOBILE RESPONSIVE
==================================================*/


@media(max-width:575px){


    .ng-hero{

        min-height:auto;

        padding:50px 0;

    }



    .ng-logo{

        width:140px;

        margin-bottom:30px;

    }



    .ng-title{

        font-size:34px;

        line-height:1.25;

    }



    .ng-subtitle{

        font-size:20px;

        line-height:30px;

    }



    .ng-text{

        font-size:15px;

        line-height:26px;

    }



    .ng-watch-btn{

        padding:14px 25px;

        font-size:14px;

    }



    .ng-form-card .card-body{

        padding:25px 20px;

    }



    .ng-form-card h2{

        font-size:30px;

    }



    .form-control,
    .form-select{

        height:52px;

    }



    .ng-submit-btn{

        height:52px;

    }



    #videoModal iframe,
    #videoModal video{

        height:250px;

    }



    #thankModal h3{

        font-size:26px;

    }


}



/*==================================================
 SMALL MOBILE
==================================================*/


@media(max-width:375px){


    .ng-title{

        font-size:30px;

    }


    .ng-subtitle{

        font-size:18px;

    }


    .ng-form-card h2{

        font-size:26px;

    }


}

