/*

TemplateMo 560 Astro Motion

https://templatemo.com/tm-560-astro-motion

*/

html,
body,
.page-container {
    height: 100%;
    background-color: whitesmoke;
}

body {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: black;
    line-height: 1.5;
}

.title-section {
  background-color: #57cd1c; /* your actual green */
  color: white;
  padding: 50px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid #46ad17; /* darker shade of your green for contrast */
}

.title-section h1 {
  font-size: 2.8rem;
  margin: 0;
  letter-spacing: 1px;
}

a {
    color: #9F6;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #3CF;
}

p {
    line-height: 1.7;
}

h2 {
    font-size: 1.8rem;
}

.highlight {
    color: #57cd1c;
}

.page-container {
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 2%;
}

.container-fluid {
    max-width: 1860px;
    margin-top: 1%;
}

.btn {
    font-size: 1.3rem;
    padding: 13px 23px;
    border-radius: 0;
}

.btn-primary {
    background-color: white;
    border: none;
    color: #333;
}

.btn-primary:hover,
.btn-primary:focus {
    color: #5cac38;
    background-color: white;
}

/* Style the video: 100% width and height to cover the entire window */
#bg-video {
    position: fixed;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
    background-image: url(../img/tm-astro-bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    /* prevents any accidental interaction */
}

#tm-nav {
    z-index: 1000;
}

.navbar a {
    color: white;
}

.navbar-brand {
    -size: 1.4rem;
    font-family: auto;
}

.navbar-brand2 {
    font-family: auto;
    font-size: 1.3rem;
}

.navbar {
    margin-top: 0%;
}

.navbar .navbar-nav .nav-item {
    margin-left: 15px;
    margin-right: 15px;
}

.navbar .navbar-nav .nav-item:last-child {
    margin-right: 0;
}

.navbar .navbar-nav .nav-item .nav-link {
    font-size: 1.5rem;
    padding: 15px 65px;
    border-bottom: 1px solid white;
}

.nav-item {
    position: relative;
}

.circle {
    position: absolute;
    left: calc(50% - 10px);
    bottom: -10px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
}

.tm-border-bottom {
    border-bottom: 1px solid white;
    padding-bottom: 2%;
}

.tm-border-top {
    border-top: 1px solid white;
    padding-top: 2%;
}

.navbar .navbar-nav .nav-item.selected .nav-link,
.navbar .navbar-nav .nav-item .nav-link:hover {
    color: #99FF66;
    border-bottom: 1px solid #99FF66;
}

.cd-slider-nav li.selected a+.circle,
.navbar .navbar-nav .nav-item .nav-link:hover+.circle {
    background-color: #99FF66;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.tm-link-white {
    color: white;
}

.tm-link-white:hover,
.tm-link-white:focus {
    color: #99FF66;
}

.cd-hero-slider {
    padding: 10% 0;
}

.cd-hero-slider li {
    list-style: none;
}

.content-pad {
    padding: 2% 4%;
}

.page-width-1 {
    max-width: 70%;
}

.page-width-2 {
    max-width: 40%;
}

.page-left {
    margin-left: 15%;
}

.page-right {
    margin-right: 100px;
    margin-left: auto;
}

.tm-bg-dark {
    background-color: rgba(0, 0, 0, 0.3);
}

.intro-left {
    margin-right: 2%;
    padding: 2% 2%;
    width: 100%;
}

.intro-img-1 {
    margin-bottom: 4px;
}

.intro-circle-1 {
    left: 22%;
    top: 19%;
}

.intro-circle-2 {
    right: 22%;
    top: 19%;
    left: auto;
}

.intro-circle-3 {
    right: 22%;
    bottom: -28%;
    left: auto;
}

.intro-circle-4 {
    left: 22%;
    bottom: -28%;
}

.bel-img{
    display: inline-block;
    width: 30px;        /* set desired width */
    height: 30px;       /* set desired height */
    background-image: url('../img/leaf.png');
}

ul{
    text-align: left;
}

.tm-intro-btn {
    margin-top: 25px;
}

.tm-footer {
    padding-top: 5%;
    padding-bottom: 5%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

/* Gallery page */
.gallery-container {
    max-width: 1300px;
}

.slick-dots {
    bottom: -80px;
}

.slick-dotted.slick-slider{
    margin-bottom:1%;
}

.gallery-slider figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 0;
    max-width: 240px;
    margin-left: 10px;
    margin-right: 10px;
    height: auto;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
}

.gallery-slider figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
}

.gallery-slider figure figcaption {
    padding: 1em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.gallery-slider figure figcaption::before,
.gallery-slider figure figcaption::after {
    pointer-events: none;
}

.gallery-slider figure figcaption,
.gallery-slider figure figcaption>a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.gallery-slider figure figcaption>a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.gallery-slider figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
    font-size: 28px;
}

.gallery-slider figure h2 span {
    font-weight: 800;
}

.gallery-slider figure h2,
.gallery-slider figure p {
    margin: 0;
}

.gallery-slider figure p {
    letter-spacing: 1px;
    font-size: 68.5%;
}

.gallery-section {
    background-color: #99ccff;
}

.gallery-section .title {
    padding-right: 13px;
    margin-bottom: 80px;
}

/*---------------*/
/***** Julia *****/
/*---------------*/

figure.effect-julia {
    background: #2f3238;
}

figure.effect-julia img {
    -webkit-transition: opacity 1s, -webkit-transform 1s;
    transition: opacity 1s, transform 1s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

figure.effect-julia figcaption {
    display: flex;
    align-items: center;
}

figure.effect-julia h2 {
    position: relative;
    padding: 0.5em 0;
}

figure.effect-julia p {
    display: inline-block;
    margin: 0 0 0.25em;
    padding: 0.4em 1em;
    background: rgba(255, 255, 255, 0.9);
    color: #2f3238;
    text-transform: none;
    font-weight: 500;
    font-size: 75%;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-360px, 0, 0);
    transform: translate3d(-360px, 0, 0);
}

figure.effect-julia p:first-child {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

figure.effect-julia p:nth-of-type(2) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

figure.effect-julia p:nth-of-type(3) {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

figure.effect-julia:hover p:first-child {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

figure.effect-julia:hover p:nth-of-type(2) {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

figure.effect-julia:hover p:nth-of-type(3) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

figure.effect-julia:hover img {
    opacity: 0.4;
    -webkit-transform: scale3d(1.1, 1.1, 1);
    transform: scale3d(1.1, 1.1, 1);
}

figure.effect-julia:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.gallery-slider .slick-dots li.slick-active,
.gallery-slider .slick-dots li:hover {
    background-color: #3CCDFF;
}

.gallery-slider .slick-dots li {
    background-color: #ffffff;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    margin: 0 10px;
    transition: all 0.3s ease;
}

/* About page */
.tm-about-container {
    border-top: 1px solid white;
    padding-top: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid white;
}

/* Contact page */
.tm-contact-left {
    padding-right: 55px;
}

.form-control {
    font-size: 1.2rem;
    padding: 15px 0;
}

.form-control,
.form-control:focus {
    color: white;
    background-color: transparent;
}

.form-control:focus {
    border-bottom: 1px solid #99FF66;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.form-control::-webkit-input-placeholder {
    color: white;
}

.form-control:-moz-placeholder {
    color: white;
}

.form-control::-moz-placeholder {
    color: white;
}

.form-control:-ms-input-placeholder {
    color: white;
}

.tm-mb-30 {
    margin-bottom: 30px;
}

.tm-mb-45 {
    margin-bottom: 45px;
}

.tm-btn-pad-2 {
    padding: 10px 38px;
}

.map-outer {
    position: relative;
}

.gmap-canvas {
    overflow: hidden;
    background: none !important;
}

.map-outer,
.gmap-canvas {
    height: 100%;
    width: 120%;
}

.tm-footer-right {
    text-align: right;
}

.content-overlay {
    position: relative;
    z-index: 1;
    /* Above video */
}

.video-slider-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 4vh;
}

.video-slider {
    width: 80%;
    position: relative;
    /* Required for custom arrow positioning */
}

/* Relative wrapper to anchor absolute arrows */
.video-relative-wrapper {
    position: relative;
    text-align: center;
}

.video-border-wrapper {
    width: 70%;
    /* Wider border container */
    margin: 0 auto;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding-top: 2%;
    padding-bottom: 2%;
    text-align: center;
    box-sizing: border-box;
    background: linear-gradient(135deg, #b3d97c78, #A3C76D);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.video-border-wrapper video {
    width: 80%;
    height: 60vh;
    object-fit: contain;
    display: inline-block;
}

/* Arrows — responsive size & position */
.slick-prev,
.slick-next {
    position: absolute;
    top: 15%;
    transform: translateY(-50%);
    z-index: 10;
    width: 6vw;
    height: 6vw;
    background: linear-gradient(135deg, #B3D97C, #A3C76D);
    border-radius: 50%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Arrow position: outside video */
.slick-prev {
    left: -5vw;
}

.slick-next {
    right: -5vw;
}

/* Arrow icons */
.slick-prev:before,
.slick-next:before {
    color: black;
    font-size: 3vh;
}

/* Hide the dots */
.slick-dots {
    display: none !important;
}

.below-video-text {
    text-align: center;
    width: 90%;
    height: 10%;
    margin: 4vh auto 6vh;
    padding: 4vh;
    font-size: 2.2vh;
    line-height: 1.6;
    color: black;
    background-color: whitesmoke;
    border-radius: 20px;
}




@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: flex-end;
    }
}

@media (max-width: 1200px) {
    .navbar .navbar-nav .nav-item .nav-link {
        padding: 15px 45px;
    }
}

@media (max-width: 1024px) {
    .navbar .navbar-nav .nav-item .nav-link {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .navbar {
        margin-top: 0;
    }

    .navbar {
        position: relative;
    }

    .navbar-collapse {
        position: absolute;
        top: 63px;
        right: 0;
        background: rgb(54 75 96);
        border-radius: 5px;
    }

    .navbar .navbar-nav .nav-item {
        margin-bottom: 20px;
    }

    .page-left,
    .page-right {
        margin-left: auto;
        margin-right: auto;
    }

    .cd-hero-slider {
        padding: 10px 0;
    }
}

@media (max-width: 834px) {
    .intro-left {
        width: 65%;
    }

    .intro-right {
        width: 35%;
    }
}

@media (max-width: 767px) {
    .tm-contact-left {
        padding-right: 15px;
        margin-bottom: 50px;
    }

    .tm-footer-right {
        text-align: left;
        margin-top: 10px;
    }
}  

@media (min-width: 1025px) and (max-width: 1200px) {

    .slick-prev {
        left: -6vw;
        top: 20%;
    }

    .slick-next {
        right: -6vw;
        top: 20%;
    }

    .below-video-text {
        font-size: 2vh;
        padding: 0 4vw;
        height: auto;
    }

    .intro-circle-1 {
        left: 22%;
        top: 12%;
    }

    .intro-circle-2 {
        right: 22%;
        top: 12%;
        left: auto;
    }

    .intro-circle-3 {
        right: 22%;
        bottom: -38%;
        left: auto;
    }

    .intro-circle-4 {
        left: 22%;
        bottom: -38%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    .slick-prev {
        left: -6vw;
        top: 10%;
    }

    .slick-next {
        right: -6vw;
        top: 10%;
    }

    .below-video-text {
        font-size: 2vh;
        padding: 0 4vw;
        height: auto;
    }

    .intro-circle-1 {
        left: 22%;
        top: 7%;
    }

    .intro-circle-2 {
        right: 22%;
        top: 7%;
        left: auto;
    }

    .intro-circle-3 {
        right: 22%;
        bottom: -68%;
        left: auto;
    }

    .intro-circle-4 {
        left: 22%;
        bottom: -68%;
    }
}

@media (min-width:410px) and (max-width: 600px) {

    .intro-left,
    .intro-right {
        width: 100%;
    }

    .intro-left {
        margin-right: 0;
        margin-bottom: 5px;
        max-width: none;
    }

    .intro-right {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .intro-container {
        flex-direction: column;
    }

    .intro-img-1 {
        margin-right: 4%;
        margin-bottom: 0;
        width: 48%
    }

    .intro-img-2 {
        width: 48%;
    }

    .slick-prev {
        left: -6vw;
        top: 5%;
    }

    .slick-next {
        right: -6vw;
        top: 5%;
    }

    .below-video-text {
        font-size: 2vh;
        padding: 0 4vw;
        height: auto;
    }

    .intro-circle-1 {
        left: 22%;
        top: 8%;
    }

    .intro-circle-2 {
        right: 22%;
        top: 8%;
        left: auto;
    }

    .intro-circle-3 {
        right: 21%;
        bottom: -118%;
        left: auto;
    }

    .intro-circle-4 {
        left: 21%;
        bottom: -118%;
    }
}

/* Optional: for very small screens */
@media (min-width:391px) and (max-width: 400px) {
    .video-border-wrapper {
        width: 95%;
        padding: 3vh 0;
    }

    .video-border-wrapper video {
        width: 90%;
        height: 30vh;
    }

    .slick-prev,
    .slick-next {
        width: 8vw;
        height: 8vw;
    }

    .slick-prev {
        left: -6vw;
        top: 5%;
    }

    .slick-next {
        right: -6vw;
        top: 5%;
    }

    .below-video-text {
        font-size: 2vh;
        padding: 0 4vw;
        height: auto;
    }

    .intro-circle-1 {
        left: 18%;
        top: 9%;
    }

    .intro-circle-2 {
        right: 18%;
        top: 9%;
        left: auto;
    }

    .intro-circle-3 {
        right: 17%;
        bottom: -42%;
        left: auto;
    }

    .intro-circle-4 {
        left: 17%;
        bottom: -42%;
    }
}

@media (min-width:381px) and (max-width: 390px) {
    .slick-prev {
        left: -6vw;
        top: 5%;
    }

    .slick-next {
        right: -6vw;
        top: 5%;
    }

    .below-video-text {
        font-size: 2vh;
        padding: 0 4vw;
        height: auto;
    }

    .intro-circle-1 {
        left: 21%;
        top: 8%;
    }

    .intro-circle-2 {
        right: 21%;
        top: 8%;
        left: auto;
    }

    .intro-circle-3 {
        right: 21%;
        bottom: -118%;
        left: auto;
    }

    .intro-circle-4 {
        left: 21%;
        bottom: -118%;
    }
}

@media (min-width: 345px) and (max-width: 380px) {
    body{
        font-size: 1.6rem;
    }

    .slick-prev {
        left: -6vw;
        top: 5%;
    }

    .slick-next {
        right: -6vw;
        top: 5%;
    }

    .below-video-text {
        font-size: 2vh;
        padding: 0 4vw;
        height: auto;
    }

    .intro-circle-1 {
        left: 21%;
        top: 8%;
    }

    .intro-circle-2 {
        right: 21%;
        top: 8%;
        left: auto;
    }

    .intro-circle-3 {
        right: 21%;
        bottom: -119%;
        left: auto;
    }

    .intro-circle-4 {
        left: 21%;
        bottom: -119%;
    }
}

@media (max-width: 344px) {
    body{
        font-size: 1.5rem;
    }

    .slick-prev {
        left: -6vw;
        top: 5%;
    }

    .slick-next {
        right: -6vw;
        top: 5%;
    }

    .below-video-text {
        font-size: 2vh;
        padding: 0 4vw;
        height: auto;
    }

    .intro-circle-1 {
        left: 22%;
        top: 7%;
    }

    .intro-circle-2 {
        right: 22%;
        top: 7%;
        left: auto;
    }

    .intro-circle-3 {
        right: 22%;
        bottom: -147%;
        left: auto;
    }

    .intro-circle-4 {
        left: 22%;
        bottom: -147%;
    }
}

/* CLASS for map and contact page*/

.align-map {
    position: absolute;
    top: 240px;
    left: 10px;
    width: 45%;
    margin-left: 10%
}

.align-contact_info {
    position: absolute;
    top: 35%;
    right: 2%;
    width: 40%;
    margin-left: 10%
}


/* Preloader 
	https://ihatetomatoes.net/create-custom-preloading-screen/
*/
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;
    /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
    z-index: 2001;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #e74c3c;
    /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f9c922;
    /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
}

@keyframes spin {
    0% {
        /* Chrome, Opera 15+, Safari 3.1+ */
        /* IE 9 */
        transform: rotate(0deg);
        /* Firefox 16+, IE 10+, Opera */
    }

    100% {
        /* Chrome, Opera 15+, Safari 3.1+ */
        /* IE 9 */
        transform: rotate(360deg);
        /* Firefox 16+, IE 10+, Opera */
    }
}

#loader-wrapper .loader-section {
    position: fixed;
    top: 0;
    width: 51%;
    height: 100%;
    background: #222222;
    z-index: 2000;
    /* Chrome, Opera 15+, Safari 3.1+ */
    /* IE 9 */
    transform: translateX(0);
    /* Firefox 16+, IE 10+, Opera */
}

#loader-wrapper .loader-section.section-left {
    left: 0;
}

#loader-wrapper .loader-section.section-right {
    right: 0;
}

/* Loaded */
.loaded #loader-wrapper .loader-section.section-left {
    /* Chrome, Opera 15+, Safari 3.1+ */
    /* IE 9 */
    transform: translateX(-100%);
    /* Firefox 16+, IE 10+, Opera */
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader-wrapper .loader-section.section-right {
    /* Chrome, Opera 15+, Safari 3.1+ */
    /* IE 9 */
    transform: translateX(100%);
    /* Firefox 16+, IE 10+, Opera */
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.loaded #loader-wrapper {
    visibility: hidden;
    /* Chrome, Opera 15+, Safari 3.1+ */
    /* IE 9 */
    transform: translateY(-100%);
    /* Firefox 16+, IE 10+, Opera */
    transition: all 0.3s 1s ease-out;
}

.copyright-font {
    font-size: 0.8rem;
}

/* JavaScript Turned Off */
.no-js #loader-wrapper {
    display: none;
}

/*============ Preloader ends ==================================*/