@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

* {
    scroll-behaviour: smooth;
}
body, html {
    margin: 0;
    padding: 0;
    /* height: 200vh; */
    /* overflow-x: hidden; */
    font-family: Rubik, Helvetica, sans-serif;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/background.jpg') no-repeat center center/cover;
    z-index: -1;
    transition: filter 1s ease;
}

.background.blur {
    /* background: url('../img/background-blur.jpg') no-repeat center center/cover;
    transition: filter 0.5s ease;
    transition-duration: 2s;
    transition-delay: 2s; */
    filter: blur(5px);
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    transition: opacity 2s ease; /* Smooth transition for opacity */
    pointer-events: none; /* Allow clicks to go through the overlay */
    opacity: 0;
}

.background.blur .background-overlay {
    opacity: 1; /* Make overlay fully visible when blurred */
}

.background.blur body {
    background-color: #000000;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.wireframe, .colored {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: z-index 0.3s ease;
}

.wireframe {
    z-index: 2;
}

.colored {
    z-index: 1;
    mask-image: linear-gradient(to bottom, black 0%, black 0%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 0%);
}

.content {
    margin-top: 10vh; /* Start after the full viewport height */
    padding: 20px;
    padding-bottom: 0;
    z-index: 0;
    /* overflow: hidden; */
}

.section {
    height: 100vh;
    margin-bottom: 10px;
}

.spacer {
    height: calc(100vh + 400px); /* Ensure the spacer is the same height as the overlay */
}

.carousel {
    padding-top: 100vh;
}



.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/background-blur.jpg');
    background-size: cover;
    background-color: #181818;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1.5s ease;
}

.logo {
    width: auto;
    height: 10vh;
}
.logo-link {
    /* opacity: .6; */
}
.logo-link:hover {
    opacity: 1;
}

/* Content styles */
.scroll-down {
    position: fixed;
    background-color: #146d59;
    padding: 10px 20px;
    border-radius: 30px;
    top: 50%;
    left: 46vw;
    right: auto;
    margin: 0 auto;
    z-index: 2;
    text-align: center;
    transform: translateX(-50%);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body.loaded .preloader {
    opacity: 0;
    pointer-events: none; /* Prevents interaction with the preloader after fading out */
}

.content {
    /* opacity: 0; */
    transition: opacity 1s ease;
}


.hidden {
    opacity: 0 !important;
}

.title_1 {
	font-family: "Bebas Neue", sans-serif;
	font-weight: 400;
	font-style: normal;
	text-transform: uppercase;
	line-height: 1;
}

.title_1 a{
	text-decoration: none;
}

.d-2 {
	font-size: 54px;
}

.d-1 {
	font-size: 74px;
}

.f_green {
	color: #02d77e;
}

.f_white {
	color: #ffffff;
}

section.c2a {
    margin: 10vw 0;
    overflow: hidden;
}

footer {
    background-color: rgb(0, 0, 0, .3);
    padding: 40px 0;
    backdrop-filter: blur(20px);
    margin: 0 auto;
    margin-bottom: 50px !important;
}

footer .f-hr {
    border-top: 1px solid #ffffff;
    opacity: .1;
}

footer.mb-100 {
    margin-bottom: 100px;
}
.footer__links {
    margin-bottom: 0;
}
.footer__links li a {
    color: #ffffff;
    text-decoration: none;
    font-family: Rubik, Helvetica, sans-serif;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

.footer__links li a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #02A863;
    -webkit-transition: width 0.3s ease;
    transition: width 0.3s ease;
  }
  .footer__links li a:hover::before {
    width: 100%;
  }

footer .title {
    font-size: 30px;
    font-family: "Bebas Neue", sans-serif;
    color: #02d77e;
}

footer .title-2 {
    font-size: 22px;
    color: #02d77e;
    text-transform: uppercase;
    font-family: "Bebas Neue", sans-serif;
}

/* Typewriter effect */
.typewriter {
    height: 250px;
    font-family: "Hind Siliguri", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.font-bn {
    font-family: "Hind Siliguri", sans-serif;
}
.typewriter .writer {
    text-shadow: 2px 2px 3px black;
    font-size: 1vw;
    padding-left: 17.1vw;
}
.typewriter p {
    display: inline-block;
    white-space: pre-wrap;
    overflow: hidden;
    font-size: 1.5vw;
    margin: 0;
    text-shadow: 2px 2px 3px black;
}
.typewriter p.blinking-border {
    border-right: .15em solid #02d77e;
    display: inline;
}

/* Gallery */
.rs-container {
    width: 100%;
}
  .rs-pr3d-blist {
    display: none !important;
  }
  .app-title {
    font-family:'Open Sans', sans-serif;
    text-align:center;
    font-weight:400;
    text-transform:uppercase;
    color:#eee;
    letter-spacing:6px;
    font-size: large;
    padding:4px;
  }
  
  .back-examples {
    padding:4px;
    color:#999!important;
    display:inline-block;
    margin-top:4px;
  }
  
  .back-examples:hover {
    color:white!important;
  }
  
  
  .markup-item {
  
    padding:12px;
    background: #ffcc00;
    color:#333;
    border:4px solid #eee;
    box-sizing:border-box;
    font-family: Georgia;
    font-size:16px;
  }
  
  .markup-item img {
  
    max-width:140px!important;
    display: block;
    margin:0 auto;
    margin-top:12px;
  }
  
  .markup-item p a, .markup p a:visited {
    color:red;
  }


  /* Contact */
  .contact {
    background-color: rgb(255, 255, 255, .1);
    padding: 40px;
    backdrop-filter: blur(20px);
  }
  .btn-success {
    background-color: #02D77E;
    border: #02D77E;
    color: #000000;
    padding: 13px 25px;
    font-weight: 500;
  }
  .btn-success:hover {
    background-color: #02A863;;
    border: #02A863;
    color: #000000;
  }
  .form-label {
    font-weight: 600;
    font-size: 15px;
  }
  .form-control {
      display: block;
      width: 100%;
      padding: 0.375rem 0.75rem;
      font-size: 14px;
      padding: 12px;
      font-weight: 400;
      line-height: 1.5;
      color: #212529;
      background-color: #fff;
      background-clip: padding-box;
      border: 1px solid #CED4DA;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      border-radius: 0.375rem;
      transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }

  .legend-md {
    font-size: 1.25rem;
    font-weight: 400;
  }
  .margin-t-10vh {
    margin-top: 10vh !important;
  }
  .margin-tb-10vh {
    margin-top: 10vh !important;
    margin-bottom: 10vh !important;
  }

  .margin-tb-5vh {
    margin-top: 5vh !important;
    margin-bottom: 5vh !important;
  }

  .margin-t-10vh {
    margin-top: 10vh !important;
  }

  .part {
    padding-left: 5vh;
    padding-right: 5vh;
    width: 100%;
    height: 60vh;
    top: 0;
    box-sizing: border-box;
  }

header .navbar {
    padding: 4vh 5vh;
}

header .nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: Rubik, Helvetica, sans-serif;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

header .nav-link::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #02A863;
    -webkit-transition: width 0.3s ease;
    transition: width 0.3s ease;
  }
  header .nav-link:hover::before {
    width: 100%;
  }
  header .nav-item {
    padding: 0 1vh !important;
  }
header .nav-link {
    color: #ffffff !important;
}

.gallery .rs-pr3d-title {
    display: none;
}

.gallery .rs-pr3d-description {
    font-size: 18px;
    color: #ffffff;
    padding: 0;
    margin: 0;
}


  @media screen and (max-width: 768px) {
    .navbar-toggler {
        background-color: #ffffff;
        padding: 4px 5px;
        border: 1px solid #146d59;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .scroll-down {
        left: 36vw;
    }
    footer.w-75, .contact.w-75 {
        width: 100% !important;
    }
    .d-2 {
        font-size: 30px;
    }
    .d-1 {
        font-size: 48px;
    }
    .typewriter {
        text-align: center;
        height: auto;
    }
    .typewriter p {
        font-size: 1.2em;
    }
    header .navbar {
        padding: 2vh 0vh;
    }
    .map-wrapper {
        width: 100% !important;
        margin-top: 15vh !important;
    }
    .margin-tb-10vh {
        margin-top: 4vh !important;
        margin-bottom: 4vh !important;
    }
    .logo {
        height: 7vh;
    }
    .navbar-collapse {
        background-color: #146d59;
        backdrop-filter: blur(20px);
        padding: 20px;
    }
    header .nav-link {
        color: #ffffff !important;
    }
    .navbar-toggler-icon {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path stroke="rgb(20, 109, 89)" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/></svg>');
    }
    .part {
        height: 30vh;
        padding: 0;
    }
  }