/*--- Credits to GEC Designs --*/
/*--------- Index -----------*/

/*  1. base
    2. Global Media query
    3. Header section
    4. Navbar
    5. Main Section
    6. Gallery Section
    7. About Section
    8. Contact Section
    9. Footer Section
    10. Social Icon
    11. Footer End Section
    12. Go to Top
*/

/*--------------------------------------------------------------
* Base Css
----------------------------------------------------------------*/

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: rgb(133, 146, 158);
}

a:hover {
    text-decoration: none;
}

button:active {
    outline: none;
    border: none;
}

/*--------------------------------------------------------------
* Global media query declarative
----------------------------------------------------------------*/

html {
    box-sizing: border-box;
    font-size: 100%;
}

@media(max-width:991px) {
    html {
        font-size: 90%;
    }
}

@media(max-width:768px) {
    html {
        font-size: 80%;
    }
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: rgb(133, 146, 158);
}


.video-header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: whitesmoke;
}

.wrap {
    width: 60%;
    margin: auto;
}

@media(max-width:991px) {
    .wrap {
        text-align: center;
        width: 80%;
        padding: 2rem;
    }
}

@media(max-width:768px) {
    .wrap {
        text-align: center;
        width: 100%;
        padding: 2rem;
    }
}

/*--------------------------------------------------------------
* Header section
----------------------------------------------------------------*/

.fullscreen-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    
}

.fullscreen-video-wrap video {
    min-height: 100%;
    min-width: 100%;
}

.header-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgb(33, 47, 60, 0.6);
    position: absolute;
    z-index: 2;
}

.header-content {
    z-index: 2;
}

.header-content h1 {
    font-family: 'Merienda', cursive;
}

.header-content p {
    font-size: 1.2rem;
    display: block;
    padding-bottom: 2rem;
}

.btn-header {
    background: whitesmoke;
    padding: 10px 30px;
    color: rgb(33, 47, 60);
    border-radius: 0;
    transition: all .2s ease-in-out;
}

.btn-header:hover {
    background: rgba(33, 47, 60, 0.6);
    color: #fbfcfc;
    border: 1px solid rgb(133, 146, 158);
}

@media(max-width:991px) {
    .header-content p {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/*--- menu bar --*/

nav {
    z-index: 2;
    background: #363d46;
    transition: all .4s ease-in;
}

.navbar-brand img {
    width: 50%;
    height: 50%;
    margin-left: 2rem;
    
}

.navbar-toggler-icon {
    background-image: url("logo.png");
  
}

.navbar-nav a {
    color: whitesmoke;
}

.nav-item {
    padding: 0 1rem;
}

.nav-item:hover {
    background: rgba(27, 38, 49, 0.4);
    border-radius: 2px;
    padding: 0 1rem;
}

.current {
    background: rgba(151, 190, 229, 0.4);
    border-radius: 2px;
    padding: 0 1rem;
}

.navbar-toggler {
    border: 1px solid #85929e;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(214, 234, 248, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.sticky-top {
    position: fixed;
    background:  #363d46;
    top: 0;
}

@media(max-width:991px) {
    .navbar-brand img {
        margin-right: -7rem;
    }

    nav {
        background: #363d46;
    }
}

/*-- main section */

#main {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.main-header {
    text-align: center;
    padding: 2rem 4rem;
}

#main .col-md-6 {
    padding: 0;
}

#main h3 {
    margin-bottom: 1rem;
}

#main h3,
span,
.cta {
    color: #262626;
}

#main img {
    width: 100%;
    height: auto;
    overflow: hidden;
}

@media(max-width:768px) {
    #main img {
        padding: 2rem;
    }
}

.main-text {
    padding: 2rem;
    align-items: center;
}

.main-text a {
    float: right;
    font-weight: 400;
}

@media(max-width:991px) {
    .main-header {
        padding: 2rem 1rem;
    }
}

/*-- gallery section --*/

#gallery {
    height: auto;
    width: 100%;
    padding: 6rem 0rem;
}

#gallery .card {
    display: block;
    margin-bottom: 20px;
    line-height: 1.42857143;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 5px 0 rgba(254, 249, 231, 0.16), 0 2px 10px 0 rgba(254, 249, 231, 0.12);
    transition: box-shadow .25s;
}

#gallery .card:hover {
    box-shadow: 0 8px 17px 0 rgba(0,
        0,
        0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#gallery .img-card {
    width: 100%;
    height: auto;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    display: block;
    overflow: hidden;
}

#gallery .img-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all .25s ease;
}

#gallery .card-content {
    padding: 15px;
    text-align: left;
}

#gallery .card-title {
    margin-top: 0px;
    font-weight: 700;
    font-size: 1.65em;
}

#gallery .card-title a {
    color: #262626;
    text-decoration: none !important;
}

.card-read-more {
    border-top: 1px solid #D4D4D4;
}

.card-read-more a {
    text-decoration: none !important;
    padding: 10px;
    font-weight: 600;
    text-transform: uppercase
}

/*-- about section --*/

#about {
    height: auto;
    width: 100%;
    padding: 6rem 0rem;
    background: rgb(235, 237, 239);
}

#about span {
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 2rem;
}

#about .icon {
    padding: 16px;
}

#about .icon i {
    font-size: 14px;
    left: 10px;
    top: 9px;
}

#about .icon.social {
    display: inline-block;
}

.service-heading {
    color: #262626;
    padding: 1rem 0;
}


/*-- contact section --*/

#contact {
    height: auto;
    width: 100%;
    padding: 6rem 0rem;
}

#contact h4 {
    color: #262626;
}

/*-- footer section ---*/

#footer {
    background: rgb(33, 47, 60);
    height: auto;
    padding: 3rem;
}

#footer h4 {
    color: whitesmoke;
}

#footer a:hover {
    color: whitesmoke;
}

#footer hr {
    background: rgb(93, 109, 126);
}

.btn-footer {
    background: rgb(46, 64, 83);
    padding: 10px 30px;
    color: whitesmoke;
    border-radius: 0;
}

.btn-footer:hover {
    background: rgb(52, 73, 94);
    color: #fbfcfc;
    border: 1px solid rgb(133, 146, 158);
}

#footer .col-md-5 .btn {
    border-radius: 0px;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list-social {
    list-style: none;
    padding: 0;
}

.footer-list li:not(:last-child) {
    margin-bottom: .5rem;
}

.subscribe input {
    width: 80%;
    background: rgb(241 245 248);
}

@media(max-width:768px) {
    .subscribe input {
        width: 90%;
    }
}

.subscribe .btn-grey {
    background: rgb(133, 146, 158);
    color: whitesmoke;
}

.subscribe .btn-grey:hover {
    background: rgb(46, 64, 83);
    border: 1px solid #5dade2;
}

/*-- social Icon --*/

.icon {
    position: relative;
    text-align: center;
    width: 0px;
    height: 0px;
    padding: 20px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    -moz-border-radius: 20px 20px 20px 20px;
    -webkit-border-radius: 20px 20px 20px 20px;
    -khtml-border-radius: 20px 20px 20px 20px;
    color: #FFFFFF;
}

.icon i {
    font-size: 20px;
    position: absolute;
    left: 9px;
    top: 10px;
}

.icon.social {
    margin: 1rem;
    cursor: pointer;
    background: #6d6e71;
    color: #262626;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}

.icon.social:hover {
    background: #262626;
    color: #ffffff;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    -webkit-filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .8));
    -moz-filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .8));
    -ms-filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .8));
    -o-filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .8));
    filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .8));
}

.icon.social.fb i {
    left: 14px;
}

.icon.social.tw i {
    left: 11px;
}

.icon.social.in i {
    left: 11px;
}

@media(max-width:768px) {
    #footer {
        text-align: center;
    }

    .footer-list-social {
        display: flex;
        justify-content: center;
    }
}

/*-- footer-end section --*/

#footer-end {
    background: rgb(40, 55, 71);
    height: auto;
    text-align: center;
    color: whitesmoke;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

#footer-end a:hover {
    color: whitesmoke;
}

/*== go to top ==*/

.gotop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: rgb(33, 47, 60);
    cursor: pointer;
    padding: 5px;
    border-radius: 50px;
    font-size: 25px;
    height: 46px;
    width: 46px;
}

.gotop span {
    color: #ffffff;
}

.gotop:hover {
    background-color: rgba(33, 47, 60, 0.6);
    color: #fbfcfc;
    border: 1px solid rgb(27, 38, 49);
}
